Commit graph

22387 commits

Author SHA1 Message Date
Pauli Nieminen
06bf6628aa radeon: Fix OQ to set ful lstate as dirty too. 2009-09-02 02:04:10 +03:00
Pauli Nieminen
9f650e19dd radeon: Fix debug output to filter out less critical messages instead of more critical. 2009-09-02 02:04:10 +03:00
Zack Rusin
7e4487ad5c st/xorg: getting indexes right tends to be helpful 2009-09-01 19:01:05 -04:00
Zack Rusin
5c746d9214 st/xorg: redo the vertex shader 2009-09-01 18:59:01 -04:00
Zack Rusin
a8cbb15632 st/xorg: setup solid fills 2009-09-01 17:49:32 -04:00
Zack Rusin
811aa02c7a st/xorg: fold back the helper function into core 2009-09-01 14:44:55 -04:00
Zack Rusin
91c366359c st/xorg: start rendering and compositing pictures 2009-09-01 14:44:55 -04:00
Ian Romanick
847bc5c852 ARB prog parser: Fix handling of stateOptModMatNum
The optional array index should clearly be enclosed in square
brackets.  This helps the oglconform test vp_binding.c get a bit
farther, but it still fails.
2009-09-01 11:11:31 -07:00
Keith Whitwell
b3f4b56a3b tgsi: remove redundant CND0 opcode
Can be implemented with CMP src2, src1, src0
2009-09-01 17:30:01 +01:00
José Fonseca
836a9f0ae6 scons: Tool for LLVM. Gracefully disable llvmpipe if LLVM not found. 2009-09-01 12:26:00 +01:00
Jakob Bornecrantz
8c3f622a34 trace: Don't set surface_[fill|copy] if not set on pipe 2009-09-01 11:56:14 +02:00
Cooper Yuan
165e87c491 r300g: Fix clear issue on r300 2009-09-01 17:59:03 +08:00
Dave Airlie
7d36153766 radeon: fix r100/r200 polygon stipple under kms
There really need to use state emits under kms, otherwise
we end up with some dwords in the command buffer before we've
ever emitted any useful state.

Signed-off-by: Dave Airlie <airlied@redhat.com>
2009-09-01 16:06:02 +10:00
Dave Airlie
a2bd13fec9 r100: fixup cubemap domains 2009-09-01 15:18:17 +10:00
Brian Paul
ae5d78198f xlib: plug in more meta functions, if TEST_META_FUNCS is set 2009-08-31 21:15:39 -06:00
Brian Paul
056612241a mesa: implement GL_DEPTH_BUFFER_BIT for _mesa_meta_blit_framebuffer() 2009-08-31 21:15:39 -06:00
Brian Paul
7a78e6e8af mesa: disable another debug test 2009-08-31 21:15:38 -06:00
Brian Paul
5b0f7c6c3b mesa: make verts[] arrays local vars 2009-08-31 21:15:38 -06:00
Dave Airlie
97aa3d553f r200: emit cube for kms correctly + fix tex emit reset
CS checker found some issues.
2009-09-01 12:54:48 +10:00
Brian Paul
8126dfa9c2 xlib: option to enable/test meta functions (disabled) 2009-08-31 19:34:47 -06:00
Brian Paul
1fc713a1e7 mesa: implement depth/stencil formats for meta glDrawPixels 2009-08-31 19:34:47 -06:00
Brian Paul
9c41931c0f mesa: remove accidentally commited debug/disabled code 2009-08-31 19:34:47 -06:00
Brian Paul
10d81f4667 mesa: added _mesa_is_stencil_format() 2009-08-31 19:34:47 -06:00
Brian Paul
a1d3855fb0 swrast: fix selection/feedback regression
This fixes a conform selection/feedback regression introduced by commit
8f4d66c5f8
2009-08-31 19:34:47 -06:00
Brian Paul
c0633ddabb mesa: debug printf for KIL 2009-08-31 19:34:47 -06:00
Brian Paul
18656201ef swrast: can't use deferred texture/shading if using KIL instruction
If the fragment program uses KIL, we have to execute it before z/stencil
testing.  Otherwise, deferred texture/shading lets us skip shading for
pixels that fail z/stencil testing.
2009-08-31 19:34:47 -06:00
Dave Airlie
31a5a9e9cc r300/compiler: fix warning due to no newline 2009-09-01 10:50:40 +10:00
Dave Airlie
e3a17904dd r200: emit max vtx info for index buffer.
We need this for the CS bounds checking.
2009-09-01 10:50:31 +10:00
Jakob Bornecrantz
935e4c56e5 i915g: Implement new winsys 2009-09-01 00:47:02 +01:00
Jakob Bornecrantz
d2110064c2 i915g: Switch from pipe_winsys to intel_winsys
Also includes moving lots of functions from i915_batch.h
	into intel_batchbuffer.h
