Skip to content

VRAM Texture Upload Does Not Work While Frame Is Inactive #72

@Wyatt-James

Description

@Wyatt-James

Bug Report

What's the issue you encountered?

Running C3D_TexUpload on a texture stored in VRAM does not actually upload the texture unless C3D is currently within an active frame.

How can the issue be reproduced?

  1. Initialize C3D
  2. Before calling C3D_FrameBegin, initialize any number of VRAM textures and C3D_TexUpload them.
  3. Render an object using the textures. The textures will appear to be garbage data.

The issue can be worked around by surrounding the C3D_TexUpload call with C3D_FrameBegin and C3D_FrameEnd calls.

Environment?

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

Additional context?

This works fine for FCRAM textures because their upload is just a simple memcpy.

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