Shadows on forward renderer - #2365
Open
ada-tv wants to merge 8 commits into
Open
Conversation
Collaborator
Author
|
weird crash that only sometimes happens when shadows are enabled |
ada-tv
force-pushed
the
feature/forward-shadows
branch
from
August 12, 2026 13:40
9336ff1 to
f7f7141
Compare
ada-tv
marked this pull request as ready for review
August 12, 2026 14:19
Member
|
On OpenGL this looks good. On Vulkan, my GPU crashes when running this PR. Master works fine on Vulkan. I tried with and without shadows and forward and deferred. I don't think I can get a better backtrace, since my session closes when the GPU gets reset. Since you are also on AMD Mesa, maybe you can give it a test on Vulkan too? Your drivers (and graphics card) are probably way newer. I wonder if the crash is related to #2076 though. |
Collaborator
Author
|
On Mesa 26.2.1 and an RX 7800 XT I don't get a crash. The shadows don't render (as expected on Vulkan atm) but my GPU doesn't outright crash. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
shadows and msaa 🎉
unfortunately #2102 also affects the shadows setting, but that's unrelated to this pr

simple,voxel, etc,modelis the prototyping shader since it's the most commonly used one)ifdeffor Android inRenderViewTaskfor now it'll still do the shadow pass so it compiles, idk how i'd dummy it out to never run
simpledoesn't receive shadows but transparent does (maybe something with instancing?)