summaryrefslogtreecommitdiff
path: root/src/gallium/auxiliary/draw/draw_pt_fetch_shade_pipeline.c
AgeCommit message (Collapse)Author
2009-05-05gallium/draw: cope with unused vertex_elementsKeith Whitwell
2009-03-13gallium: consolidate bypass_vs and bypass_clipping flagsKeith Whitwell
The draw module provides a similar interface to the driver which is retained as various bits of hardware may be able to take on incremental parts of the vertex pipeline. However, there's no need to advertise all this complexity to the state tracker. There are basically two modes now - normal and passthrough/screen-coords.
2009-02-17draw: add map/unmap directives for swtnl driver interfaceKeith Whitwell
Previously draw module asked for a pointer into (mapped) vertex data, which it would incrementally fill and emit draw commands against. This was hard for the drivers to deal with, especially in the case where a draw command would force a flush and thus an unmap of the vertex data. With this change, the draw module explicitly maps & then unmaps vertex data prior to emitting draw commands.
2008-08-26draw: attempt atomic submit of large drawelements callsKeith Whitwell
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-06-18gallium: additional fixes to ensure even number of vertices per bufferBrian Paul
2008-06-04draw: respect driver's max vertex buffer sizeKeith Whitwell
2008-05-29psb: Make msvc happy.José Fonseca
Conflicts: src/gallium/auxiliary/draw/draw_pt_fetch_shade_pipeline.c
2008-05-29draw: draw_range_elements trialKeith Whitwell
2008-05-23draw: move some state into a new 'vs' areaKeith Whitwell
2008-05-08redo the linear pathsZack Rusin
2008-05-08implement linear emition and fetching and plug it in the varray pathsZack Rusin
2008-04-28gallium: Generate SSE code to swizzle and unswizzle vs inputs and outputs.Michal Krol
Change SSE_SWIZZLES #define to 0 to disable it.
2008-04-22draw: allow drivers to query pipeline state more easilyKeith Whitwell
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.
2008-04-21draw: propogate lots of errorsKeith Whitwell
2008-04-19draw: move incoming vertex state into draw->ptKeith Whitwell
This state is effectively private to the vertex processing part of the draw module.
2008-04-19draw: make room for extra_vs_outputsKeith Whitwell
2008-04-19draw: move pt_pipeline code to draw_pipe.cKeith Whitwell
This is now the drawing interface to the pipeline. No more calling into pipeline.first->tri(), etc.
2008-04-19draw: always emit header in draw_pt_fetch.cKeith Whitwell
2008-04-18draw: split off all the extra functionality in the vertex shaderKeith Whitwell
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.
2008-04-17draw: move hw vertex emit to a new moduleKeith Whitwell
2008-04-17draw: add vertex shader run_linear functionKeith Whitwell
2008-04-16draw: allow pt paths to run without a vbuf render stageKeith Whitwell
2008-04-16draw: make pt run pipeline when need_pipeline is true, not just when clippedKeith Whitwell
2008-04-15gallium: Switch one vertex path over to new translate moduleKeith Whitwell
Will eventually do this for all instances where we are converting vertices from one format to another.
2008-04-15draw: increment output vertex properlyKeith Whitwell
2008-04-15draw: fix first glitch in vertex emitKeith Whitwell
2008-04-15draw: fetch_shade_pipeline needs to translate to hw vertex format (from ↵Keith Whitwell
get_vertex_info)
2008-04-14use the new macroZack Rusin
2008-04-14silence some warningsZack Rusin
2008-04-14pass vertex size to shaders so that callee can decide on the sizeZack Rusin
of the vertices and not always have to use the maximum vertex allocation size for them
2008-04-14draw: always malloc verts for fetch_shade_pipelineKeith Whitwell
2008-04-14draw: flush pipeline before trying to allocate more hw verticesKeith Whitwell
2008-04-14draw: move vertex header init out of fetch_shade_pipeline.cKeith Whitwell
2008-04-14Implement fetch/shade/pipeline or emit vertex passthrough.Zack Rusin