-
Notifications
You must be signed in to change notification settings - Fork 62
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
Broken rendering on disc surface with Clang 14 and later with -march=native
#1545
Comments
With what other settings? I can't reproduce this so far. |
I use the |
Still can't reproduce. Maybe a driver bug? |
Also, it may be some other setting really, since disabling deluxe mapping disables a bunch of other features too. |
@illwieckz Can you try on OGLP? Also, try with |
Maybe, but the release build isn't affected. I may do a bisect at some point. |
I don't think anything really changed there except making texture matrices 3x2. |
|
The texture matrix there is just an identity matrix, so it shouldn't be that. These triangles are also all part of the same surface. I wonder if this some different build of the map? Otherwise this bug would probably show up on other maps as well. |
I first seen that on a custom built map with custom engine branch, but then I reverted to stock released map and master engine branch to reproduce the bug before reporting it. |
I first noticed it on some Xonotic maps with similar geometry, Vega is just the first Unvanquished stock map I reproduced with, there is no reason other Unvanquished maps featuring the same kind of geometry would not be buggy as well. |
I reproduce it with Clang 20 and Since the release wasn't built that way, that may not be a regression. A release-like build with Clang 20 (not using |
Oh. Maybe it's some SIMD code breaking for triangle processing when loading the BSP, like the |
I starts breaking with Clang 14:
|
-march=native
#1451 (comment) seems to suggest that |
See that vega place in viewpos
486 -57 96 147 24
, the wrong black triangles on the disc surface on the right:The bug disappears with
r_deluxeMapping 0
:I'm reproducing it with current
master
but I was already noticing the problems on commit 9352952. I don't know when the bug was introduced, but the Unvanquished 0.55.2 release build doesn't reproduce the bug.The text was updated successfully, but these errors were encountered: