• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; Test: SpvModuleScopeVarParserTest_DescriptorGroupDecoration_Valid.spvasm
2; SPIR-V
3; Version: 1.0
4; Generator: Khronos SPIR-V Tools Assembler; 0
5; Bound: 31
6; Schema: 0
7OpCapability Shader
8OpMemoryModel Logical Simple
9OpEntryPoint Fragment %2 "main"
10OpExecutionMode %2 OriginUpperLeft
11OpMemberDecorate %_struct_3 0 Offset 0
12OpMemberDecorate %_struct_3 1 Offset 4
13OpMemberDecorate %_struct_3 2 Offset 8
14OpDecorate %_arr_uint_uint_2 ArrayStride 4
15OpDecorate %1 DescriptorSet 3
16OpDecorate %1 Binding 9
17OpDecorate %_struct_3 Block
18%void = OpTypeVoid
19%6 = OpTypeFunction %void
20%bool = OpTypeBool
21%float = OpTypeFloat 32
22%uint = OpTypeInt 32 0
23%int = OpTypeInt 32 1
24%_ptr_Private_bool = OpTypePointer Private %bool
25%_ptr_Private_float = OpTypePointer Private %float
26%_ptr_Private_uint = OpTypePointer Private %uint
27%_ptr_Private_int = OpTypePointer Private %int
28%true = OpConstantTrue %bool
29%false = OpConstantFalse %bool
30%float_0 = OpConstant %float 0
31%float_1_5 = OpConstant %float 1.5
32%uint_1 = OpConstant %uint 1
33%int_n1 = OpConstant %int -1
34%int_14 = OpConstant %int 14
35%uint_2 = OpConstant %uint 2
36%v2bool = OpTypeVector %bool 2
37%v2uint = OpTypeVector %uint 2
38%v2int = OpTypeVector %int 2
39%v2float = OpTypeVector %float 2
40%v4float = OpTypeVector %float 4
41%mat3v2float = OpTypeMatrix %v2float 3
42%_arr_uint_uint_2 = OpTypeArray %uint %uint_2
43%_struct_3 = OpTypeStruct %uint %float %_arr_uint_uint_2
44%_ptr_StorageBuffer__struct_3 = OpTypePointer StorageBuffer %_struct_3
45%1 = OpVariable %_ptr_StorageBuffer__struct_3 StorageBuffer
46%2 = OpFunction %void None %6
47%30 = OpLabel
48OpReturn
49OpFunctionEnd
50
51