39 lines
1.3 KiB
Plaintext
39 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 Fragment %main "main"
|
|
OpExecutionMode %main OriginUpperLeft
|
|
OpName %S "S"
|
|
OpMemberName %S 0 "field0"
|
|
OpName %myvar "myvar"
|
|
OpName %main_1 "main_1"
|
|
OpName %main "main"
|
|
OpDecorate %S Block
|
|
OpMemberDecorate %S 0 Offset 0
|
|
OpDecorate %_arr_v2float_uint_3 ArrayStride 64
|
|
OpDecorate %myvar DescriptorSet 0
|
|
OpDecorate %myvar Binding 0
|
|
%float = OpTypeFloat 32
|
|
%v2float = OpTypeVector %float 2
|
|
%uint = OpTypeInt 32 0
|
|
%uint_3 = OpConstant %uint 3
|
|
%_arr_v2float_uint_3 = OpTypeArray %v2float %uint_3
|
|
%S = OpTypeStruct %_arr_v2float_uint_3
|
|
%_ptr_StorageBuffer_S = OpTypePointer StorageBuffer %S
|
|
%myvar = OpVariable %_ptr_StorageBuffer_S StorageBuffer
|
|
%void = OpTypeVoid
|
|
%9 = OpTypeFunction %void
|
|
%main_1 = OpFunction %void None %9
|
|
%12 = OpLabel
|
|
OpReturn
|
|
OpFunctionEnd
|
|
%main = OpFunction %void None %9
|
|
%14 = OpLabel
|
|
%15 = OpFunctionCall %void %main_1
|
|
OpReturn
|
|
OpFunctionEnd
|