• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; Test: SpvModuleScopeVarParserTest_StorageBuffer_NonWritable_AllMembers.spvasm
2; SPIR-V
3; Version: 1.0
4; Generator: Khronos SPIR-V Tools Assembler; 0
5; Bound: 9
6; Schema: 0
7OpCapability Shader
8OpMemoryModel Logical Simple
9OpEntryPoint Fragment %2 "main"
10OpExecutionMode %2 OriginUpperLeft
11OpDecorate %_struct_3 Block
12OpDecorate %1 DescriptorSet 0
13OpDecorate %1 Binding 0
14OpMemberDecorate %_struct_3 0 NonWritable
15OpMemberDecorate %_struct_3 1 NonWritable
16OpMemberDecorate %_struct_3 0 Offset 0
17OpMemberDecorate %_struct_3 1 Offset 4
18%void = OpTypeVoid
19%5 = OpTypeFunction %void
20%float = OpTypeFloat 32
21%_struct_3 = OpTypeStruct %float %float
22%_ptr_StorageBuffer__struct_3 = OpTypePointer StorageBuffer %_struct_3
23%1 = OpVariable %_ptr_StorageBuffer__struct_3 StorageBuffer
24%2 = OpFunction %void None %5
25%8 = OpLabel
26OpReturn
27OpFunctionEnd
28
29