Skip to content

glsl,util: Avoid variable shadowing

Tony Wasserka requested to merge neobrain/mesa:wshadow_misc into master

We want to build RADV with -Wshadow to avoid future bugs (see !7430 (merged)). The headers changed in this MR are the only RADV-external dependencies that shadow variables currently, so this change allows for a warning-free RADV build.

There is no nice way to change e.g. util_format_description to not shadow other symbols, so the warning is silenced for these functions.

Merge request reports