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