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

VK: Whenever safely possible, shrink the render area. #13541

Merged
merged 1 commit into from
Oct 11, 2020

Conversation

hrydgard
Copy link
Owner

When you begin a render pass you can specify the subarea of the render target you're going to render to.

We just set the render area to the union of the scissor rects used in a pass. Some games seem like they can benefit noticeably from this if the GPU driver actually makes use of this information, but it's not gonna be a big boost. Though it might indeed help some games on some mobile hardware, a little bit. Possibly #13464?

We just set the render area to the union of the scissor rects used in a pass.

Might help some games on some mobile hardware, a little bit.

Possibly #13464?
@hrydgard hrydgard added this to the v1.11.0 milestone Oct 11, 2020
@hrydgard hrydgard merged commit 615e07f into master Oct 11, 2020
@hrydgard hrydgard deleted the vk-accurate-render-area branch October 11, 2020 22:24
hrydgard added a commit that referenced this pull request Nov 4, 2020
hrydgard added a commit that referenced this pull request Nov 5, 2020
hrydgard added a commit that referenced this pull request Nov 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant