José Fonseca
|
9791d7f64c
|
gallium: Use p_debug.h instead of non-portable stdio.h/assert.h functions.
|
2008-02-06 14:37:49 +09:00 |
|
José Fonseca
|
78bce9c2dc
|
gallium: Add forgotten return type.
|
2008-02-06 14:37:24 +09:00 |
|
José Fonseca
|
81b6a801f7
|
gallium: Update scons instructions. Propagate user environment.
|
2008-02-06 14:36:50 +09:00 |
|
José Fonseca
|
a31d289de6
|
gallium: Cross-platform debugging helpers.
|
2008-02-06 13:27:49 +09:00 |
|
José Fonseca
|
5e2d0517b1
|
gallium: Portability guidelines.
|
2008-02-06 12:56:35 +09:00 |
|
Brian
|
e39fccc34c
|
Cell: remove accidentally added OPT_FLAGS lines
|
2008-02-05 15:12:18 -07:00 |
|
Brian
|
1730f7bad4
|
Cell: SIMD-ize tri_linear_coeff(), use vector float for vertex attributes in struct vertex_header
|
2008-02-05 15:08:06 -07:00 |
|
Brian
|
4da82fd5c5
|
Cell: re-enable inlined vertex buffers
Vertex data must be on a 16-byte address/offset so SIMD operations will work
properly in the SPU code.
|
2008-02-05 15:08:06 -07:00 |
|
Brian
|
2174890ed0
|
Cell: remove dummy fields, update/add some comments
|
2008-02-05 15:08:06 -07:00 |
|
Brian
|
b0974420f4
|
Cell: added cell_batch_alloc_aligned()
|
2008-02-05 15:08:06 -07:00 |
|
Ian Romanick
|
c9f98142b6
|
Use _transpose_matrix4x4 from Cell SDK instead of my own version
|
2008-02-05 09:44:33 -08:00 |
|
Ian Romanick
|
45f4125fa8
|
Add some debug messages
|
2008-02-05 09:44:33 -08:00 |
|
Ian Romanick
|
e8a80c8627
|
More semi-trivial vectorization in the shader VM
|
2008-02-05 09:44:33 -08:00 |
|
Ian Romanick
|
490a7b1c73
|
Vectorize vertex puller
|
2008-02-05 09:44:33 -08:00 |
|
Ian Romanick
|
8fc2355949
|
Vectorize all micro ops
Fold single instruction micro ops inline. Remove unused micro ops.
|
2008-02-05 09:44:33 -08:00 |
|
Michal Krol
|
45b18c51c0
|
gallium: Use align_free to free aligned memory.
|
2008-02-05 07:50:56 -07:00 |
|
Brian
|
5db1593c78
|
Cell: fix some alignment issues by aligning commands to 8-byte boundaries
Contributed by Ian Romanick.
Also, temporarily disable inlined vertex buffers. They need to be 16-byte
aligned...
|
2008-02-04 18:05:37 -07:00 |
|
Brian
|
684d320ea2
|
Cell: don't use VEC_LITERAL macro, doesn't work w/ SDK 3.0
|
2008-02-04 18:03:05 -07:00 |
|
Brian
|
7cbe5cf212
|
Cell: don't use VEC_LITERAL macro, doesn't work w/ SDK 3.0
|
2008-02-04 18:02:21 -07:00 |
|
Brian
|
93d061b217
|
Cell: move float4 typedef (temporary datatype)
|
2008-02-04 16:48:36 -07:00 |
|
Brian
|
1a75464cdc
|
Cell: fix small sampling error in sample_texture_bilinear()
|
2008-02-04 16:48:00 -07:00 |
|
Brian
|
efa8e03a6f
|
Cell: texture sampler functions always return vector float now
Texture colors look the same now, regardless of X display/pixel format
|
2008-02-04 16:06:51 -07:00 |
|
Brian
|
5068b573c4
|
Cell: added spu_unpack_A8R8G8B8()
|
2008-02-04 16:05:13 -07:00 |
|
Brian
|
76c1a10eb1
|
Cell: fix typo
|
2008-02-04 16:04:50 -07:00 |
|
Brian
|
bc1ad6bcbd
|
Cell: some basic blending code
|
2008-02-04 15:17:50 -07:00 |
|
Brian
|
168247d1ca
|
Cell: replace float 4 with vector float in eval_coeff()
|
2008-02-04 15:10:35 -07:00 |
|
Brian
|
7a1d01f2a0
|
Cell: emit blend state to SPUs
|
2008-02-04 15:06:10 -07:00 |
|
Brian
|
8f924e4df0
|
Cell: choose bilinear vs. nearest filtering according to sampler state
|
2008-02-04 13:23:07 -07:00 |
|
Brian
|
ca1d2fc5f6
|
Cell: improved bilinear filtering
avoid calling get_tex_tile() if all texels are in same tile
|
2008-02-04 13:16:10 -07:00 |
|
Brian
|
0a45f75948
|
Cell: implement basic bilinear texture sampler
|
2008-02-04 12:50:42 -07:00 |
|
Brian
|
9a5074217f
|
Cell: added spu_unpack_color(), spu_pack_R8G8B8A8()
|
2008-02-04 12:50:16 -07:00 |
|
Brian
|
703a869155
|
Cell: SIMD-ize more of texture sampling
|
2008-02-04 11:02:47 -07:00 |
|
Brian
|
18105195a8
|
Cell: checkpoint: start to SIMD-ize texture sampling
|
2008-02-04 09:54:21 -07:00 |
|
Brian
|
e967a5c746
|
Cell: move tile clear code to flush_spans()
|
2008-02-04 08:53:18 -07:00 |
|
Brian
|
6023311c7c
|
Cell: clamp txmax, tymax in tile_bounding_box()
Also, added some debug printfs
|
2008-02-04 08:46:44 -07:00 |
|
Brian
|
69cc19751d
|
Cell: insert some draw_flush() calls
|
2008-02-04 08:45:33 -07:00 |
|
Brian
|
aa761b1605
|
Cell: comment about emit_quad() mask
|
2008-02-01 16:54:46 -07:00 |
|
Brian
|
44d3269356
|
Cell: move some tile get/clear code
Also, we weren't marking the ztile as dirty after ztesting, fixes gears glitches.
|
2008-02-01 16:42:09 -07:00 |
|
Brian
|
8bd566a9cb
|
Cell: use global color_shuffle to remove a switch stmnt
|
2008-02-01 16:25:42 -07:00 |
|
Brian
|
d7c2eb0df4
|
Cell: New color packing functions (A8R8G8B8 and B8G8R8A8)
|
2008-02-01 15:45:02 -07:00 |
|
Brian
|
42201d7574
|
Cell: rename/move global vars
Put tile-related globals into spu_global struct.
Rename c/ztile fields to be more consistant.
|
2008-02-01 15:33:53 -07:00 |
|
Brian
|
17305489f0
|
Cell: deprecate some use of struct cell_command - it should go away completely
Also, remove ALIGN16_ATTRIB from structs that no longer need it.
|
2008-02-01 15:24:00 -07:00 |
|
Brian
|
b1a472bfb7
|
Cell: remove commands from top-level while loop which should only appear in batch buffers
|
2008-02-01 15:20:07 -07:00 |
|
Brian
|
0e9a370ae2
|
Cell: move ztest before color interp/packing
|
2008-02-01 14:04:56 -07:00 |
|
Brian
|
c392cc8f1b
|
Cell: rename fields of the tile_t union
|
2008-02-01 14:04:55 -07:00 |
|
Brian
|
59be082909
|
Cell: implement Z16 and Z32 testing with SIMD instructions.
|
2008-02-01 14:04:55 -07:00 |
|
Brian
|
b108bea6b4
|
Cell: store current tile status in cur_tile_status_c/z, add TILE_STATUS_GETTING
|
2008-02-01 14:04:55 -07:00 |
|
Ian Romanick
|
20df285b14
|
Fix using "ccache ppu-gcc" for CC and fix parallel builds
CC wasn't quoted in a couple places in src/mesa/Makefile. Also, the
OSMesa link was missing a dependency.
|
2008-01-31 17:22:07 -08:00 |
|
Brian
|
635341ec5b
|
fix typo
|
2008-01-31 17:05:43 -07:00 |
|
Brian
|
633e1133ae
|
gallium: fix problem in which texcoords and varying vars got mapped to the same slot
This fixes the glsl/bump.c and glsl/texdemo1.c programs
|
2008-01-31 14:35:25 -07:00 |
|