summaryrefslogtreecommitdiff
path: root/src/gallium/auxiliary/draw
AgeCommit message (Collapse)Author
2008-12-11draw: Silencium compiler warnings on Windows.Michal Krol
2008-12-10gallium: added draw_set_mrd() function to fix polygon offsetBrian Paul
The Minimum Resolvable Depth factor depends on the driver and can't just be computed from the number of Z buffer bits. Glean's polygon offset test now passes with softpipe. Still need to determine the MRD factor for other gallium drivers, if they use the draw module's polygon offset stage...
2008-12-10draw: add const qualifiersKeith Whitwell
2008-11-12draw: Add missing include.Michal Krol
2008-11-06gallium: debug code to print vertex array data (disabled)Brian Paul
2008-11-05gallium: call tgsi_set_exec_mask() and use exec mask in SSE ARL codeBrian Paul
This prevents vertex shaders from referencing invalid memory locations when the shader is operating on less than four vertices or fragments.
2008-11-05gallium: added some debug code (disabled)Brian Paul
2008-11-05gallium: disable some debug outputBrian Paul
2008-11-05draw: Implement TGSI_OPCODE_TRUNC.michal
2008-10-07draw: don't assume output buffer pointer is alignedKeith Whitwell
2008-10-07draw: add switch for drivers to force vertex data passthroughKeith Whitwell
2008-10-06draw: Fix compiler errors on Windows.Michal Krol
2008-10-06make draw's vertex_info struct smaller/quicker to compare with memcmp()Keith Whitwell
2008-10-02draw: modify prefetching slightlyKeith Whitwell
2008-10-02draw: don't keep refetching constant inputsKeith Whitwell
2008-10-02draw: add streamlined paths for fetching linear vertsKeith Whitwell
2008-09-28Gallivm: make it compile again, add some opcodes.Stephane Marchesin
2008-09-17gallium: fix wide point / point coord semantic info (generic, not fog)Brian Paul
2008-09-03draw: Describe the steps in emit_load_R32G32B32A32.José Fonseca
2008-09-02gallium: fix out of bounds array errors in SSE executionBrian Paul
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.
2008-09-02draw: Put INLINES where appropriate.José Fonseca
In the hope of MSVC inline some more functions, but without much result.
2008-08-26draw: attempt atomic submit of large drawelements callsKeith Whitwell
2008-08-25gallium: added const qualifiers on some draw funcsBrian
2008-08-24gallium: refactor/replace p_util.h with util/u_memory.h and util/u_math.hBrian Paul
Also, rename p_tile.[ch] to u_tile.[ch]
2008-08-22gallium: replace align_int() with align()Brian Paul
The two functions are identical. Removed align_int() from p_util.h
2008-08-22gallium: stop using FABSF() macroBrian Paul
2008-08-22gallium: use new util_fast_exp2(), _log2(), pow() functionsBrian Paul
New code surrounded with #if FAST_MATH to allow comparing against original code if we need to debug.
2008-08-20gallium: fix typo in LINE() macro (replace i+1 with i1 var)Brian Paul
We were sometimes referencing an invalid vertex. Fixes progs/trivial/line-clip.c test among others.
2008-08-19gallium: fix an assertionBrian Paul
2008-08-13draw: Use KIL instead of KILP.Michal Krol
2008-08-11gallium: emit sprite coords (gl_PointCoord)Brian Paul
2008-07-28Merge tgsi/exec and tgsi/util directories.José Fonseca
2008-07-13llvm: build fixes.Stephane Marchesin
2008-07-09draw: remove some debug outputZack Rusin
2008-07-04gallium: fix trim() function bug when count < firstBrian Paul
If the user called glDrawArrays(GL_TRIANGLES, count=1), trim() returned a very large integer because of the unsigned arithmetic.
2008-07-02gallium: Allow draw module to work on non-x86 platforms again.Michel Dänzer
2008-06-27gallium: Drop pipe_texture->cpp and pipe_surface->cpp.José Fonseca
The chars-per-pixel concept falls apart with compressed and yuv images, where more than one pixel are coded in a single data block.
2008-06-22draw: fix non-i386 buildsKeith Whitwell
2008-06-19draw: Fix MSVC integer size conversion warning.José Fonseca
2008-06-18gallium: additional fixes to ensure even number of vertices per bufferBrian Paul
2008-06-18gallium: split long prims into chunks with an even number of verticesBrian Paul
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.
2008-06-12gallium: disable the codegen for TGSI_OPCODE_EXPBASE2 for now.Brian Paul
The x86 code seems to fail for exponents of 4 or larger. See glean's vertProg1/EX2 test.
2008-06-12gallium: fix SSE codegen for instructions that use both a CONSTANT and IMMEDIATEKeith Whitwell
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.
2008-06-11draw: don't assume vertex position is in data[0]Keith Whitwell
2008-06-11draw: preserve specular alpha when flatshading -- may be FOGCKeith Whitwell
2008-06-11draw: remove another debug assert on failover to generic vs varientKeith Whitwell
2008-06-11draw: remove debug assert on failover to generic vs varientKeith Whitwell
2008-06-10Revert "draw: no need to rearrange most primitives in vcache for ↵Keith Whitwell
flatshade-first" This reverts commit ad44e68706877ab06929747e7a82c718c1c27e02.
2008-06-10draw: no need to rearrange most primitives in vcache for flatshade-firstKeith Whitwell
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.
2008-06-10draw: fix edgeflags on clipped poly emitKeith Whitwell