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

rsx: Minor fixups #6890

Merged
merged 6 commits into from Oct 28, 2019
Merged

rsx: Minor fixups #6890

merged 6 commits into from Oct 28, 2019

Conversation

kd-11
Copy link
Contributor

@kd-11 kd-11 commented Oct 26, 2019

  • Remove block alignment on compressed textures as long as the unpack alignment is well defined.
  • Improve the vulkan sampler cache to not cause slowdown in games that have random parameters set. In some cases, uninitialized variables seem to make their way into unused variables but since we cannot assume they're unused, it causes a lot of permutations and can kill performance.
  • Round lod bias to the nearest half integer for vulkan to work around issue 2 above when point mipmap sampling is used. Should provide near-correct results at all times while filtering out parameter noise.
  • Fix incorrect variable access.

- Align based on row length but let the texture itself be of arbitrary dimensions
- Avoids iteration when variable mipmap counts or lod bias parameters change
… when nearest mipmap sampling is used

- The lambda values will be rounded to the nearest integer anyway
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

1 participant