Skip to content

fix d3d12 mutable sampler descriptor table#120

Open
lawfuyang wants to merge 1 commit intoNVIDIA-RTX:mainfrom
lawfuyang:MutableSampler-DescriptorTable-Fix
Open

fix d3d12 mutable sampler descriptor table#120
lawfuyang wants to merge 1 commit intoNVIDIA-RTX:mainfrom
lawfuyang:MutableSampler-DescriptorTable-Fix

Conversation

@lawfuyang
Copy link
Contributor

  • add support to write a sampler descriptor to a bindless descriptor table Device::writeDescriptorTable
  • by querying the input IBindingLayout's BindlessLayoutDesc's layoutType (LayoutType::MutableSampler or not), we can determine if its a sampler descriptor table
  • also add support for 'resizeDescriptorTable' to copy the appropriate StaticDescriptorHeap descriptors (LayoutType::MutableSampler or not)
  • same for DescriptorTable destructor. release appropriate heap's descriptors

- add support to write a sampler descriptor to a bindless descriptor table Device::writeDescriptorTable
- by querying the input IBindingLayout's BindlessLayoutDesc's layoutType (LayoutType::MutableSampler or not), we can determine if its a sampler descriptor table
- also add support for 'resizeDescriptorTable' to copy the appropriate StaticDescriptorHeap descriptors (LayoutType::MutableSampler or not)
- same for DescriptorTable destructor. release appropriate heap's descriptors
@lawfuyang
Copy link
Contributor Author

I have read the CLA Document and I hereby sign the CLA

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant