From bcbe5b3d268b325c1138ddc29785b6b002c38af9 Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Tue, 10 Mar 2020 10:50:49 +1000 Subject: [PATCH] llvmpipe: add a max samples define set to 4. I doubt I'll care about much higher MSAA levels, so 4 it is. Reviewed-by: Roland Scheidegger Part-of: --- src/gallium/drivers/llvmpipe/lp_limits.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gallium/drivers/llvmpipe/lp_limits.h b/src/gallium/drivers/llvmpipe/lp_limits.h index 945156bf0ea..8ce15c33028 100644 --- a/src/gallium/drivers/llvmpipe/lp_limits.h +++ b/src/gallium/drivers/llvmpipe/lp_limits.h @@ -64,6 +64,7 @@ #define LP_MAX_HEIGHT (1 << (LP_MAX_TEXTURE_LEVELS - 1)) #define LP_MAX_WIDTH (1 << (LP_MAX_TEXTURE_LEVELS - 1)) +#define LP_MAX_SAMPLES 4 #define LP_MAX_THREADS 16 -- 2.30.2