mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-27 01:50:10 +01:00
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:
parent
3116f9801b
commit
2ecb47abda
1 changed files with 1 additions and 3 deletions
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue