turnip: Add support for fine derivatives

Graphics / Mesa 3D Graphics Library / Mesa - Eric Anholt [anholt.net] - 23 January 2020 17:38 EST

This does appear to be the required instruction sequence (dsxpp_1 dst src; dsxpp_1.p dst src) as dropping either instruction fails the testsuite.

Fixes dEQP-VK.glsl.derivate.*

b327501dbf9 turnip: Add support for fine derivatives.
src/freedreno/ir3/ir3.h | 2 ++
src/freedreno/ir3/ir3_compiler_nir.c | 8 ++++++++
src/freedreno/ir3/ir3_legalize.c | 7 +++++++
src/freedreno/ir3/ir3_shader.h | 2 ++
src/freedreno/vulkan/tu_pipeline.c | 7 ++++++-
5 files changed, 25 insertions(+), 1 deletion(-)

Upstream: cgit.freedesktop.org


  • Share