llvmpipe: enable stencil only formats. (v2)
authorDave Airlie <airlied@redhat.com>
Tue, 3 Dec 2019 06:01:37 +0000 (16:01 +1000)
committerDave Airlie <airlied@redhat.com>
Mon, 27 Apr 2020 02:35:24 +0000 (12:35 +1000)
commit024b5dfc1c3eb7255bbec975d57d4002458096bd
tree8464fd8931e477a42b96bb0abfe980f3f9c22ef6
parent65906d133130df5308b32c3fc92fb8690d231abc
llvmpipe: enable stencil only formats. (v2)

This fixes two bugs, one in clearing and one in sign extensions
for S8 only types, and enables it for use.

These are useful for vulkan support later.

v2: move casting to same place as Z casting.

Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4574>
src/gallium/drivers/llvmpipe/lp_bld_depth.c
src/gallium/drivers/llvmpipe/lp_rast.c
src/gallium/drivers/llvmpipe/lp_screen.c