Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | llvmpipe: export the tgsi translation code to a common layer | Zack Rusin | 2010-02-08 | 1 | -6/+0 |
| | | | | | | | the llvmpipe tgsi translation is a lot more complete than what was in gallivm so replacing the latter with the former. this is needed since the draw llvm paths will use the same code. effectively the proven llvmpipe code becomes gallivm. | ||||
* | draw: add const qualifiers, fix return types | Brian Paul | 2010-02-02 | 1 | -2/+2 |
| | |||||
* | gallium: Rename PIPE_MAX_CONSTANT to PIPE_MAX_CONSTANT_BUFFERS. | Michal Krol | 2010-01-28 | 1 | -5/+5 |
| | |||||
* | gallium: Enable multiple constant buffers for vertex and geometry shaders. | Michal Krol | 2010-01-28 | 1 | -11/+17 |
| | |||||
* | draw: Fix memory leak in gs code | Jakob Bornecrantz | 2010-01-16 | 1 | -0/+1 |
| | |||||
* | draw: Add GALLIUM_DUMP_VS environment variable. | Luca Barbieri | 2010-01-15 | 1 | -0/+2 |
| | | | | | Add GALLIUM_DUMP_VS to dump the vertex shader to the console like GALLIUM_DUMP_FS in softpipe. | ||||
* | Merge branch 'master' into instanced-arrays | Michal Krol | 2010-01-05 | 1 | -3/+29 |
|\ | | | | | | | | | | | Conflicts: src/gallium/auxiliary/tgsi/tgsi_dump.c src/gallium/include/pipe/p_shader_tokens.h | ||||
| * | gallium: add geometry shader support to gallium | Zack Rusin | 2009-12-25 | 1 | -3/+29 |
| | | |||||
* | | Implement draw_arrays_instanced() in softpipe. | Michal Krol | 2009-12-29 | 1 | -0/+2 |
|/ | | | | | Modify the translate module to respect instance divisors and accept instance id as a parameter to calculate input vertex offset. | ||||
* | gallium: more work for edgeflags changes | Roland Scheidegger | 2009-12-14 | 1 | -0/+1 |
| | | | | | fixes, cleanups, etc. not working yet | ||||
* | gallium: first steps to treat edgeflags as regular vertex element | Keith Whitwell | 2009-12-09 | 1 | -2/+0 |
| | | | | | | | | | | The idea here is to eliminate the set_edgeflags() call in pipe_context by treating edgeflags as a regular vertex element. Edgeflags provoke special treatment in hardware, which means we need to label them in some way, in this case we'll be passing them through the vertex shader and labelling the vertex shader output with a new TGSI semantic (TGSI_SEMANTIC_EDGEFLAG). | ||||
* | gallium: reduce recursive include of tgsi_exec.h | Keith Whitwell | 2009-07-16 | 1 | -1/+2 |
| | | | | A lot of draw code no longer needs to see this header. | ||||
* | gallium: proper constructor and destructor for tgsi_exec_machine | Keith Whitwell | 2009-07-16 | 1 | -1/+1 |
| | | | | | Centralize the creation, initialization and destruction of this struct. Use align_malloc instead of home-brew alternatives. | ||||
* | Merge commit 'origin/gallium-0.1' into gallium-0.2 | Brian Paul | 2008-12-10 | 1 | -0/+2 |
|\ | |||||
| * | gallium: added draw_set_mrd() function to fix polygon offset | Brian Paul | 2008-12-10 | 1 | -0/+2 |
| | | | | | | | | | | | | | | | | 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... | ||||
* | | gallium: added draw_texture_samplers() to support texture fetches from ↵ | Brian | 2008-12-04 | 1 | -0/+3 |
| | | | | | | | | | | | | vertex shaders This may only be practical for the softpipe driver at this time. | ||||
* | | Merge commit 'origin/gallium-0.1' into gallium-0.2 | Keith Whitwell | 2008-10-10 | 1 | -0/+3 |
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/gallium/auxiliary/gallivm/instructionssoa.cpp src/gallium/auxiliary/gallivm/soabuiltins.c src/gallium/auxiliary/rtasm/rtasm_x86sse.c src/gallium/auxiliary/rtasm/rtasm_x86sse.h src/mesa/main/texenvprogram.c src/mesa/shader/arbprogparse.c src/mesa/shader/prog_statevars.c src/mesa/state_tracker/st_draw.c src/mesa/vbo/vbo_exec_draw.c | ||||
| * | draw: add switch for drivers to force vertex data passthrough | Keith Whitwell | 2008-10-07 | 1 | -0/+3 |
| | | |||||
* | | gallium: silence warning | Alan Hourihane | 2008-10-10 | 1 | -1/+1 |
|/ | |||||
* | Merge tgsi/exec and tgsi/util directories. | José Fonseca | 2008-07-28 | 1 | -2/+2 |
| | |||||
* | draw: don't assume vertex position is in data[0] | Keith Whitwell | 2008-06-11 | 1 | -1/+1 |
| | |||||
* | draw: respect driver's max vertex buffer size | Keith Whitwell | 2008-06-04 | 1 | -0/+1 |
| | |||||
* | draw: Remove const qualifier. | Michal Krol | 2008-05-31 | 1 | -1/+1 |
| | |||||
* | draw: add more switches to turn FSE on/off | Keith Whitwell | 2008-05-29 | 1 | -1/+2 |
| | |||||
* | draw: make sure constant buffer data is aligned before passing to aos.c | Keith Whitwell | 2008-05-29 | 1 | -1/+8 |
| | |||||
* | draw: draw_range_elements trial | Keith Whitwell | 2008-05-29 | 1 | -0/+2 |
| | |||||
* | draw: share machine | Keith Whitwell | 2008-05-29 | 1 | -0/+9 |
| | |||||
* | draw: create specialized vs varients incorporating fetch & emit | Keith Whitwell | 2008-05-23 | 1 | -0/+2 |
| | |||||
* | draw: move some state into a new 'vs' area | Keith Whitwell | 2008-05-23 | 1 | -9/+19 |
| | |||||
* | draw: get rid of fetch-shade-emit frontend hack | Keith Whitwell | 2008-05-23 | 1 | -1/+0 |
| | | | | The code is now living in it's intended place as a pt middle end. | ||||
* | draw: turn fse path into a middle end | Keith Whitwell | 2008-05-12 | 1 | -1/+1 |
| | | | | Also add some util functions in pt_util.c | ||||
* | draw: add fetch-shade-emit path | Keith Whitwell | 2008-05-12 | 1 | -0/+3 |
| | | | | | | | | Enable with TEST_FSE=t. Performs fetch from API-provided vertex buffers, transformation with one of three (two working) hard-coded shaders, and final emit to hardware vertices all in a single pass. Currently only really useful for profiling in conjunction with SP_NO_RAST=t. | ||||
* | redo the linear paths | Zack Rusin | 2008-05-08 | 1 | -0/+6 |
| | |||||
* | frontend for rendering without elts | Zack Rusin | 2008-04-25 | 1 | -0/+1 |
| | |||||
* | draw: handle edgeflags and reset-line-stipple again | Keith Whitwell | 2008-04-24 | 1 | -19/+21 |
| | |||||
* | gallium: fix issues in recursive flushing | Brian Paul | 2008-04-23 | 1 | -3/+3 |
| | | | | | | | | | | When flushing/rendering, some stages (like AA line/point) need to set pipe/driver state. Those driver functions often call draw_flush(). That leads to recursion. Use new draw->suspend_flush flag to explicitly prevent that in the key places. Remove the draw->vcache_flushing field. Reuse draw->flushing as a debug/assertion var. | ||||
* | gallium: added a flushing_vcache flag, test in draw_do_flush() | Brian Paul | 2008-04-22 | 1 | -0/+1 |
| | | | | Fixes broken polygon stipple, aaline, aapoint stages | ||||
* | draw: allow drivers to query pipeline state more easily | Keith Whitwell | 2008-04-22 | 1 | -2/+5 |
| | | | | | | Also, provide a separate flag to say whether the driver can handle clipping/rhw tasks, in addition to the API flag which indicates they have already been done. | ||||
* | gallium: Centralize SSE usage logic. | José Fonseca | 2008-04-21 | 1 | -2/+0 |
| | |||||
* | draw: move incoming vertex state into draw->pt | Keith Whitwell | 2008-04-19 | 1 | -24/+23 |
| | | | | | This state is effectively private to the vertex processing part of the draw module. | ||||
* | draw: make draw_reset_vertex_ids private to the draw_pipe_* code | Keith Whitwell | 2008-04-19 | 1 | -1/+0 |
| | |||||
* | draw: put pipeline flushing behind a new interface | Keith Whitwell | 2008-04-19 | 1 | -1/+4 |
| | |||||
* | draw: move pt_pipeline code to draw_pipe.c | Keith Whitwell | 2008-04-19 | 1 | -7/+17 |
| | | | | | This is now the drawing interface to the pipeline. No more calling into pipeline.first->tri(), etc. | ||||
* | draw: move some pipeline-specific code & state to draw_pipe.[ch] | Keith Whitwell | 2008-04-19 | 1 | -107/+25 |
| | |||||
* | draw: remove named clipmask flags, tidy up pt middle ends | Keith Whitwell | 2008-04-19 | 1 | -7/+2 |
| | |||||
* | draw: remove more dead data structures | Keith Whitwell | 2008-04-19 | 1 | -25/+0 |
| | |||||
* | draw: remove dead data structures | Keith Whitwell | 2008-04-19 | 1 | -59/+0 |
| | |||||
* | draw: remove old draw_vertex_shader_queue_flush function | Keith Whitwell | 2008-04-18 | 1 | -6/+0 |
| | |||||
* | draw: switch over to draw_pt paths, will remove old code shortly | Keith Whitwell | 2008-04-18 | 1 | -1/+0 |
| | |||||
* | draw: split off all the extra functionality in the vertex shader | Keith Whitwell | 2008-04-18 | 1 | -0/+2 |
| | | | | | | | | | | This will at least allow us to make the initial gains to get decent vertex performance much more quickly & with higher confidence of getting it right. At some later point can look again at code-generating all the fetch/cliptest/viewport extras in the same block as the vertex shader. For now, just need to get some decent baseline performance. |