blob: 04c59cdbb5526bfcff7987b0b20ad097c14fb03d [file] [log] [blame]
; SPIR-V
; Version: 1.3
; Generator: Google Tint Compiler; 1
; Bound: 18
; Schema: 0
OpCapability Shader
OpMemoryModel Logical GLSL450
OpEntryPoint Fragment %f "f"
OpExecutionMode %f OriginUpperLeft
OpMemberName %S 0 "m"
OpName %S "S"
OpName %A "A"
OpName %f "f"
OpMemberDecorate %S 0 Offset 0
OpDecorate %_arr_S_uint_4 ArrayStride 4
%int = OpTypeInt 32 1
%S = OpTypeStruct %int
%uint = OpTypeInt 32 0
%uint_4 = OpConstant %uint 4
%_arr_S_uint_4 = OpTypeArray %S %uint_4
%_ptr_Private__arr_S_uint_4 = OpTypePointer Private %_arr_S_uint_4
%8 = OpConstantNull %_arr_S_uint_4
%A = OpVariable %_ptr_Private__arr_S_uint_4 Private %8
%void = OpTypeVoid
%11 = OpTypeFunction %void
%_ptr_Private_S = OpTypePointer Private %S
%uint_0 = OpConstant %uint 0
%int_1 = OpConstant %int 1
%16 = OpConstantComposite %S %int_1
%f = OpFunction %void None %11
%12 = OpLabel
%13 = OpAccessChain %_ptr_Private_S %A %uint_0
OpStore %13 %16 None
OpReturn
OpFunctionEnd