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:
parent
7c127ca018
commit
8f57818ce5
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue