summaryrefslogtreecommitdiff
path: root/src/gallium/auxiliary/draw/draw_vs_exec.c
AgeCommit message (Collapse)Author
2008-07-28Merge tgsi/exec and tgsi/util directories.José Fonseca
2008-05-23draw: create specialized vs varients incorporating fetch & emitKeith Whitwell
2008-05-23draw: move some state into a new 'vs' areaKeith Whitwell
2008-05-17gallium: in drivers, make copy of tokens passed to pipe->create_vs/fs_state()Brian Paul
The caller can then free the token array immediately.
2008-04-18draw: remove old vertex_shader->run() functionsKeith 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: add vertex shader run_linear functionKeith Whitwell
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: move vertex header init out of fetch_shade_pipeline.cKeith Whitwell
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-12gallium: move duplicated compute_clipmask() code to draw_vs.hBrian
2008-04-01draw: associate rhw divide with clipping not viewport flagKeith Whitwell
2008-03-31gallium: move the test for bypass_vs into the vs_XXX_run() functionsBrian
Also: 1. Added an identity_viewport flag to skip viewport transformation when it has no effect. Might also add an explicit bypass_viewport flag someday. 2. Separate the code for computing clip codes and doing the viewport transform. Predicate them separately. Note: even if bypass_vs is set, we still look at the shader to determine the number of inputs and outputs.
2008-03-27gallium: replace PIPE_ATTRIB_MAX with PIPE_MAX_ATTRIBSBrian
The later follows the naming scheme of other limits. Keep the old definition until all possible usage is updated.
2008-03-24gallium: make a copy of the vertex shader's token array.Brian
This solves problems when the state tracker frees the token array when the draw module still needs it.
2008-03-14gallium: added some debug code (disabled)Brian
2008-03-12gallium: change draw_vertex_shader->state from pointer to structBrian
We were sometimes keeping a pointer to a stack-allocated object. Now make a copy of the pipe_shader_state object. This should fix some seemingly random memory errors/crashes.
2008-03-04draw: dont' compute clipmask or apply viewport when not clipping (rename ↵Keith Whitwell
bypass_clipping to coords_in_window_space?
2008-02-27gallium: remove dependencies on pipe_shader_state's semantic infoBrian
Use tgsi_scan_shader() to populate a tgsi_shader_info struct and use that instead.
2008-02-15draw: subclass vertex shaders according to execution methodKeith Whitwell
Create new files for shaders compiled/executed with llvm, sse, exec respectively