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 年之前