smoke.hlsl 235 B

12345678910111213141516171819
  1. int g;
  2. static int g_unused;
  3. #ifndef semantic
  4. #define semantic SV_Target
  5. #endif
  6. #ifdef DX12
  7. #define RS "CBV(b0)"
  8. [RootSignature ( RS )]
  9. #endif
  10. float4 main() : semantic
  11. {
  12. #ifdef check_warning
  13. int x = 3;
  14. x;
  15. #endif
  16. return g;
  17. }