summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/softpipe
AgeCommit message (Collapse)Author
2008-04-22gallium: move the vertex print/debug codeBrian Paul
2008-04-22Revert "softpipe: squash warning"Keith Whitwell
This reverts commit 1f0f029ba6f22ef4ada01fcdc153da91571a7963. Which broke the debug build.
2008-04-22softpipe: squash warningKeith Whitwell
2008-04-22softpipe: do something sensible on an error path, squash warningKeith Whitwell
2008-04-22softpipe: implement SP_NO_RAST env varKeith Whitwell
2008-04-22softpipe: make NUM_ENTRIES 32 so that div/mods are easierKeith Whitwell
2008-04-19draw: move some pipeline-specific code & state to draw_pipe.[ch]Keith Whitwell
2008-04-19softpipe: don't need to trim primsKeith Whitwell
2008-04-18softpipe: fix const-related compiler warningsKeith Whitwell
2008-04-17gallium: assert that we're not deleting the currently bound shaderBrian Paul
2008-04-16softpipe: call setup_prepare earlier so that vertex info is correct when queriedKeith Whitwell
2008-04-15gallium: Remove middle of scope declarations.José Fonseca
2008-04-14gallium: enable new quad output code, remove old codeBrian
2008-04-14gallium: fix PIPE_CAP_MAX_RENDER_TARGETS queryBrian
2008-04-14gallium: take reduced prim, fill modes into account when cullingBrian Paul
2008-04-14softpipe: calculate determinant for all triangles, don't rely on draw module ↵Keith Whitwell
to do it
2008-04-14softpipe: do our own culling, don't rely on the draw module.Keith Whitwell
May not always happen due to passthrough modes, etc.
2008-04-11gallium: merge the tgsi_emit_sse2() and tgsi_emit_sse2_fs() functions.Brian Paul
The two functions were mostly the same. We can look at the shader header info to determine if it's a vertex or fragment shader.
2008-04-11gallium: implement immediates (aka literals) for SSE fragment shadersBrian Paul
2008-04-10remove usage of vertex_headerKeith Whitwell
2008-04-09gallium: fix bug in PIPE_BLENDFACTOR_INV_DST_ALPHA caseBrian Paul
2008-04-08gallium: keep track of num_vertex_attribs/buffers for shorter loopsBrian
2008-04-07gallium: get rid of bufloop quad stageBrian
2008-04-07gallium: begin reworking quad stages for multiple color outputsBrian
2008-03-29gallium: Set vertex state/buffers en-mass.Brian Paul
2008-03-28gallium: Fix computation of Z values when not using early Z.Brian
This fixes the missing bitmaps in the engine and fogcoord demos.
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-26gallium: Change pipe->flush() interface to optionally return a fence.Michel Dänzer
The cell driver still uses an internal CELL_FLUSH_WAIT flag, in the long run proper fencing should be implemented for it.
2008-03-25gallium: added fragment emit/write debug countersBrian
2008-03-23gallium: wrap decls in extern "C"José Fonseca
2008-03-22gallium: remove temporary _screen suffix from function namesBrian
2008-03-20gallium: use new framebuffer width, height fieldsBrian
2008-03-19gallium: added fb_width/height fields to softpipe contextBrian Paul
These are convenience fields. Otherwise, we have to check cbuf[0] or zsbuf in various places.
2008-03-19gallium: add face, dirtyLevels params to pipe->texture_update()Brian Paul
This provides better information about which images in texture object have changed. Also, call texture_update() from more places previously missed.
2008-03-19gallium: set tc->surface_map = NULL after unmappingBrian
2008-03-17gallium: improvements, or extensions at least, to the passthrough pathKeith Whitwell
Passthrough is actually more tricky than you'd think...
2008-03-16gallium: finish remaining prim types for sp_vbuf_draw_arrays()Brian
Not totally tested, but easily fixed if glitches are found.
2008-03-14gallium: remove DOS carriage returnsBrian
2008-03-14gallium: remove DOS carriage returnsBrian
2008-03-14gallium: fix some compiler warningsKeith Whitwell
2008-03-13gallium: need to all draw_flush() in softpipe_unmap_constant_buffers()Brian
Otherwise, we won't have our constants when we run the fragment shader. Fixes crash in glsl tests when SP_VBUF=1.
2008-03-13gallium: in softpipe_get_vertex_info() generate a vbuf vertex_info with real ↵Brian
attribs Can't use the EMIT_ALL shortcut/optimization anymore because of passthrough mode.
2008-03-13gallium: plug in new sp_vbuf_draw_arrays() functionBrian
Will be used for pass-through mode. Also, call draw_set_render() to register the vbuf stage. Should probably rename that function to something like draw_set_vbuf_stage().
2008-03-13gallium: set surface status to CLEAR or DEFINED in clearing/drawing code.Brian
Otherwise, we were never setting these flags. This confused the state tracker. Fixes progs/demos/texenv.c, probably others.
2008-03-12gallium: Add TEX_FILTER_ANISO img filterKeith Whitwell
Hardware almost universally expects us to set a special filtering mode when anisotropic filtering is enabled, as opposed to varying a max-aniso values. Do this once in the state tracker & simplify the driver code.
2008-03-11gallium: rework CSO-related code in state trackerBrian
Use the code in cso_context.c rather than st_cache.c. Basically, binding of state objects now goes through the CSO module. But Vertex/fragment shaders go through pipe->bind_fs/vs_state() since they're not cached by the CSO module at this time. Also, update softpipe driver to handle NULL state objects in various places. This happens during context destruction. May need to update other drivers...
2008-03-12gallium: Silence MSVC warnings.José Fonseca
2008-03-10gallium: WinCE portability fixes.José Fonseca
2008-03-05gallium: michel's patch to rework texture/sampler binding interfaceKeith Whitwell
Bind all the samplers/textures at once rather than piecemeal. This is easier for drivers to understand.
2008-02-29scons: List sp_screen.c.Michal Krol