blob: 4fd2f66b6f2b34307bd5c659ab489299f9a5ef7d [file] [log] [blame]
Ben Clayton9b54a2e2021-05-18 10:28:48 +00001; SPIR-V
2; Version: 1.3
3; Generator: Google Tint Compiler; 0
Ben Claytonaba42ed2021-06-10 18:43:04 +00004; Bound: 12
Ben Clayton9b54a2e2021-05-18 10:28:48 +00005; Schema: 0
6 OpCapability Shader
7 OpMemoryModel Logical GLSL450
8 OpEntryPoint GLCompute %main "main"
9 OpExecutionMode %main LocalSize 1 1 1
10 OpName %S "S"
11 OpMemberName %S 0 "a"
12 OpName %G "G"
13 OpName %main "main"
14 OpDecorate %S Block
15 OpMemberDecorate %S 0 Offset 0
16 OpDecorate %_runtimearr_int ArrayStride 4
17 OpDecorate %G NonWritable
18 OpDecorate %G DescriptorSet 0
19 OpDecorate %G Binding 0
20 %int = OpTypeInt 32 1
21%_runtimearr_int = OpTypeRuntimeArray %int
22 %S = OpTypeStruct %_runtimearr_int
23%_ptr_StorageBuffer_S = OpTypePointer StorageBuffer %S
24 %G = OpVariable %_ptr_StorageBuffer_S StorageBuffer
25 %void = OpTypeVoid
26 %6 = OpTypeFunction %void
Ben Claytonaba42ed2021-06-10 18:43:04 +000027 %uint = OpTypeInt 32 0
Ben Clayton9b54a2e2021-05-18 10:28:48 +000028 %main = OpFunction %void None %6
29 %9 = OpLabel
Ben Claytonaba42ed2021-06-10 18:43:04 +000030 %10 = OpArrayLength %uint %G 0
Ben Clayton9b54a2e2021-05-18 10:28:48 +000031 OpReturn
32 OpFunctionEnd