summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/draw
Commit message (Collapse)AuthorAgeFilesLines
* Merge remote branch 'origin/gallium-0.2' into gallium-0.2Ben Skeggs2008-09-302-8/+13
|\
| * Merge commit 'origin/gallium-0.1' into gallium-0.2Keith Whitwell2008-09-181-2/+2
| |\ | | | | | | | | | | | | | | | Conflicts: src/mesa/shader/slang/slang_link.c
| | * gallium: fix wide point / point coord semantic info (generic, not fog)Brian Paul2008-09-171-2/+2
| | |
| * | draw: Silence compiler warnings on Windows.Michal Krol2008-09-141-1/+1
| | |
| * | gallium: avoid redundant tgsi_exec_machine_bind_shader() calls on draw exec pathBrian Paul2008-09-121-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.
* | Merge remote branch 'upstream/gallium-0.1' into nouveau-gallium-0.1Ben Skeggs2008-09-1139-148/+272
|\| | | | | | | | | Conflicts: configs/default
| * draw: Describe the steps in emit_load_R32G32B32A32.José Fonseca2008-09-031-0/+4
| |
| * gallium: fix out of bounds array errors in SSE executionBrian Paul2008-09-022-5/+16
| | | | | | | | | | | | 1. #define MAX_INPUTS/OUTPUTS/TEMPS/etc with better values. 2. Add assertions in aos_get_x86() to check register file indexes 3. Assert that constant regs haven't changed after running SSE code.
| * draw: Put INLINES where appropriate.José Fonseca2008-09-021-64/+85
| | | | | | | | In the hope of MSVC inline some more functions, but without much result.
| * draw: attempt atomic submit of large drawelements callsKeith Whitwell2008-08-266-26/+29
| |
| * gallium: added const qualifiers on some draw funcsBrian2008-08-252-4/+4
| |
| * gallium: refactor/replace p_util.h with util/u_memory.h and util/u_math.hBrian Paul2008-08-2436-39/+62
| | | | | | | | Also, rename p_tile.[ch] to u_tile.[ch]
| * gallium: replace align_int() with align()Brian Paul2008-08-221-3/+3
| | | | | | | | The two functions are identical. Removed align_int() from p_util.h
| * gallium: stop using FABSF() macroBrian Paul2008-08-222-4/+4
| |
| * gallium: use new util_fast_exp2(), _log2(), pow() functionsBrian Paul2008-08-221-2/+64
| | | | | | | | | | New code surrounded with #if FAST_MATH to allow comparing against original code if we need to debug.
| * gallium: fix typo in LINE() macro (replace i+1 with i1 var)Brian Paul2008-08-201-1/+1
| | | | | | | | | | We were sometimes referencing an invalid vertex. Fixes progs/trivial/line-clip.c test among others.
| * gallium: fix an assertionBrian Paul2008-08-191-1/+1
| |
* | Merge remote branch 'origin/gallium-0.1' into nouveau-gallium-0.1Ben Skeggs2008-08-143-4/+25
|\|
| * draw: Use KIL instead of KILP.Michal Krol2008-08-132-4/+4
| |
| * gallium: emit sprite coords (gl_PointCoord)Brian Paul2008-08-111-0/+21
| |
* | Merge remote branch 'origin/gallium-0.1' into nouveau-gallium-0.1Ben Skeggs2008-08-0710-23/+23
|\|
| * Merge tgsi/exec and tgsi/util directories.José Fonseca2008-07-2810-23/+23
| |
* | Merge remote branch 'upstream/gallium-0.1' into nouveau-gallium-0.1Ben Skeggs2008-07-141-5/+5
|\|
| * llvm: build fixes.Stephane Marchesin2008-07-131-5/+5
| |
* | Merge remote branch 'upstream/gallium-0.1' into nouveau-gallium-0.1Ben Skeggs2008-07-112-2/+2
|\|
| * draw: remove some debug outputZack Rusin2008-07-091-2/+0
| |
| * gallium: fix trim() function bug when count < firstBrian Paul2008-07-041-0/+2
| | | | | | | | | | If the user called glDrawArrays(GL_TRIANGLES, count=1), trim() returned a very large integer because of the unsigned arithmetic.
* | Merge remote branch 'upstream/gallium-0.1' into gallium-0.1Ben Skeggs2008-07-051-0/+2
|\|
| * gallium: Allow draw module to work on non-x86 platforms again.Michel Dänzer2008-07-021-0/+2
| |
* | Merge remote branch 'upstream/gallium-0.1' into nouveau-gallium-0.1Ben Skeggs2008-06-292-5/+5
|\|
| * gallium: Drop pipe_texture->cpp and pipe_surface->cpp.José Fonseca2008-06-272-5/+5
| | | | | | | | | | The chars-per-pixel concept falls apart with compressed and yuv images, where more than one pixel are coded in a single data block.
* | nouveau: major thinkoBen Skeggs2008-06-251-1/+1
| |
* | nouveau: update for interface changes + hack around gallium x86_64 bustageBen Skeggs2008-06-231-0/+2
|/
* draw: fix non-i386 buildsKeith Whitwell2008-06-221-1/+21
|
* draw: Fix MSVC integer size conversion warning.José Fonseca2008-06-191-1/+1
|
* gallium: additional fixes to ensure even number of vertices per bufferBrian Paul2008-06-184-0/+18
|
* gallium: split long prims into chunks with an even number of verticesBrian Paul2008-06-182-0/+13
| | | | | | This fixes culling "parity" errors when splitting long tri strips. Splitting strips into chunks with an odd number of vertices causes front/back-face orientation to get reversed and upsets culling.
* gallium: disable the codegen for TGSI_OPCODE_EXPBASE2 for now.Brian Paul2008-06-121-0/+7
| | | | | The x86 code seems to fail for exponents of 4 or larger. See glean's vertProg1/EX2 test.
* gallium: fix SSE codegen for instructions that use both a CONSTANT and IMMEDIATEKeith Whitwell2008-06-123-9/+22
| | | | | | | Fixes codegen for instructions like MUL dst, CONST[0], IMM[0]; the two operands would up getting aliased in the x86/sse code. Fixes glean/vertProg1/fogparams test.
* draw: don't assume vertex position is in data[0]Keith Whitwell2008-06-1115-60/+97
|
* draw: preserve specular alpha when flatshading -- may be FOGCKeith Whitwell2008-06-111-2/+28
|
* draw: remove another debug assert on failover to generic vs varientKeith Whitwell2008-06-111-2/+1
|
* draw: remove debug assert on failover to generic vs varientKeith Whitwell2008-06-111-1/+0
|
* Revert "draw: no need to rearrange most primitives in vcache for ↵Keith Whitwell2008-06-102-72/+56
| | | | | | flatshade-first" This reverts commit ad44e68706877ab06929747e7a82c718c1c27e02.
* draw: no need to rearrange most primitives in vcache for flatshade-firstKeith Whitwell2008-06-102-56/+72
| | | | | | | The driver/pipeline will still be applying flatshade-first state to the triangles emitted from vcache, so there's no need to rotate the vertices of most primitives. The only exception is POLYGON, as explained in the code.
* draw: fix edgeflags on clipped poly emitKeith Whitwell2008-06-101-1/+1
|
* draw: rework splitting of fan/loop prims in varray.c, fix flatshade issuesKeith Whitwell2008-06-102-116/+76
|
* gallium: Deprecate GETENV. Replace by debug_get_bool_option.José Fonseca2008-06-101-2/+2
| | | | | | debug_get_bool_option will interpret "n", "no", "0", "f", or "false" as FALSE; and everything else as TRUE. The default value (used when the variable is not set) is received as a parameter.
* gallium: disable a tgsi_dump() callBrian Paul2008-06-091-0/+2
|
* draw: fix temp vs output buffer typo in vsvg_run_eltsKeith Whitwell2008-06-071-1/+1
|