blob: 39203b8595c6edc4a60eae999d841850760ba113 [file] [log] [blame]
dan sinclair1b77b6c2024-08-06 15:47:05 +00001; SPIR-V
2; Version: 1.3
3; Generator: Google Tint Compiler; 1
4; Bound: 13
5; Schema: 0
6 OpCapability Shader
7 OpMemoryModel Logical GLSL450
8 OpEntryPoint GLCompute %unused_entry_point "unused_entry_point"
9 OpExecutionMode %unused_entry_point LocalSize 1 1 1
10 OpName %i "i"
11 OpName %main "main"
12 OpName %unused_entry_point "unused_entry_point"
13 %int = OpTypeInt 32 1
14%_ptr_Workgroup_int = OpTypePointer Workgroup %int
15 %i = OpVariable %_ptr_Workgroup_int Workgroup
16 %void = OpTypeVoid
17 %6 = OpTypeFunction %void
18 %int_1 = OpConstant %int 1
19 %main = OpFunction %void None %6
20 %7 = OpLabel
dan sinclair50260412024-08-28 19:43:27 +000021 %8 = OpLoad %int %i None
dan sinclair1b77b6c2024-08-06 15:47:05 +000022 %9 = OpISub %int %8 %int_1
dan sinclair50260412024-08-28 19:43:27 +000023 OpStore %i %9 None
dan sinclair1b77b6c2024-08-06 15:47:05 +000024 OpReturn
25 OpFunctionEnd
26%unused_entry_point = OpFunction %void None %6
27 %12 = OpLabel
28 OpReturn
29 OpFunctionEnd