mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 18:08:40 +02:00
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:
parent
9f5622fe14
commit
1d4fbff786
1 changed files with 3 additions and 1 deletions
|
|
@ -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…
Add table
Reference in a new issue