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 <sroland@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4122>
This commit is contained in:
Dave Airlie 2020-03-10 10:50:49 +10:00 committed by Marge Bot
parent 1b02eb1a4c
commit bcbe5b3d26

View file

@ -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