mesa/src/panfrost
Thomas H.P. Andersen 08f7d37fb9 panvk: cast negative value to unint8_t
The index is a uint8_t but can be assigned a negative 1
value in panvk_pipeline_builder_parse_color_blend()
The comparison to ~0 thus makes sense but clang will complain:

"result of comparison of constant -1 with expression of type
'const uint8_t' (aka 'const unsigned char') is always true
[-Wtautological-constant-out-of-range-compare]"

Fix this by casting to a uint8_t before comparison.

Fixes a warning with clang

Reviewed-by: Emma Anholt <emma@anholt.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14289>
2021-12-23 17:08:24 +01:00
..
bifrost pan/bi: Don't call useless NIR passes 2021-12-23 14:01:48 +00:00
ci glx: fix querying GLX_FBCONFIG_ID for Window 2021-12-16 01:21:36 +00:00
drm-shim panfrost: Handle AFBC_FEATURES in drm-shim 2021-11-22 13:12:20 +00:00
ds pps: allow drivers to report timestamps in their own time domain 2021-11-22 11:52:46 +00:00
include panfrost: Remove unused MIDGARD_NO_AFBC quirk 2021-10-22 19:33:38 -04:00
lib panfrost: Avoid double unlock. 2021-12-22 02:01:57 +00:00
midgard pan/mdg: Fix definition of UBO unpack 2021-12-14 03:42:28 +00:00
perf panfrost: Fix GPU ID for t76x in get_perf_config 2021-07-12 09:07:48 +00:00
shared util: Add helgrind support for simple_mtx 2020-11-24 21:03:34 +00:00
util panfrost: Add panfrost_compile_inputs->no_idvs option 2021-12-20 18:21:41 +00:00
vulkan panvk: cast negative value to unint8_t 2021-12-23 17:08:24 +01:00
meson.build panfrost: drm-shim support 2021-08-17 22:06:17 +00:00