mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-03-04 03:50:31 +01:00
i915g: Don't limit blitter to POT textures
Now that we have NPOT support for u_blitter, there is no reason to limit this any longer. Signed-off-by: Stéphane Marchesin <marcheu@chromium.org>
This commit is contained in:
parent
e30c799da9
commit
1e47510df7
1 changed files with 2 additions and 3 deletions
|
|
@ -90,9 +90,8 @@ i915_surface_copy_render(struct pipe_context *pipe,
|
|||
struct pipe_sampler_view src_templ, *src_view;
|
||||
struct pipe_surface dst_templ, *dst_view;
|
||||
|
||||
/* Fallback for buffers and npot. */
|
||||
if ((dst->target == PIPE_BUFFER && src->target == PIPE_BUFFER) ||
|
||||
!util_is_power_of_two(src_width0) || !util_is_power_of_two(src_height0))
|
||||
/* Fallback for buffers. */
|
||||
if ((dst->target == PIPE_BUFFER && src->target == PIPE_BUFFER))
|
||||
goto fallback;
|
||||
|
||||
util_blitter_default_dst_texture(&dst_templ, dst, dst_level, dstz);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue