summaryrefslogtreecommitdiff
path: root/src/mesa/shader/slang/library
AgeCommit message (Collapse)Author
2008-07-29mesa: regenerated filesBrian Paul
2008-07-29mesa: glsl: re-order some constructorsBrian Paul
2008-07-29mesa: glsl: remove unneeded operatorsBrian Paul
2008-07-29mesa: fix some GLSL /= int operatorsBrian Paul
plus add a few more special constructors to improve code quality.
2008-07-29mesa: implement grammar/parsing for precision/invariant syntaxBrian Paul
Plus, fix some issues with pre-defined preprocessor symbols and version checking.
2008-07-17mesa: regenerated fileBrian Paul
2008-07-17mesa: fix/improve the atan(y,x) functionBrian Paul
2008-07-16mesa: regenerated fileBrian Paul
2008-07-16mesa: fix copy&paste errors in degrees() functionsBrian Paul
2008-07-15mesa: regenerated fileBrian Paul
2008-07-15mesa: fix some broken /= operatorsBrian Paul
2008-07-15mesa: fix some broken bool, bvec2, bvec3, bvec4 constructorsBrian Paul
2008-07-03mesa: regenerated fileBrian Paul
2008-07-03mesa: additional vec4 constructorBrian Paul
2008-07-02mesa: regeneratedBrian Paul
2008-07-02mesa: added some missing equal() notEqual() intrinsicsBrian Paul
2008-07-02mesa: regenerated filesBrian Paul
2008-07-02mesa: fix all(bvec2) function typo, add missing bvec2/3/4() constuctorsBrian Paul
2008-05-07Never fail `make clean'Dan Nicholson
Mostly some pedantic changes such that `make clean' always ignores errors. Also changed the top clean target to do the `touch configs/current' dance instead of realclean.
2008-04-03rewrite some of the mat*mat, mat*vec intrinsicsBrian
Also, remove obsolete matrix codegen code.
2008-01-31regenerate glsl library functionsRoland Scheidegger
2008-01-31fix w component of glsl vec4 asinRoland Scheidegger
2007-10-24add to gitBrian
2007-07-03added vec2(vec4) constructor, bug 11404Brian
2007-05-10regeneratedBrian
2007-05-10Implement exp() in terms of __asm float_power. Fix typo in mod(vec4) function.Brian
exp() was using __asm float_exp (OPCODE_EXP) but that computes base two, not e. See bug 10907.
2007-05-01regeneratedBrian
2007-05-01implement acos(), asin(), atan()Brian
2007-04-27asin(), acos(), atan() just return 0.5 for now to avoid crashing. Fix someday.Brian
2007-04-17regeneratedBrian
2007-04-17fix/simplify some texture functionsBrian
2007-04-17more matrix function updatesBrian
2007-04-14implement shadow2DRect functionsBrian
2007-04-11regeneratedBrian
2007-04-11checkpoint: updating non-square matrix constructors and operatorsBrian
2007-04-11move/fix texture sampling funcsBrian
2007-04-10Add missing generated file.Michel Dänzer
2007-04-08support for GLSL 1.20 non-square matricesBrian
2007-03-28Handle logical NOT and XOR without library functions. Results in much ↵Brian
tighter code.
2007-03-13get rid of float_multiply, float_add, float_divideBrian
2007-03-12Implement GL_ARB_texture_rectangle supportBrian
This includes the sampler2DRect and sampler2DRectShadow types and the texture2DRect(), texture2DRectProj(), etc. built-in functions.
2007-03-09use gl_ModelViewProjectionMatrixTranspose in ftransform()Brian
2007-03-08added missing bvec2/3/4 constructorsBrian
2007-03-08Update lessThan(), lessThanEqual() functions, improve some matrix constructors.Brian
2007-03-08Rework matrix-related code.Brian
GLSL matrices are stored in column-major order while GL_ARB_vertex/fragment_program use row-major. So, need to use STATE_MATRIX_TRANSPOSE for built-in matrices. Unfortunately, this means that the expression M * V isn't very efficient since we need to extract the rows out of M. And that's the typical expression for vertex transformation: gl_ModelViewProjectionMatrix * gl_Position. Solve this inefficiency by looking for M*V expressions and replacing them with V*Transpose(M). Also, add support for GLSL 1.20's MatrixTranspose, Inverse and InverseTranspose matrices.
2007-03-07regeneratedBrian
2007-03-07fix broken __postDecr()Brian
2007-03-06more integer arithmetic updatesBrian
2007-03-06fix some int arithmetic problemsBrian
2007-02-03minor tweaks to distance() funcsBrian