[Mesa-dev] [PATCH] st/mesa: fix pbo uploads

Ilia Mirkin imirkin at alum.mit.edu
Thu Feb 18 15:34:54 UTC 2016


On Feb 18, 2016 6:16 AM, "Marek Olšák" <maraeo at gmail.com> wrote:
>
> On Thu, Feb 18, 2016 at 7:07 AM, Ilia Mirkin <imirkin at alum.mit.edu> wrote:
> >  - LOD must be provided in .w for TXF (even for buffer textures)
>
> TXF on BUFFER should ignore the LOD.

No such exception in the docs. Nouveau expects it to be set to 0.

>
> >  - User buffer must be valid at draw time
> >  - Must have a sampler associated with the sampler view
>
> TXF doesn't use the sampler state.

I agree in principle. In practice, I got all black rendering without this.
The alternative is reverting the pbo patches since they regress nouveau...
This seemed like the more appealing solution.

  -ilia
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20160218/9fadc073/attachment.html>


More information about the mesa-dev mailing list