zink: fix-ish depth clipping without VK_EXT_depth_clip_enable

if this extension is unsupported, use the previous behavior and hope for the best

Reviewed-by: Adam Jackson <ajax@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17237>
This commit is contained in:
Mike Blumenkrantz 2022-06-24 12:01:06 -04:00 committed by Marge Bot
parent 7c127ca018
commit 8f57818ce5
1 changed files with 1 additions and 0 deletions

View File

@ -191,6 +191,7 @@ zink_create_gfx_pipeline(struct zink_screen *screen,
} else {
static bool warned = false;
warn_missing_feature(warned, "VK_EXT_depth_clip_enable");
rast_state.depthClampEnable = !hw_rast_state->depth_clip;
}
VkPipelineRasterizationProvokingVertexStateCreateInfoEXT pv_state;