summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* cell: initial bits for 3D texture supportBrian Paul2008-10-145-6/+20
|
* 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
|
* dri: don't check the number of cliprects before swap, letAlan Hourihane2008-10-141-3/+0
| | | | the swap handle the requirements.
* 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.
* mesa: when emitting an address load instruction, forAlan Hourihane2008-10-131-1/+5
| | | | indexed elements ensure we write to a single register.
* cell: more instruction scheduling optimizations (MIN/MAX/LERP/etc)Brian Paul2008-10-101-61/+140
| | | | Also, optimize register->memory stores.
* Merge commit 'origin/master' into gallium-0.2Brian Paul2008-10-108-57/+35
|\
| * mesa: fix asst. issues in _mesa_texstore_argb8888()Brian Paul2008-10-101-40/+10
| | | | | | | | | | | | | | | | If we shift bytes into the texel word (or use the PACK_COLOR_8888 macro), we don't have to worry about big vs. little endian. See comments about texel formats in texformat.h. Remove an unneeded/incorrect else-if clause that produced wrong results on big-endian systems.
| * mesa: include needed headerBrian Paul2008-10-101-0/+1
| |
| * mesa: remove unneeded includesBrian Paul2008-10-102-2/+0
| |
| * mesa: fix error codes in _mesa_GetObjectParameterivARB(), bug 17861Brian Paul2008-10-101-1/+12
| |
| * mesa: rename macro params to emphasize that there's no particular color orderingBrian Paul2008-10-101-12/+12
| |
| * mesa: remove unneeded includesBrian Paul2008-10-102-2/+0
| |
| * intel: GLSL 1.20 is broken in Mesa, so disable it in the i965 driverIan Romanick2008-10-101-0/+4
| |
| * i965: Add missing intel_pixel_draw.c symlink to fix build.Eric Anholt2008-10-101-0/+1
| |
* | cell: pass texture unit (sampler number) to txp() functionBrian Paul2008-10-102-2/+7
| | | | | | | | The glsl/multitex demo runs now.
* | intel: GLSL 1.20 is broken in Mesa, so disable it in the i965 driverIan Romanick2008-10-101-0/+4
| |
* | i965: Add missing intel_pixel_draw.c symlink to fix build.Eric Anholt2008-10-101-0/+1
| |
* | cell: add emit_RI10s() which does range checking on the 10-bit signed ↵Brian Paul2008-10-102-10/+30
| | | | | | | | | | | | immediate field This type of checking should be expanded to cover more instructions...
* | cell: additional 'offset' checking in spe_lqd(), spe_stqd()Brian Paul2008-10-101-4/+14
| |
* | cell: fix assertions in spe_lqd(), spe_stqd()Brian Paul2008-10-101-2/+2
| |
* | 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-102-20/+72
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | replace 1.0/sqrt() with inversesqrt()Brian Paul2008-10-101-1/+1
| |
* | 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
| |