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