| ; SPIR-V |
| ; Version: 1.3 |
| ; Generator: Google Tint Compiler; 0 |
| ; Bound: 23 |
| ; Schema: 0 |
| OpCapability Shader |
| OpMemoryModel Logical GLSL450 |
| OpEntryPoint GLCompute %unused_entry_point "unused_entry_point" |
| OpExecutionMode %unused_entry_point LocalSize 1 1 1 |
| OpName %t "t" |
| OpName %unused_entry_point "unused_entry_point" |
| OpName %m "m" |
| OpName %f "f" |
| OpName %v "v" |
| %float = OpTypeFloat 32 |
| %_ptr_Private_float = OpTypePointer Private %float |
| %4 = OpConstantNull %float |
| %t = OpVariable %_ptr_Private_float Private %4 |
| %void = OpTypeVoid |
| %5 = OpTypeFunction %void |
| %9 = OpTypeFunction %float |
| %float_1 = OpConstant %float 1 |
| %uint = OpTypeInt 32 0 |
| %_ptr_Function_uint = OpTypePointer Function %uint |
| %22 = OpConstantNull %uint |
| %unused_entry_point = OpFunction %void None %5 |
| %8 = OpLabel |
| OpReturn |
| OpFunctionEnd |
| %m = OpFunction %float None %9 |
| %11 = OpLabel |
| OpStore %t %float_1 |
| %14 = OpLoad %float %t |
| OpReturnValue %14 |
| OpFunctionEnd |
| %f = OpFunction %void None %5 |
| %16 = OpLabel |
| %v = OpVariable %_ptr_Function_uint Function %22 |
| %17 = OpFunctionCall %float %m |
| %18 = OpConvertFToU %uint %17 |
| OpStore %v %18 |
| OpReturn |
| OpFunctionEnd |