projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cf65220
)
tgsi: don't set tgsi_info::uses_bindless_images for constbufs and hw atomics
author
Marek Olšák
<marek.olsak@amd.com>
Wed, 20 Feb 2019 22:21:32 +0000
(17:21 -0500)
committer
Marek Olšák
<marek.olsak@amd.com>
Fri, 22 Feb 2019 23:00:54 +0000
(18:00 -0500)
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>
src/gallium/auxiliary/tgsi/tgsi_scan.h
patch
|
blob
|
history
diff --git
a/src/gallium/auxiliary/tgsi/tgsi_scan.h
b/src/gallium/auxiliary/tgsi/tgsi_scan.h
index 64f2598a259c27509588f915802ffe4f76418c12..09eac4da95ae278a1bc120a2361e00794662120c 100644
(file)
--- a/
src/gallium/auxiliary/tgsi/tgsi_scan.h
+++ b/
src/gallium/auxiliary/tgsi/tgsi_scan.h
@@
-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