Skip to content
Snippets Groups Projects
Commit 04881310 authored by Dave Airlie's avatar Dave Airlie Committed by Dylan Baker
Browse files

u_blitter/stencil: take dstbox x/y into accounts for dst fb width


When setting the dst framebuffer width height, it might be silly
to constrain this beyond the dst resource, but at least constrain
it correctly to take account of x/y offsets.

This fixes some uses of this as a fallback for zink with
GTF-GL46.gtf30.GL3Tests.framebuffer_blit.framebuffer_blit_functionality_stencil_blit

Fixes: b4c07a8a ("gallium/util: allow scaling blits for stencil-fallback")
Reviewed-by: default avatarErik Faye-Lund <erik.faye-lund@collabora.com>
Acked-by: default avatarMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Part-of: <mesa/mesa!16069>
(cherry picked from commit dbc264f5)
parent 05296c5f
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment