zink: fix duplicate VK_DYNAMIC_STATE_LINE_STIPPLE_EXT setting
if ds3 is used, this is already set above Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19204>
This commit is contained in:
committed by
Marge Bot
parent
9de7e49e6f
commit
12fded5965
@@ -321,7 +321,8 @@ zink_create_gfx_pipeline(struct zink_screen *screen,
|
||||
}
|
||||
|
||||
if (hw_rast_state->line_stipple_enable) {
|
||||
dynamicStateEnables[state_count++] = VK_DYNAMIC_STATE_LINE_STIPPLE_EXT;
|
||||
if (!screen->info.have_EXT_extended_dynamic_state3)
|
||||
dynamicStateEnables[state_count++] = VK_DYNAMIC_STATE_LINE_STIPPLE_EXT;
|
||||
rast_line_state.stippledLineEnable = VK_TRUE;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user