mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-16 03:18:06 +02:00
Uses an approach based on HoneyKrisp. In the vertex shader, an extra output writes 1 if the cull distance is >= 0, otherwise it writes 0. In the fragment shader, if the extra outputs from the vertex shader interpolate zero, all cull distances are < 0, so the primitive is culled by discarding fragments. Reviewed-by: Arcady Goldmints-Orlov <arcady@lunarg.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41463> |
||
|---|---|---|
| .. | ||
| bridge | ||
| clc | ||
| compiler | ||
| libkk | ||
| util | ||
| vulkan | ||
| .clang-format | ||
| kosmicomp.c | ||
| meson.build | ||