llvmpipe: fix stencil only formats.
authorDave Airlie <airlied@redhat.com>
Tue, 3 Dec 2019 06:01:37 +0000 (16:01 +1000)
committerDave Airlie <airlied@redhat.com>
Thu, 16 Jul 2020 19:09:34 +0000 (05:09 +1000)
commit87e27543fe9a96bf4fd9555361ec66e3918aa3b3
treeced28dc0fbfdab33150d207618356035efa566f9
parent045711dc1c076fcb8f095a272f44a84dd245c339
llvmpipe: fix stencil only formats.

Currently the test crashes with LLVM errors
Stored value type does not match pointer operand type!
  store <8 x i32> %s_dst, <8 x i8>* %261

Change the stored type for 8-bit stencil formats.

Fixes:
GTF-GL45.gtf44.GL31Tests.texture_stencil8.texture_stencil8_gl44

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