summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/draw
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* draw: fix intermediate buffer confusion in draw_vs_varient.cKeith Whitwell2008-06-063-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 vcacheKeith Whitwell2008-06-061-1/+26
|
* draw: Compile draw_vs_aos only on x86.José Fonseca2008-06-062-0/+10
|
* draw: init vsvg draw pointerKeith Whitwell2008-06-042-3/+8
|
* draw: respect driver's max vertex buffer sizeKeith Whitwell2008-06-0410-25/+64
|
* Merge branch 'gallium-tex-surfaces' into gallium-0.1Keith Whitwell2008-06-031-12/+9
|\
| * draw: Use register names more consistently.Michal Krol2008-06-031-2/+3
| |
| * draw: Fix fetch_src(). Resurrect SSE version of DP3.Michal Krol2008-06-031-37/+6
| |
| * draw: Fix DP3 implementation by replacing SSE with x87 version.Michal Krol2008-06-021-1/+28
| |
* | draw: fast element translate path without deltaKeith Whitwell2008-06-021-31/+93
| |
* | gallium: Replace XSTDCALL by PIPE_CDECL.José Fonseca2008-06-021-1/+1
| |
* | draw: Fix MSVC warnings.José Fonseca2008-06-026-12/+13
| |
* | draw: Fix build after TGSI declaration interface changes.Michal Krol2008-05-313-46/+43
| |
* | draw: Remove const qualifier.Michal Krol2008-05-311-1/+1
| |
* | draw: Remove const qualifier.Michal Krol2008-05-311-1/+1
| |
* | draw: Eliminate stdio usage.José Fonseca2008-05-311-1/+1
| |
* | draw: trim incoming primitivesKeith Whitwell2008-05-301-0/+15
| |
* | Merge branch 'gallium-tex-surfaces' into gallium-0.1Jakob Bornecrantz2008-05-3023-405/+983
|\| | | | | | | | | | | Conflicts: src/gallium/drivers/i915simple/i915_context.h
| * draw: quieten some debugKeith Whitwell2008-05-291-1/+1
| |
| * draw: add more switches to turn FSE on/offKeith Whitwell2008-05-292-2/+4
| |
| * gallium: MSVC warning fixes.José Fonseca2008-05-293-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é Fonseca2008-05-291-3/+3
| | | | | | | | | | | | Conflicts: src/gallium/auxiliary/draw/draw_pt_fetch_shade_pipeline.c
| * draw: michal's patch for calling powf... teapot still not quite rightKeith Whitwell2008-05-292-0/+47
| |
| * draw: better calculation of fetch_countKeith Whitwell2008-05-291-3/+9
| |
| * draw: remove printfKeith Whitwell2008-05-291-2/+0
| |
| * draw: make sure constant buffer data is aligned before passing to aos.cKeith Whitwell2008-05-295-7/+33
| |
| * draw: draw_range_elements trialKeith Whitwell2008-05-298-7/+334
| |
| * scons: Remove duplicate entry.Michal Krol2008-05-291-1/+0
| |
| * draw: Put PIPE_CDECL in the right places.José Fonseca2008-05-293-12/+12
| | | | | | | | MSVC seems picky about this.
| * draw: share machineKeith Whitwell2008-05-2911-328/+412
| |
| * draw: enable FSE by defaultKeith Whitwell2008-05-286-64/+129
| |
| * draw: Use PIPE_CDECL.José Fonseca2008-05-282-11/+11
| |
| * scons: Add new files.José Fonseca2008-05-281-0/+3
| |
| * scons: List missing files for draw module.Michal Krol2008-05-281-1/+4
| |