From: Graeme Leese Date: Thu, 26 May 2022 16:42:51 +0000 (+0100) Subject: Shrink the framebuffer in 2 graphicsfuzz tests X-Git-Tag: upstream/1.3.5~298 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3cc56764adac5af3c472f474b66a3db21650f2d3;p=platform%2Fupstream%2FVK-GL-CTS.git Shrink the framebuffer in 2 graphicsfuzz tests This is the same change that was previously applied to a different maze-O test. Components: Vulkan Affects: dEQP-VK.graphicsfuzz.spv-stable-maze-O-dead-code dEQP-VK.graphicsfuzz.spv-stable-maze-O-memory-accesses Change-Id: I669a659d16019760e35c1c23c0974a72e7fc851c --- diff --git a/external/vulkancts/data/vulkan/amber/graphicsfuzz/spv-stable-maze-O-dead-code.amber b/external/vulkancts/data/vulkan/amber/graphicsfuzz/spv-stable-maze-O-dead-code.amber index 4b0da3c..d528624 100644 --- a/external/vulkancts/data/vulkan/amber/graphicsfuzz/spv-stable-maze-O-dead-code.amber +++ b/external/vulkancts/data/vulkan/amber/graphicsfuzz/spv-stable-maze-O-dead-code.amber @@ -470,7 +470,7 @@ END # resolution BUFFER reference_resolution DATA_TYPE vec2 STD140 DATA - 256.0 256.0 + 32.0 32.0 END BUFFER reference_framebuffer FORMAT B8G8R8A8_UNORM @@ -478,14 +478,14 @@ BUFFER reference_framebuffer FORMAT B8G8R8A8_UNORM PIPELINE graphics reference_pipeline ATTACH reference_vertex_shader ATTACH reference_fragment_shader - FRAMEBUFFER_SIZE 256 256 + FRAMEBUFFER_SIZE 32 32 BIND BUFFER reference_framebuffer AS color LOCATION 0 BIND BUFFER reference_resolution AS uniform DESCRIPTOR_SET 0 BINDING 0 END CLEAR_COLOR reference_pipeline 0 0 0 255 CLEAR reference_pipeline -RUN reference_pipeline DRAW_RECT POS 0 0 SIZE 256 256 +RUN reference_pipeline DRAW_RECT POS 0 0 SIZE 32 32 SHADER vertex variant_vertex_shader PASSTHROUGH @@ -945,7 +945,7 @@ END # resolution BUFFER variant_resolution DATA_TYPE vec2 STD140 DATA - 256.0 256.0 + 32.0 32.0 END BUFFER variant_framebuffer FORMAT B8G8R8A8_UNORM @@ -953,13 +953,13 @@ BUFFER variant_framebuffer FORMAT B8G8R8A8_UNORM PIPELINE graphics variant_pipeline ATTACH variant_vertex_shader ATTACH variant_fragment_shader - FRAMEBUFFER_SIZE 256 256 + FRAMEBUFFER_SIZE 32 32 BIND BUFFER variant_framebuffer AS color LOCATION 0 BIND BUFFER variant_resolution AS uniform DESCRIPTOR_SET 0 BINDING 0 END CLEAR_COLOR variant_pipeline 0 0 0 255 CLEAR variant_pipeline -RUN variant_pipeline DRAW_RECT POS 0 0 SIZE 256 256 +RUN variant_pipeline DRAW_RECT POS 0 0 SIZE 32 32 EXPECT reference_framebuffer EQ_HISTOGRAM_EMD_BUFFER variant_framebuffer TOLERANCE 0.005 diff --git a/external/vulkancts/data/vulkan/amber/graphicsfuzz/spv-stable-maze-O-memory-accesses.amber b/external/vulkancts/data/vulkan/amber/graphicsfuzz/spv-stable-maze-O-memory-accesses.amber index 2b454b2..f3606da 100644 --- a/external/vulkancts/data/vulkan/amber/graphicsfuzz/spv-stable-maze-O-memory-accesses.amber +++ b/external/vulkancts/data/vulkan/amber/graphicsfuzz/spv-stable-maze-O-memory-accesses.amber @@ -470,7 +470,7 @@ END # resolution BUFFER reference_resolution DATA_TYPE vec2 STD140 DATA - 256.0 256.0 + 32.0 32.0 END BUFFER reference_framebuffer FORMAT B8G8R8A8_UNORM @@ -478,14 +478,14 @@ BUFFER reference_framebuffer FORMAT B8G8R8A8_UNORM PIPELINE graphics reference_pipeline ATTACH reference_vertex_shader ATTACH reference_fragment_shader - FRAMEBUFFER_SIZE 256 256 + FRAMEBUFFER_SIZE 32 32 BIND BUFFER reference_framebuffer AS color LOCATION 0 BIND BUFFER reference_resolution AS uniform DESCRIPTOR_SET 0 BINDING 0 END CLEAR_COLOR reference_pipeline 0 0 0 255 CLEAR reference_pipeline -RUN reference_pipeline DRAW_RECT POS 0 0 SIZE 256 256 +RUN reference_pipeline DRAW_RECT POS 0 0 SIZE 32 32 SHADER vertex variant_vertex_shader PASSTHROUGH @@ -946,7 +946,7 @@ END # resolution BUFFER variant_resolution DATA_TYPE vec2 STD140 DATA - 256.0 256.0 + 32.0 32.0 END BUFFER variant_framebuffer FORMAT B8G8R8A8_UNORM @@ -954,13 +954,13 @@ BUFFER variant_framebuffer FORMAT B8G8R8A8_UNORM PIPELINE graphics variant_pipeline ATTACH variant_vertex_shader ATTACH variant_fragment_shader - FRAMEBUFFER_SIZE 256 256 + FRAMEBUFFER_SIZE 32 32 BIND BUFFER variant_framebuffer AS color LOCATION 0 BIND BUFFER variant_resolution AS uniform DESCRIPTOR_SET 0 BINDING 0 END CLEAR_COLOR variant_pipeline 0 0 0 255 CLEAR variant_pipeline -RUN variant_pipeline DRAW_RECT POS 0 0 SIZE 256 256 +RUN variant_pipeline DRAW_RECT POS 0 0 SIZE 32 32 EXPECT reference_framebuffer EQ_HISTOGRAM_EMD_BUFFER variant_framebuffer TOLERANCE 0.005