2009-09-01 00:47:02 +01:00
Jakob Bornecrantz
dd040753d7 i915g: Add header file for new winsys interface 2009-09-01 00:47:01 +01:00
Jakob Bornecrantz
105e4b093e i915g: Add new buffer code not yet hocked up 2009-09-01 00:46:56 +01:00
Jakob Bornecrantz
7b32da0b11 st/xorg: Fix crash in MPH 2009-09-01 00:44:36 +01:00
Pauli Nieminen
c4a3e036ed radeon: Fix null pointer reference in debug system if no context is bind. 2009-09-01 00:39:20 +03:00
Pauli Nieminen
d028cf9313 r600: Add more trace debug output to rendering pipeline. 2009-08-31 20:44:11 +03:00
Pauli Nieminen
fde929c4fd radeon: Add support for indenting debug output.
Indetion can be used to make it easier to read debug code when sections of debug output are indented.
2009-08-31 20:39:43 +03:00
Pauli Nieminen
7870edc778 radeon: Add comment warning about not choosing critical debug level. 2009-08-31 20:27:49 +03:00
Pauli Nieminen
6c963fbdd1 radeon: Change default debug level to verbose.
Verbose is a lot better for developement but we should considre changing it to normal in stable branch.
2009-08-31 20:27:49 +03:00
Pauli Nieminen
012e990160 r300: Convert to shared debug code. 2009-08-31 20:27:49 +03:00
Pauli Nieminen
239105c6c8 r200: Convert r200 to use new style debug code.
Only very few places where realy converted so there isa lot of to do.
2009-08-31 20:27:49 +03:00
Pauli Nieminen
aabb36fdd5 r600: Convert to shared debug code and add a few new debug messages.
There is only a few functions that have debugging enabled now.
2009-08-31 20:27:49 +03:00
Pauli Nieminen
fe62e4c3ff radeon: Make OQ to use new style debugging. 2009-08-31 20:27:48 +03:00
Pauli Nieminen
b6ebcf8156 radeon: Add gcc attribute to enable pritnf format warnings. 2009-08-31 20:27:48 +03:00
Pauli Nieminen
4e0d99a635 r100: Use shared debug code.
Converted r100 to use shared debug code with sed and fast compile check. New
code has compability layer so old debugging code doesn't have to be changed
all immidiatly.
2009-08-31 20:27:48 +03:00
Pauli Nieminen
f9a4a0a971 radeon: Add common debugging functions.
These function are aiming to make it very simple to add and keep large amount
of debugging code without having runtime impact in relase builds. Basic idea
is to expose simple printf style debugging functions that are inlined.

Level parameter will be evalueted in compile time so compiler can optimise
some of debugging functions out if compile time request for debug level is too
tight.
2009-08-31 20:27:48 +03:00
Brian Paul
a5e7003565 mesa: added const qualifiers, move local var 2009-08-31 11:22:36 -06:00
Brian Paul
956e6c3978 mesa: fix saturation logic in emit_texenv()
We need to clamp/saturate after each texenv stage, not just the last one.
Fixes glean texEnv failure for softpipe (and probably other fragment program-
based drivers).
2009-08-31 11:22:36 -06:00
Marc Dietrich
c705e72382 mesa: fix 32bit cross compilation on a 64bit machine
When cross compiling on a 64bit machine, gen_matypes.c is build
for the host machine (64bit) but must generates code for the target
machine (32bit). This causes wrong offsets all over the place and
crashes googleearth on my machine. Solution is to add -m32 when
cross compiling.

Attached patch is compatible with linux-x86-32 and autoconf based
builds.
2009-08-31 11:22:36 -06:00
Zack Rusin
f315c0128b st/xorg: add code to render textured quads for composite acceleration 2009-08-31 13:26:01 -04:00
Zack Rusin
9ccbadb22d st/xorg: setup constant buffers for vertex and fragment shaders 2009-08-31 13:26:01 -04:00