Skip to content
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

[D3D11 non-deferred] Second uniform block does not contain proper values #6429

Open
LumpBloom7 opened this issue Nov 17, 2024 · 0 comments
Open

Comments

@LumpBloom7
Copy link
Contributor

LumpBloom7 commented Nov 17, 2024

The default D3D11 renderer seems to behave incorrectly when shaders have a second uniform block.

The values don't seem to remain constant, and seem to vary, causing visual errors to shaders that use the second uniform block.

Curiously this doesn't seem to happen with any of the other renderers, and I don't think my uniform block usage is outright incorrect. I haven't done any investigations into why this difference occurs yet.

Relevant sentakki code

DrawNode Shader Binding

Shader Uniform Block declaration

D3D

Borked.mp4

D3D experimental

Not.Borked.DX.EX.mp4

OpenGL

Not.borked.GL.mp4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants