2022-10-03 17:25:42 +00:00
|
|
|
; SPIR-V
|
|
|
|
; Version: 1.3
|
|
|
|
; Generator: Google Tint Compiler; 0
|
2022-11-02 02:25:38 +00:00
|
|
|
; Bound: 18
|
2022-10-03 17:25:42 +00:00
|
|
|
; Schema: 0
|
|
|
|
OpCapability Shader
|
|
|
|
OpMemoryModel Logical GLSL450
|
|
|
|
OpEntryPoint GLCompute %unused_entry_point "unused_entry_point"
|
|
|
|
OpExecutionMode %unused_entry_point LocalSize 1 1 1
|
|
|
|
OpName %v_block "v_block"
|
|
|
|
OpMemberName %v_block 0 "inner"
|
|
|
|
OpName %v "v"
|
2022-11-02 02:25:38 +00:00
|
|
|
OpName %b_block "b_block"
|
|
|
|
OpMemberName %b_block 0 "inner"
|
2022-10-03 17:25:42 +00:00
|
|
|
OpName %A "A"
|
|
|
|
OpMemberName %A 0 "a"
|
|
|
|
OpName %b "b"
|
|
|
|
OpName %unused_entry_point "unused_entry_point"
|
|
|
|
OpDecorate %v_block Block
|
|
|
|
OpMemberDecorate %v_block 0 Offset 0
|
|
|
|
OpDecorate %_arr_int_uint_1000000 ArrayStride 4
|
|
|
|
OpDecorate %v NonWritable
|
|
|
|
OpDecorate %v DescriptorSet 0
|
|
|
|
OpDecorate %v Binding 0
|
2022-11-02 02:25:38 +00:00
|
|
|
OpDecorate %b_block Block
|
|
|
|
OpMemberDecorate %b_block 0 Offset 0
|
2022-10-03 17:25:42 +00:00
|
|
|
OpMemberDecorate %A 0 Offset 0
|
|
|
|
OpDecorate %_arr_float_uint_1000000 ArrayStride 4
|
|
|
|
OpDecorate %b NonWritable
|
|
|
|
OpDecorate %b DescriptorSet 0
|
|
|
|
OpDecorate %b Binding 1
|
|
|
|
%int = OpTypeInt 32 1
|
|
|
|
%uint = OpTypeInt 32 0
|
|
|
|
%uint_1000000 = OpConstant %uint 1000000
|
|
|
|
%_arr_int_uint_1000000 = OpTypeArray %int %uint_1000000
|
|
|
|
%v_block = OpTypeStruct %_arr_int_uint_1000000
|
|
|
|
%_ptr_StorageBuffer_v_block = OpTypePointer StorageBuffer %v_block
|
|
|
|
%v = OpVariable %_ptr_StorageBuffer_v_block StorageBuffer
|
|
|
|
%float = OpTypeFloat 32
|
|
|
|
%_arr_float_uint_1000000 = OpTypeArray %float %uint_1000000
|
|
|
|
%A = OpTypeStruct %_arr_float_uint_1000000
|
2022-11-02 02:25:38 +00:00
|
|
|
%b_block = OpTypeStruct %A
|
|
|
|
%_ptr_StorageBuffer_b_block = OpTypePointer StorageBuffer %b_block
|
|
|
|
%b = OpVariable %_ptr_StorageBuffer_b_block StorageBuffer
|
2022-10-03 17:25:42 +00:00
|
|
|
%void = OpTypeVoid
|
2022-11-02 02:25:38 +00:00
|
|
|
%14 = OpTypeFunction %void
|
|
|
|
%unused_entry_point = OpFunction %void None %14
|
|
|
|
%17 = OpLabel
|
2022-10-03 17:25:42 +00:00
|
|
|
OpReturn
|
|
|
|
OpFunctionEnd
|