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: Support incomplete lavapipe #9761

Merged
merged 1 commit into from Feb 11, 2021
Merged

vk: Support incomplete lavapipe #9761

merged 1 commit into from Feb 11, 2021

Conversation

AniLeo
Copy link
Member

@AniLeo AniLeo commented Feb 10, 2021

Disable features still unimplemented by lavapipe when using it:

  • samplerAnisotropy
  • shaderStorageBufferArrayDynamicIndexing
  • wideLines

as of mesa 21.1.0-dev (aea36ee05e9, 2021-02-10)

Ideally we also need to disable Anisotropic Filtering on runtime in order to not violate Vulkan spec, but it works as is for now

Some games work such as Demon's Souls and Drakengard 3 (tested on mobile i7-6700HQ)

image

image

image

Naturally, as lavapipe improves, so will performance

Partially solves #9642 as lavapipe is Mesa's software mode Vulkan driver

Disable features still unimplemented by lavapipe when using it:
- samplerAnisotropy
- shaderStorageBufferArrayDynamicIndexing
- wideLines
as of mesa 21.1.0-dev (aea36ee05e9, 2020-02-10)
Copy link
Contributor

@kd-11 kd-11 left a comment

Choose a reason for hiding this comment

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

Lgtm.
The reason for not disabling these normally is that we need these features for rendering. Lavapipe 'just works' even though they're not enabled here, so an exception makes sense. If things like dynamic ssbo indexing were actually unsupported our compute shaders wouldn't run.

@kd-11 kd-11 merged commit b858fce into RPCS3:master Feb 11, 2021
@PootsUndead
Copy link

Demon's Souls hard crashed (new game) after this update. All settings are default besides white color buffers.

@AniLeo
Copy link
Member Author

AniLeo commented Feb 12, 2021

Impossible this update did that, look at the way the code was written

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants