• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; Test: ImageFetch_Multisampled_ConvertSampleOperand_SpvParserHandleTest_ImageAccessTest_Variable_0.spvasm
2; SPIR-V
3; Version: 1.0
4; Generator: Khronos SPIR-V Tools Assembler; 0
5; Bound: 100
6; Schema: 0
7OpCapability Shader
8OpCapability Sampled1D
9OpCapability Image1D
10OpCapability StorageImageExtendedFormats
11OpCapability ImageQuery
12OpMemoryModel Logical Simple
13OpEntryPoint Fragment %1 "main"
14OpExecutionMode %1 OriginUpperLeft
15OpName %f1 "f1"
16OpName %vf12 "vf12"
17OpName %vf123 "vf123"
18OpName %vf1234 "vf1234"
19OpName %u1 "u1"
20OpName %vu12 "vu12"
21OpName %vu123 "vu123"
22OpName %vu1234 "vu1234"
23OpName %i1 "i1"
24OpName %vi12 "vi12"
25OpName %vi123 "vi123"
26OpName %vi1234 "vi1234"
27OpName %offsets2d "offsets2d"
28OpDecorate %20 DescriptorSet 2
29OpDecorate %20 Binding 1
30%void = OpTypeVoid
31%16 = OpTypeFunction %void
32%float = OpTypeFloat 32
33%uint = OpTypeInt 32 0
34%int = OpTypeInt 32 1
35%int_0 = OpConstant %int 0
36%int_1 = OpConstant %int 1
37%int_2 = OpConstant %int 2
38%int_3 = OpConstant %int 3
39%int_4 = OpConstant %int 4
40%uint_0 = OpConstant %uint 0
41%uint_1 = OpConstant %uint 1
42%uint_2 = OpConstant %uint 2
43%uint_3 = OpConstant %uint 3
44%uint_4 = OpConstant %uint 4
45%uint_100 = OpConstant %uint 100
46%v2int = OpTypeVector %int 2
47%v3int = OpTypeVector %int 3
48%v4int = OpTypeVector %int 4
49%v2uint = OpTypeVector %uint 2
50%v3uint = OpTypeVector %uint 3
51%v4uint = OpTypeVector %uint 4
52%v2float = OpTypeVector %float 2
53%v3float = OpTypeVector %float 3
54%v4float = OpTypeVector %float 4
55%41 = OpConstantNull %float
56%float_0 = OpConstant %float 0
57%float_1 = OpConstant %float 1
58%float_2 = OpConstant %float 2
59%float_3 = OpConstant %float 3
60%float_4 = OpConstant %float 4
61%float_7 = OpConstant %float 7
62%48 = OpConstantNull %v2float
63%49 = OpConstantNull %v3float
64%50 = OpConstantNull %v4float
65%51 = OpConstantComposite %v2int %int_1 %int_2
66%52 = OpConstantComposite %v3int %int_1 %int_2 %int_3
67%53 = OpConstantComposite %v4int %int_1 %int_2 %int_3 %int_4
68%54 = OpConstantComposite %v2uint %uint_1 %uint_2
69%55 = OpConstantComposite %v3uint %uint_1 %uint_2 %uint_3
70%56 = OpConstantComposite %v4uint %uint_1 %uint_2 %uint_3 %uint_4
71%57 = OpConstantComposite %v2float %float_1 %float_2
72%58 = OpConstantComposite %v2float %float_2 %float_1
73%59 = OpConstantComposite %v3float %float_1 %float_2 %float_3
74%60 = OpConstantComposite %v4float %float_1 %float_2 %float_3 %float_4
75%float_0_200000003 = OpConstant %float 0.200000003
76%62 = OpTypeImage %float 2D 0 0 1 1 Unknown
77%_ptr_UniformConstant_62 = OpTypePointer UniformConstant %62
78%20 = OpVariable %_ptr_UniformConstant_62 UniformConstant
79%1 = OpFunction %void None %16
80%64 = OpLabel
81%f1 = OpCopyObject %float %float_1
82%vf12 = OpCopyObject %v2float %57
83%vf123 = OpCopyObject %v3float %59
84%vf1234 = OpCopyObject %v4float %60
85%i1 = OpCopyObject %int %int_1
86%vi12 = OpCopyObject %v2int %51
87%vi123 = OpCopyObject %v3int %52
88%vi1234 = OpCopyObject %v4int %53
89%u1 = OpCopyObject %uint %uint_1
90%vu12 = OpCopyObject %v2uint %54
91%vu123 = OpCopyObject %v3uint %55
92%vu1234 = OpCopyObject %v4uint %56
93%65 = OpCompositeConstruct %v2int %int_3 %int_4
94%offsets2d = OpCopyObject %v2int %65
95%66 = OpLoad %62 %20
96%99 = OpImageFetch %v4float %66 %vi12 Sample %u1
97OpReturn
98OpFunctionEnd
99
100