zink: fix shaderdb pipeline compile
this assert is always triggered with shaderdb, but it's not relevant there
Fixes: 0ebd6f52a2 ("zink: reuse rast_prim for line-rasterization check")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28525>
This commit is contained in:
committed by
Marge Bot
parent
18fbe63ff2
commit
3352803510
@@ -273,7 +273,7 @@ zink_create_gfx_pipeline(struct zink_screen *screen,
|
||||
if (screen->info.have_EXT_color_write_enable)
|
||||
dynamicStateEnables[state_count++] = VK_DYNAMIC_STATE_COLOR_WRITE_ENABLE_EXT;
|
||||
|
||||
assert(state->rast_prim != MESA_PRIM_COUNT);
|
||||
assert(state->rast_prim != MESA_PRIM_COUNT || zink_debug & ZINK_DEBUG_SHADERDB);
|
||||
|
||||
VkPipelineRasterizationLineStateCreateInfoEXT rast_line_state;
|
||||
if (screen->info.have_EXT_line_rasterization &&
|
||||
|
||||
Reference in New Issue
Block a user