radeonsi: enable WQM in PS prolog when needed
authorNicolai Hähnle <nicolai.haehnle@amd.com>
Wed, 1 Jun 2016 11:24:19 +0000 (13:24 +0200)
committerNicolai Hähnle <nicolai.haehnle@amd.com>
Tue, 7 Jun 2016 21:46:02 +0000 (23:46 +0200)
commitb42bc90b6add0d0f81d915d49712761d32329afa
treef91a0da739bd339844a8a1af25d82f9e3069560e
parentd3a584defec988faa09960adea90545399440827
radeonsi: enable WQM in PS prolog when needed

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 <mesa-dev@lists.freedesktop.org>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/gallium/drivers/radeonsi/si_shader.c
src/gallium/drivers/radeonsi/si_shader.h