[Mesa-dev] [PATCH 10/17] st/mesa: make Z/S drawpix shaders independent of variants, don't use Mesa IR

Marek Olšák maraeo at gmail.com
Thu Oct 8 07:46:17 PDT 2015


On Oct 8, 2015 4:03 PM, "Roland Scheidegger" <sroland at vmware.com> wrote:
>
> Was that because stencil used sampler 1 but sview 0 which looks
> definitely wrong as there needs o be a 1:1 mapping between these when
> the tex opcodes are used?

I don't remember how the SVIEW declarations work. It was TEX and there were
2 declarations, one was float and the other one was int. I think it's only
required for freedreno with TEX.

Marek

>
> Roland
>
> Am 08.10.2015 um 10:45 schrieb Marek Olšák:
> > The problem was that it declared SVIEW but llvmpipe didn't like that for
> > some reason.
> >
> > Marek
> >
> > On Oct 8, 2015 5:12 AM, "Roland Scheidegger" <sroland at vmware.com
> > <mailto:sroland at vmware.com>> wrote:
> >
> >     Am 08.10.2015 um 02:02 schrieb Marek Olšák:
> >     > Hi Brian,
> >     >
> >     > This is the commit that broke DrawPixels on llvmpipe, but not
radeonsi
> >     > and softpipe. It's fixed in v2, which is attached.
> >     >
> >     > Marek
> >     >
> >     > On Tue, Oct 6, 2015 at 3:26 AM, Marek Olšák <maraeo at gmail.com
> >     <mailto:maraeo at gmail.com>> wrote:
> >     >> From: Marek Olšák <marek.olsak at amd.com <mailto:
marek.olsak at amd.com>>
> >     >>
> >     >> - there is no connection to user fragment shaders, so having
these as
> >     >>   shader variants makes no sense
> >     >> - don't use Mesa IR, use TGSI
> >     >> - don't create gl_fragment_program, just create the shader CSO
> >     >> ---
> >     >>
> >
> >     I don't quite get from the differences, was the shader actually
> >     incorrect or is this something which should be fixed in llvmpipe?
> >
> >     Roland
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20151008/59e316ad/attachment.html>


More information about the mesa-dev mailing list