On Fri, 2011-06-24 at 13:03 +0800, Owain Ainsworth wrote: > On Thu, Jun 23, 2011 at 12:47:47AM +0800, Xiang, Haihao wrote: > > The configuration is same as that on Sandybridge, but > > many state commands are changed > > > > Signed-off-by: Xiang, Haihao <haihao.xi...@intel.com> > > --- > > src/i965_reg.h | 132 ++++++++++++++++ > > src/i965_video.c | 446 > > +++++++++++++++++++++++++++++++++++++++++++++++++++--- > > 2 files changed, 554 insertions(+), 24 deletions(-) > > > > diff --git a/src/i965_reg.h b/src/i965_reg.h > > index df41fba..ab6c020 100644 > > --- a/src/i965_reg.h > > +++ b/src/i965_reg.h > > --- a/src/i965_video.c > > +++ b/src/i965_video.c > > @@ -1445,6 +1445,7 @@ gen6_create_blend_state(ScrnInfoPtr scrn) > > > > blend_state->blend1.logic_op_enable = 1; > > blend_state->blend1.logic_op_func = 0xc; > > + blend_state->blend1.pre_blend_clamp_enable = 1; > > > > drm_intel_bo_unmap(blend_bo); > > return blend_bo; > > Can you please explain why this chunk is added for all gen6 and above? Sandybridge and Ivybridge have the same requirement about Pre-Blend Color Clamp Enable. The document says it must be enabled if the format of the render target is UNORM, and the DDX driver uses XXX_UNORM format for Xv.
_______________________________________________ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/intel-gfx