Skip to content
  • Erik Faye-Lund's avatar
    gallium: get rid of PIPE_CAP_SM3 · 39e7fbf2
    Erik Faye-Lund authored
    
    
    PIPE_CAP_SM3 has always been an odd one out of all our caps. While most
    other caps are fine-grained and single-purpose, this cap encode several
    features in one. And since OpenGL cares more about single features, it'd
    be nice to get rid of this one.
    
    As it turns, this is now relatively simple. We only really care about
    three features using this cap, and those already got their own caps. So
    we can remove it, and make sure all current drivers just give the same
    response to all of them.
    
    The only place we *really* care about SM3 is in nine, and there we can
    instead just re-construct the information based on the finer-grained
    caps. This avoids DX9 semantics from needlessly leaking into all of the
    drivers, most of who doesn't care a whole lot about DX9 specifically.
    
    Signed-off-by: default avatarErik Faye-Lund <erik.faye-lund@collabora.com>
    Reviewed-by: default avatarMarek Olšák <marek.olsak@amd.com>
    Acked-by: default avatarAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
    39e7fbf2