[SOLVED] Bug in Statistics Page

More
3 years 9 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
3 years 9 months ago - 3 years 9 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: 3 years 9 months ago by crosire.
The following user(s) said Thank You: Daodan

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

We use cookies

We use cookies on our website. Some of them are essential for the operation of the site, while others help us to improve this site and the user experience (tracking cookies). You can decide for yourself whether you want to allow cookies or not. Please note that if you reject them, you may not be able to use all the functionalities of the site.