https://github.com/shader-slang/slang
Raw File
Tip revision: aa8f7b899b7b562b3d3c6e25c3da41569505e70c authored by Chad Engler on 29 September 2021, 20:02:47 UTC
Fix ARM64 detection for MSVC (#1951)
Tip revision: aa8f7b8
entry-point-stage-mismatch.slang
// entry-point-stage-mismatch.slang

// Confirm that we diagnose when stage specified via command
// line doesn't match what was specified via attribute.

//DIAGNOSTIC_TEST:SIMPLE:-entry main -stage vertex

[shader("compute")]
void main()
{}
back to top