summaryrefslogtreecommitdiff
path: root/src/mesa/shader/atifragshader.c
AgeCommit message (Collapse)Author
2010-02-19Replace _mesa_malloc, _mesa_calloc and _mesa_free with plain libc versionsKristian Høgsberg
2010-02-19Remove _mesa_memset in favor of plain memset.Kenneth Graunke
This may break the SUNOS4 build, but it's no longer relevant.
2010-02-19Remove _mesa_strlen in favor of plain strlen.Kenneth Graunke
2010-02-19Remove _mesa_strncat in favor of plain strncat.Kenneth Graunke
2010-02-04mesa: change ctx->Driver.ProgramStringNotify() to return GLbooleanBrian Paul
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.
2009-12-22mesa: Fix a NULL deref in glDeleteFragmentShaderATI(badname);Eric Anholt
Fixes piglit ati-fs-bad-delete. Caught by clang.
2008-09-18mesa: prefix a bunch of #include lines with "main/".Brian Paul
This is another step toward removing a whole bunch of -I flags from the cc commands. Still need to address driver code...
2007-08-07fix swizzle error test (bug 11881)Brian
2006-11-29call Driver.ProgramStringNotify if a ati_fragment_shader changes and pick up ↵Roland Scheidegger
the change in the r200 driver accordingly.
2005-11-19No longer derive 'ati_fragment_shader' from 'program' class. Only theBrian Paul
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.
2005-09-08fix incorrect swizzling handling. fix code so it can potentially handle ↵Roland Scheidegger
implementations with less than 6 texture units correctly.
2005-09-08add a bunch of FLUSH_VERTICES to some of the ATI_fs functions, most notably ↵Roland Scheidegger
when changing the global ati fragment shader constants.
2005-09-05fix var declaration so that a C compiler can build it.Karl Schultz
2005-09-02add error checking to the GL_ATI_FRAGMENT_SHADER entrypoints. Fix bug with ↵Roland Scheidegger
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)
2005-01-30add number of passes count to ati_fragment_shaderDave Airlie
2005-01-20Update glDeletePrograms/Buffers() so that the ID is freed immediately, likeBrian Paul
texture objects.
2004-12-19Implement software ATI_fragment_shaderDave Airlie
no error detection, slow, may not be 100% correct but a good start