blob: 7793290d8ae5b3e5dfe7b102a16afdbbbe1842dc [file] [log] [blame] [edit]
; Test: SpvModuleScopeVarParserTest_StorageBuffer_NonWritable_AllMembers.spvasm
; SPIR-V
; Version: 1.0
; Generator: Khronos SPIR-V Tools Assembler; 0
; Bound: 9
; Schema: 0
OpCapability Shader
OpMemoryModel Logical Simple
OpEntryPoint Fragment %2 "main"
OpExecutionMode %2 OriginUpperLeft
OpDecorate %_struct_3 Block
OpDecorate %1 DescriptorSet 0
OpDecorate %1 Binding 0
OpMemberDecorate %_struct_3 0 NonWritable
OpMemberDecorate %_struct_3 1 NonWritable
OpMemberDecorate %_struct_3 0 Offset 0
OpMemberDecorate %_struct_3 1 Offset 4
%void = OpTypeVoid
%5 = OpTypeFunction %void
%float = OpTypeFloat 32
%_struct_3 = OpTypeStruct %float %float
%_ptr_StorageBuffer__struct_3 = OpTypePointer StorageBuffer %_struct_3
%1 = OpVariable %_ptr_StorageBuffer__struct_3 StorageBuffer
%2 = OpFunction %void None %5
%8 = OpLabel
OpReturn
OpFunctionEnd