mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-10 01:40:14 +01:00
st/vega: No flipping in vg_prepare_blend_surface.
The blend sampler view is addressed with unnormalized coordinates in the fragment shader. It should have the same orientation as the surface does.
This commit is contained in:
parent
37ec090ac9
commit
c9fb8c3bcf
1 changed files with 2 additions and 3 deletions
|
|
@ -489,11 +489,10 @@ void vg_prepare_blend_surface(struct vg_context *ctx)
|
|||
stfb->blend_texture_view->texture,
|
||||
0, 0, 0,
|
||||
PIPE_BIND_RENDER_TARGET);
|
||||
/* flip it, because we want to use it as a sampler */
|
||||
util_blit_pixels_tex(ctx->blit,
|
||||
view,
|
||||
0, strb->height,
|
||||
strb->width, 0,
|
||||
0, 0,
|
||||
strb->width, strb->height,
|
||||
dest_surface,
|
||||
0, 0,
|
||||
strb->width, strb->height,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue