Skip to content
  • Francisco Jerez's avatar
    i965: Enable L3 caching of buffer surfaces. · 11f5d8a5
    Francisco Jerez authored
    
    
    And remove the mocs argument of the emit_buffer_surface_state vtbl hook.  Its
    semantics vary greatly from one generation to another, so it kind of
    encourages the caller to pass 0 which is the only valid setting across
    generations.  After this commit the hardware-specific code decides what the
    best cacheability settings are for buffer surfaces, just like we do for
    textures.
    
    This together with some additional changes coming is expected to improve
    performance of pull constants, buffer textures, atomic counters and image
    objects on Gen7 and up.
    
    Reviewed-by: Kenneth Graunke's avatarKenneth Graunke <kenneth@whitecape.org>
    11f5d8a5