Skip to content

zink: gfxbench CS fixes

Emma Anholt requested to merge anholt/mesa:zink-temps into main
    zink: Don't upload shader immediate arrays through UBO 0.
    
    Trust the host vulkan driver to load it through whatever way it finds to
    be most efficient.  Saves upload on the frontend when other uniforms
    change.
    zink: Don't lower indirect derefs of temp arrays.
    
    nir_to_spirv can handle it.  Cuts instructions in a turnip CS shader on
    Aztec Ruins from 36k to 3k.
    
    Part of #6115

On lvp, I get failures with the temp arrays one because it breaks the samplemask array vs scalar fixup code somehow.

Merge request reports