2022-02-11 12:59:08 +00:00
|
|
|
; 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
|
2022-06-01 15:57:22 +00:00
|
|
|
%13 = OpConstantNull %int
|
2022-02-11 12:59:08 +00:00
|
|
|
%_ptr_Private_S = OpTypePointer Private %S
|
|
|
|
%int_1 = OpConstant %int 1
|
|
|
|
%17 = OpConstantComposite %S %int_1
|
|
|
|
%f = OpFunction %void None %9
|
|
|
|
%12 = OpLabel
|
2022-06-01 15:57:22 +00:00
|
|
|
%15 = OpAccessChain %_ptr_Private_S %A %13
|
2022-02-11 12:59:08 +00:00
|
|
|
OpStore %15 %17
|
|
|
|
OpReturn
|
|
|
|
OpFunctionEnd
|