https://github.com/shader-slang/slang
Raw File
Tip revision: 4b7e674fa9e9f8e325009183bec1ddf377b99bf1 authored by Yong He on 02 November 2021, 17:40:35 UTC
Include gfx.lib in release. (#2002)
Tip revision: 4b7e674
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