OSDN Git Service

radv/ac/llvm: fix regression with shadow samplers fix
authorDave Airlie <airlied@redhat.com>
Mon, 28 Nov 2016 05:42:36 +0000 (15:42 +1000)
committerDave Airlie <airlied@redhat.com>
Mon, 28 Nov 2016 05:43:59 +0000 (15:43 +1000)
commitb2e217369e1ca4bf9d7741721559a4506b1f0ce8
tree13054f73be51629ff1754675fafea66bd342b69e
parentb56b54cbf1d8e70c87a434da5350d11533e5fed8
radv/ac/llvm: fix regression with shadow samplers fix

This fixes b56b54cbf1d8e70c87a434da5350d11533e5fed8:
radv/ac/llvm: shadow samplers only return one value

It makes sure we only do that for shadow sampling, as
opposed to sizing requests.

Signed-off-by: Dave Airlie <airlied@redhat.com>
Cc: "13.0" <mesa-stable@lists.freedesktop.org>
src/amd/common/ac_nir_to_llvm.c