projects
/
platform
/
upstream
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7d67e10
)
radeonsi: add padding to si_resource to fix Viewperf2020/catiav5test1 perf
author
Marek Olšák
<marek.olsak@amd.com>
Mon, 17 Jul 2023 10:05:53 +0000
(06:05 -0400)
committer
Marge Bot
<emma+marge@anholt.net>
Thu, 17 Aug 2023 15:34:06 +0000
(15:34 +0000)
This is needed after the previous commit.
Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24732>
src/gallium/drivers/radeonsi/si_pipe.h
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/radeonsi/si_pipe.h
b/src/gallium/drivers/radeonsi/si_pipe.h
index
992a1ce
..
10f1c0f
100644
(file)
--- a/
src/gallium/drivers/radeonsi/si_pipe.h
+++ b/
src/gallium/drivers/radeonsi/si_pipe.h
@@
-308,6
+308,11
@@
enum si_coherency
struct si_resource {
struct threaded_resource b;
+ /* If we remove this seemingly useless padding, performance in Viewperf2020/catiav5test1
+ * decreases by 8%.
+ */
+ uint32_t _pad;
+
/* Winsys objects. */
struct pb_buffer *buf;
uint64_t gpu_address;