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