• Alyssa Rosenzweig's avatar
    panfrost: Refactor texture/sampler upload · 416fc3b5
    Alyssa Rosenzweig authored
    We move some coding packing the texture/sampler descriptors into
    dedicated functions (out of the terrifyingly long emit_for_draw
    monolith), cleaning them up as we go.
    
    The discovery triggering the cleanup is the format for including manual
    strides in the presence of mipmaps/cubemaps. Rather than placed at the
    end like previously assumed, they are interleaved after each address.
    This difference is relevant when handling NPOT linear mipmaps.
    Signed-off-by: Alyssa Rosenzweig's avatarAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
    416fc3b5
decode.c 78.8 KB