search for: dst_factor

Displaying 2 results from an estimated 2 matches for "dst_factor".

2014 Aug 10
3
[PATCH 1/4] exa/nv10: use same clip settings as mesa driver
The higher 0x800 was getting overwritten by the 0x7ff anyways, so it wasn't doing any good. The mesa driver just uses 0x800 for the low portion and doesn't set the 8 bit in the higher portion, so do the same thing here. Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu> --- src/nv10_exa.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/nv10_exa.c
2009 Nov 04
1
[PATCH] nv10/exa: Spring-cleaning
...color1); -} - -static void NV10SetPictOp(NVPtr pNv, int op) +static void +setup_blend_function(NVPtr pNv) { struct nouveau_channel *chan = pNv->chan; struct nouveau_grobj *celsius = pNv->Nv3D; - struct nv10_pictop *nv10_op = &NV10PictOp[op]; - int src_factor = nv10_op->src; - int dst_factor = nv10_op->dst; + struct pict_op *op = &nv10_pict_op[pNv->alu]; + int src_factor = op->src; + int dst_factor = op->dst; if (src_factor == SF(ONE_MINUS_DST_ALPHA) && !PICT_FORMAT_A(pNv->pdpict->format)) @@ -644,280 +567,140 @@ NV10StateCompositeReemit(struct n...