Skip to content

nir/spirv: guard macros in case of redefinition

Erik Faye-Lund requested to merge kusma/mesa:macro-redef into main

On some systems, these macros are already defined, and being defined slightly differently causes them to emit redefinition-warnings.

Let's wrap them in ifdefs to avoid the warnings.

Merge request reports