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