gallivm: add a basic image limit

Reviewed-by: Roland Scheidegger <sroland@vmware.com>
This commit is contained in:
Dave Airlie 2019-07-19 15:52:14 +10:00
parent cf84b46a1c
commit d0381ea149
1 changed files with 2 additions and 0 deletions

View File

@ -59,6 +59,8 @@
#define LP_MAX_TGSI_SHADER_BUFFER_SIZE (1 << 27)
#define LP_MAX_TGSI_SHADER_IMAGES 8
/*
* For quick access we cache registers in statically
* allocated arrays. Here we define the maximum size