History log of /external/mesa3d/src/mesa/swrast/s_atifragshader.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
cbdc1d53542b3ecca0085399c4bb3b3371f94809 12-Jun-2012 Pauli Nieminen <pauli.nieminen@linux.intel.com> swrast: Support sampler object for texture fetching state

swrast needs to pass sampler object into all texture fetching functions
to use correct sampling state when sampler object is bound to the unit.
The changes were made using half manual regular expression replace.

v2: Fix NULL deref in _swrast_choose_triangle(), because the _Current
values aren't set yet, so we need to look at our texObj2D. (anholt)

Signed-off-by: Pauli Nieminen <pauli.nieminen@linux.intel.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/swrast/s_atifragshader.c
f9995b30756140724f41daf963fa06167912be7f 12-Oct-2010 Kristian Høgsberg <krh@bitplanet.net> Drop GLcontext typedef and use struct gl_context instead
/external/mesa3d/src/mesa/swrast/s_atifragshader.c
12e8e5ee952f0ffceee28fdeff35f790a37ab896 07-Aug-2010 Vinson Lee <vlee@vmware.com> swrast: Clean up header file inclusion in s_atifragshader.h.

s_atifragshader.h
Include mtypes.h for GLcontext symbol.
Include s_span.h for SWspan symbol.

s_atifragshader.c
Include s_context.h for SWcontext symbol.
/external/mesa3d/src/mesa/swrast/s_atifragshader.c
dba7875cdaff66fc5e8ffdd56055b5c0bb92f145 31-Jul-2010 Vinson Lee <vlee@vmware.com> swrast: Remove unnecessary headers.
/external/mesa3d/src/mesa/swrast/s_atifragshader.c
70c8d29b6bb3214966892d51e6b2befa7040622d 11-Jun-2010 Brian Paul <brianp@vmware.com> mesa: move atifragshader.[ch] to main/
/external/mesa3d/src/mesa/swrast/s_atifragshader.c
b30898f4ab533085d97a33638ad0a1cf9ddb1d67 14-Feb-2010 Karl Schultz <karl.w.schultz@gmail.com> mesa: Fix compiler warnings

Add explicit casts, fix constant types, fix variable types.
Fixes about 340 warnings in MSFT Visual Studio.
/external/mesa3d/src/mesa/swrast/s_atifragshader.c
880411c72aee7c0ec81366bdf6ab8cf25bebb9d5 28-Jan-2010 Brian Paul <brianp@vmware.com> swrast: silence double->float assignment warnings

Reported by Karl Schultz.
/external/mesa3d/src/mesa/swrast/s_atifragshader.c
78411881d344b4e2d7243b6f9bebc2d692e3d943 14-Jan-2010 Vinson Lee <vlee@vmware.com> swrast: Remove unnecessary header from s_atifragshader.c.
/external/mesa3d/src/mesa/swrast/s_atifragshader.c
1e444c9960b18bcee5216a49db997b1c5ec14eca 13-Dec-2009 Vinson Lee <vlee@vmware.com> swrast: Initialize tex_coords in handle_sample_op.
/external/mesa3d/src/mesa/swrast/s_atifragshader.c
de2afd8688ceb45013d15be7c6e0995199b80e5a 08-Mar-2009 Brian Paul <brianp@vmware.com> swrast: do texture sampling/combining in floating point

The code's cleaner and a step toward supporting float-valued texture sampling.
Some optimizations for common cases can be added and re-enabled...
/external/mesa3d/src/mesa/swrast/s_atifragshader.c
548be3846db59ad43934a159c051b359db6e56db 12-Mar-2009 Brian Paul <brianp@vmware.com> mesa: remove some last remnants of GL_MESA_program_debug
/external/mesa3d/src/mesa/swrast/s_atifragshader.c
bbd287103dad776d8a45c87c4e51fbc26d9b80d5 18-Sep-2008 Brian Paul <brian.paul@tungstengraphics.com> mesa: prefix a bunch of #include lines with "main/".

This is another step toward removing a whole bunch of -I flags from
the cc commands. Still need to address driver code...
/external/mesa3d/src/mesa/swrast/s_atifragshader.c
c223c6b663cd5db39ba19c2be74b88cc3b8f53f3 04-Jul-2007 Brian <brian.paul@tungstengraphics.com> Be more consistant with paths in #includes. Eventually, eliminate a bunch of -I flags.
/external/mesa3d/src/mesa/swrast/s_atifragshader.c
29c471aafc6a3fef23d553e31a555d1782854a77 22-Feb-2007 Brian <brian@yutani.localnet.net> Merge branch 'origin' into glsl-compiler-1

Conflicts:

src/mesa/main/state.c
src/mesa/shader/program.c
src/mesa/shader/program.h
src/mesa/shader/programopt.c
src/mesa/shader/slang/slang_execute.c
src/mesa/sources
src/mesa/swrast/s_arbshader.c
src/mesa/swrast/s_context.c
src/mesa/swrast/s_span.c
src/mesa/swrast/s_zoom.c
src/mesa/tnl/t_context.c
src/mesa/tnl/t_save_api.c
src/mesa/tnl/t_vb_arbprogram.c
src/mesa/tnl/t_vp_build.c
src/mesa/tnl/t_vtx_eval.c
f3e507ef9f75dbfc58ccd07b5fe8cfca10d9a9e3 01-Feb-2007 Brian <brian@yutani.localnet.net> New SWspanarrays attribs[] array.

