smoke.hlsl 324 B

12345678910111213141516171819202122
  1. // Verify that we can successfully process an include
  2. #include "include/inc1.hlsli"
  3. int g;
  4. static int g_unused;
  5. #ifndef semantic
  6. #define semantic SV_Target
  7. #endif
  8. #ifdef DX12
  9. #define RS "CBV(b0)"
  10. [RootSignature ( RS )]
  11. #endif
  12. float4 main() : semantic
  13. {
  14. #ifdef check_warning
  15. int x = 3;
  16. x;
  17. #endif
  18. return f1(g);
  19. }