Reduce the number of RayQueryExt objects allocated in shader
authorSÅ‚awomir Cygan <slawomir.cygan@intel.com>
Thu, 15 Apr 2021 13:22:56 +0000 (15:22 +0200)
committerAlexander Galazin <Alexander.Galazin@arm.com>
Thu, 22 Apr 2021 14:13:53 +0000 (14:13 +0000)
This reduces number of RayQueryExt object allocated simultanously
in shader, to avoid running out of memory of local variables.

Components: Vulkan

VK-GL-CTS Issue: 2889

Change-Id: I16ce02af52af6ee0b10a3cf382d132b32f3cf40a
Affects: dEQP-VK.ray_query.misc.dynamic_indexing*

external/vulkancts/modules/vulkan/ray_query/vktRayQueryMiscTests.cpp

index b3ac5e2d2e572168feed67046a7506e3df34a4b8..d0a1f5e7bf6b0d10c86d9af9b7def67690c45d09 100644 (file)
@@ -63,8 +63,8 @@ public:
        virtual TestInstance*   createInstance                  (Context& context) const override;
 
        // Constants and data types.
-       static constexpr deUint32       kLocalSizeX     = 128u;
-       static constexpr deUint32       kNumQueries     = 128u;
+       static constexpr deUint32       kLocalSizeX     = 48u;
+       static constexpr deUint32       kNumQueries     = 48u;
 
        // This must match the shader.
        struct InputData