iris: Fix texture buffer / image buffer sizes.

Also fix image buffers with offsets.
This commit is contained in:
Kenneth Graunke
2018-10-22 14:28:54 -07:00
parent d1f8947792
commit a9b32f2bbf
3 changed files with 46 additions and 26 deletions

View File

@@ -39,6 +39,7 @@ struct iris_context;
struct blorp_batch;
struct blorp_params;
#define IRIS_MAX_TEXTURE_BUFFER_SIZE (1 << 27)
#define IRIS_MAX_TEXTURE_SAMPLERS 32
/* IRIS_MAX_ABOS and IRIS_MAX_SSBOS must be the same. */
#define IRIS_MAX_ABOS 16