diff options
author | Dave Airlie <[email protected]> | 2019-06-19 07:19:03 +1000 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2019-06-19 08:32:36 +1000 |
commit | 378ea92bf66681e5bec2f4e18651153283d5ed2e (patch) | |
tree | 58d59697f0615d520610ee47e2ae808f82dac0c6 /src | |
parent | 93ba356544a16e1f2bb0be3550d3b24ec2e5b13a (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.c | 2 |
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; |