Skip to content
  • Ilia Mirkin's avatar
    nvc0: enable FBFETCH with a special slot for color buffer 0 · 5ba380c2
    Ilia Mirkin authored
    
    
    We don't need to support all the color buffers for advanced blend, just
    cb0. For Fermi, we use the special binding slots so that we don't
    overlap with user textures, while Kepler+ gets a dedicated position for
    the fb handle in the driver constbuf.
    
    This logic is only triggered when a FBFETCH is actually present so it
    should be a no-op most of the time.
    
    Signed-off-by: default avatarIlia Mirkin <imirkin@alum.mit.edu>
    5ba380c2