summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r300
diff options
context:
space:
mode:
authorVadim Girlin <[email protected]>2013-04-30 20:50:24 +0400
committerVadim Girlin <[email protected]>2013-04-30 21:50:48 +0400
commit6ba7a162b6fb38e588784fa14426a61deca1143c (patch)
tree9d596f443fbfe8108c8ab4be13a8d19dd38b2be7 /src/gallium/drivers/r300
parent3e476c311f9e131d255a9946d0cf7acc74a07dad (diff)
r600g/sb: don't propagate dead values in GVN pass
In some cases we use value::gvn_source field to link values that are known to be equal before gvn pass (e.g. results of DOT4 in different slots of the same alu group), but then source value may become dead later and this confuses further passes. This patch resets value::gvn_source to NULL in the dce_cleanup pass if it points to dead value. Fixes segfault during shader optimization with ETQW. Signed-off-by: Vadim Girlin <[email protected]>
Diffstat (limited to 'src/gallium/drivers/r300')
0 files changed, 0 insertions, 0 deletions