Skip to content

sf2dlib issue: Restricting output texture coordinate to two components crashes hardware #43

@neobrain

Description

@neobrain

xerpi/sf2dlib@26be2ea (compiled against devkitPro/libctru@b9e5ddb) moved from aemstro shaders to nihstro. However, the shader had to be modified a bit: The aemstro shader used

.out o1, result.texcoord0, 0x3

while the nihstro shader uses

.alias outtex0 o1 as texcoord0 

instead of the direct translation

.alias outtex0 o1.xy as texcoord0

This is because the direct translation caused a crash on real hardware. We're not sure why that is, currently.

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