gallium: initialize viewport swizzle in cso_set_viewport_dims
authorKarol Herbst <kherbst@redhat.com>
Wed, 15 Apr 2020 11:37:39 +0000 (13:37 +0200)
committerKarol Herbst <kherbst@redhat.com>
Wed, 15 Apr 2020 14:43:57 +0000 (16:43 +0200)
commit7e525d29ab68d927d0f2aa7e3ef21d25e915e76d
tree9b38c4131b9e9f7fae5f448beb8494d531232224
parent1aefe78b47eab9caca6a1cbfe4ecb6b5d4cf87ef
gallium: initialize viewport swizzle in cso_set_viewport_dims

Fixes: dEQP-GLES2.functional.fragment_ops.depth_stencil.stencil_* and more
Fixes: 4137a79c2a7e ("gallium: add viewport swizzling state and cap")
Signed-off-by: Karol Herbst <kherbst@redhat.com>
Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4567>
src/gallium/auxiliary/cso_cache/cso_context.c