i965: Drop "Destination Element Offset" from Ironlake SGVs.
authorKenneth Graunke <kenneth@whitecape.org>
Fri, 28 Apr 2017 21:09:24 +0000 (14:09 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Thu, 4 May 2017 01:57:51 +0000 (18:57 -0700)
commit3ae99de2e831ed28abcafaedd9bab4579471e9fb
tree33fd457d1a034176c308c87a32b0efc01a675cbf
parentf321f695d38a28ccec91eafa9a5a83170032b0a4
i965: Drop "Destination Element Offset" from Ironlake SGVs.

The Ironlake documentation is terrible, so it's unclear whether or not
this field exists there.  It definitely doesn't exist on Sandybridge
and later.  It definitely does exist on G45.

We haven't been setting it for our normal vertex attributes - just
the SGVs (VertexID, InstanceID, BaseVertex, BaseInstance, DrawID).
We should be consistent.  My guess is that it isn't necessary and
doesn't exist - this patch drops it from the SGVs elements, making
them follow the behavior of most attributes.

Reviewed-by: Rafael Antognolli <rafael.antognolli@intel.com>
src/mesa/drivers/dri/i965/brw_draw_upload.c