diff options
author | Dave Airlie <[email protected]> | 2020-03-10 10:50:49 +1000 |
---|---|---|
committer | Marge Bot <[email protected]> | 2020-05-06 06:20:37 +0000 |
commit | bcbe5b3d268b325c1138ddc29785b6b002c38af9 (patch) | |
tree | 17eabeaa9fa4b952b07160bd50e377bfb0d23521 | |
parent | 1b02eb1a4c99b1268da2c17420ece6f341b42789 (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.h | 1 |
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 |