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