radeonsi: track use of bindless samplers/images from tgsi_shader_info
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Tue, 16 May 2017 10:25:28 +0000 (12:25 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Wed, 14 Jun 2017 08:04:36 +0000 (10:04 +0200)
commit2c3a7d584095bacb129a3fbbd6ccd5eac34d1451
treee08fdb8b4728764183471895b7ee137845271193
parente1813a8635fb9775791721cf421de05803c3fcb5
radeonsi: track use of bindless samplers/images from tgsi_shader_info

This adds some new helper functions to know if the current draw
call (or dispatch compute) is using bindless samplers/images,
based on TGSI analysis.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/gallium/drivers/radeonsi/si_compute.c
src/gallium/drivers/radeonsi/si_compute.h
src/gallium/drivers/radeonsi/si_pipe.h
src/gallium/drivers/radeonsi/si_shader.h
src/gallium/drivers/radeonsi/si_state_shaders.c