llvmpipe: Initialize Test member variables.
commitd70c5ebb243fd8fb5e7b00dff2312c779bfab029
authorVinson Lee <vlee@freedesktop.org>
Tue, 20 Sep 2022 06:00:13 +0000 (19 23:00 -0700)
committerVinson Lee <vlee@freedesktop.org>
Sun, 16 Oct 2022 18:04:29 +0000 (16 11:04 -0700)
treec0d495d9513dafef117b9d424ffce185048e25cd
parent0e98e9a39a91924f149f50c5a351c600f890fcdd
llvmpipe: Initialize Test member variables.

Fix defects reported by Coverity Scan.

Uninitialized scalar field (UNINIT_CTOR)
Non-static class member mErrorX is not initialized in this constructor nor in any functions that it calls.
Non-static class member mErrorY is not initialized in this constructor nor in any functions that it calls.

Fixes: 1d0af5e7c ("llvmpipe: Add tests designed to exercise llvmpipe linear rasterizer.")
Signed-off-by: Vinson Lee <vlee@freedesktop.org>
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/piglit/-/merge_requests/736>
tests/llvmpipe/tests/test.h