anv: support primitive restart enable dynamic state

Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10366>
This commit is contained in:
Tapani Pälli
2021-04-15 11:13:49 +03:00
committed by Marge Bot
parent 496b508403
commit 1c718952c8
5 changed files with 27 additions and 7 deletions

View File

@@ -2678,6 +2678,7 @@ struct anv_dynamic_state {
bool stencil_test_enable;
bool raster_discard;
bool depth_bias_enable;
bool primitive_restart_enable;
bool dyn_vbo_stride;
bool dyn_vbo_size;
@@ -3393,7 +3394,6 @@ struct anv_graphics_pipeline {
VkShaderStageFlags active_stages;
bool primitive_restart;
bool writes_depth;
bool depth_test_enable;
bool writes_stencil;