mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-19 02:48:07 +02:00
The hardware usually does this automatically. However, we upgrade
depth to Z32_FLOAT to enable TC-compatible HTILE, which means the
hardware no longer clamps the comparison value for us.
The only way to tell in the shader whether a clamp is required
seems to be to communicate an additional bit in the descriptor
table. While VI has some unused bits in the resource descriptor,
those bits have unfortunately all been used in gfx9. So we use
an unused bit in the sampler state instead.
Fixes dEQP-GLES3.functional.texture.shadow.2d.linear.equal_depth_component32f
and many other tests in dEQP-GLES3.functional.texture.shadow.*
Fixes:
|
||
|---|---|---|
| .. | ||
| addrlib | ||
| common | ||
| vulkan | ||
| Android.addrlib.mk | ||
| Android.common.mk | ||
| Android.mk | ||
| Makefile.addrlib.am | ||
| Makefile.am | ||
| Makefile.common.am | ||
| Makefile.sources | ||
| meson.build | ||