Skip to content

Texture Streaming issues with Vulkan #99

@phr00t

Description

@phr00t

Fortunately, I was able to get rid of an "AwaitReady" texture hack after xen2 (from the main branch) found issues were related to texture streaming & Vulkan.

He patched it up by initially loading a low resolution texture (so Vulkan had something to chew on) while the higher resolution texture gets streamed in. Reportedly this works on the main, official branch.

When I ported it, textures never got rendered at a higher resolution during testing, even though the code seemed to be getting the higher resolution texture.

Ultimately, I disabled texture streaming for Vulkan. This way, textures are loaded immediately and ready for use. This has its pros and cons... like reducing overhead loading textures a pro, while a con is having to wait for the texture to load (which is probably best loaded in another thread or during an app startup as a workaround). A con is also taking this choice away from the developer.

Anyway, I consider this progress (should result in faster texture loading and less hacks)... two steps forward, one back.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinglow priorityNot that important

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions