dawn-cmake/test/tint/out_of_order_decls/array/struct.wgsl.expected.spvasm

36 lines
1.2 KiB
Plaintext
Raw Normal View History

; 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
%13 = OpConstantNull %int
%_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 %13
OpStore %15 %17
OpReturn
OpFunctionEnd