[Mesa-dev] [PATCH 1/2] i965/vs: Fix unit mismatch in scratch base_offset parameter.

Eric Anholt eric at anholt.net
Wed Oct 3 10:29:43 PDT 2012


Kenneth Graunke <kenneth at whitecape.org> writes:

> move_grf_array_access_to_scratch() calculates scratch buffer offsets in
> bytes.  However, emit_scratch_read/write() expects the base_offset
> parameter to be measured in OWords.

An OWORD is 4 floats (in powers of two: dword, qword, oword).  I forget
the stupid name we use for 8 floats, which is the size being used here.
Let's call it a "register".
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20121003/0be5d1c9/attachment.pgp>


More information about the mesa-dev mailing list