@@ -21,7 +21,7 @@ spirv.module Logical GLSL450 attributes {
2121// Test deducing minimal version.
2222// spirv.GroupNonUniformBallot is available since v1.3.
2323
24- // CHECK: requires #spirv.vce<v1.3, [Shader, Matrix, GroupNonUniform, GroupNonUniformBallot ], []>
24+ // CHECK: requires #spirv.vce<v1.3, [Shader, Matrix, GroupNonUniformBallot, GroupNonUniform ], []>
2525spirv.module Logical GLSL450 attributes {
2626 spirv.target_env = #spirv.target_env <
2727 #spirv.vce <v1.5 , [Shader , GroupNonUniformBallot ], []>, #spirv.resource_limits <>>
@@ -95,7 +95,7 @@ spirv.module Logical GLSL450 attributes {
9595// * GroupNonUniformArithmetic
9696// * GroupNonUniformBallot
9797
98- // CHECK: requires #spirv.vce<v1.3, [Shader, Matrix, GroupNonUniform, GroupNonUniformArithmetic ], []>
98+ // CHECK: requires #spirv.vce<v1.3, [Shader, Matrix, GroupNonUniformArithmetic, GroupNonUniform ], []>
9999spirv.module Logical GLSL450 attributes {
100100 spirv.target_env = #spirv.target_env <
101101 #spirv.vce <v1.3 , [Shader , GroupNonUniformArithmetic ], []>, #spirv.resource_limits <>>
@@ -106,7 +106,7 @@ spirv.module Logical GLSL450 attributes {
106106 }
107107}
108108
109- // CHECK: requires #spirv.vce<v1.3, [Shader, Matrix, GroupNonUniformClustered , GroupNonUniform, GroupNonUniformBallot ], []>
109+ // CHECK: requires #spirv.vce<v1.3, [Shader, Matrix, GroupNonUniformBallot , GroupNonUniform, GroupNonUniformClustered ], []>
110110spirv.module Logical GLSL450 attributes {
111111 spirv.target_env = #spirv.target_env <
112112 #spirv.vce <v1.3 , [Shader , GroupNonUniformClustered , GroupNonUniformBallot ], []>, #spirv.resource_limits <>>
@@ -144,7 +144,7 @@ spirv.module Logical GLSL450 attributes {
144144}
145145
146146// Using 16-element vectors requires Vector16.
147- // CHECK: requires #spirv.vce<v1.0, [Shader, Matrix, Kernel, Vector16 ], []>
147+ // CHECK: requires #spirv.vce<v1.0, [Shader, Matrix, Vector16, Kernel ], []>
148148spirv.module Logical GLSL450 attributes {
149149 spirv.target_env = #spirv.target_env <
150150 #spirv.vce <v1.3 , [Shader , Vector16 ], []>, #spirv.resource_limits <>>
@@ -208,7 +208,7 @@ spirv.module Logical GLSL450 attributes {
208208// Complicated nested types
209209// * Buffer requires ImageBuffer or SampledBuffer.
210210// * Rg32f requires StorageImageExtendedFormats.
211- // CHECK: requires #spirv.vce<v1.0, [Shader, Matrix, Int64, StorageUniform16, StorageBuffer16BitAccess, UniformAndStorageBuffer8BitAccess, StorageBuffer8BitAccess, SampledBuffer, ImageBuffer, StorageImageExtendedFormats ], [SPV_KHR_8bit_storage, SPV_KHR_16bit_storage]>
211+ // CHECK: requires #spirv.vce<v1.0, [StorageImageExtendedFormats, ImageBuffer, SampledBuffer, Shader, Matrix, Int64, StorageUniform16, StorageBuffer16BitAccess, UniformAndStorageBuffer8BitAccess, StorageBuffer8BitAccess], [SPV_KHR_8bit_storage, SPV_KHR_16bit_storage]>
212212spirv.module Logical GLSL450 attributes {
213213 spirv.target_env = #spirv.target_env <
214214 #spirv.vce <v1.5 , [Shader , UniformAndStorageBuffer8BitAccess , StorageBuffer16BitAccess , StorageUniform16 , Int16 , Int64 , ImageBuffer , StorageImageExtendedFormats ], []>,
@@ -219,7 +219,7 @@ spirv.module Logical GLSL450 attributes {
219219}
220220
221221// Using bfloat16 requires BFloat16TypeKHR capability and SPV_KHR_bfloat16 extension.
222- // CHECK: requires #spirv.vce<v1.0, [StorageBuffer16BitAccess, Matrix, Shader, BFloat16TypeKHR ], [SPV_KHR_bfloat16, SPV_KHR_16bit_storage, SPV_KHR_storage_buffer_storage_class]>
222+ // CHECK: requires #spirv.vce<v1.0, [BFloat16TypeKHR, Shader, Matrix, StorageBuffer16BitAccess ], [SPV_KHR_bfloat16, SPV_KHR_16bit_storage, SPV_KHR_storage_buffer_storage_class]>
223223spirv.module Logical GLSL450 attributes {
224224 spirv.target_env = #spirv.target_env <
225225 #spirv.vce <v1.0 , [Shader , StorageBuffer16BitAccess , BFloat16TypeKHR ], [SPV_KHR_bfloat16 , SPV_KHR_16bit_storage , SPV_KHR_storage_buffer_storage_class ]>,
0 commit comments