summaryrefslogtreecommitdiff
path: root/src/gallium/auxiliary/draw
AgeCommit message (Collapse)Author
2008-04-18draw: switch over to draw_pt paths, will remove old code shortlyKeith Whitwell
2008-04-18draw: remove draw_vf code, use translate insteadKeith Whitwell
2008-04-18draw: remove fetch_pipeline middle end -- just use the general pathKeith Whitwell
2008-04-18translate: add sse version based on old draw_vf_sse.cKeith Whitwell
2008-04-18gallium: Add missing files to scons.José Fonseca
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-17gallium: tweak x/ybias valuesBrian Paul
2008-04-17gallium: Add new file to scons build.Michel Dänzer
2008-04-17draw: move hw vertex emit to a new moduleKeith Whitwell
2008-04-17draw: don't always run pipeline if clippingKeith Whitwell
2008-04-17draw: add vertex shader run_linear functionKeith Whitwell
2008-04-17draw: add commentKeith Whitwell
2008-04-17draw: keep record of number of active vertex buffersKeith Whitwell
2008-04-17draw: remove misleading commentsKeith Whitwell
2008-04-16draw: allow pt paths to run without a vbuf render stageKeith Whitwell
2008-04-16draw: remove vbuf non-vf debug path, fix some failure modes in ↵Keith Whitwell
draw_vbuf_create()
2008-04-16draw: update debug codeKeith 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-15gallium: Add draw_pt_fetch_shade_pipeline.c to scons build.José Fonseca
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: remove dead codeKeith Whitwell
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-14draw: hide passthrough shading paths behind an environment variableKeith Whitwell
2008-04-14Implement fetch/shade/pipeline or emit vertex passthrough.Zack Rusin
2008-04-14Make shaders operate on a block of memory instead of arrays of vertex_header'sZack Rusin
2008-04-14return true if one of the vertices has been clippedZack Rusin
2008-04-14pass arbitrary number of vertices to the shader execution cycleZack Rusin
2008-04-14introduce a define to maxout the processed verticesZack Rusin
2008-04-12gallium: move duplicated compute_clipmask() code to draw_vs.hBrian
2008-04-11gallium: handle TGSI immediates in SSE code for vertex shadersBrian Paul
2008-04-10remove usage of vertex_headerKeith Whitwell
2008-04-07draw: strip edgeflags out of fetch-emit pathKeith Whitwell
2008-04-06draw: fix edgeflag handling on the pt pathsKeith Whitwell
Encode edgeflags (and reset_stipple info) into the top two bits of the fetch elements. This info could be moved elsewhere, but for now we can live with a 1<<30 maximum element size... Also use the primitive decomposition code from draw_prim.c verbatim, as it includes all this stuff and is known to work.
2008-04-05draw: Use debug_printf().Michal Krol
2008-04-04gallium: new debug code, disabledBrian Paul
2008-04-04gallium: Handle client-supplied edgeflags.Keith Whitwell
Also, implement support in the draw module. We were hardwiring these to one for quite a long time... Currently using a draw_set_edgeflags() function, may be better to push the argument into the draw_arrays() function. TBD.
2008-04-04draw: move code to run pipeline from pt to new fileKeith Whitwell
Add facility for draw_vbuf.c to reset these vertex ids on flushes. Pre-initialize vertex ids correctly.
2008-04-03draw: add passthrough path to the pipelineKeith Whitwell
This handles the case where bypass_vs is set, but vertices need to go through the pipeline for some reason - eg unfilled polygon mode. Demonstrates how to drive the pipeline from inside one of these things.
2008-04-02draw: add missing break statementKeith Whitwell
2008-04-02draw: Set the backend prim in the pt 'prepare' operationKeith Whitwell
Leaving it until 'run' is bad as the primitive is pretty much state for some drivers and so needs to get set early. In some drivers this is used to determine things like vertex format, etc -- by the time we get to 'run', it's too late to change this.
2008-04-02gallium: add a flag to turn on gl rasterization rulesKeith Whitwell
Use this to set up hardware rasterization (if your hardware can do it) or otherwise turn on various tweaks in the draw module. Currently only hooked up to point biasing code.
2008-04-02gallium: add temporary facility for rasterization-time clamping of point sizesKeith Whitwell