blob: 317a4459c1f379a0a9c125387190b69e7ba98407 [file] [log] [blame]
; SPIR-V
; Version: 1.3
; Generator: Google Tint Compiler; 0
; Bound: 18
; Schema: 0
OpCapability Shader
OpMemoryModel Logical GLSL450
OpEntryPoint Fragment %f "f"
OpExecutionMode %f OriginUpperLeft
OpName %S "S"
OpMemberName %S 0 "m"
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
%9 = OpTypeFunction %void
%int_0 = OpConstant %int 0
%_ptr_Private_S = OpTypePointer Private %S
%int_1 = OpConstant %int 1
%17 = OpConstantComposite %S %int_1
%f = OpFunction %void None %9
%12 = OpLabel
%15 = OpAccessChain %_ptr_Private_S %A %int_0
OpStore %15 %17
OpReturn
OpFunctionEnd