Update minimum SPIR-V requirement

Require SPIR-V 1.3 when using GL_EXT_buffer_reference.
Migrate tests to SPIR-V 1.3 fixture as necessary.
Fix extension table key.
Fix whitespace.
This commit is contained in:
Jeremy Hayes
2021-03-26 15:39:34 -06:00
parent 2c7c84c8ac
commit 97dfbe2c4b
22 changed files with 47 additions and 64 deletions

View File

@@ -1,5 +1,5 @@
spv.bufferhandle1.frag
// Module Version 10000
// Module Version 10300
// Generated by (magic number): 8000a
// Id's are bound by 52
@@ -7,7 +7,6 @@ spv.bufferhandle1.frag
Capability VulkanMemoryModelKHR
Capability PhysicalStorageBufferAddressesEXT
Extension "SPV_KHR_physical_storage_buffer"
Extension "SPV_KHR_storage_buffer_storage_class"
Extension "SPV_KHR_vulkan_memory_model"
1: ExtInstImport "GLSL.std.450"
MemoryModel PhysicalStorageBuffer64EXT VulkanKHR

View File

@@ -1,5 +1,5 @@
spv.bufferhandle10.frag
// Module Version 10000
// Module Version 10300
// Generated by (magic number): 8000a
// Id's are bound by 40
@@ -7,7 +7,6 @@ spv.bufferhandle10.frag
Capability VulkanMemoryModelKHR
Capability PhysicalStorageBufferAddressesEXT
Extension "SPV_KHR_physical_storage_buffer"
Extension "SPV_KHR_storage_buffer_storage_class"
Extension "SPV_KHR_vulkan_memory_model"
1: ExtInstImport "GLSL.std.450"
MemoryModel PhysicalStorageBuffer64EXT VulkanKHR

View File

@@ -2,7 +2,7 @@ spv.bufferhandle11.frag
WARNING: 0:6: '' : all default precisions are highp; use precision statements to quiet warning, e.g.:
"precision mediump int; precision highp float;"
// Module Version 10000
// Module Version 10300
// Generated by (magic number): 8000a
// Id's are bound by 61
@@ -11,7 +11,6 @@ WARNING: 0:6: '' : all default precisions are highp; use precision statements to
Capability PhysicalStorageBufferAddressesEXT
Extension "SPV_KHR_8bit_storage"
Extension "SPV_KHR_physical_storage_buffer"
Extension "SPV_KHR_storage_buffer_storage_class"
1: ExtInstImport "GLSL.std.450"
MemoryModel PhysicalStorageBuffer64EXT GLSL450
EntryPoint Fragment 4 "main"

View File

@@ -2,16 +2,14 @@ spv.bufferhandle12.frag
WARNING: 0:6: '' : all default precisions are highp; use precision statements to quiet warning, e.g.:
"precision mediump int; precision highp float;"
// Module Version 10000
// Module Version 10300
// Generated by (magic number): 8000a
// Id's are bound by 183
Capability Shader
Capability StorageUniformBufferBlock16
Capability PhysicalStorageBufferAddressesEXT
Extension "SPV_KHR_16bit_storage"
Extension "SPV_KHR_physical_storage_buffer"
Extension "SPV_KHR_storage_buffer_storage_class"
1: ExtInstImport "GLSL.std.450"
MemoryModel PhysicalStorageBuffer64EXT GLSL450
EntryPoint Fragment 4 "main"

View File

@@ -1,12 +1,11 @@
spv.bufferhandle13.frag
// Module Version 10000
// Module Version 10300
// Generated by (magic number): 8000a
// Id's are bound by 58
Capability Shader
Capability PhysicalStorageBufferAddressesEXT
Extension "SPV_KHR_physical_storage_buffer"
Extension "SPV_KHR_storage_buffer_storage_class"
1: ExtInstImport "GLSL.std.450"
MemoryModel PhysicalStorageBuffer64EXT GLSL450
EntryPoint Fragment 4 "main"

View File

@@ -1,5 +1,5 @@
spv.bufferhandle14.frag
// Module Version 10000
// Module Version 10300
// Generated by (magic number): 8000a
// Id's are bound by 46

View File

@@ -2,14 +2,13 @@ spv.bufferhandle15.frag
WARNING: 0:16: '' : all default precisions are highp; use precision statements to quiet warning, e.g.:
"precision mediump int; precision highp float;"
// Module Version 10000
// Module Version 10300
// Generated by (magic number): 8000a
// Id's are bound by 60
Capability Shader
Capability PhysicalStorageBufferAddressesEXT
Extension "SPV_KHR_physical_storage_buffer"
Extension "SPV_KHR_storage_buffer_storage_class"
1: ExtInstImport "GLSL.std.450"
MemoryModel PhysicalStorageBuffer64EXT GLSL450
EntryPoint Fragment 4 "main" 37

View File

@@ -1,5 +1,5 @@
spv.bufferhandle16.frag
// Module Version 10000
// Module Version 10300
// Generated by (magic number): 8000a
// Id's are bound by 48

View File

@@ -1,5 +1,5 @@
spv.bufferhandle18.frag
// Module Version 10000
// Module Version 10300
// Generated by (magic number): 8000a
// Id's are bound by 196

View File

@@ -1,12 +1,11 @@
spv.bufferhandle2.frag
// Module Version 10000
// Module Version 10300
// Generated by (magic number): 8000a
// Id's are bound by 45
Capability Shader
Capability PhysicalStorageBufferAddressesEXT
Extension "SPV_KHR_physical_storage_buffer"
Extension "SPV_KHR_storage_buffer_storage_class"
1: ExtInstImport "GLSL.std.450"
MemoryModel PhysicalStorageBuffer64EXT GLSL450
EntryPoint Fragment 4 "main"

