aboutsummaryrefslogtreecommitdiffstats
path: root/src/compiler/nir/nir_sweep.c
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2017-03-02 16:25:59 -0800
committerJason Ekstrand <[email protected]>2017-03-14 07:36:40 -0700
commit370d68babcbb8b2e80fb866429e792ee3c43ffeb (patch)
treeabf1a2510b0eb335299a7b448efed2a5163e6cc6 /src/compiler/nir/nir_sweep.c
parente9a45a3d5da17922b7a02515cff05681728cf99c (diff)
nir/validate: Validate that bit sizes and components always match
We've always required bit sizes to match but the rules for number of components have been a bit loose. You've never been allowed to source from something with less components than you consume, but more has always been fine. This changes the validator to require that they match exactly. The fact that they don't always match has been a source of confusion in NIR for quite some time and it's time we got rid of it. Reviewed-by: Eric Anholt <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]> Reviewed-by: Connor Abbott <[email protected]>
Diffstat (limited to 'src/compiler/nir/nir_sweep.c')
0 files changed, 0 insertions, 0 deletions