• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; Test: SpvParserFunctionVarTest_EmitFunctionVariables_NamedVars.spvasm
2; SPIR-V
3; Version: 1.0
4; Generator: Khronos SPIR-V Tools Assembler; 0
5; Bound: 101
6; Schema: 0
7OpCapability Shader
8OpMemoryModel Logical Simple
9OpEntryPoint Fragment %100 "main"
10OpExecutionMode %100 OriginUpperLeft
11OpName %a "a"
12OpName %b "b"
13OpName %c "c"
14%void = OpTypeVoid
15%5 = OpTypeFunction %void
16%bool = OpTypeBool
17%float = OpTypeFloat 32
18%uint = OpTypeInt 32 0
19%int = OpTypeInt 32 1
20%_ptr_Function_bool = OpTypePointer Function %bool
21%_ptr_Function_float = OpTypePointer Function %float
22%_ptr_Function_uint = OpTypePointer Function %uint
23%_ptr_Function_int = OpTypePointer Function %int
24%true = OpConstantTrue %bool
25%false = OpConstantFalse %bool
26%float_0 = OpConstant %float 0
27%float_1_5 = OpConstant %float 1.5
28%uint_0 = OpConstant %uint 0
29%uint_1 = OpConstant %uint 1
30%int_n1 = OpConstant %int -1
31%int_0 = OpConstant %int 0
32%int_1 = OpConstant %int 1
33%int_3 = OpConstant %int 3
34%uint_2 = OpConstant %uint 2
35%uint_3 = OpConstant %uint 3
36%uint_4 = OpConstant %uint 4
37%uint_5 = OpConstant %uint 5
38%v2int = OpTypeVector %int 2
39%v2float = OpTypeVector %float 2
40%mat3v2float = OpTypeMatrix %v2float 3
41%31 = OpConstantNull %v2int
42%_arr_uint_uint_2 = OpTypeArray %uint %uint_2
43%_struct_33 = OpTypeStruct %uint %float %_arr_uint_uint_2
44%100 = OpFunction %void None %5
45%34 = OpLabel
46%a = OpVariable %_ptr_Function_uint Function
47%b = OpVariable %_ptr_Function_uint Function
48%c = OpVariable %_ptr_Function_uint Function
49OpReturn
50OpFunctionEnd
51
52