yum-mirror/slang

Making it easier to work with shaders

git clone https://git.yummers.dev/yum-mirror/slang

Tim FoleyAdd command-line control over SPIR-V version (#1730)b81e8d4c8

master
662 B14 linesraw
1// spirv-version-option.slang
2
3// Test for command-line options to control SPIR-V version used.
4
5//TEST:CROSS_COMPILE:-target spirv -profile glsl_450 -entry main -stage compute
6//TEST:CROSS_COMPILE:-target spirv -profile glsl_450+spirv_1_1 -entry main -stage compute
7//TEST:CROSS_COMPILE:-target spirv -profile glsl_450+spirv_1_2 -entry main -stage compute
8//TEST:CROSS_COMPILE:-target spirv -profile glsl_450+spirv_1_3 -entry main -stage compute
9//TEST:CROSS_COMPILE:-target spirv -profile glsl_450+spirv_1_4 -entry main -stage compute
10//TEST:CROSS_COMPILE:-target spirv -profile glsl_450+spirv_1_5 -entry main -stage compute
11
12[shader("compute")]
13void main()
14{}