diff options
author | Kenneth Graunke <[email protected]> | 2015-08-14 16:01:33 -0700 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2015-10-12 14:33:26 -0700 |
commit | bd198b9f0a292a9ff4ffffec3a29bad23d62caba (patch) | |
tree | 2f9dd5581ddc6c1f5de3a40757b6cf0712a92199 /src/gallium/Android.common.mk | |
parent | bf97f8d467ad1d485c2327da3f4fe1f9e1dc7379 (diff) |
i965/vs: Simplify fs_visitor's ATTR file.
Previously, ATTR was indexed by VERT_ATTRIB_* slots; at the end of
compilation, assign_vs_urb_setup() translated those into GRF units,
and converted ATTR to HW_REGs.
This patch moves the transslation earlier, making ATTR work in terms of
GRF units from the beginning. assign_vs_urb_setup() simply has to add
the number of payload registers and push constants to obtain the final
hardware GRF number. (We can't do this earlier as those values aren't
known.)
ATTR still supports reg_offset; however, it's simply added to reg.
It's not clear whether this is valuable or not.
Signed-off-by: Kenneth Graunke <[email protected]>
Reviewed-by: Matt Turner <[email protected]>
Diffstat (limited to 'src/gallium/Android.common.mk')
0 files changed, 0 insertions, 0 deletions