[Mesa-dev] [PATCH 2/2] r600: fix textureSize queries with tbos

Dave Airlie airlied at gmail.com
Thu Dec 28 00:51:02 UTC 2017


On 23 December 2017 at 17:19,  <sroland at vmware.com> wrote:
> From: Roland Scheidegger <sroland at vmware.com>
>
> piglit doesn't care, but I'm quite confident that the size actually bound
> as range should be reported and not the base size of the resource.
> Also, the array in the constant buffer looks overallocated by a factor of 4.
> For eg, also decrease the size by another factor of 2 by using the same
> constant slot for both buffer size (required for txq for TBOs) and the number
> of layers for cube arrays, as these are mutually exclusive. Could of course use
> some more logic and only actually do this for the samplers/images/buffers where
> it's required rather than for all, but ah well...
> (FWIW I believe the txq for TBOs would be fixable on EG without using a
> constant buffer by using the GET_BUFFER_RESINFO vc fetch, but for cube map
> arrays we'd still need the buffer as it's unfixable since the hw requires
> always 0 unfortunately.)

For the series:

Reviewed-by: Dave Airlie <airlied at redhat.com>
from previous experiments the hw doesn't work at all using vc fetch or
otherwise.

Dave.


More information about the mesa-dev mailing list