summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDave Airlie <[email protected]>2019-06-19 07:19:03 +1000
committerDave Airlie <[email protected]>2019-06-19 08:32:36 +1000
commit378ea92bf66681e5bec2f4e18651153283d5ed2e (patch)
tree58d59697f0615d520610ee47e2ae808f82dac0c6 /src
parent93ba356544a16e1f2bb0be3550d3b24ec2e5b13a (diff)
radeonsi: fix undefined shift in macro definition
Pointed out by coverity Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/gallium/drivers/radeonsi/si_perfcounter.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/radeonsi/si_perfcounter.c b/src/gallium/drivers/radeonsi/si_perfcounter.c
index ad7f1eb3d99..75bd61730da 100644
--- 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 (1u << 31)
struct si_query_group {
struct si_query_group *next;