ac/nir: handle old-style shadow tex instructions correctly
authorNicolai Hähnle <nicolai.haehnle@amd.com>
Sat, 24 Jun 2017 15:29:43 +0000 (17:29 +0200)
committerNicolai Hähnle <nicolai.haehnle@amd.com>
Mon, 31 Jul 2017 12:55:39 +0000 (14:55 +0200)
commit9061dca8724846f88fffd2da67099c5c626f2c9f
treee54208a8f38681d2c6f699cd32d18ddc60efe365
parent07597632a5c6a78ce0b17523bfe20e9a1536d0da
ac/nir: handle old-style shadow tex instructions correctly

The first element is only extracted for new-style shadow tex.

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/amd/common/ac_nir_to_llvm.c