aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Airlie <[email protected]>2020-03-10 10:50:49 +1000
committerMarge Bot <[email protected]>2020-05-06 06:20:37 +0000
commitbcbe5b3d268b325c1138ddc29785b6b002c38af9 (patch)
tree17eabeaa9fa4b952b07160bd50e377bfb0d23521
parent1b02eb1a4c99b1268da2c17420ece6f341b42789 (diff)
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 <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4122>
-rw-r--r--src/gallium/drivers/llvmpipe/lp_limits.h1
1 files changed, 1 insertions, 0 deletions
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