• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; Test: SpvModuleScopeVarParserTest_StructMember_NonReadableDecoration_Dropped.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
11OpDecorate %1 DescriptorSet 0
12OpDecorate %1 Binding 0
13OpDecorate %_struct_3 Block
14OpMemberDecorate %_struct_3 0 NonReadable
15OpMemberDecorate %_struct_3 0 Offset 0
16OpMemberDecorate %_struct_3 1 Offset 4
17OpMemberDecorate %_struct_3 2 Offset 8
18OpDecorate %_arr_uint_uint_2 ArrayStride 4
19%void = OpTypeVoid
20%6 = OpTypeFunction %void
21%bool = OpTypeBool
22%float = OpTypeFloat 32
23%uint = OpTypeInt 32 0
24%int = OpTypeInt 32 1
25%_ptr_Private_bool = OpTypePointer Private %bool
26%_ptr_Private_float = OpTypePointer Private %float
27%_ptr_Private_uint = OpTypePointer Private %uint
28%_ptr_Private_int = OpTypePointer Private %int
29%true = OpConstantTrue %bool
30%false = OpConstantFalse %bool
31%float_0 = OpConstant %float 0
32%float_1_5 = OpConstant %float 1.5
33%uint_1 = OpConstant %uint 1
34%int_n1 = OpConstant %int -1
35%int_14 = OpConstant %int 14
36%uint_2 = OpConstant %uint 2
37%v2bool = OpTypeVector %bool 2
38%v2uint = OpTypeVector %uint 2
39%v2int = OpTypeVector %int 2
40%v2float = OpTypeVector %float 2
41%v4float = OpTypeVector %float 4
42%mat3v2float = OpTypeMatrix %v2float 3
43%_arr_uint_uint_2 = OpTypeArray %uint %uint_2
44%_struct_3 = OpTypeStruct %uint %float %_arr_uint_uint_2
45%_ptr_StorageBuffer__struct_3 = OpTypePointer StorageBuffer %_struct_3
46%1 = OpVariable %_ptr_StorageBuffer__struct_3 StorageBuffer
47%2 = OpFunction %void None %6
48%30 = OpLabel
49OpReturn
50OpFunctionEnd
51
52