rootSigDefine8.hlsl 271 B

12345678910111213
  1. // RUN: %dxc -E main -T ps_6_0 -rootsig-define RS %s
  2. // Test root signature define expanded macro call.
  3. #define YYY(x) DescriptorTable(SRV(x))
  4. #define RS YYY(t3)
  5. Texture1D<float> tex : register(t3);
  6. float main(float i : I) : SV_Target
  7. {
  8. return tex[i];
  9. }