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 18:43:48 -0700
committerFrancisco Jerez <currojerez@riseup.net>2016-09-14 14:50:56 -0700
commit2d7d4a791083ff63f37ac1e40bfe8b448e7f8045 (patch)
tree5c2413d5587d8f78822d756241fdd0661a09964e /src/mesa/drivers/dri/i965/brw_fs_copy_propagation.cpp
parent0bc46cc9619b8ae43e7a7c96bfe91f19371d301d (diff)
downloadexternal_mesa3d-2d7d4a791083ff63f37ac1e40bfe8b448e7f8045.zip
external_mesa3d-2d7d4a791083ff63f37ac1e40bfe8b448e7f8045.tar.gz
external_mesa3d-2d7d4a791083ff63f37ac1e40bfe8b448e7f8045.tar.bz2
i965/fs: Simplify a bunch of fs_inst::size_written calculations by using component_size().
Using component_size() is easier and generally more correct because it takes into account the register type and stride for you. 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