blob: 70266bc20793f41c7e6213796ec7485301981ae0 [file] [log] [blame]
; SPIR-V
; Version: 1.3
; Generator: Google Tint Compiler; 0
; Bound: 17
; Schema: 0
OpCapability Shader
OpMemoryModel Logical GLSL450
OpEntryPoint GLCompute %main "main"
OpExecutionMode %main LocalSize 1 1 1
OpName %main_1 "main_1"
OpName %a "a"
OpName %b "b"
OpName %main "main"
%void = OpTypeVoid
%1 = OpTypeFunction %void
%float = OpTypeFloat 32
%_ptr_Function_float = OpTypePointer Function %float
%8 = OpConstantNull %float
%float_42 = OpConstant %float 42
%float_57_2957802 = OpConstant %float 57.2957802
%main_1 = OpFunction %void None %1
%4 = OpLabel
%a = OpVariable %_ptr_Function_float Function %8
%b = OpVariable %_ptr_Function_float Function %8
OpStore %a %float_42
%11 = OpLoad %float %a
%13 = OpFMul %float %11 %float_57_2957802
OpStore %b %13
OpReturn
OpFunctionEnd
%main = OpFunction %void None %1
%15 = OpLabel
%16 = OpFunctionCall %void %main_1
OpReturn
OpFunctionEnd