llvmpipe: zs clear use 64-bit memset

Use the newly added memset64 path

Reviewed-by: Eric Anholt <eric@anholt.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9041>
This commit is contained in:
Dave Airlie 2021-02-15 08:26:58 +10:00 committed by Marge Bot
parent 3116f9801b
commit 2ecb47abda

View file

@ -267,9 +267,7 @@ lp_rast_clear_zstencil(struct lp_rasterizer_task *task,
clear_value64 &= clear_mask64;
if (clear_mask64 == 0xffffffffffULL) {
for (i = 0; i < height; i++) {
uint64_t *row = (uint64_t *)dst;
for (j = 0; j < width; j++)
*row++ = clear_value64;
util_memset64(dst, clear_value64, width);
dst += dst_stride;
}
}