From c2267358c6c9334ab86601728eec6f21feb318e3 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Thu, 8 May 2025 14:46:03 -0600 Subject: [PATCH] svga: increase SVGA_MAX_FRAMEBUFFER_DEFAULT_SAMPLES to 16 This fixes the piglit arb_framebuffer_no_attachments-query test (asserted in debug builds, crashed in release builds). Passes with this change. The SVGA_MAX_FRAMEBUFFER_DEFAULT_SAMPLES value is only used to dimension the svga_rasterizer_state::altRastIds[] array. Signed-off-by: Brian Paul Reviewed-by: Roland Scheidegger Part-of: --- src/gallium/drivers/svga/svga_context.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/gallium/drivers/svga/svga_context.h b/src/gallium/drivers/svga/svga_context.h index 732b1f55c75..e410525bd49 100644 --- a/src/gallium/drivers/svga/svga_context.h +++ b/src/gallium/drivers/svga/svga_context.h @@ -167,7 +167,8 @@ struct svga_depth_stencil_state { #define SVGA_PIPELINE_FLAG_LINES (1<