llvmpipe: don't use sample mask with 0 samples
authorDave Airlie <airlied@redhat.com>
Mon, 6 Apr 2020 06:57:47 +0000 (16:57 +1000)
committerDave Airlie <airlied@redhat.com>
Tue, 19 May 2020 00:26:46 +0000 (10:26 +1000)
commit50987644834921ecf571d8010960688425e3fda5
tree9fb054f5fc0de284b5dc42c9e871419fda1c342c
parentb11aa12253ad3f0ed68e98b320e873572e1fba32
llvmpipe: don't use sample mask with 0 samples

piglit:
spec/arb_sample_shading/builtin-gl-sample-mask 0
spec/arb_sample_shading/builtin-gl-sample-mask-simple 0
CTS:
KHR-GL45.sample_variables.mask.rgba8.samples_0.mask_zero

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