Skip to content
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

[0002] RootSignatures - should validate rules about typed resources as root signatures #101

Open
damyanp opened this issue Nov 16, 2024 · 0 comments

Comments

@damyanp
Copy link
Collaborator

damyanp commented Nov 16, 2024

If we have RWBuffer<float4>, then this can't be bound to a register associated with a UAV root parameter:

D3D12 ERROR: ID3D12Device::CreateComputePipelineState: Root Signature doesn't match Compute Shader: A Shader is declaring a typed UAV using a register mapped to a root descriptor UAV (ShaderRegister=0, RegisterSpace=0). SRV or UAV root descriptors can only be Raw or Structured buffers. [ STATE_CREATION ERROR #882: CREATECOMPUTEPIPELINESTATE_CS_ROOT_SIGNATURE_MISMATCH]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

No branches or pull requests

1 participant