-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
float4x4 columns in f32.h and f64.h are defined as v4f/v4d for __GNUC__, breaking comparisons to float4/double4 #8
Comments
It was there by a reason but I have never liked this workaround. It looks like you are using |
Yes, it compiles if I remove the special cases. |
OK, let's remove this! 1 min... |
Thanks. Committed the fix. |
Great, thanks! |
Which GCC version are you on? This change has broken NRD build on Linux. I even tried to update Ubuntu and VK SDK to the latest in GitHub actions... but it led to "segmentation fault" during shader compilation caused by DXC itself. Moreover, it looks like there is no a way to force GitHub actions to use latest GCC (gcc11 doesn't compile). |
@ommaury I believe that latest GCC has improved support for non-trivial members in anonymous aggregates. But unfortunately upgrading GCC is not an option in some cases. Nevertheless, I have eliminated the root cause of the problem in this commit: efc5eb6. Please, verify. And open a new issue if needed. Closing this one, since this problem is solved. |
Hi,
In f32.h line 846:
And in f64.h line 850:
This breaks all comparisons to float4/double4 when
__GNUC__
is defined. Should the special case be removed?Thanks,
Olivier
The text was updated successfully, but these errors were encountered: