mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 09:38:07 +02:00
gallium/util: do not perform n^2 stencil blits
We already loop n times here, no point in doing n instances as well.
Fixes: e8a40715a8 ("gallium/util: add blitter-support for stencil-fallback")
Reviewed-by: Jesse Natalie <jenatali@microsoft.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8301>
This commit is contained in:
parent
32a6a13052
commit
96ceca33c1
1 changed files with 1 additions and 1 deletions
|
|
@ -2918,7 +2918,7 @@ util_blitter_stencil_fallback(struct blitter_context *blitter,
|
|||
dstbox->x, dstbox->y,
|
||||
dstbox->x + dstbox->width,
|
||||
dstbox->y + dstbox->height,
|
||||
0, stencil_bits,
|
||||
0, 1,
|
||||
UTIL_BLITTER_ATTRIB_TEXCOORD_XYZW,
|
||||
&coord);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue