Skip to content
  • Faith Ekstrand's avatar
    nir: Generalize nir_intrinsic_vote_eq · 44681e47
    Faith Ekstrand authored
    
    
    The SPIR-V extension wants us to be able to do an AllEqual on any vector
    or scalar type.  This has two implications:
    
     1) We need to be able to handle vectors so we switch the vote_eq
        intrinsics to be vectorized intrinsics.
    
     2) We need to handle floats which have different behavior with respect
        to +-0, NaN, etc. than the integer variant so we need two variants.
    
    Reviewed-by: default avatarLionel Landwerlin <lionel.g.landwerlin@intel.com>
    44681e47