• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; Test: SpvModuleScopeVarParserTest_Builtin_Output_Initializer_SameSignednessAsWGSL.spvasm
2; SPIR-V
3; Version: 1.0
4; Generator: Khronos SPIR-V Tools Assembler; 0
5; Bound: 32
6; Schema: 0
7OpCapability Shader
8OpMemoryModel Logical Simple
9OpEntryPoint Fragment %2 "main"
10OpExecutionMode %2 OriginUpperLeft
11OpDecorate %gl_SampleMask BuiltIn SampleMask
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%_arr_uint_uint_1 = OpTypeArray %uint %uint_1
38%_ptr_Output__arr_uint_uint_1 = OpTypePointer Output %_arr_uint_uint_1
39%30 = OpConstantComposite %_arr_uint_uint_1 %uint_2
40%gl_SampleMask = OpVariable %_ptr_Output__arr_uint_uint_1 Output %30
41%2 = OpFunction %void None %4
42%31 = OpLabel
43OpReturn
44OpFunctionEnd
45
46