summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965/brw_vec4_gs_visitor.cpp
diff options
context:
space:
mode:
authorKenneth Graunke <kenneth@whitecape.org>2015-10-22 16:04:15 -0700
committerKenneth Graunke <kenneth@whitecape.org>2015-10-29 16:56:41 -0700
commit73ff0ead3688519eb76ea8bc32eabb9004e6f37b (patch)
treea75403e5a18f523e7ac7c23e785bf21aafc18fd1 /src/mesa/drivers/dri/i965/brw_vec4_gs_visitor.cpp
parentf75f21a24ae2dd83507f3d4d8007f0fcfe6db802 (diff)
downloadexternal_mesa3d-73ff0ead3688519eb76ea8bc32eabb9004e6f37b.zip
external_mesa3d-73ff0ead3688519eb76ea8bc32eabb9004e6f37b.tar.gz
external_mesa3d-73ff0ead3688519eb76ea8bc32eabb9004e6f37b.tar.bz2
i965/vec4: Convert src_reg/dst_reg to brw_reg at the end of the visitor.
This patch makes the visitor convert registers to the HW_REG file at the very end, after register allocation, post-RA scheduling, and dependency control flagging. After that, everything is in fixed brw_regs. This simplifies the code generator, as it can just use the hardware registers rather than having to interpret our abstract files. In particular, interpreting the UNIFORM file meant reading prog_data to figure out where push constants are supposed to start. Having the part of the code that performs register allocation also translate everything to hardware registers seems sensible. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Matt Turner <mattst88@gmail.com>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_vec4_gs_visitor.cpp')
0 files changed, 0 insertions, 0 deletions