summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/softpipe/sp_state_derived.c
AgeCommit message (Collapse)Author
2010-02-02softpipe: remove unnecessary #includeBrian Paul
2010-02-02llvmpipe: fix (potentially) broken AA points, AA linesBrian Paul
This patch duplicates the softpipe fix seen in the preceeding commit.
2009-12-25gallium: add geometry shader support to galliumZack Rusin
2009-12-01sp: Implement separate vertex sampler state.Michal Krol
2009-11-02softpipe: Sanitise shader semantic and interpolator handling.Michal Krol
Handle the remaining semantic names and indices. Respect color interpolator when not flatshading.
2009-09-23Merge branch 'softpipe-opt'Keith Whitwell
Conflicts: progs/demos/cubemap.c src/gallium/drivers/softpipe/sp_tex_sample.c src/gallium/drivers/softpipe/sp_texture.c
2009-09-22softpipe: disable a _debug_printf()Brian Paul
2009-09-17softpipe: Respect input interpolators for the shader.Michal Krol
2009-08-23softpipe: remove old prim_setup draw stageKeith Whitwell
Everything now goes through the draw_vbuf handler, the same as regular drivers.
2009-08-23Merge branch 'tex-tilecache' into softpipe-optKeith Whitwell
Conflicts: src/gallium/drivers/softpipe/sp_state_derived.c src/gallium/drivers/softpipe/sp_state_sampler.c src/gallium/drivers/softpipe/sp_tex_sample.c src/gallium/drivers/softpipe/sp_tex_sample.h src/gallium/drivers/softpipe/sp_tile_cache.c
2009-08-21softpipe: minor code refactoring to remove softpipe/tile cache dependenciesBrian Paul
The tile cache code now has no hard dependencies on softpipe.
2009-08-21softpipe: rework texture sampling codeKeith Whitwell
Split into component pieces, stitch together at runtime using function pointers. Make it possible to utilize the existing fastpaths as image-level filters for generic mip-filtering routines. Remove special case for rectangle filtering, as it can now be handled by the 2d path. As most of the mesa demo texturing was already covered by fast paths, its harder to find examples of speedups, but tunnel gets a boost as mip-nearest filtering is now able to access the img_2d_linear_wrap_POT functions for sampling within a mipmap level.
2009-08-20softpipe: allow the existing sampler routines to be hooked up directlyKeith Whitwell
Let eg. sp_get_samples_rect be hooked directly in as the tgsi sampler routine. Add a field to determine whether this is a vertex or fragment sampling call, and massage parameters to match the tgsi call.
2009-08-18softpipe: split texture and surface tile cachesKeith Whitwell
These do similar jobs but with largely disjoint code. Will want to evolve them separately going forward.
2009-07-27softpipe: example fast paths for simple samplersKeith Whitwell
All these fastpaths are examples of the types of things we'd code-generate in a more sophisticated version of softpipe.
2009-07-27softpipe: move all depth/stencil/alpha pixel processing into one stageKeith Whitwell
2009-07-25softpipe: fix error in scissor state dependenciesKeith Whitwell
2009-07-22softpipe: make some small steps to flush texture cache less frequentlyKeith Whitwell
No performance gain yet, but the code is a bit cleaner.
2009-07-22softpipe: remove backwards dependency from tilecache to softpipeKeith Whitwell
The tile cache is a utility, it shouldn't know anything about the entity which is making use of it (ie softpipe). Remove softpipe parameter to all the tilecache function calls, and also remove the need to keep a softpipe pointer in the sampler structs.
2009-07-01gallium: fix the front face semanticsZack Rusin
mesa allocates both frontface and pointcoord registers within the fog coordinate register, by using swizzling. to make it cleaner and easier for drivers we want each of them in its own register. so when doing compilation from the mesa IR to tgsi allocate new registers for both and add new semantics to the respective declarations.
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-04-10remove usage of vertex_headerKeith Whitwell
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-14gallium: fix some compiler warningsKeith Whitwell
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-02-27gallium: added draw_num_vs_outputs() to query number of post-transform ↵Brian
vertex attribs
2008-02-26gallium: remove unused varBrian
2008-02-26gallium: added tgsi_shader_field to sp_fragment_shaderBrian
Use the shader semantic info from there, instead of from pipe_shader_state. Carry this idea to draw module and other drivers...
2008-02-25softpipe: use draw_find_vs_output() directlyBrian
2008-02-18gallium: antialiased line drawingBrian
New draw/prim stage: draw_aaline. When installed, lines are replaced by textured quads to do antialiasing. The current user-defined fragment shader is modified to do a texture fetch and modulate fragment alpha.
2008-02-15Code reorganization: update build.José Fonseca
Update the Makefiles and includes for the new paths. Note that there hasn't been no separation of the Makefiles yet, and make is jumping all over the place. That will be taken care shortly. But for now, make should work. It was tested with linux and linux-dri. Linux-cell and linux-llvm might require some minor tweaks.
2008-02-15Code reorganization: move files into their places.José Fonseca
This is in a separate commit to ensure renames are properly preserved.