blob: c954d10178848e7516eb0ddf85b11a77e95793cd [file] [log] [blame] [edit]
; SPIR-V
; Version: 1.3
; Generator: Google Tint Compiler; 1
; Bound: 19
; Schema: 0
OpCapability Shader
OpMemoryModel Logical GLSL450
OpEntryPoint GLCompute %unused_entry_point "unused_entry_point"
OpExecutionMode %unused_entry_point LocalSize 1 1 1
OpName %f "f"
OpName %vec3f "vec3f"
OpName %b "b"
OpName %c "c"
OpName %d "d"
OpName %unused_entry_point "unused_entry_point"
%void = OpTypeVoid
%3 = OpTypeFunction %void
%int = OpTypeInt 32 1
%_ptr_Function_int = OpTypePointer Function %int
%int_1 = OpConstant %int 1
%float = OpTypeFloat 32
%v3float = OpTypeVector %float 3
%_ptr_Function_v3float = OpTypePointer Function %v3float
%15 = OpConstantNull %v3float
%f = OpFunction %void None %3
%4 = OpLabel
%vec3f = OpVariable %_ptr_Function_int Function
%b = OpVariable %_ptr_Function_int Function
%c = OpVariable %_ptr_Function_v3float Function
%d = OpVariable %_ptr_Function_v3float Function
OpStore %vec3f %int_1
%9 = OpLoad %int %vec3f None
OpStore %b %9
OpStore %c %15
OpStore %d %15
OpReturn
OpFunctionEnd
%unused_entry_point = OpFunction %void None %3
%18 = OpLabel
OpReturn
OpFunctionEnd