smoke.hlsl 213 B

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