diff options
author | Kenneth Graunke <[email protected]> | 2015-10-22 16:04:15 -0700 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2015-10-29 16:56:41 -0700 |
commit | 73ff0ead3688519eb76ea8bc32eabb9004e6f37b (patch) | |
tree | a75403e5a18f523e7ac7c23e785bf21aafc18fd1 /src/mesa/drivers/dri/i915/intel_extensions.c | |
parent | f75f21a24ae2dd83507f3d4d8007f0fcfe6db802 (diff) |
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 <[email protected]>
Reviewed-by: Matt Turner <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i915/intel_extensions.c')
0 files changed, 0 insertions, 0 deletions