• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; Test: SpvModuleScopeVarParserTest_BuiltinPosition_BuiltIn_Position_Initializer.spvasm
2; SPIR-V
3; Version: 1.0
4; Generator: Khronos SPIR-V Tools Assembler; 0
5; Bound: 25
6; Schema: 0
7OpCapability Shader
8OpMemoryModel Logical Simple
9OpEntryPoint Vertex %2 "main" %1
10OpMemberDecorate %_struct_10 0 BuiltIn Position
11OpMemberDecorate %_struct_10 1 BuiltIn PointSize
12OpMemberDecorate %_struct_10 2 BuiltIn ClipDistance
13OpMemberDecorate %_struct_10 3 BuiltIn CullDistance
14%void = OpTypeVoid
15%4 = OpTypeFunction %void
16%float = OpTypeFloat 32
17%v4float = OpTypeVector %float 4
18%uint = OpTypeInt 32 0
19%uint_0 = OpConstant %uint 0
20%uint_1 = OpConstant %uint 1
21%_arr_float_uint_1 = OpTypeArray %float %uint_1
22%_struct_10 = OpTypeStruct %v4float %float %_arr_float_uint_1 %_arr_float_uint_1
23%_ptr_Output__struct_10 = OpTypePointer Output %_struct_10
24%float_1 = OpConstant %float 1
25%float_2 = OpConstant %float 2
26%float_3 = OpConstant %float 3
27%float_4 = OpConstant %float 4
28%float_5 = OpConstant %float 5
29%float_6 = OpConstant %float 6
30%float_7 = OpConstant %float 7
31%20 = OpConstantComposite %v4float %float_1 %float_2 %float_3 %float_4
32%21 = OpConstantComposite %_arr_float_uint_1 %float_6
33%22 = OpConstantComposite %_arr_float_uint_1 %float_7
34%23 = OpConstantComposite %_struct_10 %20 %float_5 %21 %22
35%1 = OpVariable %_ptr_Output__struct_10 Output %23
36%2 = OpFunction %void None %4
37%24 = OpLabel
38OpReturn
39OpFunctionEnd
40
41