mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-16 18:28:05 +02:00
Different HW units (R2D blit engine, 3D pipeline, etc.) apply subtly different F32->UNORM16 rounding to the same float clear value, causing cleared pixels to fail subsequent depth comparisons. Pre-quantize D16 clear values to exact UNORM16 precision before passing to any HW path. The GMEM path is unaffected as it already converts to integer in pack_blit_event_clear_value(). Fixes dEQP-EGL.functional.image.modify.renderbuffer_depth16_renderbuffer_clear_depth with zink and ANGLE when sysmem is used. Signed-off-by: Valentine Burley <valentine.burley@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41196> |
||
|---|---|---|
| .. | ||
| ci | ||
| common | ||
| computerator | ||
| decode | ||
| drm | ||
| drm-shim | ||
| ds | ||
| fdl | ||
| ir2 | ||
| ir3 | ||
| isa | ||
| perfcntrs | ||
| qrisc | ||
| registers | ||
| rnn | ||
| tests | ||
| vulkan | ||
| .clang-format | ||
| .dir-locals.el | ||
| .editorconfig | ||
| meson.build | ||