summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeon/radeon_elf_util.h
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2015-08-14 16:01:33 -0700
committerKenneth Graunke <[email protected]>2015-10-12 14:33:26 -0700
commitbd198b9f0a292a9ff4ffffec3a29bad23d62caba (patch)
tree2f9dd5581ddc6c1f5de3a40757b6cf0712a92199 /src/gallium/drivers/radeon/radeon_elf_util.h
parentbf97f8d467ad1d485c2327da3f4fe1f9e1dc7379 (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/drivers/radeon/radeon_elf_util.h')
0 files changed, 0 insertions, 0 deletions