projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
93ba356
)
radeonsi: fix undefined shift in macro definition
author
Dave Airlie
<airlied@redhat.com>
Tue, 18 Jun 2019 21:19:03 +0000
(07:19 +1000)
committer
Dave Airlie
<airlied@redhat.com>
Tue, 18 Jun 2019 22:32:36 +0000
(08:32 +1000)
Pointed out by coverity
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
src/gallium/drivers/radeonsi/si_perfcounter.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/radeonsi/si_perfcounter.c
b/src/gallium/drivers/radeonsi/si_perfcounter.c
index ad7f1eb3d995e3e3f20802b8601680a0c74ecfdb..75bd61730dac62e00070e4b586bb59934015dbd3 100644
(file)
--- a/
src/gallium/drivers/radeonsi/si_perfcounter.c
+++ b/
src/gallium/drivers/radeonsi/si_perfcounter.c
@@
-126,7
+126,7
@@
static const unsigned si_pc_shader_type_bits[] = {
/* Max counters per HW block */
#define SI_QUERY_MAX_COUNTERS 16
-#define SI_PC_SHADERS_WINDOWING (1 << 31)
+#define SI_PC_SHADERS_WINDOWING (1
u
<< 31)
struct si_query_group {
struct si_query_group *next;