2021-10-21 23:04:44 +00:00
|
|
|
; SPIR-V
|
|
|
|
; Version: 1.3
|
|
|
|
; Generator: Google Tint Compiler; 0
|
2022-11-02 02:25:38 +00:00
|
|
|
; Bound: 10
|
2021-10-21 23:04:44 +00:00
|
|
|
; Schema: 0
|
|
|
|
OpCapability Shader
|
|
|
|
OpMemoryModel Logical GLSL450
|
|
|
|
OpEntryPoint GLCompute %main "main"
|
|
|
|
OpExecutionMode %main LocalSize 1 1 1
|
2022-11-02 02:25:38 +00:00
|
|
|
OpName %u_block "u_block"
|
|
|
|
OpMemberName %u_block 0 "inner"
|
2021-10-21 23:04:44 +00:00
|
|
|
OpName %S "S"
|
|
|
|
OpMemberName %S 0 "i"
|
|
|
|
OpName %u "u"
|
|
|
|
OpName %main "main"
|
2022-11-02 02:25:38 +00:00
|
|
|
OpDecorate %u_block Block
|
|
|
|
OpMemberDecorate %u_block 0 Offset 0
|
2021-10-21 23:04:44 +00:00
|
|
|
OpMemberDecorate %S 0 Offset 0
|
|
|
|
OpDecorate %u NonWritable
|
|
|
|
OpDecorate %u Binding 0
|
|
|
|
OpDecorate %u DescriptorSet 0
|
|
|
|
%int = OpTypeInt 32 1
|
|
|
|
%S = OpTypeStruct %int
|
2022-11-02 02:25:38 +00:00
|
|
|
%u_block = OpTypeStruct %S
|
|
|
|
%_ptr_Uniform_u_block = OpTypePointer Uniform %u_block
|
|
|
|
%u = OpVariable %_ptr_Uniform_u_block Uniform
|
2021-10-21 23:04:44 +00:00
|
|
|
%void = OpTypeVoid
|
2022-11-02 02:25:38 +00:00
|
|
|
%6 = OpTypeFunction %void
|
|
|
|
%main = OpFunction %void None %6
|
|
|
|
%9 = OpLabel
|
2021-10-21 23:04:44 +00:00
|
|
|
OpReturn
|
|
|
|
OpFunctionEnd
|