2021-06-30 15:59:40 +00:00
|
|
|
; SPIR-V
|
|
|
|
; Version: 1.3
|
|
|
|
; Generator: Google Tint Compiler; 0
|
2021-10-22 00:21:44 +00:00
|
|
|
; Bound: 11
|
2021-06-30 15:59:40 +00:00
|
|
|
; Schema: 0
|
|
|
|
OpCapability Shader
|
|
|
|
OpMemoryModel Logical GLSL450
|
|
|
|
OpEntryPoint GLCompute %main "main"
|
|
|
|
OpExecutionMode %main LocalSize 1 1 1
|
|
|
|
OpName %main "main"
|
|
|
|
OpName %S "S"
|
|
|
|
OpMemberName %S 0 "a"
|
|
|
|
OpMemberName %S 1 "b"
|
|
|
|
OpName %v "v"
|
|
|
|
OpMemberDecorate %S 0 Offset 0
|
|
|
|
OpMemberDecorate %S 1 Offset 4
|
|
|
|
%void = OpTypeVoid
|
|
|
|
%1 = OpTypeFunction %void
|
|
|
|
%int = OpTypeInt 32 1
|
|
|
|
%float = OpTypeFloat 32
|
|
|
|
%S = OpTypeStruct %int %float
|
|
|
|
%_ptr_Function_S = OpTypePointer Function %S
|
|
|
|
%10 = OpConstantNull %S
|
|
|
|
%main = OpFunction %void None %1
|
|
|
|
%4 = OpLabel
|
|
|
|
%v = OpVariable %_ptr_Function_S Function %10
|
|
|
|
OpReturn
|
|
|
|
OpFunctionEnd
|