anv: Fix unused var warning on release builds from an assertion.

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11628>
This commit is contained in:
Emma Anholt
2021-06-28 13:08:37 -07:00
parent fd2d463a98
commit d8d7d475aa

View File

@@ -2882,7 +2882,7 @@ ray_tracing_pipeline_create(
pipeline->group_count = pCreateInfo->groupCount;
pipeline->groups = groups;
const VkShaderStageFlags ray_tracing_stages =
ASSERTED const VkShaderStageFlags ray_tracing_stages =
VK_SHADER_STAGE_RAYGEN_BIT_KHR |
VK_SHADER_STAGE_ANY_HIT_BIT_KHR |
VK_SHADER_STAGE_CLOSEST_HIT_BIT_KHR |