summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers
Commit message (Collapse)AuthorAgeFilesLines
* cell: replace FREE() with align_free()Brian Paul2008-10-141-1/+1
|
* cell: fix incorrect parameter typeBrian Paul2008-10-142-2/+2
|
* cell: support for cubemapsBrian Paul2008-10-148-41/+214
| | | | Though, progs/demos/cubemap.c doesn't quite work right...
* cell: fall-through case for TGSI_OPCODE_TXBBrian Paul2008-10-141-0/+2
|
* cell: support NPOT textures, clamp/repeat mode, normalized/unorm texcoordsBrian Paul2008-10-143-42/+117
| | | | glDrawPixels works now.
* cell: fix npot texture tiling bugsBrian Paul2008-10-141-4/+12
|
* cell: fix broken negative texcoord conversionBrian Paul2008-10-141-4/+4
|
* cell: use minify vs magnify filtersBrian Paul2008-10-143-21/+53
|
* cell: fix assertionsBrian Paul2008-10-141-5/+5
|
* cell: basic mipmap filtering works nowBrian Paul2008-10-145-61/+79
| | | | Though, only GL_MIPMAP_NEAREST / GL_LINEAR works right now.
* cell: fix tex image stride bugsBrian Paul2008-10-141-5/+9
|
* cell: now do texture twiddling in the right way, at the right time.Brian Paul2008-10-144-148/+83
| | | | Also handles images smaller than 32x32 now.
* cell: remove old code, clean-ups, etc.Brian Paul2008-10-144-44/+35
|
* cell: more clean-up in spu_tri.cBrian Paul2008-10-131-84/+16
|
* cell: remove dead code, clean-up, reformattingBrian Paul2008-10-131-90/+24
|
* cell: finish-up perspective-corrected interpolationBrian Paul2008-10-131-45/+82
|
* cell: initial work for mipmap texture filteringBrian Paul2008-10-1310-77/+176
|
* cell: remove old texture-related fieldsBrian Paul2008-10-132-5/+0
|
* cell: use fewer memory references in sample_texture4_bilinear_2()Brian Paul2008-10-131-25/+31
|
* cell: remove more old texture codeBrian Paul2008-10-131-26/+0
|
* cell: bilinear texture filtering using integer arithmeticBrian Paul2008-10-132-0/+149
| | | | Fewer float/int conversions involved.
* cell: remove old texture codeBrian Paul2008-10-136-181/+7
|
* cell: do texture sampling/filtering for four pixels at a time.Brian Paul2008-10-135-10/+161
|
* cell: added spu_unpack_A8R8G8B8_transpose4()Brian Paul2008-10-131-7/+42
| | | | Plus, clearer shuffle masks in other funcs.
* cell: more instruction scheduling optimizations (MIN/MAX/LERP/etc)Brian Paul2008-10-101-61/+140
| | | | Also, optimize register->memory stores.
* cell: pass texture unit (sampler number) to txp() functionBrian Paul2008-10-102-2/+7
| | | | The glsl/multitex demo runs now.
* cell: fix function prologue/epilogue code for large stack framesBrian Paul2008-10-101-7/+37
| | | | The ai instruction is limited to a 10-bit signed immediate value.
* CELL: fixing stencil bugsRobert Ellison2008-10-101-18/+70
| | | | | | | | | | | | | | | | | | | | | | | | These are the defects found and fixed so far. Several more have been observed; I'm working on them. - Fixed an error in spe_load_uint() that caused incorrect values to be loaded if the given unsigned value had the low 18 bits as 0, and that caused inefficient code to be emitted if the given value had the high 14 bits as 0. - Fixed a problem in stencil code generation where optional registers weren't tracked correctly. - Fixed a problem that the stencil function NEVER was acting as ALWAYS. - Fixed several problems that could occur if stenciling were enabled but depth was disabled. - Fixed a problem with two-sided stencil writemask handling that could cause a stencil writemask to not be applied. - Fixed several state permutations that were incorrectly flagged as not requiring stencil values to be calculated.
* cell: call cell_flush_int() at end of cell_create_context()Brian Paul2008-10-101-0/+3
| | | | | | Ensures that SPUs are initialized/ready before proceeding. This fixes a spurious assertion failure when the SPU-side shader function info hasn't been returned to the PPU before shader codegen.
* cell: fix LERP when dst reg is a src regBrian Paul2008-10-101-5/+7
| | | | Also, bump up frame size and fix some assertions.
* cell: fix fm/fs copy & paste bug from a few commits agoBrian Paul2008-10-101-1/+1
|
* cell: fix bug in emit_FLR() when src reg == dst regBrian Paul2008-10-101-7/+6
|
* cell: fix bug in emit_FRC() when src register == dst register.Brian Paul2008-10-101-7/+7
| | | | With this fix, the glsl/brick demo runs.
* cell: updates in response to draw's struct vertex_info changesBrian Paul2008-10-101-2/+2
|
* Merge commit 'origin/gallium-0.1' into gallium-0.2Keith Whitwell2008-10-103-10/+10
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/gallium/auxiliary/gallivm/instructionssoa.cpp src/gallium/auxiliary/gallivm/soabuiltins.c src/gallium/auxiliary/rtasm/rtasm_x86sse.c src/gallium/auxiliary/rtasm/rtasm_x86sse.h src/mesa/main/texenvprogram.c src/mesa/shader/arbprogparse.c src/mesa/shader/prog_statevars.c src/mesa/state_tracker/st_draw.c src/mesa/vbo/vbo_exec_draw.c
| * make draw's vertex_info struct smaller/quicker to compare with memcmp()Keith Whitwell2008-10-063-10/+10
| |
* | cell: implement basic TXP instruction in fragment shadersBrian Paul2008-10-093-24/+138
| | | | | | | | | | | | Lots of restrictions for now (one 2D texture, no mipmaps, etc.) for now but basic texture demos work. TEX, TXD, TXP do the same thing for the time being.
* | cell: better immediate value allocation, better commentsBrian Paul2008-10-091-19/+20
| |
* | cell: massage the emit functions to get better instruction schedulingBrian Paul2008-10-091-56/+74
| |
* | cell: more accurate commentsBrian Paul2008-10-091-5/+6
| |
* | cell: implement function calls from shader code. fslight demo runs now.Brian Paul2008-10-082-62/+109
| | | | | | | | | | | | | | | | | | | | | | | | Used for SIN, COS, EXP2, LOG2, POW instructions. TEX next. Fixed some bugs in MIN, MAX, DP3, DP4, DPH instructions. In rtasm code: Special-case spe_lqd(), spe_stqd() functions so they take byte offsets but low-order 4 bits are shifted out. This makes things consistant with SPU assembly language conventions. Added spe_get_registers_used() function.
* | cell: implement more built-in shader functions, link spu code with -lmBrian Paul2008-10-081-21/+44
| |
* | cell: increase SPU_MAX_FRAGMENT_PROGRAM_INSTSBrian Paul2008-10-081-1/+1
| |
* | cell: add support for fragment shader constant buffersBrian Paul2008-10-077-7/+63
| |
* | cell: fix incorrect extended swizzle term code in get_src_reg()Brian Paul2008-10-071-24/+26
| |
* | cell: fix formattingBrian Paul2008-10-071-6/+3
| |
* | cell: remove old codeBrian Paul2008-10-071-26/+0
| |
* | cell: memset() key to zeroBrian Paul2008-10-071-0/+1
| |
* | cell: use new keymap to save/re-use fragment ops codeBrian Paul2008-10-073-0/+103
| |
* | gallium: Introduce PIPE_ARCH_SSE define for SSE support.José Fonseca2008-10-071-1/+1
| | | | | | | | | | | | | | Besides meaning x86 and x86-64 architecture, it also depends on SSE2 support enabled on gcc. This fixes the linux-debug build.