anv: fix pipeline flag fields

Using the wrong type truncate the top bits of the pipeline flags.
Currently we don't have any bit in the top bits so not fixing any bug,
but in the future new extension could add some.

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Fixes: 688bb37552 ("anv: deal with new pipeline flags")
Reviewed-by: Rohan Garg <rohan.garg@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29553>
This commit is contained in:
Lionel Landwerlin 2024-06-05 15:34:37 +03:00 committed by Marge Bot
parent 53e77cef36
commit 816b21cd87

View file

@ -4504,9 +4504,9 @@ struct anv_pipeline {
void * mem_ctx;
enum anv_pipeline_type type;
VkPipelineCreateFlags flags;
VkPipelineCreateFlags2KHR flags;
VkPipelineCreateFlags2KHR active_stages;
VkShaderStageFlags active_stages;
uint32_t ray_queries;