mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 13:28:06 +02:00
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 <brian.paul@broadcom.com> Reviewed-by: Roland Scheidegger <roland.scheidegger@broadcom.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34888>
This commit is contained in:
parent
c4ead6d703
commit
c2267358c6
1 changed files with 2 additions and 1 deletions
|
|
@ -167,7 +167,8 @@ struct svga_depth_stencil_state {
|
|||
#define SVGA_PIPELINE_FLAG_LINES (1<<MESA_PRIM_LINES)
|
||||
#define SVGA_PIPELINE_FLAG_TRIS (1<<MESA_PRIM_TRIANGLES)
|
||||
|
||||
#define SVGA_MAX_FRAMEBUFFER_DEFAULT_SAMPLES 4
|
||||
// We support non-attachment/UAV rendering with up to 16 samples.
|
||||
#define SVGA_MAX_FRAMEBUFFER_DEFAULT_SAMPLES 16
|
||||
|
||||
struct svga_rasterizer_state {
|
||||
struct pipe_rasterizer_state templ; /* needed for draw module */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue