mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-18 02:58:06 +02:00
Near/far depth clip was implemented by setting the low/high_depth_clamp to -/+INFINITY, which is invalid on Mali. This commit removes the modification of the depth clamp values and enables depth clipping by setting the depth_cull_enable state in the ZS descriptor for v9+ (the equivalent pre-v9 RSD state is already set correctly) and setting the primitive cull flags correctly for both. Finally, it disables PIPE_CAP_DEPTH_CLIP_DISABLE_SEPARATE for v9+, as both plane clips are controlled by a single value. Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/11506 Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31041> |
||
|---|---|---|
| .. | ||
| ci | ||
| compiler | ||
| drm-shim | ||
| ds | ||
| include | ||
| lib | ||
| midgard | ||
| perf | ||
| shared | ||
| tools | ||
| util | ||
| vulkan | ||
| .clang-format | ||
| meson.build | ||