summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2008-10-01tgsi: Include p_config.h.José Fonseca
2008-09-30cell: Fixed usage of MAX_INSTRUCTIONS to use new MAX_PROGRAM_INSTRUCTIONS ↵Jonathan White
instead of old MAX_NV_XXX definitions in order to allow Cell TGSI fragment program generator to work again.
2008-09-30cell: Moved X86 checks to wrap #include section so that Cell targets will ↵Jonathan White
compile again.
2008-10-01util: Fix util_fast_pow/exp2/log2.José Fonseca
- 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.
2008-09-30tgsi: SSE2 optimized exp2, log2 and pow implementations.José Fonseca
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).
2008-09-30util: Header for SSE2 intrinsics portability.José Fonseca
2008-09-29rtasm: Implement immediate group 1 instructions. Fix SIB emition.José Fonseca
2008-09-26cell: checkpoint: more work in emit_function_call()Brian Paul
Simple function call works now, but we don't save/restore the caller's registers yet.
2008-09-26cell: stub-out sin/cos function bodies to avoid trashing caller's stack for nowBrian Paul
2008-09-26gallium: SPU register commentsBrian Paul
2008-09-26cell: move command processing code into new spu_command.c fileBrian Paul
2008-09-26cell: move debug-related declarationsBrian Paul
2008-09-26cell: move debug macros into new spu_debug.hBrian Paul
2008-09-26cell: move really_clear_tiles()Brian Paul
2008-09-26cell: align instruction buffers to 8-byte, not 32-byte boundaryBrian Paul
2008-09-26cell: asst clean-up, var renamingBrian Paul
2008-09-26cell: remove unneeded blend/depth_stencil subclassesBrian Paul
2008-09-26cell: checkpoint: support for function calls in SPU shadersBrian Paul
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...
2008-09-26cell: inst reorder to save a cycleBrian Paul
2008-09-26st: add prototype for st_get_framebuffer_dimensions()Alan Hourihane
2008-09-26st: export st_get_framebuffer_dimensions() to retrieveAlan Hourihane
the width & height of the fb
2008-09-26mesa: fix incorrect parameter orderBrian Paul
2008-09-26mesa: remove const qualifiers to match device driver interface functionBrian Paul
2008-09-26gallium: rename tgsi_translate_mesa_program() to st_translate_mesa_program()Brian Paul
2008-09-26mesa: add some bracesBrian Paul
2008-09-26mesa: fix/simplify initialization of vertex/fragment program limitsBrian Paul
Defaults for program length, num ALU instructions, num indirections, etc. basically indicate no limit for software rendering. Driver should override as needed.
2008-09-26mesa: increase MAX_INSTRUCTIONSBrian Paul
2008-09-26mesa: fix swizzle failure, fix typoBrian Paul
2008-09-26mesa: fix default buffer object access valueBrian Paul
2008-09-26st: change from ** to * for st_unreference_framebuffer()Alan Hourihane
2008-09-26mesa: fix indentingKeith Whitwell
2008-09-26dri: remove unused files present only on gallium-0.2 branchKeith Whitwell
2008-09-26Merge commit 'origin/master' into HEADKeith Whitwell
Conflicts: src/mesa/vbo/vbo.h src/mesa/vbo/vbo_exec_api.c src/mesa/vbo/vbo_exec_draw.c
2008-09-26egl: cleanup doublebuffer checkAlan Hourihane
2008-09-26egl: switch to egl_glx.so as the default EGL driver for X.Alan Hourihane
2008-09-26egl: fudge with LIBGL_DRIVERS_PATH to pick up EGL specific DRI driver.Alan Hourihane
2008-09-26egl: Add new EGL driver that wraps GLX.Alan Hourihane
2008-09-25mesa: fix cast/conversion for optional codeBrian
2008-09-26util: Update fast_log2 article url.José Fonseca
2008-09-25mesa: fix typo (s/feadback/feedback/). Fixes broken selection/feedback.Brian Paul
2008-09-25mesa: fix float->int mapping for glGetIntegerv(GL_DEPTH_CLEAR_VALUE)Brian Paul
2008-09-25mesa: fix some VBO buffer object issuesBrian Paul
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.
2008-09-25mesa: fix function params to match prototypesSam Hocevar
2008-09-25mesa: prevent the slang code generator from aborting when faced with a ↵Sam Hocevar
sampler variable redeclaration.
2008-09-25i965: support for sin() and cos() in vertex shaders.Sam Hocevar
2008-09-25i965: more meaningful message for unsupported opcodes.Sam Hocevar
2008-09-24intel: Fix clears to depth_stencil texture attachments.Eric Anholt
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.
2008-09-24add cso_hash_contains() functionAlan Hourihane
2008-09-24set SamplerUnit[] entry in load_texture() just to be safeBrian
(cherry picked from commit fce4612f8a29ee1798c9326a431a139d856c7a04)
2008-09-24use PROGRAM_CONSTANT instead of PROGRAM_STATE_VAR when generating ↵Brian
immediates/literals (cherry picked from commit fdc8636bdc65deb0d95a62a51c8d9bca05bc6bb8)