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 16:55:46 -0700
committerFrancisco Jerez <currojerez@riseup.net>2016-09-14 14:50:53 -0700
commitd28cfa35fec75c367b940ff829ba8eaa035fbd22 (patch)
treeefdc81a8baa05246ca5d9b76c8e295aa4c43c63c /src/mesa/drivers/dri/i965/brw_fs_copy_propagation.cpp
parentc458eeb94620fbce0a37474fc292545002d67f76 (diff)
downloadexternal_mesa3d-d28cfa35fec75c367b940ff829ba8eaa035fbd22.zip
external_mesa3d-d28cfa35fec75c367b940ff829ba8eaa035fbd22.tar.gz
external_mesa3d-d28cfa35fec75c367b940ff829ba8eaa035fbd22.tar.bz2
i965/vec4: Add wrapper functions for vec4_instruction::regs_read and ::regs_written.
This is in preparation for dropping vec4_instruction::regs_read and ::regs_written in favor of more accurate alternatives expressed in byte units. The main reason these wrappers are useful is that a number of optimization passes implement dataflow analysis with register granularity, so these helpers will come in handy once we've switched register offsets and sizes to the byte representation. The wrapper functions will also make sure that GRF misalignment (currently neglected by most of the back-end) is taken into account correctly in the calculation of regs_read and regs_written. 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