Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | gallium: use new util_fast_exp2(), _log2(), pow() functions | Brian Paul | 2008-08-22 | 1 | -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 Paul | 2008-08-20 | 1 | -1/+1 |
| | | | | | We were sometimes referencing an invalid vertex. Fixes progs/trivial/line-clip.c test among others. | ||||
* | gallium: fix an assertion | Brian Paul | 2008-08-19 | 1 | -1/+1 |
| | |||||
* | draw: Use KIL instead of KILP. | Michal Krol | 2008-08-13 | 2 | -4/+4 |
| | |||||
* | gallium: emit sprite coords (gl_PointCoord) | Brian Paul | 2008-08-11 | 1 | -0/+21 |
| | |||||
* | Merge tgsi/exec and tgsi/util directories. | José Fonseca | 2008-07-28 | 10 | -23/+23 |
| | |||||
* | llvm: build fixes. | Stephane Marchesin | 2008-07-13 | 1 | -5/+5 |
| | |||||
* | draw: remove some debug output | Zack Rusin | 2008-07-09 | 1 | -2/+0 |
| | |||||
* | gallium: fix trim() function bug when count < first | Brian Paul | 2008-07-04 | 1 | -0/+2 |
| | | | | | If the user called glDrawArrays(GL_TRIANGLES, count=1), trim() returned a very large integer because of the unsigned arithmetic. | ||||
* | gallium: Allow draw module to work on non-x86 platforms again. | Michel Dänzer | 2008-07-02 | 1 | -0/+2 |
| | |||||
* | gallium: Drop pipe_texture->cpp and pipe_surface->cpp. | José Fonseca | 2008-06-27 | 2 | -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. | ||||
* | draw: fix non-i386 builds | Keith Whitwell | 2008-06-22 | 1 | -1/+21 |
| | |||||
* | draw: Fix MSVC integer size conversion warning. | José Fonseca | 2008-06-19 | 1 | -1/+1 |
| | |||||
* | gallium: additional fixes to ensure even number of vertices per buffer | Brian Paul | 2008-06-18 | 4 | -0/+18 |
| | |||||
* | gallium: split long prims into chunks with an even number of vertices | Brian Paul | 2008-06-18 | 2 | -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 Paul | 2008-06-12 | 1 | -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 IMMEDIATE | Keith Whitwell | 2008-06-12 | 3 | -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 Whitwell | 2008-06-11 | 15 | -60/+97 |
| | |||||
* | draw: preserve specular alpha when flatshading -- may be FOGC | Keith Whitwell | 2008-06-11 | 1 | -2/+28 |
| | |||||
* | draw: remove another debug assert on failover to generic vs varient | Keith Whitwell | 2008-06-11 | 1 | -2/+1 |
| | |||||
* | draw: remove debug assert on failover to generic vs varient | Keith Whitwell | 2008-06-11 | 1 | -1/+0 |
| | |||||
* | Revert "draw: no need to rearrange most primitives in vcache for ↵ | Keith Whitwell | 2008-06-10 | 2 | -72/+56 |
| | | | | | | flatshade-first" This reverts commit ad44e68706877ab06929747e7a82c718c1c27e02. | ||||
* | draw: no need to rearrange most primitives in vcache for flatshade-first | Keith Whitwell | 2008-06-10 | 2 | -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 emit | Keith Whitwell | 2008-06-10 | 1 | -1/+1 |
| | |||||
* | draw: rework splitting of fan/loop prims in varray.c, fix flatshade issues | Keith Whitwell | 2008-06-10 | 2 | -116/+76 |
| | |||||
* | gallium: Deprecate GETENV. Replace by debug_get_bool_option. | José Fonseca | 2008-06-10 | 1 | -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() call | Brian Paul | 2008-06-09 | 1 | -0/+2 |
| | |||||
* | draw: fix temp vs output buffer typo in vsvg_run_elts | Keith Whitwell | 2008-06-07 | 1 | -1/+1 |
| | |||||
* | draw: fix intermediate buffer confusion in draw_vs_varient.c | Keith Whitwell | 2008-06-06 | 3 | -83/+101 |
| | | | | | | The final output buffer can't be used to hold intermediate results as the intermediate vertex size may be greater than the final vertex size, and in any case the output buffer may be uncached in hw drivers. | ||||
* | draw: make sure middle-end primitive is uptodate in vcache | Keith Whitwell | 2008-06-06 | 1 | -1/+26 |
| | |||||
* | draw: Compile draw_vs_aos only on x86. | José Fonseca | 2008-06-06 | 2 | -0/+10 |
| | |||||
* | draw: init vsvg draw pointer | Keith Whitwell | 2008-06-04 | 2 | -3/+8 |
| | |||||
* | draw: respect driver's max vertex buffer size | Keith Whitwell | 2008-06-04 | 10 | -25/+64 |
| | |||||
* | Merge branch 'gallium-tex-surfaces' into gallium-0.1 | Keith Whitwell | 2008-06-03 | 1 | -12/+9 |
|\ | |||||
| * | draw: Use register names more consistently. | Michal Krol | 2008-06-03 | 1 | -2/+3 |
| | | |||||
| * | draw: Fix fetch_src(). Resurrect SSE version of DP3. | Michal Krol | 2008-06-03 | 1 | -37/+6 |
| | | |||||
| * | draw: Fix DP3 implementation by replacing SSE with x87 version. | Michal Krol | 2008-06-02 | 1 | -1/+28 |
| | | |||||
* | | draw: fast element translate path without delta | Keith Whitwell | 2008-06-02 | 1 | -31/+93 |
| | | |||||
* | | gallium: Replace XSTDCALL by PIPE_CDECL. | José Fonseca | 2008-06-02 | 1 | -1/+1 |
| | | |||||
* | | draw: Fix MSVC warnings. | José Fonseca | 2008-06-02 | 6 | -12/+13 |
| | | |||||
* | | draw: Fix build after TGSI declaration interface changes. | Michal Krol | 2008-05-31 | 3 | -46/+43 |
| | | |||||
* | | draw: Remove const qualifier. | Michal Krol | 2008-05-31 | 1 | -1/+1 |
| | | |||||
* | | draw: Remove const qualifier. | Michal Krol | 2008-05-31 | 1 | -1/+1 |
| | | |||||
* | | draw: Eliminate stdio usage. | José Fonseca | 2008-05-31 | 1 | -1/+1 |
| | | |||||
* | | draw: trim incoming primitives | Keith Whitwell | 2008-05-30 | 1 | -0/+15 |
| | | |||||
* | | Merge branch 'gallium-tex-surfaces' into gallium-0.1 | Jakob Bornecrantz | 2008-05-30 | 23 | -405/+983 |
|\| | | | | | | | | | | | Conflicts: src/gallium/drivers/i915simple/i915_context.h | ||||
| * | draw: quieten some debug | Keith Whitwell | 2008-05-29 | 1 | -1/+1 |
| | | |||||
| * | draw: add more switches to turn FSE on/off | Keith Whitwell | 2008-05-29 | 2 | -2/+4 |
| | | |||||
| * | gallium: MSVC warning fixes. | José Fonseca | 2008-05-29 | 3 | -9/+11 |
| | | | | | | | | | | | | | | | | Conflicts: src/gallium/auxiliary/draw/draw_pt_varray.c src/gallium/auxiliary/draw/draw_pt_varray_tmp.h src/gallium/auxiliary/draw/draw_pt_vcache.c | ||||
| * | psb: Make msvc happy. | José Fonseca | 2008-05-29 | 1 | -3/+3 |
| | | | | | | | | | | | | Conflicts: src/gallium/auxiliary/draw/draw_pt_fetch_shade_pipeline.c |