Bug 8008 - r300_state.c rendering problem
Summary: r300_state.c rendering problem
Status: RESOLVED FIXED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/DRI/r300 (show other bugs)
Version: git
Hardware: x86 (IA32) Linux (All)
: high normal
Assignee: Default DRI bug account
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-25 13:50 UTC by Todd Merrill
Modified: 2009-08-24 12:24 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Todd Merrill 2006-08-25 13:50:28 UTC
I've come across a problem with the latest Mesa CVS commit to
r300_state.c, described as "fix broken write-only depth setting. use
early z where possible."

When using Scorched3D [http://www.scorched3d.co.uk], the top half of
the 3D vehicle models seems to get chopped off, and the camera views no
longer work.  I can't describe it very well, so I've linked to some
screenshots:

Mesa CVS using revision 1.163
of /Mesa/src/mesa/drivers/dri/r300/r300_state.c
http://sturmartillerie.org/linux/mesa/scorched3d_01.png
http://sturmartillerie.org/linux/mesa/scorched3d_02.png

Compare these to screenshots using the previous version:

Mesa CVS using revision 1.162
of /Mesa/src/mesa/drivers/dri/r300/r300_state.c
http://sturmartillerie.org/linux/mesa/scorched3d_03.png
http://sturmartillerie.org/linux/mesa/scorched3d_04.png

As you can see, something is amiss here.  The version numbers given
above are from the CVS tree, but I'm actually using the freedesktop.org
Mesa CVS git mirror:

http://gitweb.freedesktop.org/?p=users/krh/mesa.git;a=summary

If I use your commit tree [13b4d44d75f3d92be459782e57e81bcff900aa8b],
Mesa is broken, but if I use the previous tree
[f2b7907cd5fd7a7b295e2c43204b993336f498ce], all is well.

If you need any more information, please let me know.

Here are my computer specifications:
CPU: AMD Geode NX 1750 1.4 GHz, Motherboard: iBASE MB740 Mini-ITX,
Memory: 1GB PC2700 DDR, VGA: ATi Mobility Radeon M10 9600 AGP, OS: 2.6.18-rc4, 
Gentoo 2006.0, X.Org 7.1.1.
Comment 1 Aapo Tahkola 2006-08-26 09:25:41 UTC
Fixed now.
Comment 2 Adam Jackson 2009-08-24 12:24:12 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.