• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; Test: SpvModuleScopeVarParserTest_SampleMask_Out_WithStride.spvasm
2; SPIR-V
3; Version: 1.0
4; Generator: Khronos SPIR-V Tools Assembler; 0
5; Bound: 24
6; Schema: 0
7OpCapability Shader
8OpMemoryModel Logical Simple
9OpEntryPoint Fragment %3 "main" %gl_SampleMask
10OpExecutionMode %3 OriginUpperLeft
11OpDecorate %gl_SampleMask BuiltIn SampleMask
12OpDecorate %_arr_uint_uint_1 ArrayStride 4
13OpDecorate %_arr_uint_uint_2 ArrayStride 4
14OpDecorate %_arr_int_uint_1 ArrayStride 4
15OpDecorate %_arr_int_uint_2 ArrayStride 4
16%void = OpTypeVoid
17%9 = OpTypeFunction %void
18%float = OpTypeFloat 32
19%uint = OpTypeInt 32 0
20%int = OpTypeInt 32 1
21%int_12 = OpConstant %int 12
22%uint_0 = OpConstant %uint 0
23%uint_1 = OpConstant %uint 1
24%uint_2 = OpConstant %uint 2
25%_arr_uint_uint_1 = OpTypeArray %uint %uint_1
26%_arr_uint_uint_2 = OpTypeArray %uint %uint_2
27%_arr_int_uint_1 = OpTypeArray %int %uint_1
28%_arr_int_uint_2 = OpTypeArray %int %uint_2
29%_ptr_Input_int = OpTypePointer Input %int
30%_ptr_Input_uint = OpTypePointer Input %uint
31%_ptr_Output_int = OpTypePointer Output %int
32%_ptr_Output_uint = OpTypePointer Output %uint
33%_ptr_Input__arr_uint_uint_1 = OpTypePointer Input %_arr_uint_uint_1
34%_ptr_Output__arr_uint_uint_1 = OpTypePointer Output %_arr_uint_uint_1
35%gl_SampleMask = OpVariable %_ptr_Output__arr_uint_uint_1 Output
36%3 = OpFunction %void None %9
37%23 = OpLabel
38%2 = OpAccessChain %_ptr_Output_uint %gl_SampleMask %uint_0
39OpStore %2 %uint_0
40OpReturn
41OpFunctionEnd
42
43