Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VideoCommon: Remove old iLog field #10946

Merged
merged 1 commit into from Aug 5, 2022
Merged

Conversation

Pokechu22
Copy link
Contributor

Prior to 7854bd7, this was used by the debugger for the OpenGL and D3D9 plugins to control logging (via PRIM_LOG and INFO_LOG/DEBUG_LOG in VideoCommon code; PRIM_LOG was changed in 77215fd), and also framedumping (removed in 64927a2 and 2d8515c), shader dumping (removed in 2d8515c and this commit), and texture dumping (removed in 54aeec7). Apart from shader dumping, all of these features have modern alternatives, and shader source code can be seen in RenderDoc if "Enable API Validation Layers" is checked (which also enables source attachment), so there's no point in keeping this around.

Prior to 7854bd7, this was used by the debugger for the OpenGL and D3D9 plugins to control logging (via PRIM_LOG and INFO_LOG/DEBUG_LOG in VideoCommon code; PRIM_LOG was changed in 77215fd), and also framedumping (removed in 64927a2 and 2d8515c), shader dumping (removed in 2d8515c and this commit), and texture dumping (removed in 54aeec7). Apart from shader dumping, all of these features have modern alternatives, and shader source code can be seen in RenderDoc if "Enable API Validation Layers" is checked (which also enables source attachment), so there's no point in keeping this around.
Copy link
Contributor

@iwubcode iwubcode left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I hesitate to call renderdoc a replacement for shader viewing but I do agree this is dead code and needs to be removed!

@phire phire merged commit ebf9537 into dolphin-emu:master Aug 5, 2022
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants