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

BGFX and D3D9 renderer fixes for issues #11104, #11106, and #11107 #11249

Merged
merged 3 commits into from May 20, 2023

Conversation

MooglyGuy
Copy link
Contributor

Fix for #11107: Simply removed the erroneously copy/pasted line.

Fix for #11106: Avoiding redundant state-set calls was going awry. We now ensure that the first set_texture call of a scene always succeeds by clearing the cached texture pointer at frame start.

Fix for #11104: Calling post_pass and downsample_pass to generate bloom targets when bloom is disabled was causing issues when applying the post/shadowmask pass. Avoid calling them entirely if bloom is disabled, since the downsampled targets are not used anyway.

@rb6502 rb6502 merged commit e89eb3e into mamedev:master May 20, 2023
5 checks passed
@MooglyGuy
Copy link
Contributor Author

Thanks RB - be sure to close out the associated issues citing this PR. :)

pauldevine pushed a commit to pauldevine/mame that referenced this pull request Jun 21, 2023
… and mamedev#11107 (mamedev#11249)

* -hlsl.json: Removed duplicate scanline_variation setting. (mamedev#11107) [Ryan Holtz]
* -d3dhlsl.cpp: Fixed lack of post-pass application when bloom is disabled. (mamedev#11104) [Ryan Holtz]
* -drawd3d.cpp: Always set a default texture at scene start. (mamedev#11106) [Ryan Holtz]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants