diff options
author | Xiang, Haihao <haihao.xiang@intel.com> | 2013-06-13 11:31:36 +0800 |
---|---|---|
committer | Xiang, Haihao <haihao.xiang@intel.com> | 2013-06-21 12:19:02 +0800 |
commit | 1b7ca689134c29893342415409502fd1a60c59c3 (patch) | |
tree | cf6100a380dc0b7c7e79af93d20acb847869d9e6 /src/i965_render.c | |
parent | 6d23151d15ebe1b7334268a3f3f66e781acdda53 (diff) |
Update the supported render target format and pixel format
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Diffstat (limited to 'src/i965_render.c')
-rw-r--r-- | src/i965_render.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/i965_render.c b/src/i965_render.c index b49f9f1..21ec844 100644 --- a/src/i965_render.c +++ b/src/i965_render.c @@ -1063,8 +1063,8 @@ i965_render_upload_constants(VADriverContextP ctx, constant_buffer = render_state->curbe.bo->virtual; if (obj_surface->subsampling == SUBSAMPLE_YUV400) { - assert(obj_surface->fourcc == VA_FOURCC('I', 'M', 'C', '1') || - obj_surface->fourcc == VA_FOURCC('I', 'M', 'C', '3')); + assert(obj_surface->fourcc == VA_FOURCC('Y', '8', '0', '0')); + *constant_buffer = 2; } else { if (obj_surface->fourcc == VA_FOURCC('N', 'V', '1', '2')) |