aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/util/u_simple_shaders.c
Commit message (Collapse)AuthorAgeFilesLines
* gallium/util: attempt to fix blitting multisample texture arraysMarek Olšák2013-03-111-1/+1
| | | | We don't have a test for this yet, but obviously the swizzle was wrong.
* gallium/util: fix glClear with MRT by making the FS write to all cbufsMarek Olšák2013-01-151-4/+30
| | | | Reviewed-by: Brian Paul <[email protected]>
* gallium/u_blitter: implement blitting multisample resourcesMarek Olšák2012-08-151-0/+133
| | | | It can blit only one sample at a time (it should be called in a loop).
* gallium/u_blitter: accelerate stencil-only copyingMarek Olšák2012-07-121-0/+46
| | | | | | This doesn't seem to be used by anything yet, but better safe than sorry. Reviewed-by: Alex Deucher <[email protected]>
* gallium/u_blitter: accelerate depth-stencil copying using shader stencil exportMarek Olšák2012-07-121-0/+54
| | | | | | This fixes stencil buffer write transfers on r600g. Reviewed-by: Alex Deucher <[email protected]>
* gallium: utility helper functions for stream outputMarek Olšák2011-12-151-1/+13
|
* u_blitter: interpolate clear color using a GENERIC varying instead of COLORMarek Olšák2010-11-281-4/+7
| | | | | | | | | | | There are also some u_simple_shaders changes. On r300, the TGSI_SEMANTIC_COLOR varying is a fixed-point number clamped to the range [0,1] and limited to 12 bits of precision. Therefore we can't use it for passing through a clear color in order to clear high precision texture formats. This also makes u_blitter use only one vertex shader instead of two.
* util: Include missing header in u_simple_shaders.c.Vinson Lee2010-08-261-0/+1
| | | | Include p_state.h for PIPE_MAX_COLOR_BUFS symbol.
* gallium: add interpolation parameter to simple shader functionsBrian Paul2010-06-031-4/+15
| | | | | This lets us specify linear interpolation instead of perspective interpolation for blit operations. Might be a bit faster.
* gallium: Make pipe_atomic a regular int32_t.José Fonseca2010-02-021-0/+1
|
* gallium/util: replace 8 with PIPE_MAX_COLOR_BUFSBrian Paul2010-01-051-2/+2
|
* gallium/util: comments and whitespace fixesBrian Paul2010-01-051-3/+15
|
* util: add new fragment shaders to simple_shadersMarek Olšák2009-12-151-7/+63
| | | | | | | | | | 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.
* util: add lost code to util_make_fragment_tex_shader_writemask()Keith Whitwell2009-10-051-1/+9
| | | | | This got ported to ureg at some point, but lost the code that distinguishes it from regular util_make_fragment_tex_shader().
* tgsi/ureg: VS inputs don't have any semantic tags, just an indexKeith Whitwell2009-09-121-3/+1
| | | | Fix ureg_DECL_vs_input to reflect this and fix up all callers.
* util: remove unneeded #includesBrian Paul2009-09-101-6/+0
|
* Merge branch 'mesa_7_5_branch' into mesa_7_6_branchBrian Paul2009-09-091-2/+0
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: Makefile configs/default progs/glsl/Makefile src/gallium/auxiliary/util/u_simple_shaders.c src/gallium/state_trackers/glx/xlib/xm_api.c src/mesa/drivers/dri/i965/brw_draw_upload.c src/mesa/drivers/dri/i965/brw_vs_emit.c src/mesa/drivers/dri/intel/intel_context.h src/mesa/drivers/dri/intel/intel_pixel.c src/mesa/drivers/dri/intel/intel_pixel_read.c src/mesa/main/texenvprogram.c src/mesa/main/version.h
| * util: add version of u_blit_pixels which takes a writemaskKeith Whitwell2009-09-021-2/+43
| | | | | | | | Values outside the writemask are set in the destination to {0,0,0,1}
* | util: add version of u_blit_pixels which takes a writemaskKeith Whitwell2009-09-031-2/+12
| | | | | | | | Values outside the writemask are set in the destination to {0,0,0,1}
* | aux/tgsi: pull back ureg work from 0.1 branchKeith Whitwell2009-09-031-1/+1
| | | | | | | | | | Manual merge of ureg changes on the branch. Too much unrelated stuff for a proper merge.
* | tgsi: Fix build error due to commit acc7da90Cooper Yuan2009-08-241-6/+6
| |
* | util: convert u_simple_shaders to use tgsi_uregKeith Whitwell2009-08-131-258/+60
|/ | | | Much nicer now.
* gallium: no need to keep a copy of shader tokens in state trackerKeith Whitwell2009-03-131-47/+29
| | | | | | | | 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...
* gallium: Remove some superfluous instances of #include "p_inlines.h".Michel Dänzer2009-03-041-1/+0
|
* mesa: Free the util shaders with the gallium's FREE.José Fonseca2009-02-191-0/+7
|
* util: Move p_debug.h into util module.José Fonseca2009-02-181-1/+1
| | | | | The debug functions depend on several util function for os abstractions, and these depend on debug functions, so a seperate module is not possible.
* gallium: make p_winsys internalZack Rusin2009-01-301-1/+1
| | | | | move it to pipe/internal/p_winsys_screen.h and start converting the state trackers to the screen usage
* gallium: refactor/replace p_util.h with util/u_memory.h and util/u_math.hBrian Paul2008-08-241-1/+1
| | | | Also, rename p_tile.[ch] to u_tile.[ch]
* Merge tgsi/exec and tgsi/util directories.José Fonseca2008-07-281-3/+3
|
* util: Fix build after TGSI declaration interface changes.Michal Krol2008-05-311-17/+16
|
* gallium: return pipe_shader_state from the simple shader functionsBrian2008-03-271-12/+19
| | | | Allows us to fix a mem leak (tokens array).
* gallium: enable vp input semantic infoBrian2008-03-201-9/+6
|
* gallium: Fix build on Windows.Michal Krol2008-03-201-1/+1
|
* gallium: Fix build on Windows.Michal Krol2008-03-201-2/+2
|
* gallium: remove unused local varKeith Whitwell2008-03-201-1/+1
|
* gallium: added util_make_fragment_passthrough_shader()Brian2008-03-201-0/+95
|
* gallium: utilities for creating simple vertex/fragment shadersBrian2008-03-181-0/+263