Skip to content

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

@LumpBloom7

Description

@LumpBloom7

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions