blob: 5f41d6375edd4ba49753fb7ad78d8125d9a2dedc [file] [log] [blame]
; SPIR-V
; Version: 1.3
; Generator: Google Tint Compiler; 0
; Bound: 23
; Schema: 0
OpCapability Shader
OpMemoryModel Logical GLSL450
OpEntryPoint GLCompute %main "main"
OpExecutionMode %main LocalSize 1 1 1
OpName %str "str"
OpMemberName %str 0 "i"
OpName %P "P"
OpName %func_F_i "func_F_i"
OpName %pointer "pointer"
OpName %main "main"
OpMemberDecorate %str 0 Offset 0
%float = OpTypeFloat 32
%v4float = OpTypeVector %float 4
%str = OpTypeStruct %v4float
%_ptr_Private_str = OpTypePointer Private %str
%6 = OpConstantNull %str
%P = OpVariable %_ptr_Private_str Private %6
%void = OpTypeVoid
%7 = OpTypeFunction %void %_ptr_Private_str
%uint = OpTypeInt 32 0
%uint_0 = OpConstant %uint 0
%_ptr_Private_v4float = OpTypePointer Private %v4float
%17 = OpConstantNull %v4float
%18 = OpTypeFunction %void
%func_F_i = OpFunction %void None %7
%pointer = OpFunctionParameter %_ptr_Private_str
%11 = OpLabel
%16 = OpAccessChain %_ptr_Private_v4float %pointer %uint_0
OpStore %16 %17
OpReturn
OpFunctionEnd
%main = OpFunction %void None %18
%20 = OpLabel
%21 = OpFunctionCall %void %func_F_i %P
OpReturn
OpFunctionEnd