mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 02:28:10 +02:00
zink: fix depth-clip disable cap
We use EXT_depth_clip_enable for this, not EXT_depth_clip_control, which is what depth_clip_control_missing is a proxy for. Fixes:721f33cd0f("zink: fix return for PIPE_CAP_DEPTH_CLIP_DISABLE") Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20740> (cherry picked from commitc12fed1804)
This commit is contained in:
parent
8da3b21d07
commit
56be7ba217
2 changed files with 2 additions and 2 deletions
|
|
@ -3541,7 +3541,7 @@
|
|||
"description": "zink: fix depth-clip disable cap",
|
||||
"nominated": true,
|
||||
"nomination_type": 1,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": "721f33cd0fc9756c4db5cc88bccc46c977ad05f3"
|
||||
},
|
||||
|
|
|
|||
|
|
@ -718,7 +718,7 @@ zink_get_param(struct pipe_screen *pscreen, enum pipe_cap param)
|
|||
return screen->info.props.limits.maxImageArrayLayers;
|
||||
|
||||
case PIPE_CAP_DEPTH_CLIP_DISABLE:
|
||||
return !screen->driver_workarounds.depth_clip_control_missing;
|
||||
return screen->info.have_EXT_depth_clip_enable;
|
||||
|
||||
case PIPE_CAP_SHADER_STENCIL_EXPORT:
|
||||
return screen->info.have_EXT_shader_stencil_export;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue