ir3: Fix txs with bindless
authorConnor Abbott <cwabbott0@gmail.com>
Tue, 14 Apr 2020 09:35:50 +0000 (11:35 +0200)
committerMarge Bot <eric+marge@anholt.net>
Tue, 14 Apr 2020 16:25:34 +0000 (16:25 +0000)
commit31988baba48e974240af68aff84f8c5620d2e62a
treef16abf903d30ba91cc00a64868201267911ae9de
parentacf7e73be54c7f1cc52fcc9be38a9df26849200e
ir3: Fix txs with bindless

I missed that this had a micro-optimization to assume that there was
only ever one source, which is no longer valid for the bindless model
since we now have a bindless handle source. Remove the optimization to
fix assertion failures with turnip.

Fixes e.g.
dEQP-VK.glsl.texture_functions.query.texturesize.sampler2d_fixed_vertex

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4548>
src/freedreno/ir3/ir3_compiler_nir.c