37 lines
1.3 KiB
Plaintext
37 lines
1.3 KiB
Plaintext
|
; SPIR-V
|
||
|
; Version: 1.3
|
||
|
; Generator: Google Tint Compiler; 0
|
||
|
; Bound: 13
|
||
|
; Schema: 0
|
||
|
OpCapability Shader
|
||
|
OpMemoryModel Logical GLSL450
|
||
|
OpEntryPoint GLCompute %main "main"
|
||
|
OpExecutionMode %main LocalSize 1 1 1
|
||
|
OpName %arr_block "arr_block"
|
||
|
OpMemberName %arr_block 0 "inner"
|
||
|
OpName %S "S"
|
||
|
OpMemberName %S 0 "f"
|
||
|
OpName %arr "arr"
|
||
|
OpName %main "main"
|
||
|
OpDecorate %arr_block Block
|
||
|
OpMemberDecorate %arr_block 0 Offset 0
|
||
|
OpMemberDecorate %S 0 Offset 0
|
||
|
OpDecorate %_runtimearr_S ArrayStride 4
|
||
|
OpDecorate %arr NonWritable
|
||
|
OpDecorate %arr DescriptorSet 0
|
||
|
OpDecorate %arr Binding 0
|
||
|
%float = OpTypeFloat 32
|
||
|
%S = OpTypeStruct %float
|
||
|
%_runtimearr_S = OpTypeRuntimeArray %S
|
||
|
%arr_block = OpTypeStruct %_runtimearr_S
|
||
|
%_ptr_StorageBuffer_arr_block = OpTypePointer StorageBuffer %arr_block
|
||
|
%arr = OpVariable %_ptr_StorageBuffer_arr_block StorageBuffer
|
||
|
%void = OpTypeVoid
|
||
|
%7 = OpTypeFunction %void
|
||
|
%uint = OpTypeInt 32 0
|
||
|
%main = OpFunction %void None %7
|
||
|
%10 = OpLabel
|
||
|
%11 = OpArrayLength %uint %arr 0
|
||
|
OpReturn
|
||
|
OpFunctionEnd
|