summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* mesa: fix temp register allocation problems.Brian Paul2008-10-021-0/+15
| | | | Complex texcombine modes were running out of registers (>32 registers for 8 tex units).
* egl: check for null ptr/nameBrian Paul2008-10-021-1/+4
|
* egl: remove space after -L flagBrian Paul2008-10-021-1/+1
|
* util: No-op u_sse.h outside PIPE_ARCH_X86/X86_64.José Fonseca2008-10-011-1/+6
|
* tgsi: Include p_config.h.José Fonseca2008-10-011-0/+2
|
* cell: Fixed usage of MAX_INSTRUCTIONS to use new MAX_PROGRAM_INSTRUCTIONS ↵Jonathan White2008-09-301-10/+4
| | | | instead of old MAX_NV_XXX definitions in order to allow Cell TGSI fragment program generator to work again.
* cell: Moved X86 checks to wrap #include section so that Cell targets will ↵Jonathan White2008-09-301-2/+2
| | | | compile again.
* util: Fix util_fast_pow/exp2/log2.José Fonseca2008-10-012-69/+64
| | | | | | | | | | | - Use a lookup table for log2. - Compute (float) (1 << ipart) by tweaking with the exponent directly to avoid integer overflow and float conversion. - Also table negative exponents to avoid float division and branching. - Implement util_fast_exp as function of util_fast_exp2.
* tgsi: SSE2 optimized exp2, log2 and pow implementations.José Fonseca2008-09-301-76/+211
| | | | | | | | | | | | Special care must be taken when calling compiler generated SSE2 functions from the runtime generated SSE2: saving the xmm registers, and notify gcc the stack is not 16byte aligned. It would be more efficient to keep the stack pointer 16byte aligned, but too hairy, and not consistent in all x86 architectures. This has been tested in linux x86 and windows x86 userspace. Not tested on x86-64 because it is broken for other reasons (even without this change).
* util: Header for SSE2 intrinsics portability.José Fonseca2008-09-301-0/+72
|
* rtasm: Implement immediate group 1 instructions. Fix SIB emition.José Fonseca2008-09-292-15/+62
|
* cell: checkpoint: more work in emit_function_call()Brian Paul2008-09-261-6/+39
| | | | Simple function call works now, but we don't save/restore the caller's registers yet.
* cell: stub-out sin/cos function bodies to avoid trashing caller's stack for nowBrian Paul2008-09-261-0/+10
|
* gallium: SPU register commentsBrian Paul2008-09-261-2/+2
|
* cell: move command processing code into new spu_command.c fileBrian Paul2008-09-264-556/+611
|
* cell: move debug-related declarationsBrian Paul2008-09-262-2/+8
|
* cell: move debug macros into new spu_debug.hBrian Paul2008-09-262-27/+63
|
* cell: move really_clear_tiles()Brian Paul2008-09-263-40/+41
|
* cell: align instruction buffers to 8-byte, not 32-byte boundaryBrian Paul2008-09-263-8/+8
|
* cell: asst clean-up, var renamingBrian Paul2008-09-261-10/+9
|
* cell: remove unneeded blend/depth_stencil subclassesBrian Paul2008-09-264-72/+15
|
* cell: checkpoint: support for function calls in SPU shadersBrian Paul2008-09-268-3/+254
| | | | | | | Will be used for instructions like SIN/COS/POW/TEX/etc. The PPU needs to know the address of some functions in the SPU address space. Send that info to the PPU/main memory rather than patch up shaders on the SPU side. Not finished/tested yet...
* cell: inst reorder to save a cycleBrian Paul2008-09-261-1/+1
|
* st: add prototype for st_get_framebuffer_dimensions()Alan Hourihane2008-09-262-2/+5
|
* st: export st_get_framebuffer_dimensions() to retrieveAlan Hourihane2008-09-261-0/+7
| | | | the width & height of the fb
* mesa: fix incorrect parameter orderBrian Paul2008-09-261-3/+3
|
* mesa: remove const qualifiers to match device driver interface functionBrian Paul2008-09-261-2/+2
|
* gallium: rename tgsi_translate_mesa_program() to st_translate_mesa_program()Brian Paul2008-09-263-4/+4
|
* mesa: add some bracesBrian Paul2008-09-261-1/+2
|
* mesa: fix/simplify initialization of vertex/fragment program limitsBrian Paul2008-09-262-30/+27
| | | | | | Defaults for program length, num ALU instructions, num indirections, etc. basically indicate no limit for software rendering. Driver should override as needed.
* mesa: increase MAX_INSTRUCTIONSBrian Paul2008-09-261-4/+2
|
* mesa: fix swizzle failure, fix typoBrian Paul2008-09-261-3/+5
|
* mesa: fix default buffer object access valueBrian Paul2008-09-261-2/+9
|
* st: change from ** to * for st_unreference_framebuffer()Alan Hourihane2008-09-266-7/+7
|
* mesa: fix indentingKeith Whitwell2008-09-261-14/+14
|
* dri: remove unused files present only on gallium-0.2 branchKeith Whitwell2008-09-262-638/+0
|
* Merge commit 'origin/master' into HEADKeith Whitwell2008-09-2610-33/+53
|\ | | | | | | | | | | | | | | Conflicts: src/mesa/vbo/vbo.h src/mesa/vbo/vbo_exec_api.c src/mesa/vbo/vbo_exec_draw.c
| * mesa: fix cast/conversion for optional codeBrian2008-09-252-5/+7
| |
| * mesa: fix typo (s/feadback/feedback/). Fixes broken selection/feedback.Brian Paul2008-09-251-2/+2
| |
| * mesa: fix float->int mapping for glGetIntegerv(GL_DEPTH_CLEAR_VALUE)Brian Paul2008-09-252-3/+3
| |
| * mesa: fix some VBO buffer object issuesBrian Paul2008-09-252-11/+23
| | | | | | | | | | | | The VBO module may use a real VBO or a malloc'd buffer for vertex storage. Be careful not to accidentally replace the later with the former when drawing. Check if using a real VBO at destroy time to prevent a double-free.
| * mesa: fix function params to match prototypesSam Hocevar2008-09-251-5/+5
| |
| * mesa: prevent the slang code generator from aborting when faced with a ↵Sam Hocevar2008-09-251-1/+5
| | | | | | | | sampler variable redeclaration.
| * i965: support for sin() and cos() in vertex shaders.Sam Hocevar2008-09-251-0/+6
| |
| * i965: more meaningful message for unsupported opcodes.Sam Hocevar2008-09-252-3/+8
| |
| * intel: Fix clears to depth_stencil texture attachments.Eric Anholt2008-09-241-1/+1
| | | | | | | | | | | | Broken by 0adfd1021035e90995a25ec5f20b736e55075d92, showed up as an assertion failure in a software fallback in the shadowtex demo when we failed to recognize the texture format.
| * set SamplerUnit[] entry in load_texture() just to be safeBrian2008-09-241-0/+4
| | | | | | | | (cherry picked from commit fce4612f8a29ee1798c9326a431a139d856c7a04)
| * use PROGRAM_CONSTANT instead of PROGRAM_STATE_VAR when generating ↵Brian2008-09-241-1/+1
| | | | | | | | | | | | immediates/literals (cherry picked from commit fdc8636bdc65deb0d95a62a51c8d9bca05bc6bb8)
| * set program->SamplersUsed bit when using a texture instructionBrian2008-09-241-1/+4
| |
| * Remove ctx field from texenvprog_cacheBrian2008-09-241-4/+4
| |