blob: e9cc8192996946e5251d0ed6591786e690b99b16 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
//TEST:SIMPLE(filecheck=SPIRV15): -target spirv
//TEST:SIMPLE(filecheck=SPIRV14): -target spirv -profile spirv_1_4
// Test that we can use -profile to control the resulting spirv version.
// By default, we emit spirv 1.5
// SPIRV15: Version: 1.5
// If the user specified an explicit spirv version, we will use it.
// SPIRV14: Version: 1.4
[numthreads(1,1,1)]
void main()
{
}
|