summaryrefslogtreecommitdiff
path: root/src/mesa/shader/slang/library
AgeCommit message (Collapse)Author
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
2007-02-02remove slang_builtin_vec4.gcBrian
2007-02-02remove slang_builtin_vec4.gcBrian
2007-01-31New asm instruction and IR_CLAMP node type to allow clamping to [0,1] with ↵Brian
instruction saturate-write option. Not finished yet.
2007-01-28noise functionsBrian
2007-01-28implement mix() with LRP instructionBrian
2007-01-20Reimplement && and || to do short-circuit evaluation.Brian
Improved shader error handling.
2007-01-20rewrite more __postIncr functionsBrian
2007-01-19Rewrite normalize(vec3/vec4) to use one less register.Brian
2007-01-19print error msg when there's a problemBrian
2007-01-19remove stray tabBrian
2007-01-19change while-loop to create new scope for loop body, per specBrian
2007-01-18rewrite a bunch of assignment operators (like +=)Brian
2007-01-17rewrite additional matrix-related functions to reduce register needsBrian
2007-01-17rewrite mat4 * mat4 operator to use fewer tempsBrian
2007-01-17rewrite matrix constructorsBrian
2007-01-17Rewrite a bunch of constructors. It's now important that the firstBrian
constructor for any given type be the one that takes the most parameters as this is the constructor that'll be used when there's no perfect match to the caller's arguments. See the _slang_adapt_call() function for details.
2007-01-16commentsBrian
2007-01-16implement logical or, xor, notBrian
2007-01-16some additional vector constructorsBrian
2007-01-15Reimplement the post-increment/decrement functions.Brian
Instead of defining functions with an extra dummy parameter to distinguish from the pre-incr/decr functions, just use new function names: __postIncr and __postDecr.
2007-01-15Implement the ++var and --var operators, improve some constructors.Brian
2007-01-13added another vec4 constructor, updated += operatorBrian
2007-01-11new vec3 constructor, replace float_add w/ vec4_addBrian
2007-01-09remove old commentBrian
2007-01-09Vertex program texture samplers done, but untested (need to add TEX/TXB toBrian
the T&L vertex program interpreter).
2007-01-09Implement shadow samplers and dFdx(), dFdy() code generation.Brian
2007-01-08implement biased texture functionsBrian
2007-01-08update texture1D functionsBrian
2007-01-08Implement projective texture sampling, 3D textures. Disable some debug output.Brian
2007-01-05Checkpoint glsl compiler work: sampler uniforms now implemented, linked ↵Brian
properly.
2007-01-04initial code to get texture sampling limping alongBrian
2007-01-04Fix some incorrect GL error values. Reorganize _mesa_compile_shader() code.Brian
2006-12-21chmod a-xBrian
2006-12-21checkpoint: pre/post incr/decr operatorsBrian
2006-12-21checkpoint: rewrite vec/mat productsBrian
2006-12-21checkpoint: matrix/float, unary negation rewriteBrian
2006-12-21checkpoint: ivec/int and mat/mat operationsBrian
2006-12-21checkpoint: more basic math rewrittingBrian
2006-12-20checkpoint: re-org assignment operator functionsBrian