Commit Graph

34179 Commits

Author SHA1 Message Date
Vinson Lee
4485dd8a3e i965: Assert that an OPCODE_IF was seen before an OPCODE_ELSE. 2010-04-17 23:48:37 -07:00
Vinson Lee
010f81f32b st/dri: Check for NULL before dereference and assignment. 2010-04-17 23:40:14 -07:00
Vinson Lee
63c6d6add1 nvfx: Initialize variables. 2010-04-17 23:25:47 -07:00
Vinson Lee
0268e8984c r300g: Cast rbuf->user_buffer to 'uint8_t *' before arithmetic.
Fixes this SCons build error.
"pointer of type 'void *' uses in arithmetic"
2010-04-17 22:44:35 -07:00
Vinson Lee
fe52b585f2 nvfx: Remove unused variables. 2010-04-17 22:23:25 -07:00
Vinson Lee
891e9d6f3f nv50: Initialize variables.
Silences GCC uninitialized variable warnings.
2010-04-17 21:21:31 -07:00
Vinson Lee
b054d7912d nv50: Remove unused variable. 2010-04-17 20:39:03 -07:00
Jakob Bornecrantz
5db285b742 i915g: Remove broken power of two function 2010-04-18 02:50:35 +01:00
Jakob Bornecrantz
d14c4ca209 i915g: Add some helper functions
Mostly to make the lines not so long.
2010-04-18 02:50:35 +01:00
Jakob Bornecrantz
ed94e744d3 i915g: Fix cubemap layouts 2010-04-18 02:50:35 +01:00
Jakob Bornecrantz
762ed4db47 i915g: Clean and add some debug printing
Disabled by default
2010-04-18 02:50:35 +01:00
Jakob Bornecrantz
29ff6e87f5 gallium/tests: Make trivial apps depend on libs 2010-04-18 02:50:35 +01:00
Marek Olšák
0b4df63609 r300g: various other cleanups
It seems to me that the resource management code is the most blurry.

Also some of my notes about fastfill are wrong, removing them too.
2010-04-18 02:56:09 +02:00
Marek Olšák
d3e7dfc1fd r300g: inline screen_buffer functions 2010-04-18 02:56:09 +02:00
Marek Olšák
9f2f6096a8 r300g: remove unused declarations 2010-04-18 02:56:09 +02:00
Marek Olšák
5b609badf7 r300g: add debugging options "notiling" and "noimmd" (for testing)
notiling = Disable texture tiling
noimmd = Disable immediate mode (this optimization was really worth it!)
2010-04-18 02:56:09 +02:00
Marek Olšák
4185d9770f r300g: remove r300_transfer::ctx 2010-04-18 02:56:09 +02:00
Marek Olšák
bb4f5fff0c r300g: remove use of c++ keywords 2010-04-18 02:56:09 +02:00
Marek Olšák
c383defdaa r300g: always create microtiled zbuffer regardless of texture dimensions 2010-04-18 02:56:09 +02:00
Vinson Lee
65a3c316ba i915g: Remove unnecessary headers. 2010-04-17 15:47:45 -07:00
Vinson Lee
e68c6be2f6 nvfx: Remove unnecessary headers. 2010-04-17 15:14:47 -07:00
Vinson Lee
c5e4a6dc9d nv50: Remove redundant assignment. 2010-04-17 14:49:40 -07:00
Vinson Lee
f426295521 i965g: Remove redundant assert. 2010-04-17 14:45:49 -07:00
Vinson Lee
35aae6839e os: Implement pipe_barrier for POSIX platforms without pthread_barrier_t.
This patch was tested on Mac OS X.
2010-04-17 14:24:23 -07:00
Jakob Bornecrantz
44bafca1a0 i915g: Add a software only debuging winsys 2010-04-17 21:13:23 +01:00
Jakob Bornecrantz
3e3d6864da gallium/tests: Fix trivial examples 2010-04-17 21:13:23 +01:00
Jakob Bornecrantz
08f2a6cad1 gallium/util: Ignores 2010-04-17 21:13:22 +01:00
Jakob Bornecrantz
a656f2f0f3 progs/tests: Ignores 2010-04-17 21:13:22 +01:00
Vinson Lee
0a2ae64b77 r300/compiler: Remove unnecessary header. 2010-04-17 12:13:19 -07:00
Vinson Lee
f6f78fac9e draw llvm: Remove unnecessary header. 2010-04-16 23:25:25 -07:00
Vinson Lee
d6c024ea3f llvmpipe: Remove unnecessary header. 2010-04-16 23:08:52 -07:00
Vinson Lee
6be186a6fa r300/compiler: Add radeon_program_tex.c to SCons build.
This was missed in commit f8a1418680.
2010-04-16 22:58:49 -07:00
Marek Olšák
411d506332 r300/compiler: add emulation of all mirrored-clamp wrap modes for NPOT textures 2010-04-17 02:43:47 +02:00
Marek Olšák
f91a06eed2 r300/compiler: replace mirrored-repeat emulation with a faster version
Also, the Negate bitfield was 1 instead of RC_MASK_XYZ in the previous
version, causing incorrect rendering.
2010-04-17 02:11:46 +02:00
Marek Olšák
a94942e379 r300/compiler: add handy definitions for XYZ0 and smeared half swizzling 2010-04-17 01:31:25 +02:00
Marek Olšák
47265e69c8 r300/compiler: make ARB_shadow_ambient optional
This saves constant register space for r300g, which doesn't need
this feature.
2010-04-16 22:35:56 +02:00
Brian Paul
862d014ba9 llvmpipe: fix color masking 2010-04-16 14:08:26 -06:00
Marek Olšák
b2c1b944c9 r300/compiler: restore r500-specific bits of TEX transformations 2010-04-16 21:55:00 +02:00
Brian Paul
056df21cb1 llvmpipe: fix linking for lp_test_blend 2010-04-16 13:34:41 -06:00
Brian Paul
a57e762c90 llvmpipe: work-around an LLVM bug
The blend combinations ZERO,DST_ALPHA and ZERO,INV_DST_ALPHA seem to
generate bad code which leads to a segfault.
2010-04-16 13:34:28 -06:00
Brian Paul
1a44ec5e36 llvmpipe: clean-up lp_surface_copy()
Remove unreachable code, etc from previous revisions.
2010-04-16 13:07:17 -06:00
Brian Paul
1c4415ddf4 llvmpipe: remove unneeded declaration (which caused a warning) 2010-04-16 13:01:51 -06:00
Brian Paul
4593e0c85e llvmpipe: use unsigned type to avoid warnings 2010-04-16 13:01:18 -06:00
Brian Paul
b7c5e9b336 gallium/draw: fix breakage from moving lp_bld_* files 2010-04-16 12:58:40 -06:00
Brian Paul
23a2166bc5 llvmpipe: remove unneeded break stmt 2010-04-16 12:20:27 -06:00
Brian Paul
92b2af5f9a llvmpipe: fix compilation, linking of lp_test_blend 2010-04-16 11:14:43 -06:00
Brian Paul
39a12a7326 llvmpipe: updated #includes 2010-04-16 10:34:32 -06:00
Brian Paul
d75129dd13 gallivm/llvmpipe: move lp_bld_blend* files to llvmpipe/ directory 2010-04-16 10:28:21 -06:00
Brian Paul
7a05161278 gallivm/llvmpipe: move lp_bld_alpha.c to llvmpipe/ directory 2010-04-16 10:22:33 -06:00
Brian Paul
f17d1513ac gallivm/llvmpipe: move lp_bld_depth.[ch] to llvmpipe/ directory
This is specific to the llvmpipe driver and not re-usable.
2010-04-16 10:20:32 -06:00