Re: [Mesa-dev] [PATCH v3 57/63] radeonsi: track use of bindless samplers/images from tgsi_shader_info

2017-06-09 Thread Marek Olšák
On Fri, Jun 9, 2017 at 3:35 PM, Samuel Pitoiset wrote: > 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. > > v3: - add si_context::uses_bindless_{samplers,images} >

[Mesa-dev] [PATCH v3 57/63] radeonsi: track use of bindless samplers/images from tgsi_shader_info

2017-06-09 Thread Samuel Pitoiset
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. v3: - add si_context::uses_bindless_{samplers,images} - add si_bind_shader_common() to limit code duplication Signed-off-by: Samuel Pitoiset