| ; SPIR-V |
| ; Version: 1.3 |
| ; Generator: Google Tint Compiler; 0 |
| ; Bound: 15 |
| ; Schema: 0 |
| OpCapability Shader |
| OpMemoryModel Logical GLSL450 |
| OpEntryPoint GLCompute %f "f" |
| OpExecutionMode %f LocalSize 1 1 1 |
| OpName %f "f" |
| OpName %a "a" |
| OpName %b "b" |
| %void = OpTypeVoid |
| %1 = OpTypeFunction %void |
| %uint = OpTypeInt 32 0 |
| %uint_1 = OpConstant %uint 1 |
| %_ptr_Function_uint = OpTypePointer Function %uint |
| %9 = OpConstantNull %uint |
| %uint_0 = OpConstant %uint 0 |
| %f = OpFunction %void None %1 |
| %4 = OpLabel |
| %a = OpVariable %_ptr_Function_uint Function %9 |
| %b = OpVariable %_ptr_Function_uint Function %9 |
| OpStore %a %uint_1 |
| OpStore %b %uint_0 |
| %12 = OpLoad %uint %a |
| %13 = OpLoad %uint %b |
| %14 = OpUMod %uint %12 %13 |
| OpReturn |
| OpFunctionEnd |