| ; Test: Multisampled_Only2DNonArrayedIsValid_SpvParserHandleTest_ImageDeclTest_DeclareAndUseHandle_2.spvasm | |
| ; SPIR-V | |
| ; Version: 1.0 | |
| ; Generator: Khronos SPIR-V Tools Assembler; 0 | |
| ; Bound: 1001 | |
| ; Schema: 0 | |
| OpCapability Shader | |
| OpCapability Sampled1D | |
| OpCapability Image1D | |
| OpCapability StorageImageExtendedFormats | |
| OpCapability ImageQuery | |
| OpMemoryModel Logical Simple | |
| OpEntryPoint Fragment %100 "main" | |
| OpExecutionMode %100 OriginUpperLeft | |
| OpName %float_var "float_var" | |
| OpName %ptr_float "ptr_float" | |
| OpName %i1 "i1" | |
| OpName %vi12 "vi12" | |
| OpName %vi123 "vi123" | |
| OpName %vi1234 "vi1234" | |
| OpName %u1 "u1" | |
| OpName %vu12 "vu12" | |
| OpName %vu123 "vu123" | |
| OpName %vu1234 "vu1234" | |
| OpName %f1 "f1" | |
| OpName %vf12 "vf12" | |
| OpName %vf123 "vf123" | |
| OpName %vf1234 "vf1234" | |
| OpDecorate %10 DescriptorSet 0 | |
| OpDecorate %10 Binding 0 | |
| OpDecorate %20 DescriptorSet 2 | |
| OpDecorate %20 Binding 1 | |
| OpDecorate %30 DescriptorSet 0 | |
| OpDecorate %30 Binding 1 | |
| %void = OpTypeVoid | |
| %17 = OpTypeFunction %void | |
| %float = OpTypeFloat 32 | |
| %uint = OpTypeInt 32 0 | |
| %int = OpTypeInt 32 1 | |
| %int_0 = OpConstant %int 0 | |
| %int_1 = OpConstant %int 1 | |
| %int_2 = OpConstant %int 2 | |
| %int_3 = OpConstant %int 3 | |
| %int_4 = OpConstant %int 4 | |
| %uint_0 = OpConstant %uint 0 | |
| %uint_1 = OpConstant %uint 1 | |
| %uint_2 = OpConstant %uint 2 | |
| %uint_3 = OpConstant %uint 3 | |
| %uint_4 = OpConstant %uint 4 | |
| %uint_100 = OpConstant %uint 100 | |
| %v2int = OpTypeVector %int 2 | |
| %v3int = OpTypeVector %int 3 | |
| %v4int = OpTypeVector %int 4 | |
| %v2uint = OpTypeVector %uint 2 | |
| %v3uint = OpTypeVector %uint 3 | |
| %v4uint = OpTypeVector %uint 4 | |
| %v2float = OpTypeVector %float 2 | |
| %v3float = OpTypeVector %float 3 | |
| %v4float = OpTypeVector %float 4 | |
| %43 = OpConstantNull %float | |
| %float_0 = OpConstant %float 0 | |
| %float_1 = OpConstant %float 1 | |
| %float_2 = OpConstant %float 2 | |
| %float_3 = OpConstant %float 3 | |
| %float_4 = OpConstant %float 4 | |
| %float_7 = OpConstant %float 7 | |
| %50 = OpConstantNull %v2float | |
| %51 = OpConstantNull %v3float | |
| %52 = OpConstantNull %v4float | |
| %53 = OpConstantComposite %v2int %int_1 %int_2 | |
| %54 = OpConstantComposite %v3int %int_1 %int_2 %int_3 | |
| %55 = OpConstantComposite %v4int %int_1 %int_2 %int_3 %int_4 | |
| %56 = OpConstantComposite %v2uint %uint_1 %uint_2 | |
| %57 = OpConstantComposite %v3uint %uint_1 %uint_2 %uint_3 | |
| %58 = OpConstantComposite %v4uint %uint_1 %uint_2 %uint_3 %uint_4 | |
| %59 = OpConstantComposite %v2float %float_1 %float_2 | |
| %60 = OpConstantComposite %v2float %float_2 %float_1 | |
| %61 = OpConstantComposite %v3float %float_1 %float_2 %float_3 | |
| %62 = OpConstantComposite %v4float %float_1 %float_2 %float_3 %float_4 | |
| %float_0_200000003 = OpConstant %float 0.200000003 | |
| %64 = OpTypeSampler | |
| %_ptr_UniformConstant_64 = OpTypePointer UniformConstant %64 | |
| %66 = OpTypeImage %float 2D 0 0 1 1 Unknown | |
| %_ptr_UniformConstant_66 = OpTypePointer UniformConstant %66 | |
| %ptr_float = OpTypePointer Function %float | |
| %10 = OpVariable %_ptr_UniformConstant_64 UniformConstant | |
| %20 = OpVariable %_ptr_UniformConstant_66 UniformConstant | |
| %30 = OpVariable %_ptr_UniformConstant_64 UniformConstant | |
| %100 = OpFunction %void None %17 | |
| %68 = OpLabel | |
| %float_var = OpVariable %ptr_float Function | |
| %i1 = OpCopyObject %int %int_1 | |
| %vi12 = OpCopyObject %v2int %53 | |
| %vi123 = OpCopyObject %v3int %54 | |
| %vi1234 = OpCopyObject %v4int %55 | |
| %u1 = OpCopyObject %uint %uint_1 | |
| %vu12 = OpCopyObject %v2uint %56 | |
| %vu123 = OpCopyObject %v3uint %57 | |
| %vu1234 = OpCopyObject %v4uint %58 | |
| %f1 = OpCopyObject %float %float_1 | |
| %vf12 = OpCopyObject %v2float %59 | |
| %vf123 = OpCopyObject %v3float %61 | |
| %vf1234 = OpCopyObject %v4float %62 | |
| %69 = OpLoad %64 %10 | |
| %70 = OpLoad %66 %20 | |
| %71 = OpImageQuerySamples %uint %70 | |
| %1000 = OpCopyObject %uint %uint_0 | |
| OpReturn | |
| OpFunctionEnd | |