mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-23 15:08:09 +02:00
It seems triangle merging is incompatible with calculating derivatives along primitive edges correctly. Take the appropriate NIR shader info flags in the compiler and pass them down as a flag to the driver, so it can set the disable triangle merging flag (formerly called "lines or points"). TODO: Is this what macOS does when you set a sample mask there (which apparently fixes the same bug on the Darwinia Metal backend)? Do we also need to set this when sample masks are used? Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com> Fixes Darwinia and dEQP2 projected tests. Signed-off-by: Asahi Lina <lina@asahilina.net> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20365> |
||
|---|---|---|
| .. | ||
| compiler | ||
| drm-shim | ||
| layout | ||
| lib | ||
| meson.build | ||