lima: Add stencil support
authorAndreas Baierl <ichgeh@imkreisrum.de>
Tue, 7 Jan 2020 16:06:46 +0000 (17:06 +0100)
committerVasily Khoruzhick <anarsoul@gmail.com>
Mon, 13 Jan 2020 16:11:37 +0000 (16:11 +0000)
commit40aef2bf3eadba384a72f5bc8bfea35cda33c1c1
treebcc1d37a10ccdb2edaeace0a3f042167ecb24797
parent2ce71494f104c64a088cedb8a271248549812129
lima: Add stencil support

This re-enables and fixes support for stencil buffer.

It fixes 365 stencil related deqp tests. All tests that use INCR, INCR_WRAR,
DECR and DECR_WRAP as a stencil op still fail, but they also fail with the
blob, so we may ignore that for now.
We still have dEQP-GLES2.functional.depth_stencil_clear.depth_stencil_masked
failing, which is strange because it's the only one out of the
depth_stencil_clear.* set.

Reviewed-by: Vasily Khoruzhick <anarsoul@gmail.com>
Signed-off-by: Andreas Baierl <ichgeh@imkreisrum.de>
src/gallium/drivers/lima/lima_draw.c
src/gallium/drivers/lima/lima_parser.c