yum-mirror/slang
Making it easier to work with shaders
git clone https://git.yummers.dev/yum-mirror/slang
2896aa39a
master
1// profile-ignored.slang 2 3// Cases where a `-profile` option gets ignored 4// because it doesn't apply to any target 5 6// Case 1: multiple (conflicting) profiles, so we can't infer a single stage 7// 8//DIAGNOSTIC_TEST:SIMPLE:-profile sm_5_0 -profile glsl_450 9 10 11// Case 2: a `-profile` option before any `-target`, possibly because 12// the user is specifying things in the wrong order. 13// 14//DIAGNOSTIC_TEST:SIMPLE:-profile sm_5_0 -target dxbc -profile glsl_450 -target spirv