Fix result image format in RT pipeline flags test
authorFriedrich Vock <friedrich.vock@gmx.de>
Mon, 5 Dec 2022 08:13:06 +0000 (09:13 +0100)
committerPiotr Byszewski <piotr.byszewski@mobica.com>
Fri, 16 Dec 2022 15:22:16 +0000 (15:22 +0000)
Tests were using an rgba32i format (VK_FORMAT_R32G32B32A32_SINT) but
declaring it in the shader as r32i.

Affects:
dEQP-VK.ray_tracing_pipeline.pipeline_no_null_shaders_flag.*

Components: Vulkan
VK-GL-CTS issue: 4151
VK-GL-CTS public issue: 365

Change-Id: Ia9dbd97544fce8a29a4fe7270fc617981648032f

external/vulkancts/modules/vulkan/ray_tracing/vktRayTracingPipelineFlagsTests.cpp

index 837aa3a..5eb08d8 100644 (file)
@@ -617,7 +617,7 @@ void PipelineFlagsCase::initPrograms (SourceCollections& programCollection) cons
                str << "#version 460 core"                                                                                                                                                      << endl
                        << "#extension GL_EXT_ray_tracing : require"                                                                                                    << endl
                        << "layout(location = 0) rayPayloadEXT ivec4 payload;"                                                                                  << endl
-                       << "layout(r32i, set = 0, binding = 0) uniform iimage2D result;"                                                                << endl
+                       << "layout(rgba32i, set = 0, binding = 0) uniform iimage2D result;"                                                             << endl
                        << "layout(set = 0, binding = 1) uniform accelerationStructureEXT topLevelAS;"                                  << endl
                        << "void main()"                                                                                                                                                                << endl
                        << "{"                                                                                                                                                                                  << endl