[PATCH vkd3d] vkd3d-shader/preproc: Allow capital U and L after integer constants as well.

Giovanni Mascellani gmascellani at codeweavers.com
Thu Jan 13 08:21:14 CST 2022


Hi,

just a couple of curiosities:

Il 11/01/22 00:48, Zebediah Figura ha scritto:
> +[preproc]
> +#if 2uL == 2
> +pass
> +#else
> +fail
> +#endif

What's the point of the "fail" branch? If the shader doesn't produce 
"pass" it's already considered failing, isn't it?

> +[preproc]
> +#if 012lu == 10
> +pass
> +#endif

And why doesn't this have the "fail" branch?

Giovanni.



More information about the wine-devel mailing list