[virglrenderer-devel] [PATCH] vrend: make temporary buffer used by iovec read/write large enough
Gurchetan Singh
gurchetansingh at chromium.org
Fri Mar 2 21:55:27 UTC 2018
I'll look into this. Should have a patch that fixes both s3tc + dEQP
cases next week.
On Thu, Mar 1, 2018 at 6:29 PM, Dave Airlie <airlied at gmail.com> wrote:
>
> On 28 February 2018 at 11:24, Gurchetan Singh
> <gurchetansingh at chromium.org> wrote:
> > "vrend: Fix iovec read/write for depth" started making of use of
> > the bounding box's depth in the fallback path. It turns out in
> > some instances, the temporary buffer used by iovec read/write
> > is not large enough, leading to memory corruption.
> >
> > Let's separate send_size from alloc_size in some cases, since
> > glReadnPixels requires it.
> >
> > With this fix,
> >
> > dEQP-GLES3.functional.texture.specification.basic_texsubimage3d.rgba32f_3d
>
> This regresses the s3tc tests in piglit, s3tc-texsubimage.
>
> I'll see if I can spot it.
>
> I also blamed an earlier patch, but it's definitely this.
>
> Dave.
More information about the virglrenderer-devel
mailing list