Skip to content

nir/opt_vectorize: small improvements for speed and around swizzles

Daniel Schürmann requested to merge daniel-schuermann/mesa:nir_vectorize into master

This series adds a couple of patches to avoid hashing of instructions which cannot be vectorized. Additionally, swizzled accesses to components higher than the maximum vectorization width are also hashed and compared. The idea is that vectorized instructions should only access components within the number of components it can process.

The array of instructions per hash entry is removed. For this change, I'd like to get some feedback if it has any negative impact on the results.

Edited by Daniel Schürmann

Merge request reports