-
Notifications
You must be signed in to change notification settings - Fork 677
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SamplerDescriptorHeap can be used to load textures. #6649
Comments
Yes, it shouldn't accept this! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
From HLSL_SM_6_6_DynamicResources, it looks like SamplerDescriptorHeap must be used to access Samplers, not textures.
But if we use it to load a texture, DXC says OK.
Steps to Reproduce
Actual Behavior
DXC compiles.
dx.op.createHandleFromHeap
is created, loading a texture from a sampler heap.As I'm adding this feature in the SPIR-V backend, I'm fine accepting this (since for us both heaps would be the same). But it looks like this should be illegal.
Environment
The text was updated successfully, but these errors were encountered: