[Mesa-dev] [PATCH] tgsi/scan: add hw atomic to the list of memory accessing files

Marek Olšák maraeo at gmail.com
Tue May 22 23:40:36 UTC 2018


Reviewed-by: Marek Olšák <marek.olsak at amd.com>

Marek

On Mon, May 21, 2018 at 2:23 AM, Dave Airlie <airlied at gmail.com> wrote:

> ping?
>
> On 10 May 2018 at 10:05, Dave Airlie <airlied at gmail.com> wrote:
> > From: Dave Airlie <airlied at redhat.com>
> >
> > This fixes 4 out of 5 cases in:
> > arb_framebuffer_no_attachments-atomic on cayman.
> > ---
> >  src/gallium/auxiliary/tgsi/tgsi_scan.c | 3 ++-
> >  1 file changed, 2 insertions(+), 1 deletion(-)
> >
> > diff --git a/src/gallium/auxiliary/tgsi/tgsi_scan.c
> b/src/gallium/auxiliary/tgsi/tgsi_scan.c
> > index 18488d776e9..aeccb05b56b 100644
> > --- a/src/gallium/auxiliary/tgsi/tgsi_scan.c
> > +++ b/src/gallium/auxiliary/tgsi/tgsi_scan.c
> > @@ -50,7 +50,8 @@ is_memory_file(unsigned file)
> >     return file == TGSI_FILE_SAMPLER ||
> >            file == TGSI_FILE_SAMPLER_VIEW ||
> >            file == TGSI_FILE_IMAGE ||
> > -          file == TGSI_FILE_BUFFER;
> > +          file == TGSI_FILE_BUFFER ||
> > +          file == TGSI_FILE_HW_ATOMIC;
> >  }
> >
> >
> > --
> > 2.14.3
> >
> > _______________________________________________
> > mesa-dev mailing list
> > mesa-dev at lists.freedesktop.org
> > https://lists.freedesktop.org/mailman/listinfo/mesa-dev
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20180522/2ac52b4f/attachment.html>


More information about the mesa-dev mailing list