summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965/brw_vec4.cpp
diff options
context:
space:
mode:
authorFrancisco Jerez <[email protected]>2016-09-07 16:59:35 -0700
committerFrancisco Jerez <[email protected]>2016-09-14 14:50:53 -0700
commitc458eeb94620fbce0a37474fc292545002d67f76 (patch)
tree06b73fa9a2c749190885aab742d0e3011dc050c2 /src/mesa/drivers/dri/i965/brw_vec4.cpp
parentbe095e11e41158f91bcb3f6fcbc2e2a91a5d9124 (diff)
i965/fs: Add wrapper functions for fs_inst::regs_read and ::regs_written.
This is in preparation for dropping fs_inst::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 <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_vec4.cpp')
0 files changed, 0 insertions, 0 deletions