mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 22:38:05 +02:00
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
1 changed files with 1 additions and 0 deletions
|
|
@ -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…
Add table
Reference in a new issue