Skip to content

Fix sampler changes requiring swapchain recreation #26

@PaoloMazzon

Description

@PaoloMazzon

As it stands right now, changing the sampler (i.e., going from linear filtering to no filtering) requires the entire swapchain be rebuilt. This is really bad, and given the low cost of samplers we should simply create every possible permutation of samplers ahead of time and bind whatever the user chooses at the time of drawing.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions