Brian Paul
02c9009bb8
mesa: updated status in cell.html
2008-10-23 10:47:17 -06:00
Michel Dänzer
6b69e3c717
scons: ppc support.
2008-10-23 10:28:48 +02:00
Michel Dänzer
06c43beee0
scons: Don't hardcode any drivers for the xlib winsys, just pick suitable ones.
2008-10-23 10:27:39 +02:00
Michel Dänzer
86099bcd9c
gallium: Fix typo, PPC_FEATURE_HAS_ALTIVEC not PPC_FEATURES_...
2008-10-23 10:26:19 +02:00
Brian Paul
0ac9945781
gallium: PPC: clamp y to [-128,128] for LIT
2008-10-22 17:29:37 -06:00
Brian Paul
f8ab4feb75
gallium: remove ppc_vload_float(), rename ppc_vecmove() -> ppc_vmove().
2008-10-22 17:21:43 -06:00
Brian Paul
abbbe876ac
gallium: new PPC built-in constants array
...
It's hard to form PPC vector immediates so load them from an array.
2008-10-22 17:19:12 -06:00
Brian Paul
3026616c48
gallium: added ppc_vzero()
2008-10-22 17:17:11 -06:00
Brian Paul
ae81aeb128
gallium: GALLIUM_NOPPC debug var to disable PPC codegen
2008-10-22 16:58:05 -06:00
Brian Paul
9e3ee82305
gallium: PPC LIT instruction (not quite complete yet)
2008-10-22 16:57:22 -06:00
Brian Paul
77160cd97b
gallium: var renaming in tgsi_ppc.c
2008-10-22 15:34:16 -06:00
Brian Paul
519c2dbed5
gallium: remove SSE remnants from tgsi_ppc.c
2008-10-22 15:30:00 -06:00
Brian Paul
7b1d08738f
cell: turn on PPC assembly vertex transform
...
gears runs with it now (3x faster FPS than before).
2008-10-22 15:25:04 -06:00
Brian Paul
c6ff870836
cell: TGSI->PPC for RSQ, RCP and src register sign modes
2008-10-22 15:21:22 -06:00
Brian Paul
5184006560
gallium: TGSI->PPC inequality operators
2008-10-22 14:48:58 -06:00
Brian Paul
b06d072019
gallium: added ppc_vload_float(), for limited cases
2008-10-22 14:48:33 -06:00
Brian Paul
da63edd720
gallium: fix broken TGSI_FILE_CONSTANT case, use ppc_reserver_register()
2008-10-22 13:59:11 -06:00
Brian Paul
ebdc399d83
gallium: fix-up confusing register allocation masks in rtasm_ppc.c
...
Plus, add ppc_reserve_register() func.
2008-10-22 13:57:56 -06:00
Brian Paul
82477e485d
cell: add -std=c99 flag to solve some warning/prototype issues
2008-10-22 11:13:55 -06:00
Brian Paul
ba4faef7c0
gallium: temporarily disable PPC vertex shader until more things run
2008-10-22 11:13:31 -06:00
Brian Paul
b7da4c3dc1
gallium: PPC vertex shader support
...
Works, but dead code lingering, debug code present, etc.
2008-10-22 11:08:45 -06:00
Brian Paul
70f4ad4498
gallium: TGSI to PPC code generation
...
Based on the TGSIto SSE2 code generator.
Incomplete and lots of SSE stuff still hanging around but the basic dozen
or so TGSI opcodes are functioning.
2008-10-22 11:07:35 -06:00
Brian Paul
049f57f86a
gallium: added ppc_lvewx()
2008-10-22 11:06:39 -06:00
Brian Paul
3aea9c463b
cell: include pthread.h
2008-10-22 11:04:29 -06:00
Brian Paul
e0c6653a5f
cell: implement many more PPC instructions for code gen
2008-10-22 10:35:38 -06:00
Brian Paul
70dd4379d2
cell: implement fencing for texture buffers
...
If we delete a texture, we need to keep the underlying tiled data buffer
around until any rendering that references it has completed.
Keep a list of buffers referenced by a rendering batch. Unref/free them when
the associated batch's fence is executed/signalled.
2008-10-22 10:34:13 -06:00
Brian Paul
0ae4728eb4
cell: set cell->num_textures
2008-10-22 10:30:12 -06:00
Brian Paul
0c1e98d959
cell: note that dst reg writing needs clamping
2008-10-22 08:12:42 -06:00
Brian Paul
95c04cccfe
mesa: move convolution image adjustment code for glCopyTexSubImage1/2/3D()
...
Do it after initial error checking, after we know the texture's internal format.
2008-10-22 07:53:26 -06:00
Brian Paul
9dfd54fa83
mesa: some re-org of glCopyTexSubImage1/2/3D() error checking
2008-10-22 07:48:37 -06:00
Brian Paul
22e442544b
mesa: in textore.c, only adjust image for convolution if image is a color format
...
Makes things consistant with the code in teximage.c.
We only want to apply convolution to color formats (not depth/index formats)
2008-10-22 07:36:33 -06:00
Brian Paul
7004582c18
gallium: implement tests for PPC/PPC64
2008-10-21 14:12:17 -06:00
Brian Paul
3a2a2d5332
gallium: remove unused var
2008-10-21 14:10:09 -06:00
Kristof Ralovich
0970de3171
glx: updated comment
2008-10-21 08:20:43 -06:00
Xiang, Haihao
b4bf9acc32
i915: fix carsh in i830_emit_state. (bug #17766 )
2008-10-21 10:30:39 +08:00
Brian Paul
2278107b24
mesa: more test options in progs/demos/textures.c
2008-10-20 17:43:05 -06:00
Brian Paul
abfc32a68c
cell: minor improvements to batch buffer functions
2008-10-20 15:44:22 -06:00
Brian Paul
6cec79dc4f
cell: temporarily disable freeing of tiled texture memory
...
Allows glDrawPixels to work for now...
2008-10-20 09:35:18 -06:00
Keith Whitwell
97e63437dc
mesa: note that texcoords are generated by setup routines when pointsprite enabled
2008-10-20 13:04:20 +01:00
Brian Paul
6c6c2f1d23
gallium: add some checks for null surface pointers in state tracker
...
Fixes some segfaults in low memory situations.
2008-10-18 09:55:54 -06:00
Brian Paul
81724da4f6
cell: use an approximation in compute_lambda_2d() to avoid sqrt
...
Though, the logf() call still needs attention.
2008-10-17 14:14:23 -06:00
Brian Paul
9fa8671c73
cell: add new debug flag (cache) to report texture cache stats on exit
2008-10-17 14:14:23 -06:00
Brian Paul
cb8ebc9124
cell: more efficient state emit for textures/samplers
2008-10-17 14:14:23 -06:00
Brian Paul
fa7b838806
cell: use 7-bit weights in sample_texture_2d_bilinear_int()
...
This allows us to use 16-bit signed mul/add instructions. Had to
used unsigned mul before and there's no unsigned mul/add instruction.
2008-10-17 14:14:23 -06:00
Brian Paul
87a6fe57e8
Merge commit 'origin/gallium-0.1' into gallium-0.2
...
Conflicts:
progs/trivial/tri.c
2008-10-17 14:13:00 -06:00
Brian Paul
d422c1eb5c
mesa: redraw upon keypress in trivial/tri.c
2008-10-17 13:37:50 -06:00
Brian Paul
8d6ef125ac
gallium: fix mis-matched malloc/free vs. aligned malloc/free
...
Use aligned malloc/free for teximage data everywhere to be consistant.
The mismatch didn't make any difference when HAVE_POSIX_MEMALIGN was defined.
2008-10-17 13:37:50 -06:00
Alan Hourihane
b50a0b89d9
build "GLX" egl driver by default and egl demos
2008-10-16 23:42:12 +01:00
Brian Paul
893ea47e44
glxswapcontrol: added -fullscreen option
2008-10-16 14:33:27 -06:00
Brian Paul
9a84d78c18
glxgears: for fullscreen, disable window borders the right way
2008-10-16 14:33:27 -06:00