summaryrefslogtreecommitdiff
path: root/src/gallium/auxiliary/util/u_simple_shaders.h
AgeCommit message (Collapse)Author
2009-12-15util: add new fragment shaders to simple_shadersMarek Olšák
New shaders: * Fragment shader which writes depth sampled from a texture * Fragment shader which copies COLOR[0] to multiple render targets Additional improvements: * The fragment 'tex' shaders now take a sampler type (TGSI_TEXTURE_*) so that they can sample from any type of texture, not only from a 2D one.
2009-09-03util: add version of u_blit_pixels which takes a writemaskKeith Whitwell
Values outside the writemask are set in the destination to {0,0,0,1}
2009-03-13gallium: no need to keep a copy of shader tokens in state trackerKeith Whitwell
Any driver who needs a copy of the shader tokens must organize to do so itself. This has been the case for a long time, but there was still defensive code in the state tracker, which is now removed. Any bugs resulting from this need to be fixed in the offending driver...
2009-02-19mesa: Free the util shaders with the gallium's FREE.José Fonseca
2008-03-27gallium: return pipe_shader_state from the simple shader functionsBrian
Allows us to fix a mem leak (tokens array).
2008-03-20gallium: added util_make_fragment_passthrough_shader()Brian
2008-03-18gallium: utilities for creating simple vertex/fragment shadersBrian