[SOLVED] Bug in Statistics Page

  • Posts: 176
1 year 7 months ago #1 by Daodan
I was working on a filter that removes duplicate compiler messages and then came across this bug.
When there are many compiler messages they get cut off at some point.

What I did in the screenshot was enabling KNearestNeighbours and NonLocalMeans from Denoise.fx and then reload.

ReShade 4.0.2.490 (unmodified, latest release), The Evil Within (d3d11)

Please Log in or Create an account to join the conversation.

  • Posts: 3747
1 year 7 months ago - 1 year 7 months ago #2 by crosire
This is happening because there is too much text for ImGui to handle (each letter draws ~2 triangles + triangles from the window etc., but the default rendering uses 16-bit indices which only allows up to 64K vertices). The culprit here is D3DCompiler. It bugs out and spits out a wall of text when encountering a warning in a loop that is unrolled.

I added some code that de-duplicates the error log to workaround that D3DCompiler bug: github.com/crosire/reshade/commit/01a572...5cbca25aabc1e6e0385c
The following user(s) said Thank You: Daodan

Please Log in or Create an account to join the conversation.