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

Roland Scheidegger sroland at vmware.com
Thu Oct 8 07:03:15 PDT 2015


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?

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
> 



More information about the mesa-dev mailing list