[Mesa-dev] [PATCH 1/4] gallium/ttn: add support for texture offsets

Eric Anholt eric at anholt.net
Wed Apr 15 12:53:48 PDT 2015

Rob Clark <robdclark at gmail.com> writes:

> On Tue, Apr 14, 2015 at 1:04 PM, Eric Anholt <eric at anholt.net> wrote:
>> Rob Clark <robdclark at gmail.com> writes:
>>> From: Rob Clark <robclark at freedesktop.org>
>>> Signed-off-by: Rob Clark <robclark at freedesktop.org>
>> 1-3 (with the fix to 1 that you posted in irc) are:
>> Reviewed-by: Eric Anholt <eric at anholt.net>
>> I don't like the mismatch on bytes vs vec4s in the load_ubo_indirect
>> arguments for patch 4, and will be interested in seeing the version you
>> were working on to fix that.
> so, if I pull out the addressing-modes patch, then for the ubo patch
> we are back to 'index *= 16' vec4->byte conversion.  Which is funny
> looking, but at the moment my best definition of "correct" is "what
> glsl_to_nir and intel driver do", and by that definition, this is the
> correct thing to do.

OK.  But we should be doing the SHL here, too (also gets us consistency
with glsl_to_nir).
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 818 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20150415/9507863d/attachment.sig>

More information about the mesa-dev mailing list