• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; Test: SpvModuleScopeVarParserTest_EntryPointWrapping_Interpolation_Flat_Vertex_In.spvasm
2; SPIR-V
3; Version: 1.0
4; Generator: Khronos SPIR-V Tools Assembler; 0
5; Bound: 42
6; Schema: 0
7OpCapability Shader
8OpCapability SampleRateShading
9OpMemoryModel Logical Simple
10OpEntryPoint Vertex %7 "main" %1 %2 %3 %4 %5 %6 %gl_Position
11OpDecorate %1 Location 1
12OpDecorate %2 Location 2
13OpDecorate %3 Location 3
14OpDecorate %4 Location 4
15OpDecorate %5 Location 5
16OpDecorate %6 Location 6
17OpDecorate %1 Flat
18OpDecorate %2 Flat
19OpDecorate %3 Flat
20OpDecorate %4 Flat
21OpDecorate %5 Flat
22OpDecorate %6 Flat
23OpDecorate %gl_Position BuiltIn Position
24%void = OpTypeVoid
25%9 = OpTypeFunction %void
26%bool = OpTypeBool
27%float = OpTypeFloat 32
28%uint = OpTypeInt 32 0
29%int = OpTypeInt 32 1
30%_ptr_Private_bool = OpTypePointer Private %bool
31%_ptr_Private_float = OpTypePointer Private %float
32%_ptr_Private_uint = OpTypePointer Private %uint
33%_ptr_Private_int = OpTypePointer Private %int
34%true = OpConstantTrue %bool
35%false = OpConstantFalse %bool
36%float_0 = OpConstant %float 0
37%float_1_5 = OpConstant %float 1.5
38%uint_1 = OpConstant %uint 1
39%int_n1 = OpConstant %int -1
40%int_14 = OpConstant %int 14
41%uint_2 = OpConstant %uint 2
42%v2bool = OpTypeVector %bool 2
43%v2uint = OpTypeVector %uint 2
44%v2int = OpTypeVector %int 2
45%v2float = OpTypeVector %float 2
46%v4float = OpTypeVector %float 4
47%mat3v2float = OpTypeMatrix %v2float 3
48%_arr_uint_uint_2 = OpTypeArray %uint %uint_2
49%_ptr_Input_uint = OpTypePointer Input %uint
50%_ptr_Input_v2uint = OpTypePointer Input %v2uint
51%_ptr_Input_int = OpTypePointer Input %int
52%_ptr_Input_v2int = OpTypePointer Input %v2int
53%_ptr_Input_float = OpTypePointer Input %float
54%_ptr_Input_v2float = OpTypePointer Input %v2float
55%1 = OpVariable %_ptr_Input_uint Input
56%2 = OpVariable %_ptr_Input_v2uint Input
57%3 = OpVariable %_ptr_Input_int Input
58%4 = OpVariable %_ptr_Input_v2int Input
59%5 = OpVariable %_ptr_Input_float Input
60%6 = OpVariable %_ptr_Input_v2float Input
61%_ptr_Output_v4float = OpTypePointer Output %v4float
62%gl_Position = OpVariable %_ptr_Output_v4float Output
63%7 = OpFunction %void None %9
64%41 = OpLabel
65OpReturn
66OpFunctionEnd
67
68