2021-06-30 15:59:40 +00:00
|
|
|
; SPIR-V
|
|
|
|
; Version: 1.3
|
|
|
|
; Generator: Google Tint Compiler; 0
|
2023-03-02 20:48:48 +00:00
|
|
|
; Bound: 10
|
2021-06-30 15:59:40 +00:00
|
|
|
; Schema: 0
|
|
|
|
OpCapability Shader
|
|
|
|
OpMemoryModel Logical GLSL450
|
2023-03-02 20:48:48 +00:00
|
|
|
OpEntryPoint GLCompute %main "main"
|
2021-06-30 15:59:40 +00:00
|
|
|
OpExecutionMode %main LocalSize 1 1 1
|
|
|
|
OpName %S "S"
|
|
|
|
OpMemberName %S 0 "a"
|
|
|
|
OpMemberName %S 1 "b"
|
|
|
|
OpName %v "v"
|
|
|
|
OpName %main "main"
|
|
|
|
OpMemberDecorate %S 0 Offset 0
|
|
|
|
OpMemberDecorate %S 1 Offset 4
|
|
|
|
%int = OpTypeInt 32 1
|
|
|
|
%float = OpTypeFloat 32
|
|
|
|
%S = OpTypeStruct %int %float
|
|
|
|
%_ptr_Workgroup_S = OpTypePointer Workgroup %S
|
|
|
|
%v = OpVariable %_ptr_Workgroup_S Workgroup
|
|
|
|
%void = OpTypeVoid
|
2023-03-02 20:48:48 +00:00
|
|
|
%6 = OpTypeFunction %void
|
|
|
|
%main = OpFunction %void None %6
|
|
|
|
%9 = OpLabel
|
2021-06-30 15:59:40 +00:00
|
|
|
OpReturn
|
|
|
|
OpFunctionEnd
|