aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/softpipe/sp_fs_exec.c
Commit message (Collapse)AuthorAgeFilesLines
* gallium: replace INLINE with inlineIlia Mirkin2015-07-211-1/+1
| | | | | | | | | | | | | | | | Generated by running: git grep -l INLINE src/gallium/ | xargs sed -i 's/\bINLINE\b/inline/g' git grep -l INLINE src/mesa/state_tracker/ | xargs sed -i 's/\bINLINE\b/inline/g' git checkout src/gallium/state_trackers/clover/Doxyfile and manual edits to src/gallium/include/pipe/p_compiler.h src/gallium/README.portability to remove mentions of the inline define. Signed-off-by: Ilia Mirkin <[email protected]> Acked-by: Marek Olšák <[email protected]>
* softpipe: fix stencil write to use an integer valueDave Airlie2015-04-231-1/+1
| | | | | | | | | | | This fixes a number of regressions since 61393bdcdc3b63624bf6e9730444f5e9deeedfc8 u_tile: fix stencil texturing tests under softpipe Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=89960 Reviewed-by: Brian Paul <[email protected]> Reviewed-by: Roland Scheidegger <[email protected]> Signed-off-by: Dave Airlie <[email protected]>
* softpipe: remove unused softpipe_create_fs_variant_exec() parameterBrian Paul2014-10-311-2/+1
| | | | Reviewed-by: Charmaine Lee <[email protected]>
* s/Tungsten Graphics/VMware/José Fonseca2014-01-171-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Tungsten Graphics Inc. was acquired by VMware Inc. in 2008. Leaving the old copyright name is creating unnecessary confusion, hence this change. This was the sed script I used: $ cat tg2vmw.sed # Run as: # # git reset --hard HEAD && find include scons src -type f -not -name 'sed*' -print0 | xargs -0 sed -i -f tg2vmw.sed # # Rename copyrights s/Tungsten Gra\(ph\|hp\)ics,\? [iI]nc\.\?\(, Cedar Park\)\?\(, Austin\)\?\(, \(Texas\|TX\)\)\?\.\?/VMware, Inc./g /Copyright/s/Tungsten Graphics\(,\? [iI]nc\.\)\?\(, Cedar Park\)\?\(, Austin\)\?\(, \(Texas\|TX\)\)\?\.\?/VMware, Inc./ s/TUNGSTEN GRAPHICS/VMWARE/g # Rename emails s/[email protected]/[email protected]/ s/[email protected]/[email protected]/g s/jrfonseca-at-tungstengraphics-dot-com/jfonseca-at-vmware-dot-com/ s/jrfonseca\[email protected]/[email protected]/g s/keithw\[email protected]/[email protected]/g s/[email protected]/[email protected]/g s/thomas-at-tungstengraphics-dot-com/thellstom-at-vmware-dot-com/ s/[email protected]/[email protected]/ # Remove dead links s@Tungsten Graphics (http://www.tungstengraphics.com)@Tungsten Graphics@g # C string src/gallium/state_trackers/vega/api_misc.c s/"Tungsten Graphics, Inc"/"VMware, Inc"/ Reviewed-by: Brian Paul <[email protected]>
* softpipe/draw/tgsi: simplify driver/tgsi sampler interfaceRoland Scheidegger2013-02-281-5/+4
| | | | | | | | | | | | | | | Use a single sampler adapter instead of per-sampler-unit samplers, and just pass along texture unit and sampler unit in the calls. The reason is that for dx10-style sample opcodes pre-wired samplers including all the texture state aren't really feasible (and for sample_i/sviewinfo we don't even have samplers). Of course right now softpipe doesn't actually do anything more than just look up all its pre-wired per-texunit/per-samplerunit sampler as it did before so this doesn't really achieve much except one more function call, however this is now all softpipe's fault (fixing that in a way which doesn't suck is still an unsolved problem). Reviewed-by: Jose Fonseca <[email protected]>
* softpipe: fix up FS variant unbinding / deletionBrian Paul2012-12-191-1/+6
| | | | | | | | | | | | The old call to tgsi_exec_machine_bind_shader() in softpipe_delete_fs_state() was never called since the shader's original tokens are never passed to the tgsi interpreter (only shader _variant_ tokens are). Now, unbind the variant's tokens from the tgsi interpreter when we free the variant. This doesn't fix any known bugs but it's the right thing to do. Note: This is a candidate for the stable branches.
* softpipe: fix unreliable FS variant binding bugBrian Paul2012-12-191-7/+4
| | | | | | | | | | | | | In exec_prepare() we were comparing pointers to see if the fragment shader variant had changed before calling tgsi_exec_machine_bind_shader(). This didn't work reliably when there was a lot of shader token malloc/ freeing going on because the memory might get reused. Instead, bind the shader variant during regular state validation. Fixes http://bugs.freedesktop.org/show_bug.cgi?id=40404 (fixes a couple of piglit's glsl-max-varyings test) Note: This is a candidate for the stable branches.
* softpipe: implement fragment shader variantsBrian Paul2011-07-211-19/+17
| | | | We'll need shader variants to accomodate the new polygon stipple utility.
* softpipe: remove obsolete commentBrian Paul2011-07-211-4/+0
|
* gallium/tgsi: add support for stencil writes.Dave Airlie2010-10-131-2/+10
| | | | | | this adds the capability + a stencil semantic id, + tgsi scan support. Signed-off-by: Dave Airlie <[email protected]>
* softpipe: fix memcpy params to avoid static analysis warningsBrian Paul2010-03-101-1/+6
| | | | See fd.o bug 26970. Also added sanity check assertions.
* softpipe: setup machine->Face without a conditionalBrian Paul2009-12-011-5/+2
|
* softpipe: Initialise TGSI machine's Face.Michal Krol2009-11-231-1/+7
|
* softpipe: Grab fs output z from the correct file.Michal Krol2009-09-251-1/+1
|
* softpipe: reduce textual differences between exec and sse shader pathsKeith Whitwell2009-08-111-25/+26
| | | | | Unshare one function (setup_pos_vector) as we want to push this code into the generated shader in the SSE case.
* softpipe: setup quad outputs from with fs->runKeith Whitwell2009-07-301-1/+33
|
* softpipe: reformatting, comments, minor clean-upsBrian Paul2009-03-221-9/+8
|
* gallium: Remove some superfluous instances of #include "p_inlines.h".Michel Dänzer2009-03-041-1/+0
|
* softpipe: rename sp_headers.h to sp_quad.hBrian2009-02-111-1/+1
| | | | This header describes the quad-related datatypes afterall.
* softpipe: remove old/unneeded dependencies between TGSI exec and softpipeBrian2008-11-231-1/+1
| | | | | Use tgsi_sampler struct as a base class. Softpipe subclasses it and adds the fields it needs.
* gallium: remove unused varBrian Paul2008-10-211-3/+0
|
* gallium: fix the shader-rebind test in softpipe, as was done for the draw ↵Brian Paul2008-10-151-4/+1
| | | | module.
* gallium: temporariliy revert softpipe shader optimizationBrian Paul2008-10-151-1/+2
|
* softpipe: Obey const qualifier.José Fonseca2008-09-191-2/+2
|
* cell: dump generated code if CELL_DEBUG=asmBrian Paul2008-09-171-5/+24
|
* softpipe: Split changing fields of quad_header into input, inout and output ↵Michal Krol2008-09-081-1/+1
| | | | parts.
* 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-2/+2
|
* gallium: in drivers, make copy of tokens passed to pipe->create_vs/fs_state()Brian Paul2008-05-171-1/+4
| | | | The caller can then free the token array immediately.
* Bring in several forgotten MSVC fixes.José Fonseca2008-02-231-2/+2
|
* [PATCH] softpipe: unbreak sp_setup_pos_vector on non-x86 systemsKeith Whitwell2008-02-211-0/+35
|
* Merge commit 'origin/gallium-0.1' into gallium-0.1Keith Whitwell2008-02-151-0/+112
Conflicts: src/gallium/drivers/softpipe/sp_quad_fs.c src/gallium/drivers/softpipe/sp_state.h src/gallium/drivers/softpipe/sp_state_fs.c