summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/iris
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2019-07-04 18:26:20 -0500
committerJason Ekstrand <[email protected]>2019-07-04 19:52:34 -0500
commit4633298fd62121a466884998cb64d7a5b5976fcd (patch)
tree6114b3dd79a0cffa6d793b89f66efc8bc0cd6e6a /src/gallium/drivers/iris
parentaa5dab27f96cd7d3e597add1e34de39946c304cf (diff)
iris: Use a uint16_t for key sizes
sizeof(struct brw_vs_prog_key) == 324. Cc: [email protected] Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/gallium/drivers/iris')
-rw-r--r--src/gallium/drivers/iris/iris_program_cache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/iris/iris_program_cache.c b/src/gallium/drivers/iris/iris_program_cache.c
index 9bf8345352f..4e6f4e28c0b 100644
--- a/src/gallium/drivers/iris/iris_program_cache.c
+++ b/src/gallium/drivers/iris/iris_program_cache.c
@@ -45,7 +45,7 @@
#include "iris_resource.h"
struct keybox {
- uint8_t size;
+ uint16_t size;
enum iris_program_cache_id cache_id;
uint8_t data[0];
};