diff options
author | Ian Romanick <[email protected]> | 2011-07-20 18:02:17 -0700 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2011-07-23 01:24:18 -0700 |
commit | fbeb68e880318808f90c779cd3f8b8c4160eecf8 (patch) | |
tree | 13527d3c4d85aeb1f8e77ccb3f47e6d0fe095225 /src/mesa/program/prog_optimize.h | |
parent | f7cd9a858c043e609fcdbf9ac9dfc1ef7ad002bf (diff) |
prog_optimize: Set unused regs to PROGRAM_UNDEFINED after CMP->MOV conversion
Leaving the unused registers with other values caused assertion
failures and other problems in places that blindly iterate over all
sources.
brw_vs_emit.c:1381: get_src_reg: Assertion `c->regs[file][index].nr !=
0' failed.
Fixes i965 piglit:
vs-uniform-array-mat[234]-col-row-rd
vs-uniform-array-mat[234]-index-col-row-rd
vs-uniform-array-mat[234]-index-row-rd
vs-uniform-mat[234]-col-row-rd
Reviewed-by: Kenneth Graunke <[email protected]>
Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src/mesa/program/prog_optimize.h')
0 files changed, 0 insertions, 0 deletions