From 4633298fd62121a466884998cb64d7a5b5976fcd Mon Sep 17 00:00:00 2001 From: Jason Ekstrand Date: Thu, 4 Jul 2019 18:26:20 -0500 Subject: [PATCH] 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 --- src/gallium/drivers/iris/iris_program_cache.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]; }; -- 2.30.2