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>
This commit is contained in:
Marek Olšák 2019-02-20 17:21:32 -05:00
parent cf652205cf
commit b326a15eda
1 changed files with 3 additions and 1 deletions

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