summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965/brw_fs_copy_propagation.cpp
diff options
context:
space:
mode:
authorFrancisco Jerez <currojerez@riseup.net>2016-09-01 21:36:59 -0700
committerFrancisco Jerez <currojerez@riseup.net>2016-09-14 14:50:55 -0700
commit32d67923b28e55cfe23883510509644e788003f0 (patch)
tree05d27e368ca658c19583039fb2f9fd7adedf9ea4 /src/mesa/drivers/dri/i965/brw_fs_copy_propagation.cpp
parent5cc6425d708a9b8c660c2f43f5e277c507c98bf0 (diff)
downloadexternal_mesa3d-32d67923b28e55cfe23883510509644e788003f0.zip
external_mesa3d-32d67923b28e55cfe23883510509644e788003f0.tar.gz
external_mesa3d-32d67923b28e55cfe23883510509644e788003f0.tar.bz2
i965/fs: Fix LOAD_PAYLOAD handling in register coalesce is_nop_mov().
is_nop_mov() was broken for LOAD_PAYLOAD instructions in two ways: On the one hand the original destination register offset wasn't being taken into account which would give incorrect results if it was already non-zero, and on the other hand all source registers were being treated as if they had a size of 32B, which is almost never the case in SIMD16 programs for non-header sources. Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_fs_copy_propagation.cpp')
0 files changed, 0 insertions, 0 deletions