diff options
author | Eric Anholt <[email protected]> | 2014-10-09 17:49:23 +0200 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2014-10-09 21:47:06 +0200 |
commit | 5cfab07639c650e4e9bae063c72e08a27a5e209d (patch) | |
tree | d59405d6cd255e877c75971dde816488067e8d31 /src/mesa/main/compute.c | |
parent | 4ce11de4ae356375833cb403711f5af1ed681965 (diff) |
vc4: Initialize undefined temporaries to 0.
Under the simulator, reading registers before writing them triggers an
assertion failure. c->undef gets treated as r0, which will usually be
written, but not if it's used in the first instruction. We should
definitely not be aborting in this case, and return some sort of undefined
value instead.
Fixes glsl-user-varying-ff.
Diffstat (limited to 'src/mesa/main/compute.c')
0 files changed, 0 insertions, 0 deletions