From 378ea92bf66681e5bec2f4e18651153283d5ed2e Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Wed, 19 Jun 2019 07:19:03 +1000 Subject: [PATCH] radeonsi: fix undefined shift in macro definition Pointed out by coverity Reviewed-by: Bas Nieuwenhuizen --- src/gallium/drivers/radeonsi/si_perfcounter.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.30.2