[Mesa-dev] [PATCH] st/mesa: improve ARB_texture_stencil8 support

Ilia Mirkin imirkin at alum.mit.edu
Sun Apr 5 20:16:12 PDT 2015


On Sun, Apr 5, 2015 at 11:00 PM, Dave Airlie <airlied at gmail.com> wrote:
> On 5 April 2015 at 21:42, Marek Olšák <maraeo at gmail.com> wrote:
>> From: Marek Olšák <marek.olsak at amd.com>
>>
>> 1) Try selecting X24S8 and S8X24 first.
>> 2) Make sure depth-stencil formats are always renderable.
>
> Does any hw support S8 for rendering at all do you know? (anyone else)
>
> I'd assume you'd want to use S8 if you had texture and render for it
> since it would take up less memory, but I suppose we can cross that
> bridge when we get to it.

FWIW I think that Adreno 3xx and 4xx should be able to do S8-only
rendering. I haven't tried it, but it does keep the stencil totally
separate for Z32 + S8 though (separate pointers to diff gmem locations
and all that).

  -ilia


More information about the mesa-dev mailing list