Hi,

I think i have found a bug on light attenuation in the radeon 3D driver.

The attached demo file shows the bug. Its set up a (non-directional)
light with a very very big constant attenuation, so big that the light
should not light anything.

 - with Mesa (noglx), it displays a very very dark triangle, which is
the expected result.

 - with the radeon accelerated driver, the triangle is white, as if the
light constant attenuation were 1.0 (default value).

 - if i disable the TCL (with export RADEON_TCL_FORCE_DISABLE=1), the
triangle is very very dark again.

My experiments show that light attenuation is simply ignored when TCL is
enabled.


glxinfo says :

[...]
direct rendering: Yes
server glx vendor string: SGI
server glx version string: 1.2
server glx extensions:
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context
client glx vendor string: SGI
client glx version string: 1.2
client glx extensions:
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context
GLX extensions:
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context
OpenGL vendor string: Tungsten Graphics, Inc.
OpenGL renderer string: Mesa DRI Radeon 20020611 AGP 1x x86/MMX/SSE TCL
OpenGL version string: 1.2 Mesa 4.0.4
[...]

My 3D card is a Radeon 7500 mobility M7 AGP, on an x86 architecture.

Jiba

Reply via email to