summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeonsi/si_shader.h
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2014-10-09 17:49:23 +0200
committerEric Anholt <[email protected]>2014-10-09 21:47:06 +0200
commit5cfab07639c650e4e9bae063c72e08a27a5e209d (patch)
treed59405d6cd255e877c75971dde816488067e8d31 /src/gallium/drivers/radeonsi/si_shader.h
parent4ce11de4ae356375833cb403711f5af1ed681965 (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/gallium/drivers/radeonsi/si_shader.h')
0 files changed, 0 insertions, 0 deletions