summaryrefslogtreecommitdiff
path: root/src/mesa/shader
AgeCommit message (Collapse)Author
2010-04-01glsl: remove obsolete commentBrian Paul
2010-04-01glsl: do extra link checking for transform feedbackBrian Paul
2010-04-01glsl: append built-in, used varying vars to the varying vars listBrian Paul
2010-04-01mesa: make _mesa_copy_string() non-staticBrian Paul
2010-04-01glsl: pass datatype to _mesa_add_varying()Brian Paul
Will be needed later for transform feedback support.
2010-04-01glsl: add more vertex/fragment output info helpersBrian Paul
2010-03-30mesa: add transform feedback queriesBrian Paul
And make _mesa_copy_string() non-static.
2010-03-29glsl: avoid using rcp in length() functionsBrian Paul
See prev commit for related info.
2010-03-29glsl: remove rcp from sqrt()Brian Paul
Per a patch from Marek Olšák, we can simply multiply the incoming value by 1/sqrt(x) instead of using rcp. We're keeping the x==0 check to avoid generating NaN for sqrt(0).
2010-03-15Replace _mesa_strtod with _mesa_strtof.Marcin Baczyński
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
2010-03-12Grammar and spelling fixesJeff Smith
Signed-off-by: Jeff Smith <whydoubt@yahoo.com> Signed-off-by: Brian Paul <brianp@vmware.com>
2010-03-11ARB prog parser: added (float) casts and regenerate filesBrian Paul
2010-03-04Revert "mesa: Remove pointless comparison of unsigned integer with a ↵Vinson Lee
negative constant." This reverts commit a05fdbcb719ac64e6be842372813f0f4ca2f4f93. Removing the comparison is wrong. The comparison with -1 should be changed to another value (probably PROGRAM_UNDEFINED) along with another change in the shader assembler. Conflicts: src/mesa/shader/prog_execute.c
2010-03-04glsl: Remove unsigned greater than or equal zero comparison.Vinson Lee
2010-03-04glsl: Remove unsigned greater than or equal zero comparison.Vinson Lee
2010-03-04glsl: Return NULL on _slan_gen_asm error path on non-debug builds.Vinson Lee
Exit the function early on the error path, instead of continuing, to prevent a null pointer dereference later on.
2010-03-04glsl: Add assert to check input to strcmp.Vinson Lee
2010-03-02glsl: Add assert to check input to strcmp.Vinson Lee
2010-02-27glsl: Move assert from outside to inside of _slang_gen_swizzle function.Vinson Lee
2010-02-27glsl: Assert input to strcmp is not null.Vinson Lee
2010-02-27glsl: Assert pointer is not null before dereferencing.Vinson Lee
2010-02-25glsl: implement support for GL_EXT_texture_arrayBrian Paul
GL_EXT_texture_array is different from the existing GL_MESA_texture_array support in that the former is only supported for GLSL, not fixed-function. The shadow compare versions of the sampler functions haven't been tested yet. The non-shadow versions have been tested with a new piglit test.
2010-02-25mesa: added texture array targets in sizeof_glsl_type()Brian Paul
2010-02-25mesa: added cases for texture array targetsBrian Paul
2010-02-25mesa: Move src/mesa/glapi/dispatch.h to mesa.Chia-I Wu
glapi/dispatch.h is a core Mesa header file. Move the header file to main/ to make this clear. It also becomes clear after this change that IN_DRI_DRIVER is only used in core Mesa to enable the remap table.
2010-02-19mesa: Silence compiler format warning.Vinson Lee
2010-02-19mesa: fix snprintf() typoBrian Paul
2010-02-19mesa: restore _mesa_snprintf() - it's needed for WindowsBrian Paul
This reverts part of commit 298be2b028263b2c343a707662c6fbfa18293cb2
2010-02-19mesa: casts to silence new warnings from printf()Brian Paul
2010-02-19mesa: remove abs/negate from fetch_vector1ui()Brian Paul
This function is only used for the NV unpack instructions. Negate/abs make no sense and removing the code fixes Windows compiler warnings. Found by Karl Schultz.
2010-02-19Replace the _mesa_*printf() wrappers with the plain libc versionsKristian Høgsberg
2010-02-19Replace _mesa_malloc, _mesa_calloc and _mesa_free with plain libc versionsKristian Høgsberg
2010-02-19mesa: replace _mesa_bzero() with memset()Brian Paul
2010-02-19mesa: replace old MEMCPY macro with memcpyBrian Paul
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_memcpy in favor of plain memcpy.Kenneth Graunke
This may break the SUNOS4 build, but it's no longer relevant.
2010-02-19Remove _mesa_atoi in favor of plain atoi.Kenneth Graunke
2010-02-19Remove _mesa_strncmp in favor of plain strncmp.Kenneth Graunke
2010-02-19Remove _mesa_strcmp in favor of plain strcmp.Kenneth Graunke
2010-02-19Remove _mesa_strlen in favor of plain strlen.Kenneth Graunke
2010-02-19Remove _mesa_strcpy in favor of plain strcpy.Kenneth Graunke
2010-02-19Remove _mesa_strncat in favor of plain strncat.Kenneth Graunke
2010-02-19Remove _mesa_strstr in favor of plain strstr.Kenneth Graunke
2010-02-17glsl: Silence unused value warning.Vinson Lee
2010-02-15mesa: Remove pointless comparison of unsigned integer with a negative constant.Vinson Lee
2010-02-14glsl: use new program cloning functionsBrian Paul
2010-02-14mesa: added _mesa_clone_vertex/fragment_program()Brian Paul
To reduce casting elsewhere...
2010-02-13mesa: Fix compiler warningsKarl Schultz
Add explicit casts, fix constant types, fix variable types. Fixes about 340 warnings in MSFT Visual Studio.
2010-02-13glsl: implement layout qualifiersBrian Paul
For GL_ARB_fragment_coord_conventions. This only applies to gl_FragCoord and controls pixel center origin and pixel center integer. For example: layout (origin_upper_left, pixel_center_integer) varying vec4 gl_FragCoord; This features introduces the idea of re-declaring variables with a changed type. This may also apply to arrays in some cases but that's not implemented at this time.
2010-02-13glsl: added type layout field and new type compare funcBrian Paul
Note: because of a weird dependency checking bug, a 'make clean' may be needed before recompiling.