mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 13:48:06 +02:00
i965/gen7: Minify blit size for stencil tree copy
Found by the piglit 'fbo-depth-array stencil-clear' test when implementing blorp blit splitting for gen7. Signed-off-by: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: Ben Widawsky <ben@bwidawsk.net> Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
This commit is contained in:
parent
9bfee7047b
commit
0cee3fd5c7
1 changed files with 4 additions and 2 deletions
|
|
@ -2373,9 +2373,11 @@ intel_update_r8stencil(struct brw_context *brw,
|
|||
dst, level, layers_per_blit * layer,
|
||||
MESA_FORMAT_R_UNORM8,
|
||||
0, 0,
|
||||
src->logical_width0, src->logical_height0,
|
||||
minify(src->logical_width0, level),
|
||||
minify(src->logical_height0, level),
|
||||
0, 0,
|
||||
dst->logical_width0, dst->logical_height0,
|
||||
minify(dst->logical_width0, level),
|
||||
minify(dst->logical_height0, level),
|
||||
GL_NEAREST, false, false /*mirror x, y*/,
|
||||
false, false /* decode/encode srgb */);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue