summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Ekstrand <jason@jlekstrand.net>2019-07-04 18:26:20 -0500
committerJuan A. Suarez Romero <jasuarez@igalia.com>2019-07-05 08:47:31 +0000
commit77598ddfac8cb82f85aefee605351dd65503f973 (patch)
tree17510b08ba7526b271b5b4a2beb25c5494f5d469
parent50c3dcd2f8a4f3d5114d26a66f1472f618d10e46 (diff)
iris: Use a uint16_t for key sizes
sizeof(struct brw_vs_prog_key) == 324. Cc: mesa-stable@lists.freedesktop.org Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> (cherry picked from commit 4633298fd62121a466884998cb64d7a5b5976fcd)
-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 849f96906ca..e82375f0825 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];
};