Maciej Cencora
a92bc56e24
r300: update r500 path for reordered WPOS and FOG fp attributes
...
Report and regression testing by Fabio Pedretti.
2009-04-17 11:27:27 +10:00
Dave Airlie
3264352c57
dri: attempt to actually refcount the __DRIDrawable
...
valgrind was showing a race between the drawable getting destroyed
by the X resource freeing code, and the context getting destroyed
later and freeing the drawable.
However I've no idea if some other combination of things could cause
this code to leak.
2009-04-16 13:06:24 +10:00
Dave Airlie
143b416af6
radeon: take a bo reference when adding to validate list
2009-04-16 13:06:08 +10:00
Jerome Glisse
1fd76ae930
r200: fix texture level for compiz case
2009-04-12 15:51:31 +02:00
Jerome Glisse
02b130fd4b
r200: validate vertex buffer
2009-04-12 14:25:36 +02:00
Jerome Glisse
8181f8fbf9
radeon: emit scissor when using cs path
2009-04-12 13:11:06 +02:00
Dave Airlie
5e361c47ab
r300: fix color tiling
2009-04-09 10:51:10 +10:00
Maciej Cencora
1ec0efa7d3
r300: reorder fog coordinate and WPOS fp attributes
...
HW TCL path currently assumed fog, WPOS order. The order was inverted for SW TCL path.
This hopefully fixes rest of fog and WPOS related bugs.
Additionally fix some indentation, don't route unnecessary components of fog coordinates for performance reasons and simplify vertex
attribute emitting for SW TCL path.
2009-04-09 10:31:51 +10:00
Maciej Cencora
3b1d544001
r300: fix regression from swtcl rewrite
...
Fix wrong attribute emit and revert to previous behaviour of calculating VAP_OUT_VTX_FMT_1 register value.
We can't use r300VAPOutputCntl1 function because it assumes that all texture coords have 4 components and that is the case for HW TCL
path, but not for SW TCL.
2009-04-09 10:31:36 +10:00
Dave Airlie
d1a9b1f513
Merge remote branch 'origin/master' into radeon-rewrite
...
Conflicts:
src/mesa/drivers/dri/r200/r200_tex.c
src/mesa/drivers/dri/r300/r300_cmdbuf.c
src/mesa/drivers/dri/r300/r300_context.h
src/mesa/drivers/dri/r300/r300_swtcl.c
src/mesa/drivers/dri/r300/r300_tex.c
src/mesa/drivers/dri/r300/r300_texmem.c
src/mesa/drivers/dri/r300/r300_texstate.c
src/mesa/drivers/dri/radeon/radeon_tex.c
2009-04-09 10:31:08 +10:00
Corbin Simpson
8648c26858
r300-gallium: Properly emit indexbufs.
...
This fixes hardlocks with anything using elts.
2009-04-08 15:31:04 -07:00
Corbin Simpson
b3639d43f2
r300-gallium: Add vertex shader constant emit.
2009-04-08 15:31:04 -07:00
José Fonseca
71504c7700
python/retrace: Try to cope with failures creating textures.
2009-04-08 21:41:04 +01:00
José Fonseca
c89eba0f31
python: Don't try to finish a null fence.
2009-04-08 21:41:04 +01:00
José Fonseca
4342d6a91f
python/retrace: Use colors on windows console.
2009-04-08 21:41:03 +01:00
Robert Ellison
23ad86cfb9
Mesa: allow suppression of debug messages in a debug build
...
For testing, it's very useful to be able to test on a debug build,
while suppressing the debug messages (messages that are by default
suppressed in a release build), in order to see the same behavior
that users of release builds will see.
For example, the "piglit" test suite will flag an error on
programs that produce unexpected output, which means that a
debug build will always fail due to the extra debug messages.
This change introduces a new value to the MESA_DEBUG
environment variable. In a debug build, explicitly setting MESA_DEBUG
to "0" will suppress all debug messages (both from _mesa_debug() and
from _mesa_warning()). (The former behavior was that debug
messages were never suppressed in debug builds.)
Behavior of non-debug builds has not changed. In such a build,
_mesa_debug() messages are always suppressed, and _mesa_warning()
messages will be suppressed unless MESA_DEBUG is set *to any value*.
2009-04-08 11:10:46 -06:00
Alan Hourihane
a97c846d61
gallium: when using gl_PointCoord ensure we use the correct attribute.
2009-04-08 16:39:17 +01:00
José Fonseca
84e784665a
python/retrace: Allow to specify the range of calls of interest.
2009-04-08 16:26:06 +01:00
José Fonseca
e0e5d5014e
trace: Make calls dumping threadsafe.
2009-04-08 16:26:05 +01:00
José Fonseca
d2cdf6253c
trace: Make call no global.
2009-04-08 16:26:05 +01:00
José Fonseca
c14562d3b1
python/retrace: Handle recent traces.
...
Try to keep backwards compatability with old traces as much as possible.
2009-04-08 16:26:05 +01:00
José Fonseca
aaea658dbe
python: Fix method renaming.
2009-04-08 16:26:05 +01:00
José Fonseca
724929db3c
python: Cope with null surfaces.
2009-04-08 16:26:05 +01:00
José Fonseca
923b4413a6
wgl: Integrate the trace driver on debug builds.
2009-04-08 16:26:05 +01:00
José Fonseca
927eb8fe4c
trace: Simplify cast wrappers.
2009-04-08 16:26:05 +01:00
José Fonseca
7000b9d74a
trace: Match pipe_context::clear prototype.
2009-04-08 16:26:04 +01:00
Brian Paul
a3277c542b
gallium: handle the case of util_pack_z_stencil(format=PIPE_FORMAT_S8_UNORM)
...
Fixes failed assertion in glean fbo test.
2009-04-08 08:23:45 -06:00
Brian Paul
9f784647ad
docs: bump Gallium version number
2009-04-08 08:23:45 -06:00
Brian Paul
f6b71d02c7
docs: updated Cell driver info
2009-04-08 08:23:45 -06:00
Brian Paul
ce01de5075
docs: more info for 7.4 release notes
2009-04-08 08:23:45 -06:00
José Fonseca
629700ed7e
mesa: Don't attempt to free the dummy program.
2009-04-08 11:32:43 +01:00
Brian Paul
105758105a
st: implement glCopyTexImage() for GL_DEPTH24_STENCIL8 internal format
2009-04-07 17:56:40 -06:00
Brian Paul
b7615e5240
st: implement GL_DEPTH_STENCIL format for glReadPixels and DrawPixels()
2009-04-07 17:32:29 -06:00
Brian Paul
fbcd78b5d1
softpipe: minor debug-help changes in softpipe_transfer_map()
2009-04-07 17:31:49 -06:00
Brian Paul
ac1ff1b9fe
mesa: add another special/optimized case in _mesa_unpack_depth_span()
2009-04-07 17:31:14 -06:00
Brian Paul
228f20e324
swrast: fix point rendering function selection
...
Need to clamp default point size to min/max range before checking if it's one.
Fixes glean pointAtten test.
2009-04-07 13:44:13 -06:00
Brian Paul
d03053688f
mesa: fix incorrect component ordering for sRGB8 texture fetch/store
...
This format is layered on MESA_FORMAT_RGB888 so the component order is
actually BGR.
Fixes glean pixelFormat failures.
2009-04-07 13:17:42 -06:00
Brian Paul
0f0e24f6ef
glsl: enable the new linear scan register allocator code
...
Seems to b working well enough to enable all the time.
Optimizations can be disabled with "export MESA_GLSL=nopt" if needed.
2009-04-07 11:10:27 -06:00
Brian Paul
439909a87d
docs: document the MESA_GLSL env var, other misc GLSL updates
2009-04-07 11:09:53 -06:00
Brian Paul
4069447f73
glsl: don't optimize program if MESA_GLSL=nopt
2009-04-07 11:01:15 -06:00
Alex Deucher
90ffce4973
radeon: fix compiler warning
2009-04-07 12:37:10 -04:00
Brian Paul
3e79d65083
swrast: restore !shader check around add_specular()
...
Fixes a regression from commit 76ac75af8e .
2009-04-07 07:04:14 -06:00
Maciej Cencora
e2ce1d80d1
r300: swtcl rewrite and cleanup
...
- remove unused variables
- silence compiler warnings
- fix twosided lighting
- fix point attenuation
- unify indentation
2009-04-07 21:08:40 +10:00
Corbin Simpson
799f43f2e0
r300-gallium: vs: Add MAD.
2009-04-06 23:36:34 -07:00
Corbin Simpson
00bb3deed2
r300-gallium: vs: Add MUL.
2009-04-06 23:26:38 -07:00
Corbin Simpson
6a1be41af9
r300-gallium: Fix surface_copy too.
2009-04-06 23:25:27 -07:00
Corbin Simpson
ffbf3f4952
r300-gallium: Properly setup HW/SW TCL controls.
...
This keeps non-TCL chipsets from locking up, and also fully unbreaks
RADEON_NO_TCL rendering.
2009-04-06 23:18:56 -07:00
Dave Airlie
86556f8bda
radeon/r200/r300: fix missing dma buffer validation
...
this make gnome shell run
2009-04-07 15:08:56 +10:00
Dave Airlie
23478f1c03
radeon: fix bocs wrapper
2009-04-07 15:08:56 +10:00
Brian Paul
3630da9916
swrast: more texcombine clean-ups
2009-04-06 21:37:20 -06:00