Skip to content

Texture Upload Does Not Clear Texture Cache #71

@Wyatt-James

Description

@Wyatt-James

Bug Report

What's the issue you encountered?

If C3D_TexUpload is called, the texture will not actually be updated until a texture is bound.

How can the issue be reproduced?

Create a small texture, upload, and render. Then, upload some different data and render again. Observe that the visual result hasn't changed. Next, bind any texture to any other slot and observe that the texture in-question now updates.

Environment?

Windows 10, WSL2 and Docker with official devkitpro/20250527 image.

Additional context?

This bug is caused by the fact that the PICA200 texture cache is only cleared by C3D on texture bind, not texture upload.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions