dawn-cmake/test/var/initialization/private/array.wgsl.expected.spvasm

27 lines
933 B
Plaintext
Raw Normal View History

; SPIR-V
; Version: 1.3
; Generator: Google Tint Compiler; 0
; Bound: 14
; Schema: 0
OpCapability Shader
OpMemoryModel Logical GLSL450
OpEntryPoint GLCompute %main "main"
OpExecutionMode %main LocalSize 1 1 1
OpName %v "v"
OpName %main "main"
OpDecorate %_arr_int_uint_3 ArrayStride 4
%int = OpTypeInt 32 1
%uint = OpTypeInt 32 0
%uint_3 = OpConstant %uint 3
%_arr_int_uint_3 = OpTypeArray %int %uint_3
%_ptr_Private__arr_int_uint_3 = OpTypePointer Private %_arr_int_uint_3
%7 = OpConstantNull %_arr_int_uint_3
%v = OpVariable %_ptr_Private__arr_int_uint_3 Private %7
%void = OpTypeVoid
%8 = OpTypeFunction %void
%main = OpFunction %void None %8
%11 = OpLabel
%13 = OpLoad %_arr_int_uint_3 %v
OpReturn
OpFunctionEnd