| 1 |
; SPIR-V |
| 2 |
; Version: 1.0 |
| 3 |
; Generator: Khronos Glslang Reference Front End; 8 |
| 4 |
; Bound: 17 |
| 5 |
; Schema: 0 |
| 6 |
OpCapability Shader |
| 7 |
OpCapability PhysicalStorageBufferAddresses |
| 8 |
OpExtension "SPV_EXT_physical_storage_buffer" |
| 9 |
%1 = OpExtInstImport "GLSL.std.450" |
| 10 |
OpMemoryModel PhysicalStorageBuffer64 GLSL450 |
| 11 |
OpEntryPoint GLCompute %main "main" |
| 12 |
OpExecutionMode %main LocalSize 1 1 1 |
| 13 |
OpSource GLSL 460 |
| 14 |
OpSourceExtension "GL_EXT_buffer_reference" |
| 15 |
OpSourceExtension "GL_EXT_buffer_reference2" |
| 16 |
OpSourceExtension "GL_EXT_shader_explicit_arithmetic_types_int64" |
| 17 |
OpName %main "main" |
| 18 |
OpName %Params "Params" |
| 19 |
OpMemberName %Params 0 "x" |
| 20 |
OpMemberName %Params 1 "y" |
| 21 |
OpName %IntBuf "IntBuf" |
| 22 |
OpMemberName %IntBuf 0 "v" |
| 23 |
OpName %_ "" |
| 24 |
OpDecorate %_arr_7_uint_3 ArrayStride 16 |
| 25 |
OpMemberDecorate %Params 0 Offset 0 |
| 26 |
OpMemberDecorate %Params 1 Offset 16 |
| 27 |
OpDecorate %Params Block |
| 28 |
OpMemberDecorate %IntBuf 0 Offset 0 |
| 29 |
OpDecorate %IntBuf Block |
| 30 |
OpDecorate %_arr__ptr_PhysicalStorageBuffer_IntBuf_uint_3 ArrayStride 16 |
| 31 |
OpDecorate %_ DescriptorSet 0 |
| 32 |
OpDecorate %_ Binding 0 |
| 33 |
%void = OpTypeVoid |
| 34 |
%3 = OpTypeFunction %void |
| 35 |
%float = OpTypeFloat 32 |
| 36 |
OpTypeForwardPointer %_ptr_PhysicalStorageBuffer_IntBuf PhysicalStorageBuffer |
| 37 |
%uint = OpTypeInt 32 0 |
| 38 |
%uint_3 = OpConstant %uint 3 |
| 39 |
%_arr_7_uint_3 = OpTypeArray %_ptr_PhysicalStorageBuffer_IntBuf %uint_3 |
| 40 |
%ptr_array_ptr = OpTypePointer PhysicalStorageBuffer %_arr_7_uint_3 |
| 41 |
%Params = OpTypeStruct %float %ptr_array_ptr |
| 42 |
%int = OpTypeInt 32 1 |
| 43 |
%IntBuf = OpTypeStruct %int |
| 44 |
%_ptr_PhysicalStorageBuffer_IntBuf = OpTypePointer PhysicalStorageBuffer %IntBuf |
| 45 |
%_arr__ptr_PhysicalStorageBuffer_IntBuf_uint_3 = OpTypeArray %_ptr_PhysicalStorageBuffer_IntBuf %uint_3 |
| 46 |
%_ptr_Uniform_Params = OpTypePointer Uniform %Params |
| 47 |
%_ = OpVariable %_ptr_Uniform_Params Uniform |
| 48 |
%main = OpFunction %void None %3 |
| 49 |
%5 = OpLabel |
| 50 |
OpReturn |
| 51 |
OpFunctionEnd |