• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; Test: SpvModuleScopeVarParserTest_ScalarNullInitializers.spvasm
2; SPIR-V
3; Version: 1.0
4; Generator: Khronos SPIR-V Tools Assembler; 0
5; Bound: 36
6; Schema: 0
7OpCapability Shader
8OpMemoryModel Logical Simple
9OpEntryPoint Fragment %5 "main"
10OpExecutionMode %5 OriginUpperLeft
11%void = OpTypeVoid
12%7 = 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%31 = OpConstantNull %bool
37%32 = OpConstantNull %int
38%33 = OpConstantNull %uint
39%34 = OpConstantNull %float
40%1 = OpVariable %_ptr_Private_bool Private %31
41%2 = OpVariable %_ptr_Private_int Private %32
42%3 = OpVariable %_ptr_Private_uint Private %33
43%4 = OpVariable %_ptr_Private_float Private %34
44%5 = OpFunction %void None %7
45%35 = OpLabel
46OpReturn
47OpFunctionEnd
48
49