diff options
Diffstat (limited to 'lib/mesa/src/gallium/drivers/iris/iris_context.h')
-rw-r--r-- | lib/mesa/src/gallium/drivers/iris/iris_context.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/mesa/src/gallium/drivers/iris/iris_context.h b/lib/mesa/src/gallium/drivers/iris/iris_context.h index a7dde354c..a273b6765 100644 --- a/lib/mesa/src/gallium/drivers/iris/iris_context.h +++ b/lib/mesa/src/gallium/drivers/iris/iris_context.h @@ -205,10 +205,15 @@ struct iris_base_prog_key { unsigned program_string_id; }; +/** + * Note, we need to take care to have padding explicitly declared + * for key since we will directly memcmp the whole struct. + */ struct iris_vue_prog_key { struct iris_base_prog_key base; unsigned nr_userclip_plane_consts:4; + unsigned padding:28; }; struct iris_vs_prog_key { |