Skip to content

AGC: color format 7 (COLOR_11_11_10 float) with COMP_SWAP 0 is refused #9083

Closed

Description

@xXPBSXx

What

A title (PPSA12361) stops on current main with AGC graphics: unsupported color format 7 number type 7 component swap 0 (std::runtime_error, then SIGABRT), run_090532.err lines 2661-2663 of the run that found it. DecodeColorFormat accepts format 7 only with the reversed component order (COMP_SWAP 2) since #7207; the title binds the standard order.

Format 7 keeps its 10-bit component in the low bits of the word. With the reversed order that is blue (#7207). The standard order puts red in the first slot, which is also how Mesa pairs SWAP_STD with COLOR_10_11_11 for R11G11B10_FLOAT (src/amd/common/ac_formats.c), so with COMP_SWAP 0 red lands in the low 10 bits and blue in the high 11. Not measured on the console.

AI-assisted (Claude Code).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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