diff options
author | Ben Widawsky <[email protected]> | 2014-12-04 15:37:17 -0800 |
---|---|---|
committer | Ben Widawsky <[email protected]> | 2014-12-05 12:12:46 -0800 |
commit | f13870db09d7a10141b5ffc24058bb2abceaa035 (patch) | |
tree | 100a5132fdec2bf8581a8ca880d0a109727cd846 /m4 | |
parent | 6f32deb538b1b62ff6d5d1212105bbe8d6adce72 (diff) |
i965/gs: Avoid DW * DW mul
The GS has an interesting use for mul. Because the GS can emit multiple
vertices per input vertex, and it also has a unique count at the top of the URB
payload, the GS unit needs to be able to dynamically specify URB write offsets
(relative to the global offset). The documentation in the function has a very
good explanation from Paul on the mechanics.
This fixes around 2000 piglit tests on BSW.
v2:
Reworded commit message (Ben) no mention of CHV (Matt)
Change SHRT_MAX to USHRT_MAX (Ken, and Matt)
Update comment in code to reflect the use of UW (Ben)
Add Gen7+ assertion for the relevant GS code, since it won't work on Gen6- (Ken)
Drop the bogus hunk in emit_control_data_bits() (Ken)
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=84777 (with many dupes)
Cc: "10.4 10.3 10.2" <[email protected]>
Signed-off-by: Ben Widawsky <[email protected]>
Reviewed-by: Kenneth Graunke <[email protected]>
Reviewed-by: Matt Turner <[email protected]>
Diffstat (limited to 'm4')
0 files changed, 0 insertions, 0 deletions