summaryrefslogtreecommitdiffstats
path: root/src/mesa/shader/atifragshader.c
Commit message (Collapse)AuthorAgeFilesLines
* mesa: move atifragshader.[ch] to main/Brian Paul2010-06-101-794/+0
|
* mesa: Make FEATURE_ATI_fragment_shader more modular.Chia-I Wu2010-05-121-0/+25
| | | | | | This allows atifragshader.h to be used without knowing if FEATURE_ATI_fragment_shader is enabled. As a result, atifragshader.c is removed from the omit list in ES overlay.
* Replace _mesa_malloc, _mesa_calloc and _mesa_free with plain libc versionsKristian Høgsberg2010-02-191-8/+8
|
* Remove _mesa_memset in favor of plain memset.Kenneth Graunke2010-02-191-1/+1
| | | | This may break the SUNOS4 build, but it's no longer relevant.
* Remove _mesa_strlen in favor of plain strlen.Kenneth Graunke2010-02-191-1/+1
|
* Remove _mesa_strncat in favor of plain strncat.Kenneth Graunke2010-02-191-8/+8
|
* mesa: change ctx->Driver.ProgramStringNotify() to return GLbooleanBrian Paul2010-02-041-4/+12
| | | | | | | | | | | | | GL_TRUE indicates that the driver accepts the program. GL_FALSE indicates the program can't be compiled/translated by the driver for some reason (too many resources used, etc). Propogate this result up to the GL API: set GL_INVALID_OPERATION error if glProgramString() was called. Set shader program link status to GL_FALSE if glLinkProgram() was called. At this point, drivers still don't do any program checking and always return GL_TRUE.
* mesa: Fix a NULL deref in glDeleteFragmentShaderATI(badname);Eric Anholt2009-12-221-3/+5
| | | | Fixes piglit ati-fs-bad-delete. Caught by clang.
* mesa: prefix a bunch of #include lines with "main/".Brian Paul2008-09-181-7/+7
| | | | | This is another step toward removing a whole bunch of -I flags from the cc commands. Still need to address driver code...
* fix swizzle error test (bug 11881)Brian2007-08-071-2/+2
|
* call Driver.ProgramStringNotify if a ati_fragment_shader changes and pick up ↵Roland Scheidegger2006-11-291-0/+2
| | | | the change in the r200 driver accordingly.
* No longer derive 'ati_fragment_shader' from 'program' class. Only theBrian Paul2005-11-191-40/+68
| | | | | 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.
* fix incorrect swizzling handling. fix code so it can potentially handle ↵Roland Scheidegger2005-09-081-13/+18
| | | | implementations with less than 6 texture units correctly.
* add a bunch of FLUSH_VERTICES to some of the ATI_fs functions, most notably ↵Roland Scheidegger2005-09-081-0/+4
| | | | when changing the global ati fragment shader constants.
* fix var declaration so that a C compiler can build it.Karl Schultz2005-09-051-1/+2
|
* add error checking to the GL_ATI_FRAGMENT_SHADER entrypoints. Fix bug with ↵Roland Scheidegger2005-09-021-60/+340
| | | | 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)
* add number of passes count to ati_fragment_shaderDave Airlie2005-01-301-1/+12
|
* Update glDeletePrograms/Buffers() so that the ID is freed immediately, likeBrian Paul2005-01-201-0/+9
| | | | texture objects.
* Implement software ATI_fragment_shaderDave Airlie2004-12-191-0/+419
no error detection, slow, may not be 100% correct but a good start