Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge remote branch 'origin/gallium-0.2' into gallium-0.2 | Ben Skeggs | 2008-09-30 | 34 | -198/+1433 |
|\ | |||||
| * | tgsi: SSE2 optimized exp2, log2 and pow implementations. | José Fonseca | 2008-09-30 | 1 | -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é Fonseca | 2008-09-30 | 1 | -0/+72 |
| | | |||||
| * | rtasm: Implement immediate group 1 instructions. Fix SIB emition. | José Fonseca | 2008-09-29 | 2 | -15/+62 |
| | | |||||
| * | gallium: SPU register comments | Brian Paul | 2008-09-26 | 1 | -2/+2 |
| | | |||||
| * | util: Update fast_log2 article url. | José Fonseca | 2008-09-26 | 1 | -1/+1 |
| | | |||||
| * | add cso_hash_contains() function | Alan Hourihane | 2008-09-24 | 2 | -0/+12 |
| | | |||||
| * | CELL: improve legibility of CELL_DEBUG environment variable output | Robert Ellison | 2008-09-23 | 1 | -1/+13 |
| | | |||||
| * | cell: use different opcodes for spe_move() depending on even/odd address | Brian Paul | 2008-09-19 | 1 | -1/+7 |
| | | |||||
| * | gallium: added spe_code_size() | Brian Paul | 2008-09-19 | 2 | -0/+8 |
| | | |||||
| * | cell: change spe_complement() to take a src and dst reg, like other instructions | Brian Paul | 2008-09-19 | 2 | -8/+10 |
| | | |||||
| * | Merge branch 'gallium-0.2' of ssh+git://git.freedesktop.org/git/mesa/mesa ↵ | José Fonseca | 2008-09-19 | 2 | -1/+26 |
| |\ | | | | | | | | | | into gallium-0.2 | ||||
| | * | CELL: add codegen for logic op, color mask | Robert Ellison | 2008-09-19 | 2 | -1/+26 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - rtasm_ppc_spe.c, rtasm_ppc_spe.h: added a new macro function "spe_load_uint" for loading and splatting unsigned integers in a register; it will use "ila" for values 18 bits or less, "ilh" for word values that are symmetric across halfwords, "ilhu" for values that have zeroes in their bottom halfwords, or "ilhu" followed by "iohl" for general 32-bit values. Of the 15 color masks of interest, 4 are 18 bits or less, 2 are symmetric across halfwords, 3 are zero in the bottom halfword, and 6 require two instructions to load. - cell_gen_fragment.c: added full codegen for logic op and color mask. | ||||
| * | | util: Use OpenGL rasterization rules in blits and mipmap generation. | José Fonseca | 2008-09-19 | 2 | -0/+2 |
| |/ | |||||
| * | Merge commit 'origin/gallium-0.1' into gallium-0.2 | Keith Whitwell | 2008-09-18 | 17 | -31/+206 |
| |\ | | | | | | | | | | | | | | | | Conflicts: src/mesa/shader/slang/slang_link.c | ||||
| | * | tgsi: Build tgsi_text with make | Jakob Bornecrantz | 2008-09-18 | 1 | -0/+1 |
| | | | |||||
| | * | util: A few more memory debugging checks. | José Fonseca | 2008-09-18 | 1 | -2/+29 |
| | | | |||||
| | * | util: Add missing p_debug.h include. | José Fonseca | 2008-09-18 | 1 | -0/+1 |
| | | | |||||
| | * | gallium: fix surface object memory leak in cso module | Brian Paul | 2008-09-18 | 1 | -0/+20 |
| | | | |||||
| | * | tgsi: Make tgsi dumps look more like mesa shader dumps. | Jakob Bornecrantz | 2008-09-18 | 1 | -2/+3 |
| | | | |||||
| | * | pipebuffer: New callback to flush all temporary-held buffers. | José Fonseca | 2008-09-18 | 9 | -11/+113 |
| | | | | | | | | | | | | | | | Used mostly to aid debugging memory issues or to clean up resources when the drivers are long lived. | ||||
| | * | gallium: fix wide point / point coord semantic info (generic, not fog) | Brian Paul | 2008-09-17 | 1 | -2/+2 |
| | | | |||||
| | * | gallium: fix tgsi sanity checker with respect to END. | Brian Paul | 2008-09-17 | 1 | -9/+7 |
| | | | | | | | | | | | | | | | | | | Subroutine code may be found after the END instruction so it's not always the last instruction. At least check for presence of exactly one END instruction though. | ||||
| | * | gallium: fix lack of surface reference counting in ↵ | Brian Paul | 2008-09-17 | 1 | -3/+21 |
| | | | | | | | | | | | | | | | | | | cso_set/save/restore_framebuffer() Fixes asst problems with FBO / render to texture. | ||||
| | * | gallium: fix info entries for KIL, KILP | Brian Paul | 2008-09-16 | 1 | -2/+2 |
| | | | | | | | | | | | | KIL takes 1 src register. KILP uses no registers (uses cond codes). | ||||
| | * | tgsi: Make tgsi_sanity.c compile with make | Jakob Bornecrantz | 2008-09-16 | 2 | -0/+7 |
| | | | |||||
| | * | gallium: add another value check to util_fast_pow() | Brian Paul | 2008-09-13 | 1 | -2/+4 |
| | | | | | | | | | | | | Fixes glitches seen in morph3d demo. | ||||
| * | | CELL: finish fragment ops blending (except for unusual D3D modes) | Robert Ellison | 2008-09-18 | 2 | -1/+48 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Added new "macro" functions spe_float_min() and spe_float_max() to rtasm_ppc_spe.{ch}. These emit instructions that cause the minimum or maximum of each element in a vector of floats to be saved in the destination register. - Major changes to cell_gen_fragment.c to implement all the blending modes (except for the mysterious D3D-based PIPE_BLENDFACTOR_SRC1_COLOR, PIPE_BLENDFACTOR_SRC1_ALPHA, PIPE_BLENDFACTOR_INV_SRC1_COLOR, and PIPE_BLENDFACTOR_INV_SRC1_ALPHA). - Some revamping of code in cell_gen_fragment.c: use the new spe_float_min() and spe_float_max() functions (instead of expanding these calculations inline via macros); create and use an inline utility function for handling "optional" register allocation (for the {1,1,1,1} vector, and the blend color vectors) instead of expanding with macros; use the Float Multiply and Subtract (fnms) instruction to simplify and optimize many blending calculations. | ||||
| * | | gallium: emit SPU instructions in assembler-compatible syntax | Brian Paul | 2008-09-15 | 1 | -8/+12 |
| | | | |||||
| * | | Fixed emit_RRR | Jonathan White | 2008-09-15 | 1 | -1/+1 |
| | | | |||||
| * | | draw: Silence compiler warnings on Windows. | Michal Krol | 2008-09-14 | 1 | -1/+1 |
| | | | |||||
| * | | gallium: add another value check to util_fast_pow() | Brian Paul | 2008-09-13 | 1 | -2/+4 |
| | | | | | | | | | | | | Fixes glitches seen in morph3d demo. | ||||
| * | | gallium: added print/dump code to SPE code emitter | Brian Paul | 2008-09-12 | 2 | -25/+113 |
| | | | |||||
| * | | gallium: added spe_splat_word() | Brian Paul | 2008-09-12 | 2 | -0/+29 |
| | | | |||||
| * | | gallium: avoid redundant tgsi_exec_machine_bind_shader() calls on draw exec path | Brian Paul | 2008-09-12 | 1 | -6/+11 |
| | | | | | | | | | | | | | | | | | | | | | tgsi_exec_machine_bind_shader() isn't cheap so avoiding unecessary calls is a big win. A similar change should be done for softpipe's fragment exec path but extra care needs to be taken with the texture sampler state/params. | ||||
| * | | gallium: use copy_token() function to avoid type punning/aliasing problems | Brian Paul | 2008-09-12 | 1 | -21/+33 |
| | | | | | | | | | | | | | | | | | | This fixes parsing errors seen with optimized builds on PPC (which led to crashes). The memcpy() is heavy-handed, but works. A lighter uint assignment could be used on x86... | ||||
| * | | gallium: use new compare32() function to fix warnings about type punning and ↵ | Brian Paul | 2008-09-12 | 1 | -10/+14 |
| | | | | | | | | | | | | aliasing | ||||
| * | | gallium: silence warning | Brian Paul | 2008-09-12 | 1 | -0/+1 |
| | | | |||||
| * | | gallium: minor optimization to spe_load_int() | Brian Paul | 2008-09-12 | 1 | -1/+2 |
| | | | |||||
| * | | gallium: initial PPC/Altivec codegen | Brian Paul | 2008-09-12 | 2 | -0/+546 |
| |/ | |||||
* | | Merge remote branch 'upstream/gallium-0.1' into nouveau-gallium-0.1 | Ben Skeggs | 2008-09-12 | 2 | -31/+176 |
|\| | |||||
| * | gallium: add special cases in spe_load_float(), spe_load_int(), added ↵ | Brian Paul | 2008-09-11 | 2 | -9/+40 |
| | | | | | | | | spe_splat() | ||||
| * | gallium: assorted additions and fixes to Cell SPE rtasm code | Brian Paul | 2008-09-11 | 2 | -21/+105 |
| | | | | | | | | | | | | | | Fix incorrect opcode for fsmbi. Added "macro" functions for loading floats/ints, register complement, zero, move. Added #defines for return address and stack pointer registers. Added assertions to check that the instruction buffer doesn't overflow. | ||||
| * | gallium: comments, assertions, etc | Brian Paul | 2008-09-11 | 2 | -13/+43 |
| | | |||||
* | | Merge remote branch 'upstream/gallium-0.1' into nouveau-gallium-0.1 | Ben Skeggs | 2008-09-11 | 111 | -1149/+3810 |
|\| | | | | | | | | | Conflicts: configs/default | ||||
| * | tgsi: Fix newline pos. | José Fonseca | 2008-09-10 | 1 | -1/+1 |
| | | |||||
| * | tgsi: Verify constants are set before attempting to read them. | José Fonseca | 2008-09-10 | 1 | -0/+1 |
| | | |||||
| * | util: Ensure we always have a full qualified file name on windows display. | José Fonseca | 2008-09-09 | 1 | -3/+27 |
| | | |||||
| * | util: Enable u_stream_std.c for PIPE_SUBSYSTEM_WINDOWS_USER. | Michal Krol | 2008-09-09 | 1 | -1/+1 |
| | | |||||
| * | tgsi: Cleanup code. | Michal Krol | 2008-09-08 | 1 | -50/+37 |
| | |