blob: a0d72db10eee30c6bc5932850f6765800480efc2 [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: 14
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_Private_int = OpTypePointer Private %int
15 %int_0 = OpConstant %int 0
16 %i = OpVariable %_ptr_Private_int Private %int_0
17 %void = OpTypeVoid
18 %7 = OpTypeFunction %void
19 %int_1 = OpConstant %int 1
20 %main = OpFunction %void None %7
21 %8 = OpLabel
dan sinclair50260412024-08-28 19:43:27 +000022 %9 = OpLoad %int %i None
dan sinclair1b77b6c2024-08-06 15:47:05 +000023 %10 = OpISub %int %9 %int_1
dan sinclair50260412024-08-28 19:43:27 +000024 OpStore %i %10 None
dan sinclair1b77b6c2024-08-06 15:47:05 +000025 OpReturn
26 OpFunctionEnd
27%unused_entry_point = OpFunction %void None %7
28 %13 = OpLabel
29 OpReturn
30 OpFunctionEnd