summaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers/va/postproc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/state_trackers/va/postproc.c')
-rw-r--r--src/gallium/state_trackers/va/postproc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/state_trackers/va/postproc.c b/src/gallium/state_trackers/va/postproc.c
index fbec69aec35..8467b0e8f42 100644
--- a/src/gallium/state_trackers/va/postproc.c
+++ b/src/gallium/state_trackers/va/postproc.c
@@ -292,7 +292,8 @@ vlVaHandleVAProcPipelineParameterBufferType(vlVaDriver *drv, vlVaContext *contex
src_region = vlVaRegionDefault(param->surface_region, src_surface->buffer, &def_src_region);
dst_region = vlVaRegionDefault(param->output_region, context->target, &def_dst_region);
- if (context->target->buffer_format != PIPE_FORMAT_NV12)
+ if (context->target->buffer_format != PIPE_FORMAT_NV12 &&
+ context->target->buffer_format != PIPE_FORMAT_P016)
return vlVaPostProcCompositor(drv, context, src_region, dst_region,
src, context->target, deinterlace);
else