diff options
author | Jason Ekstrand <[email protected]> | 2019-07-04 18:26:20 -0500 |
---|---|---|
committer | Juan A. Suarez Romero <[email protected]> | 2019-07-05 08:47:31 +0000 |
commit | 77598ddfac8cb82f85aefee605351dd65503f973 (patch) | |
tree | 17510b08ba7526b271b5b4a2beb25c5494f5d469 /src | |
parent | 50c3dcd2f8a4f3d5114d26a66f1472f618d10e46 (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]>
(cherry picked from commit 4633298fd62121a466884998cb64d7a5b5976fcd)
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/drivers/iris/iris_program_cache.c | 2 |
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]; }; |