35 lines
1.3 KiB
Plaintext
35 lines
1.3 KiB
Plaintext
; SPIR-V
|
|
; Version: 1.3
|
|
; Generator: Google Tint Compiler; 0
|
|
; Bound: 16
|
|
; Schema: 0
|
|
OpCapability Shader
|
|
OpMemoryModel Logical GLSL450
|
|
OpEntryPoint GLCompute %unused_entry_point "unused_entry_point"
|
|
OpExecutionMode %unused_entry_point LocalSize 1 1 1
|
|
OpName %unused_entry_point "unused_entry_point"
|
|
OpName %foo "foo"
|
|
OpName %explicit "explicit"
|
|
OpName %implict "implict"
|
|
OpDecorate %_arr_int_uint_2 ArrayStride 4
|
|
%void = OpTypeVoid
|
|
%1 = OpTypeFunction %void
|
|
%int = OpTypeInt 32 1
|
|
%uint = OpTypeInt 32 0
|
|
%uint_2 = OpConstant %uint 2
|
|
%_arr_int_uint_2 = OpTypeArray %int %uint_2
|
|
%_ptr_Function__arr_int_uint_2 = OpTypePointer Function %_arr_int_uint_2
|
|
%13 = OpConstantNull %_arr_int_uint_2
|
|
%unused_entry_point = OpFunction %void None %1
|
|
%4 = OpLabel
|
|
OpReturn
|
|
OpFunctionEnd
|
|
%foo = OpFunction %void None %1
|
|
%6 = OpLabel
|
|
%explicit = OpVariable %_ptr_Function__arr_int_uint_2 Function %13
|
|
%implict = OpVariable %_ptr_Function__arr_int_uint_2 Function %13
|
|
%15 = OpLoad %_arr_int_uint_2 %explicit
|
|
OpStore %implict %15
|
|
OpReturn
|
|
OpFunctionEnd
|