Please do not reply to this email: if you want to comment on the bug, go to
the URL shown below and enter yourcomments there.
https://bugs.freedesktop.org/show_bug.cgi?id=8410
------- Additional Comments From [EMAIL PROTECTED] 2006-09-24 08:47 -------
(In reply to comment #0)
> I have a Radeon 9550 and I'm using the OSS radeon driver in Ubuntu Edgy. MESA
> is
> 6.5.1~20060817-0ubuntu2. The driver works very well, except for this problem.
> In Doomsday (3D Doom/Heretic/Hexen source port with many enhancements), the
> sky
> looks like a "hall of mirrors". Screenshot: http://darka.liero.be/skyhom.jpg
> Apparently the OpenGL specification says:
> "The Color command has two major variants: Color3 and Color4. The four value
> versions set all four values. The three value versions set R, G, and B to the
> provided values; A is set to 1.0."
> It seems it's not exactly like that in Mesa.
>
> Please see this bug and its discussion:
>
http://sourceforge.net/tracker/index.php?func=detail&aid=1499272&group_id=74815&atid=542099
Since other cards are mentioned, I'd assume this happens with tcl_mode=0 (or 1)
too? I tend to think there is some problem when using both glColor3x and
glColor4x within the same glBegin/glEnd pair (which doomsdays does). Btw
doomsday shouldn't do this, I think it's a mistake by the opengl api to even
allow things like that, it just causes all sorts of headaches for drivers
without any benefits (because if you start with a glColor3 call, the driver
might assume (for optimization) that alpha is always 1.0 and try to assemble the
subsequent glcolor calls into vec3 values - and if not all calls were glColor3,
it needs to go back and promote the old values to vec4. It works similarly the
other way round, the vec3 values just need to be promoted to vec4 in that case).
So if you want fast code, don't do that. But I disgress, obviously this insanity
is allowed by the api and it's clearly a bug if it doesn't work.
I can't quite see where's the bug though, since the tnl module has code to deal
with this. Especially the upgrade to a larger vertex format gets quite
complicated, however (should hit _tnl_fixup_vertex and then
_tnl_wrap_upgrade_vertex).
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Mesa3d-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev