llvmpipe: fix linear rast samples check.
authorDave Airlie <airlied@redhat.com>
Wed, 16 Feb 2022 06:00:00 +0000 (16:00 +1000)
committerMarge Bot <emma+marge@anholt.net>
Wed, 16 Feb 2022 20:48:52 +0000 (20:48 +0000)
commiteebe298a8786b1f480e90e6d13493c6962189b9d
tree0b36bf5fea7e7e21bea3c9d879e9f7a6f75d71ef
parent3f4bfecee6d639bbe17097c34131c39eaac6e696
llvmpipe: fix linear rast samples check.

The checks didn't work for the samples == 0 case, just fix it
to use the helper.

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