From 816b21cd87e3f2e7e26067fe589778d1a49df761 Mon Sep 17 00:00:00 2001 From: Lionel Landwerlin Date: Wed, 5 Jun 2024 15:34:37 +0300 Subject: [PATCH] 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 Fixes: 688bb37552 ("anv: deal with new pipeline flags") Reviewed-by: Rohan Garg Part-of: --- src/intel/vulkan/anv_private.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/intel/vulkan/anv_private.h b/src/intel/vulkan/anv_private.h index f4f30cd9a4c..aa261f951b8 100644 --- a/src/intel/vulkan/anv_private.h +++ b/src/intel/vulkan/anv_private.h @@ -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;