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]
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]