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:
parent
cf652205cf
commit
b326a15eda
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue