blob: 3256180c6f6c24a1eda31466ac57b5bf206119f6 [file] [log] [blame]
David Netod1a026e2021-07-30 16:03:06 +00001; Test: ConvertResultSignedness_SpvParserHandleTest_SampledImageAccessTest_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 %vf21 "vf21"
18OpName %vf123 "vf123"
19OpName %vf1234 "vf1234"
20OpName %u1 "u1"
21OpName %vu12 "vu12"
22OpName %vu123 "vu123"
23OpName %vu1234 "vu1234"
24OpName %i1 "i1"
25OpName %vi12 "vi12"
26OpName %vi123 "vi123"
27OpName %vi1234 "vi1234"
28OpName %coords1 "coords1"
29OpName %coords12 "coords12"
30OpName %coords123 "coords123"
31OpName %coords1234 "coords1234"
32OpName %offsets2d "offsets2d"
33OpName %u_offsets2d "u_offsets2d"
34OpDecorate %10 DescriptorSet 0
35OpDecorate %10 Binding 0
36OpDecorate %20 DescriptorSet 2
37OpDecorate %20 Binding 1
38OpDecorate %30 DescriptorSet 0
39OpDecorate %30 Binding 1
40%void = OpTypeVoid
41%24 = OpTypeFunction %void
42%float = OpTypeFloat 32
43%uint = OpTypeInt 32 0
44%int = OpTypeInt 32 1
45%int_0 = OpConstant %int 0
46%int_1 = OpConstant %int 1
47%int_2 = OpConstant %int 2
48%int_3 = OpConstant %int 3
49%int_4 = OpConstant %int 4
50%uint_0 = OpConstant %uint 0
51%uint_1 = OpConstant %uint 1
52%uint_2 = OpConstant %uint 2
53%uint_3 = OpConstant %uint 3
54%uint_4 = OpConstant %uint 4
55%uint_100 = OpConstant %uint 100
56%v2int = OpTypeVector %int 2
57%v3int = OpTypeVector %int 3
58%v4int = OpTypeVector %int 4
59%v2uint = OpTypeVector %uint 2
60%v3uint = OpTypeVector %uint 3
61%v4uint = OpTypeVector %uint 4
62%v2float = OpTypeVector %float 2
63%v3float = OpTypeVector %float 3
64%v4float = OpTypeVector %float 4
65%49 = OpConstantNull %float
66%float_0 = OpConstant %float 0
67%float_1 = OpConstant %float 1
68%float_2 = OpConstant %float 2
69%float_3 = OpConstant %float 3
70%float_4 = OpConstant %float 4
71%float_7 = OpConstant %float 7
72%56 = OpConstantNull %v2float
73%57 = OpConstantNull %v3float
74%58 = OpConstantNull %v4float
75%59 = OpConstantComposite %v2int %int_1 %int_2
76%60 = OpConstantComposite %v3int %int_1 %int_2 %int_3
77%61 = OpConstantComposite %v4int %int_1 %int_2 %int_3 %int_4
78%62 = OpConstantComposite %v2uint %uint_1 %uint_2
79%63 = OpConstantComposite %v3uint %uint_1 %uint_2 %uint_3
80%64 = OpConstantComposite %v4uint %uint_1 %uint_2 %uint_3 %uint_4
81%65 = OpConstantComposite %v2float %float_1 %float_2
82%66 = OpConstantComposite %v2float %float_2 %float_1
83%67 = OpConstantComposite %v3float %float_1 %float_2 %float_3
84%68 = OpConstantComposite %v4float %float_1 %float_2 %float_3 %float_4
85%float_0_200000003 = OpConstant %float 0.200000003
86%70 = OpTypeSampler
87%_ptr_UniformConstant_70 = OpTypePointer UniformConstant %70
88%72 = OpTypeImage %float 2D 0 0 0 1 Unknown
89%_ptr_UniformConstant_72 = OpTypePointer UniformConstant %72
90%74 = OpTypeSampledImage %72
91%10 = OpVariable %_ptr_UniformConstant_70 UniformConstant
92%20 = OpVariable %_ptr_UniformConstant_72 UniformConstant
93%30 = OpVariable %_ptr_UniformConstant_70 UniformConstant
94%offsets2d = OpConstantComposite %v2int %int_3 %int_4
95%u_offsets2d = OpConstantComposite %v2uint %uint_3 %uint_4
96%1 = OpFunction %void None %24
97%75 = OpLabel
98%f1 = OpCopyObject %float %float_1
99%vf12 = OpCopyObject %v2float %65
100%vf21 = OpCopyObject %v2float %66
101%vf123 = OpCopyObject %v3float %67
102%vf1234 = OpCopyObject %v4float %68
103%i1 = OpCopyObject %int %int_1
104%vi12 = OpCopyObject %v2int %59
105%vi123 = OpCopyObject %v3int %60
106%vi1234 = OpCopyObject %v4int %61
107%u1 = OpCopyObject %uint %uint_1
108%vu12 = OpCopyObject %v2uint %62
109%vu123 = OpCopyObject %v3uint %63
110%vu1234 = OpCopyObject %v4uint %64
111%coords1 = OpCopyObject %float %float_1
112%coords12 = OpCopyObject %v2float %vf12
113%coords123 = OpCopyObject %v3float %vf123
114%coords1234 = OpCopyObject %v4float %vf1234
115%76 = OpLoad %70 %10
116%77 = OpLoad %72 %20
117%78 = OpSampledImage %74 %77 %76
118%99 = OpImageFetch %v4float %77 %vi12
119OpReturn
120OpFunctionEnd
121