mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-19 04:58:08 +02:00
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> |
||
|---|---|---|
| .. | ||
| bifrost | ||
| ci | ||
| drm-shim | ||
| ds | ||
| include | ||
| lib | ||
| midgard | ||
| perf | ||
| shared | ||
| util | ||
| vulkan | ||
| meson.build | ||