Brian Paul
7b1d08738f
cell: turn on PPC assembly vertex transform
gears runs with it now (3x faster FPS than before).
преди 17 години
Brian Paul
c6ff870836
cell: TGSI->PPC for RSQ, RCP and src register sign modes
преди 17 години
Brian Paul
5184006560
gallium: TGSI->PPC inequality operators
преди 17 години
Brian Paul
b06d072019
gallium: added ppc_vload_float(), for limited cases
преди 17 години
Brian Paul
da63edd720
gallium: fix broken TGSI_FILE_CONSTANT case, use ppc_reserver_register()
преди 17 години
Brian Paul
ebdc399d83
gallium: fix-up confusing register allocation masks in rtasm_ppc.c
Plus, add ppc_reserve_register() func.
преди 17 години
Brian Paul
ba4faef7c0
gallium: temporarily disable PPC vertex shader until more things run
преди 17 години
Brian Paul
b7da4c3dc1
gallium: PPC vertex shader support
Works, but dead code lingering, debug code present, etc.
преди 17 години
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.
преди 17 години
Brian Paul
049f57f86a
gallium: added ppc_lvewx()
преди 17 години
Brian Paul
3aea9c463b
cell: include pthread.h
преди 17 години
Brian Paul
e0c6653a5f
cell: implement many more PPC instructions for code gen
преди 17 години
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.
преди 17 години
Brian Paul
0ae4728eb4
cell: set cell->num_textures
преди 17 години
Brian Paul
0c1e98d959
cell: note that dst reg writing needs clamping
преди 17 години
Brian Paul
7004582c18
gallium: implement tests for PPC/PPC64
преди 17 години
Brian Paul
3a2a2d5332
gallium: remove unused var
преди 17 години
Brian Paul
abfc32a68c
cell: minor improvements to batch buffer functions
преди 17 години
Brian Paul
6cec79dc4f
cell: temporarily disable freeing of tiled texture memory
Allows glDrawPixels to work for now...
преди 17 години
Brian Paul
81724da4f6
cell: use an approximation in compute_lambda_2d() to avoid sqrt
Though, the logf() call still needs attention.
преди 17 години
Brian Paul
9fa8671c73
cell: add new debug flag (cache) to report texture cache stats on exit
преди 17 години
Brian Paul
cb8ebc9124
cell: more efficient state emit for textures/samplers
преди 17 години
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.
преди 17 години
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.
преди 17 години
Brian Paul
51ffab362b
cell: pass spu_texture_level ptr to get_four_texels()
преди 17 години
Brian Paul
033c90f4c1
cell: implement KIL instruction
преди 17 години
Brian Paul
8bff2fccc9
cell: CELL_NUM_SPUS env var
преди 17 години
Brian Paul
5191429b15
cell: trilinear mipmap interpolation
преди 17 години
Brian Paul
f0c70f9aab
cell: update comments
преди 17 години
Brian Paul
1da8f9b005
cell: call proper sampler function in sample_texture_cube()
преди 17 години
Brian Paul
926b8dbb3e
cell: clean up various texture-related things
Distinguish among texture targets in codegen.
progs/demos/cubemap.c runs correctly now too.
преди 17 години
Brian Paul
0116ee1d1c
cell: start some performance measurements
Use the spu_write_decrementer() and spu_read_decrementer() functions to
measure time. Convert to milliseconds according to the system timebase value.
преди 17 години
Brian Paul
1c915b14a5
cell: updated debug code
преди 17 години
Brian Paul
224c19a758
cell: get rid of last usage of float4 union/typedef
Results in slightly tighter code.
преди 17 години
Brian Paul
30d3b58112
cell: simplify triangle front/back face determination
преди 17 години
Brian Paul
ec7d6c6561
cell: send rasterizer state to SPUs in proper way, remove front_winding hack
преди 17 години
Brian Paul
8bf1059977
cell: query # cells too
преди 17 години
Brian Paul
8bcbefb370
cell: query number SPUs with spe_cpu_info_get()
преди 17 години
Brian Paul
67f615681c
cell: use CELL_MAX_SPUS consistently.
преди 17 години
Brian Paul
0eb0b0a816
cell: remove some old, pre-batchbuffer stuff
преди 17 години
Brian Paul
79e96b3a77
cell: move some CELL_MAX constants
преди 17 години
Brian Paul
708f046c21
cell: remove obsolete spu_debug.h file
преди 17 години
Brian Paul
ddeec1ed10
cell: simplify spu debug code
преди 17 години
Brian Paul
53951531ae
cell: propogate blend color to SPUs for the fallback fragment ops code
преди 17 години
Brian Paul
5f76a77b31
gallium: fix the shader-rebind test in softpipe, as was done for the draw module.
преди 17 години
Brian Paul
05a8f203cd
gallium: fix the test in vs_exec_prepare() to avoid redundant bindings
Fixes regressions seen in progs/samples/prim.c, progs/demos/ray.c
преди 17 години
Brian Paul
a7f06dae20
gallium: temporariliy revert softpipe shader optimization
преди 17 години
Brian Paul
9382a7100f
cell: updated vertex dump/debug code
преди 17 години
Brian Paul
f60c756ed1
cell: additional debug
преди 17 години
Brian Paul
4e506f422a
cell: fix/add some fallback blend cases
преди 17 години