tgsi: don't set tgsi_info::uses_bindless_images for constbufs and hw atomics

This might have decreased performance for radeonsi/tgsi, because most
most shaders claimed they used bindless.

Cc: 18.3 19.0 <mesa-stable@lists.freedesktop.org>
Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
(cherry picked from commit b326a15eda)
This commit is contained in:
Marek Olšák 2019-02-20 17:21:32 -05:00 committed by Dylan Baker
parent 9f5622fe14
commit 1d4fbff786

View file

@ -220,7 +220,9 @@ tgsi_is_bindless_image_file(unsigned file)
{
return file != TGSI_FILE_IMAGE &&
file != TGSI_FILE_MEMORY &&
file != TGSI_FILE_BUFFER;
file != TGSI_FILE_BUFFER &&
file != TGSI_FILE_CONSTBUF &&
file != TGSI_FILE_HW_ATOMIC;
}
#ifdef __cplusplus