Skip to content

nir: validate that we don't rely on intr->num_components for non-vectorized instructions

Rob Clark requested to merge robclark/mesa:wip/nir-havoc into master

In the process of wiring up ir3 shader-cache, I found some spots in nir->ir3 that were incorrectly using intr->num_components. Lets teach nir_validate about this to catch errors sooner.

Edited by Rob Clark

Merge request reports