Bug 706 - Texture environment modes are totally broken on tdfx
Summary: Texture environment modes are totally broken on tdfx
Status: RESOLVED FIXED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/DRI/TDFX (show other bugs)
Version: git
Hardware: x86 (IA32) Linux (All)
: high normal
Assignee: Adam Jackson
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-01 15:43 UTC by André Pinto
Modified: 2009-08-24 12:22 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
Program still running correctly (102.57 KB, image/png)
2004-06-01 15:44 UTC, André Pinto
Details
Strange renderization (128.87 KB, image/png)
2004-06-01 15:45 UTC, André Pinto
Details
texenv run with current CVS (7.67 KB, image/png)
2004-06-22 10:51 UTC, Adam Jackson
Details

Description André Pinto 2004-06-01 15:43:16 UTC
I have a program with two OpenGL windows. The first is 2D and the second 3D. It
runs well in MacOSX (I dont know the specifications right now), but in my linux
box with my 3dfx Voodoo3 3000 it renders strangely (instead of the lights it
gets random colors).

I'll attach some pictures. They explain better than me.
Comment 1 André Pinto 2004-06-01 15:44:25 UTC
Created attachment 340 [details]
Program still running correctly
Comment 2 André Pinto 2004-06-01 15:45:09 UTC
Created attachment 341 [details]
Strange renderization
Comment 3 André Pinto 2004-06-01 15:46:39 UTC
I'm not sure if it's related with DRI.
I guess it's my video card limitation, but I need some confirmation on this.
Comment 4 Adam Jackson 2004-06-01 16:13:42 UTC
this is a known bug.  the tdfx driver doesn't do textures or lighting properly
at the moment.

assigning to me since i'm apparently the tdfx maintainer.
Comment 5 Adam Jackson 2004-06-22 10:51:29 UTC
Created attachment 409 [details]
texenv run with current CVS

this shows the mesa texenv demo.  only the intensity, luma-alpha, and rgba
formats work, and only in replace mode.  for all of those, Cv = Cs and Av = As,
meaning we're not really combining textures at all.  it looks like the alpha
combiner is at least sort of working for some other formats, but clearly the
color combiner is  doing something very very wrong.
Comment 6 Adam Jackson 2004-07-17 11:15:24 UTC
http://freedesktop.org/cgi-bin/viewcvs.cgi/mesa/Mesa/src/mesa/drivers/dri/tdfx/tdfx_vbtmp.h?r1=1.2&r2=1.3

partial fix to make single-texturing work.
Comment 7 Adam Jackson 2004-07-20 12:54:08 UTC
i've tested the fix in both DRI and Xorg CVS, and single-texturing apps work
correctly again.  the attached screenshots don't look like they're
multitexturing, so i'm closing this bug.

the fix will be in the next Xorg release; alternatively, grab a DRI snapshot.
Comment 8 Adam Jackson 2009-08-24 12:22:28 UTC
Mass version move, cvs -> git


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.