rootSigDefine9.hlsl 365 B

123456789101112
  1. // RUN: %dxc -E main -T ps_6_0 -rootsig-define RS %s | FileCheck %s
  2. // Test root signature define error: syntax error in root signature.
  3. // CHECK: root signature error - Unexpected token 'XescriptorTable' when parsing root signature
  4. #define RS XescriptorTable(SRV(x))
  5. Texture1D<float> tex : register(t3);
  6. float main(float i : I) : SV_Target
  7. {
  8. return tex[i];
  9. }