Ian Romanick
ac07631d85
Use _transpose_matrix4x4 from Cell SDK instead of my own version
17 лет назад
Ian Romanick
76702d5fcd
Add some debug messages
17 лет назад
Ian Romanick
f33c8119ab
More semi-trivial vectorization in the shader VM
17 лет назад
Ian Romanick
40147bd835
Vectorize vertex puller
17 лет назад
Ian Romanick
d8642b8309
Vectorize all micro ops
Fold single instruction micro ops inline. Remove unused micro ops.
17 лет назад
Ben Skeggs
e9147bfab4
nv40: cleanup state handling a bit
17 лет назад
Michal Krol
7a1b2f4078
gallium: Use align_free to free aligned memory.
17 лет назад
Brian
535abe4037
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...
17 лет назад
Brian
6a3f1ea91d
Cell: don't use VEC_LITERAL macro, doesn't work w/ SDK 3.0
17 лет назад
Brian
f603652c30
Cell: don't use VEC_LITERAL macro, doesn't work w/ SDK 3.0
17 лет назад
Brian
4540e01978
Cell: move float4 typedef (temporary datatype)
17 лет назад
Brian
d17e336259
Cell: fix small sampling error in sample_texture_bilinear()
17 лет назад
Brian
790eec9666
Cell: texture sampler functions always return vector float now
Texture colors look the same now, regardless of X display/pixel format
17 лет назад
Brian
71e6cd0b66
Cell: added spu_unpack_A8R8G8B8()
17 лет назад
Brian
2f8268aa02
Cell: fix typo
17 лет назад
Brian
21461014b2
Cell: some basic blending code
17 лет назад
Brian
b4f5575add
Cell: replace float 4 with vector float in eval_coeff()
17 лет назад
Brian
ab9b705c67
Cell: emit blend state to SPUs
17 лет назад
Brian
4080fef473
Cell: choose bilinear vs. nearest filtering according to sampler state
17 лет назад
Brian
1bd182889b
Cell: improved bilinear filtering
avoid calling get_tex_tile() if all texels are in same tile
17 лет назад
Brian
e3ff185eae
Cell: implement basic bilinear texture sampler
17 лет назад
Brian
382651a4fa
Cell: added spu_unpack_color(), spu_pack_R8G8B8A8()
17 лет назад
Brian
09edd2e29e
Cell: SIMD-ize more of texture sampling
17 лет назад
Brian
f94e0396ed
Cell: checkpoint: start to SIMD-ize texture sampling
17 лет назад
Brian
d83dedc937
Cell: move tile clear code to flush_spans()
17 лет назад
Brian
a0c35df4a0
Cell: clamp txmax, tymax in tile_bounding_box()
Also, added some debug printfs
17 лет назад
Brian
4605b7df0a
Cell: insert some draw_flush() calls
17 лет назад
Ben Skeggs
b111d266a0
nv40: the 0x4497 version of curie doesn't support index buffers.
17 лет назад
Ben Skeggs
705022f98c
nouveau: avoid relocations where possible.
Potential relocations are emitted as NOPs where they're needed. In the
event a buffer moves, the pushbuf code will emit the relevant state
changes into the NOPs.
Just a start, more work is needed to get this looking how I want it to.
17 лет назад
Ben Skeggs
8bbedc3f4b
nouveau: implement a bo_set_status()
17 лет назад
Brian
6522a0531f
Cell: comment about emit_quad() mask
17 лет назад
Brian
c90a2dcc29
Cell: move some tile get/clear code
Also, we weren't marking the ztile as dirty after ztesting, fixes gears glitches.
17 лет назад
Brian
ae620d5c36
Cell: use global color_shuffle to remove a switch stmnt
17 лет назад
Brian
de5d995201
Cell: New color packing functions (A8R8G8B8 and B8G8R8A8)
17 лет назад
Brian
245c6a4cd5
Cell: rename/move global vars
Put tile-related globals into spu_global struct.
Rename c/ztile fields to be more consistant.
17 лет назад
Brian
4fa69471c4
Cell: deprecate some use of struct cell_command - it should go away completely
Also, remove ALIGN16_ATTRIB from structs that no longer need it.
17 лет назад
Brian
b25f1244ab
Cell: remove commands from top-level while loop which should only appear in batch buffers
17 лет назад
Brian
1b6b5db4e2
Cell: move ztest before color interp/packing
17 лет назад
Brian
a3d5d7067e
Cell: rename fields of the tile_t union
17 лет назад
Brian
7a0099b9f3
Cell: implement Z16 and Z32 testing with SIMD instructions.
17 лет назад
Brian
4f7dcb0e04
Cell: store current tile status in cur_tile_status_c/z, add TILE_STATUS_GETTING
17 лет назад
Ian Romanick
0c0c62dd2a
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.
17 лет назад
Brian
41d1179fa6
fix typo
17 лет назад
Brian
9aa37ad540
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
17 лет назад
Brian
a4c7c8a6ee
Fix problem in mapping vertex program outputs (found with "spring" game engine)
If the vertex program writes to an output that's not consumed by the
fragment program, map the vp output to an unused slot.
17 лет назад
Brian
26fff001e7
gallium: comments about fragment Z computation
17 лет назад
Brian
5ee218a021
gallium: Fix z clear bug when TILE_CLEAR_OPTIMIZATION==0
17 лет назад
Brian
6c59de9a7b
gallium: fix get/put typo regression
This came from commit f3aa4de034
on 1/22/08.
Fixes strange Z buffer glitches seen in progs/glsl/texdemo1.c
17 лет назад
Brian
7978c749fb
Cell: SIMD-ize const_coeff()
17 лет назад
Brian
4d3f3f749f
Cell: set GALLIUM_CELL_VS env var to enable SPU-based vertex transformation
17 лет назад