From: Dave Airlie Date: Tue, 18 Jun 2019 21:19:03 +0000 (+1000) Subject: radeonsi: fix undefined shift in macro definition X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=378ea92bf66681e5bec2f4e18651153283d5ed2e;p=mesa.git radeonsi: fix undefined shift in macro definition Pointed out by coverity Reviewed-by: Bas Nieuwenhuizen --- 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;