[SOLVED] Bug in Statistics Page

More
2 years 7 months ago #1 by Daodan
Bug in Statistics Page was created 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.

More
2 years 7 months ago - 2 years 7 months ago #2 by crosire
Replied by crosire on topic Bug in Statistics Page
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
Last edit: 2 years 7 months ago by crosire.
The following user(s) said Thank You: Daodan

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