Skip to content

driconf: add workaround for Enter The Gungeon

Quoting a comment on the bug report:

I suspect the shader is incorrect.

When a (conditional) discard is executed then control flow becomes non-uniform, meaning that subsequent implicit derivatives required for the texture operation are not computed correctly.

Using glsl_correct_derivatives_after_discard fixes it. Note that for radeonsi this requires LLVM master to work properly.

Closes: #1386 (closed)

Merge request reports