View File

@@ -1,12 +1,11 @@
spv.bufferhandle3.frag
// Module Version 10000
// Module Version 10300
// Generated by (magic number): 8000a
// Id's are bound by 50
Capability Shader
Capability PhysicalStorageBufferAddressesEXT
Extension "SPV_KHR_physical_storage_buffer"
Extension "SPV_KHR_storage_buffer_storage_class"
1: ExtInstImport "GLSL.std.450"
MemoryModel PhysicalStorageBuffer64EXT GLSL450
EntryPoint Fragment 4 "main" 42

View File

@@ -1,12 +1,11 @@
spv.bufferhandle4.frag
// Module Version 10000
// Module Version 10300
// Generated by (magic number): 8000a
// Id's are bound by 61
Capability Shader
Capability PhysicalStorageBufferAddressesEXT
Extension "SPV_KHR_physical_storage_buffer"
Extension "SPV_KHR_storage_buffer_storage_class"
1: ExtInstImport "GLSL.std.450"
MemoryModel PhysicalStorageBuffer64EXT GLSL450
EntryPoint Fragment 4 "main"

View File

@@ -1,5 +1,5 @@
spv.bufferhandle5.frag
// Module Version 10000
// Module Version 10300
// Generated by (magic number): 8000a
// Id's are bound by 22

View File

@@ -1,12 +1,11 @@
spv.bufferhandle6.frag
// Module Version 10000
// Module Version 10300
// Generated by (magic number): 8000a
// Id's are bound by 165
Capability Shader
Capability PhysicalStorageBufferAddressesEXT
Extension "SPV_KHR_physical_storage_buffer"
Extension "SPV_KHR_storage_buffer_storage_class"
1: ExtInstImport "GLSL.std.450"
MemoryModel PhysicalStorageBuffer64EXT GLSL450
EntryPoint Fragment 4 "main" 154

View File

@@ -1,12 +1,11 @@
spv.bufferhandle7.frag
// Module Version 10000
// Module Version 10300
// Generated by (magic number): 8000a
// Id's are bound by 24
Capability Shader
Capability PhysicalStorageBufferAddressesEXT
Extension "SPV_KHR_physical_storage_buffer"
Extension "SPV_KHR_storage_buffer_storage_class"
1: ExtInstImport "GLSL.std.450"
MemoryModel PhysicalStorageBuffer64EXT GLSL450
EntryPoint Fragment 4 "main"

View File

@@ -1,12 +1,11 @@
spv.bufferhandle8.frag
// Module Version 10000
// Module Version 10300
// Generated by (magic number): 8000a
// Id's are bound by 27
Capability Shader
Capability PhysicalStorageBufferAddressesEXT
Extension "SPV_KHR_physical_storage_buffer"
Extension "SPV_KHR_storage_buffer_storage_class"
1: ExtInstImport "GLSL.std.450"
MemoryModel PhysicalStorageBuffer64EXT GLSL450
EntryPoint Fragment 4 "main"

View File

@@ -1,5 +1,5 @@
spv.bufferhandle9.frag
// Module Version 10000
// Module Version 10300
// Generated by (magic number): 8000a
// Id's are bound by 56
@@ -7,7 +7,6 @@ spv.bufferhandle9.frag
Capability Int64
Capability PhysicalStorageBufferAddressesEXT
Extension "SPV_KHR_physical_storage_buffer"
Extension "SPV_KHR_storage_buffer_storage_class"
1: ExtInstImport "GLSL.std.450"
MemoryModel PhysicalStorageBuffer64EXT GLSL450
EntryPoint Fragment 4 "main" 16 19

View File

@@ -1,12 +1,11 @@
spv.bufferhandleUvec2.frag
// Module Version 10000
// Module Version 10300
// Generated by (magic number): 8000a
// Id's are bound by 71
Capability Shader
Capability PhysicalStorageBufferAddressesEXT
Extension "SPV_KHR_physical_storage_buffer"
Extension "SPV_KHR_storage_buffer_storage_class"
1: ExtInstImport "GLSL.std.450"
MemoryModel PhysicalStorageBuffer64EXT GLSL450
EntryPoint Fragment 4 "main" 16 19

View File

@@ -1,5 +1,5 @@
spv.coopmat.comp
// Module Version 10000
// Module Version 10300
// Generated by (magic number): 8000a
// Id's are bound by 228
@@ -9,9 +9,7 @@ spv.coopmat.comp
Capability VulkanMemoryModelKHR
Capability PhysicalStorageBufferAddressesEXT
Capability CooperativeMatrixNV
Extension "SPV_KHR_16bit_storage"
Extension "SPV_KHR_physical_storage_buffer"
Extension "SPV_KHR_storage_buffer_storage_class"
Extension "SPV_KHR_vulkan_memory_model"
Extension "SPV_NV_cooperative_matrix"
1: ExtInstImport "GLSL.std.450"

View File

@@ -1,5 +1,5 @@
spv.intcoopmat.comp
// Module Version 10000
// Module Version 10300
// Generated by (magic number): 8000a
// Id's are bound by 262
@@ -12,7 +12,6 @@ spv.intcoopmat.comp
Capability CooperativeMatrixNV
Extension "SPV_KHR_8bit_storage"
Extension "SPV_KHR_physical_storage_buffer"
Extension "SPV_KHR_storage_buffer_storage_class"
Extension "SPV_KHR_vulkan_memory_model"
Extension "SPV_NV_cooperative_matrix"
1: ExtInstImport "GLSL.std.450"