turnip: lower samplers and uniform buffer indices
authorJonathan Marek <jonathan@marek.ca>
Thu, 26 Sep 2019 04:29:26 +0000 (00:29 -0400)
committerJonathan Marek <jonathan@marek.ca>
Thu, 26 Sep 2019 21:18:13 +0000 (17:18 -0400)
commitb54f9e9e9e0c2c34fd2e9d3e939320da12a48cb9
treefc1c1c3b204ddb09763e16a3e98b1948ebafcb45
parentc39afe68f0390d45130c1317b3b7e65f55542c36
turnip: lower samplers and uniform buffer indices

Lower these to something compatible with ir3, and save the descriptor set
and binding information.

Signed-off-by: Jonathan Marek <jonathan@marek.ca>
Reviewed-by: Kristian H. Kristensen <hoegsberg@google.com>
Acked-by: Eric Anholt <eric@anholt.net>
src/freedreno/vulkan/tu_private.h
src/freedreno/vulkan/tu_shader.c