llvmpipe: further bump LP_MAX_TGSI_SHADER_IMAGES to 64

I previously bumped this to 32, but we need at least 64 to pass
a few other VMware tests (e.g. dx11-slots-uav-write-vs-gs-all-64).

Also update/generalize a comment.

Signed-off-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18213>
This commit is contained in:
Brian Paul 2022-07-15 20:36:31 -06:00 committed by Marge Bot
parent ce65c7f0e9
commit 9fbb77445c

View file

@ -37,10 +37,7 @@
#include "util/u_cpu_detect.h"
/*
* TGSI translation limits.
*
* Some are slightly above SM 3.0 requirements to give some wiggle room to
* the gallium frontends.
* llvmpipe shader limits
*/
#define LP_MAX_TGSI_TEMPS 4096
@ -59,7 +56,7 @@
#define LP_MAX_TGSI_SHADER_BUFFER_SIZE (1 << 27)
#define LP_MAX_TGSI_SHADER_IMAGES 32
#define LP_MAX_TGSI_SHADER_IMAGES 64
/*
* For quick access we cache registers in statically