glsl_to_tgsi: fix instruction order for bindless textures
authorMarek Olšák <marek.olsak@amd.com>
Fri, 29 Sep 2017 02:52:10 +0000 (04:52 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Fri, 6 Oct 2017 00:56:11 +0000 (02:56 +0200)
commit985338e2cb63156fc7abfc605716a0354db50c5c
tree05bbc2b8ff35c1b375971e5722c9dc03da137063
parentbd1837471a99f8b3503633531ef78c3ea6bf2c85
glsl_to_tgsi: fix instruction order for bindless textures

We emitted instructions loading the bindless handle after the memory
instruction.

Cc: 17.2 <mesa-stable@lists.freedesktop.org>
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/mesa/state_tracker/st_glsl_to_tgsi.cpp