Skip to content
  • Alyssa Rosenzweig's avatar
    pan/bi: Fix vector handling of readmasks · e1d95339
    Alyssa Rosenzweig authored
    
    
    The issue was messing with liveness analysis... with Midgard we look at
    the writemask to decide how the instruction behaves. Here, since our ALU
    is scalar (except for subdivision which doesn't have proper writemasks
    anyway) we just look at the component count directly -- either 4 for
    vector instructions (essentially - for smaller loads we can replicate
    manually without much burden), or 1 for scalar.
    
    Signed-off-by: default avatarAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
    Part-of: <mesa/mesa!4158>
    e1d95339