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

PixelShaderGen: Don't emit bounding box shader code for old UIDs when disabled #8012

Merged
merged 2 commits into from Apr 21, 2019
Merged

PixelShaderGen: Don't emit bounding box shader code for old UIDs when disabled #8012

merged 2 commits into from Apr 21, 2019

Conversation

stenzek
Copy link
Contributor

@stenzek stenzek commented Apr 20, 2019

If bounding box is enabled when a UID cache is created, then later disabled, we shouldn't emit the bounding box portion of the shader.

Fixes pipeline creation errors on D3D12 backend for this case.

… disabled

If bounding box is enabled when a UID cache is created, then later disabled,
we shouldn't emit the bounding box portion of the shader.

Fixes pipeline creation errors on D3D12 backend for this case.
@stenzek
Copy link
Contributor Author

stenzek commented Apr 20, 2019

Also fixes a crash if pipeline creation from the UID cache fails for some reason.

@stenzek
Copy link
Contributor Author

stenzek commented Apr 21, 2019

Tested with a "bad" UID cache and it resolves both the pipeline creation error, and the crash.

@stenzek stenzek merged commit 5b4ebcc into dolphin-emu:master Apr 21, 2019
@stenzek stenzek deleted the bounding-box-shaders branch April 21, 2019 03:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant