summaryrefslogtreecommitdiffstats
path: root/src/broadcom
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2019-01-17 14:28:10 -0800
committerEric Anholt <[email protected]>2019-01-27 08:30:03 -0800
commit060575bea8e98c28938d08f953864cbd46447ed8 (patch)
treee03c12624e7cebfbe60e0267880e0d5c5dccfd68 /src/broadcom
parent3e743d8cd86c09f68d840604c9df52e0499af64f (diff)
v3d: Drop maximum number of texture units down to 16.
This is the GLES 3.2 minmax, and also what the closed source driver does. Avoids hitting OOMs in the CTS's dEQP-GLES3.functional.texture.units.all_units.only_cube.1.
Diffstat (limited to 'src/broadcom')
-rw-r--r--src/broadcom/common/v3d_limits.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/broadcom/common/v3d_limits.h b/src/broadcom/common/v3d_limits.h
index 367806dbe48..ee7a3e6bc00 100644
--- a/src/broadcom/common/v3d_limits.h
+++ b/src/broadcom/common/v3d_limits.h
@@ -30,7 +30,7 @@
/* Not specifically a hardware limit, just coordination between compiler and
* driver.
*/
-#define V3D_MAX_TEXTURE_SAMPLERS 32
+#define V3D_MAX_TEXTURE_SAMPLERS 16
#define V3D_MAX_MIP_LEVELS 12