radeonsi: enable WQM in PS prolog when needed

Graphics / Mesa 3D Graphics Library / Mesa - Nicolai Hähnle [amd.com] - 7 June 2016 16:46 UTC

WQM is needed when the PS prolog computes a VGPR that is consumed by a shader with (implicit or explicit) derivatives.

Depends on http://reviews.llvm.org/D20839 / LLVM r272063 for this to be effective (otherwise it's just a no-op).

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=95130 Cc: 12.0

b42bc90 radeonsi: enable WQM in PS prolog when needed
src/gallium/drivers/radeonsi/si_shader.c | 9 +++++++++
src/gallium/drivers/radeonsi/si_shader.h | 1 +
2 files changed, 10 insertions(+)

Upstream: cgit.freedesktop.org


  • Share