Skip to content
  • Jason Ekstrand's avatar
    nir: Vectorize intrinsics · 27663dbe
    Jason Ekstrand authored
    
    
    We used to have the number of components built into the intrinsic.  This
    meant that all of our load/store intrinsics had vec1, vec2, vec3, and vec4
    variants.  This lead to piles of switch statements to generate the correct
    intrinsic names, and introspection to figure out the number of components.
    We can make things much nicer by allowing "vectorized" intrinsics.
    
    Reviewed-by: default avatarConnor Abbott <cwabbott0@gmail.com>
    27663dbe