http://bugs.freedesktop.org/show_bug.cgi?id=23714





--- Comment #3 from Alex Deucher <ag...@yahoo.com>  2009-09-04 13:11:48 PST ---
(In reply to comment #1)
> Does not appear to be a duplicate of 23657. Tried editing line 2088 in
> r700_assembler.c and found the value to always be 0 in the test case, tried
> setting to 1 and it made a real mess. Attaching image with saturate=1.0
> 
> Looked at r700SetBlendState found that ctx->Color.BlendEnabled alternated
> between 0 and 1. Tried setting always to 1 did not change anything. Found the
> BlendEquationRGB and BlendEquationA were GL_FUNC_ADD.
> 
> line 516 of r700_state.c didn't seem to identify my rv635 as an r600, unless
> the CHIP_FAMILY_R600 is specific to R600 based devices only.
> 
> context->radeon.radeonScreen->chip_family == CHIP_FAMILY_R600, but I forced
> that if block to run and it didn't make any change.

CHIP_FAMILY_R600 only refers to the original R600 card. see radeon_chipset.h
for the full list of families. Most of the rv6xx and rv7xx share the same state
setup.  R600 is the most significantly different since it lacks per-MRT
blending.

> 
> Also looked at r700BlendColor and found that the color always appeared to be
> black, however altering these values didn't seem to affect anything. I am
> curious as to the call to SetBlendColor at line 1723 in r700_state.c as to 
> what
> the values below it do.

blend color is only used if the blend function specifies an constant color,
otherwise it's a combination of the src and dst based on the blend factors and
blend equation.

The problem may also be due to a bad texture format.  Need to look at the code
in your demo and seem what it's doing.


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
--
_______________________________________________
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to