Replace texcoord[], varying[], etc. arrays with single attribs[] array, indexed
by FRAG_ATTRIB_* values.
Eliminates need to copy data into fragment program machine input registers.
Will lead to future clean-ups.
/external/mesa3d/src/mesa/swrast/s_atifragshader.c
7e85b0a025a82c3ffed060a757a3b4adae03d269 23-Jan-2007 Brian <brian@nostromo.localnet.net> silence C++ warnings
/external/mesa3d/src/mesa/swrast/s_atifragshader.c
919cd2c3ba39bf4d8d2ffcea0daec7bab8645d34 22-Oct-2006 Brian Paul <brian.paul@tungstengraphics.com> move/improve comments, clean up code in a few places
/external/mesa3d/src/mesa/swrast/s_atifragshader.c
c3caaa3dd45809e672177ab322445fe51d03af25 18-Oct-2006 Brian Paul <brian.paul@tungstengraphics.com> Always convert colors to float before running a fragment shader/program.
/external/mesa3d/src/mesa/swrast/s_atifragshader.c
c2074645cd23e23ff86ed7f0a71845a3209f0bea 17-Oct-2006 Brian Paul <brian.paul@tungstengraphics.com> Move struct atifs_machine into s_atifragshader.c
Add support for runtime colorbuffer types.
/external/mesa3d/src/mesa/swrast/s_atifragshader.c
cdb27e8242215271364602995d85607cfc06d441 01-Oct-2006 Brian Paul <brian.paul@tungstengraphics.com> New SWspan and SWspanarrays typedefs.
/external/mesa3d/src/mesa/swrast/s_atifragshader.c
5e01f9a11489079d8509927774d8239c1857224a 03-Mar-2006 Roland Scheidegger <rscheidegger@gmx.ch> Fix bogus span mask in s_atifragshader.c leading to trouble when the pixel was later discarded by z test (this fixes doom3 r200 renderpath with swrast). Fix calling _swrast_alpha_test potentially leading to bogus results when Alpha Test might not be enabled. While here, don't disable deferred_texture (early z) when ATI_fragment_shader is active, as it is not necessary (for the record, this boosts doom3 swrast performance by roughly a factor of 2 (4 seconds per frame now...) with the r200 render path, might be a worthwile optimization for fragment programs which don't write z).
/external/mesa3d/src/mesa/swrast/s_atifragshader.c
63d683091fe3a9600b65ae7ef3b554168b805406 19-Nov-2005 Brian Paul <brian.paul@tungstengraphics.com> No longer derive 'ati_fragment_shader' from 'program' class. Only the
program->Id and program->RefCount fields were used and ATI fragment shaders
didn't have too much in common with ARB/NV vertex/fragment programs anyway.
/external/mesa3d/src/mesa/swrast/s_atifragshader.c
aa8abf8081023c00469b6c88760ed0291033eb6e 16-Sep-2005 Brian Paul <brian.paul@tungstengraphics.com> Rework the texture filtering functions a bit.
No need to pass the texture unit number as an argument.
/external/mesa3d/src/mesa/swrast/s_atifragshader.c
55187ea63e980b32c7a701855571332f4357d634 15-Sep-2005 Brian Paul <brian.paul@tungstengraphics.com> Update includes post-splitting of s_texture.c
/external/mesa3d/src/mesa/swrast/s_atifragshader.c
b346213960057a25edf404e3323fc9da4dc54c0e 09-Sep-2005 Roland Scheidegger <rscheidegger@gmx.ch> fix some bugs with handling of GL_DOT4_ATI, GL_DOT3_ATI and GL_DOT2_ADD_ATI ATI_fs instructions.
/external/mesa3d/src/mesa/swrast/s_atifragshader.c
b683b0df45de5f9fc83759b09d630fff7064e394 07-Sep-2005 Roland Scheidegger <rscheidegger@gmx.ch> fix bug with ATI_fragment_shader in swrast (need to copy all 4 values due to later applied srcRep)
/external/mesa3d/src/mesa/swrast/s_atifragshader.c
3c450b2917ee2eef06197b9ef546f19d06b7d76a 02-Sep-2005 Roland Scheidegger <rscheidegger@gmx.ch> ATI_fragment_shader fixes: fix bug in passTexCoord (caused by recent changes). Fix sampling from wrong texture unit. Apply swizzling before texture sampling, and hopefully get non-projected coordinates from swrast. (still does not work at all with sw doom3, way too dark just the same as with the doom3 arb2 path)
/external/mesa3d/src/mesa/swrast/s_atifragshader.c
f519a770d074dac9e188e3b450c828510506c46d 02-Sep-2005 Roland Scheidegger <rscheidegger@gmx.ch> add error checking to the GL_ATI_FRAGMENT_SHADER entrypoints. Fix bug with scope of ati fragment shader constants. Fix issues with specifying color/alpha instructions not pair-wise. Change internal representation of the shader (to better fit how the extension works, should make driver implementations simpler, and saves some memory). (still doesn't work correctly with doom3 and swrast, but not worse than before)
/external/mesa3d/src/mesa/swrast/s_atifragshader.c
6c58ddae17f63cd14b10d9022baee2ca6346fad2 17-Jan-2005 Brian Paul <brian.paul@tungstengraphics.com> fix a few warnings
/external/mesa3d/src/mesa/swrast/s_atifragshader.c
7f752fed993e5e9423abac200dd59141edbada56 19-Dec-2004 Dave Airlie <airliedfreedesktop.org> Implement software ATI_fragment_shader

no error detection, slow, may not be 100% correct but a good start
/external/mesa3d/src/mesa/swrast/s_atifragshader.c