Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Implement exp() in terms of __asm float_power. Fix typo in mod(vec4) function. | Brian | 2007-05-10 | 1 | -11/+15 |
| | | | | | exp() was using __asm float_exp (OPCODE_EXP) but that computes base two, not e. See bug 10907. | ||||
* | Check that texture units/samplers specified with glUniform1i() are legal. | Brian | 2007-05-09 | 1 | -1/+9 |
| | |||||
* | Resuscitate some of the DDX,DDY code. | Brian | 2007-05-02 | 2 | -243/+51 |
| | | | | | Only works for program input registers at this time. Good enough for the common case of texcoords, though. | ||||
* | fix some DDX,DDY mix-ups | Brian | 2007-05-02 | 1 | -1/+1 |
| | |||||
* | regenerated | Brian | 2007-05-01 | 1 | -78/+85 |
| | |||||
* | implement acos(), asin(), atan() | Brian | 2007-05-01 | 1 | -9/+14 |
| | |||||
* | Rewrite of slang_inline_asm_function() to do full parameter/argument ↵ | Brian | 2007-05-01 | 1 | -31/+64 |
| | | | | | | | | | | substitution. We had been taking a short-cut w/ asm inlines by just using parameters in order rather than doing full formal parameter -> actual argument substitution like ordinary inlined function calls. This worked in all cases but one: mix() in which the parameters were used in a different order. This fixes bug 10821. | ||||
* | fix GL_PROGRAM_UNDER_NATIVE_LIMITS_ARB bug (10787) | Brian | 2007-04-28 | 1 | -4/+12 |
| | |||||
* | asin(), acos(), atan() just return 0.5 for now to avoid crashing. Fix someday. | Brian | 2007-04-27 | 2 | -680/+688 |
| | |||||
* | Added error check that all varying vars needed by the fragment shader are ↵ | Brian | 2007-04-26 | 1 | -8/+35 |
| | | | | produced by vertex shader. | ||||
* | assorted fixes for Windows/VC8 | Karl Schultz | 2007-04-24 | 1 | -1/+1 |
| | |||||
* | fix double const, move an assertion | Karl Schultze | 2007-04-24 | 1 | -2/+2 |
| | |||||
* | Remove all the USE_MEMPOOL debug code. | Brian | 2007-04-21 | 15 | -434/+78 |
| | |||||
* | Use new memory pool allocator. Lots of debug code still in place... | Brian | 2007-04-21 | 17 | -29/+511 |
| | |||||
* | call grammar_alloc_free() to fix memleaks | Brian | 2007-04-21 | 1 | -0/+2 |
| | |||||
* | remove more unused vars, assertions | Brian | 2007-04-21 | 1 | -4/+2 |
| | |||||
* | remove unused vars, assertions | Brian | 2007-04-21 | 1 | -4/+2 |
| | |||||
* | Memory pool manager. | Brian | 2007-04-21 | 2 | -0/+201 |
| | | | | | | Instead of doing intricate malloc/free tracking during compiling, allocate everything (which would be discarded after compiling) from a pool that can be freed en masse when done. | ||||
* | fix instruction comment code | Brian | 2007-04-21 | 2 | -1/+9 |
| | |||||
* | another bit of debug code | Brian | 2007-04-21 | 1 | -0/+3 |
| | |||||
* | free subroutine array (fix mem leak) | Brian | 2007-04-21 | 1 | -1/+8 |
| | |||||
* | new varnames in slang_operation_insert() | Brian | 2007-04-21 | 1 | -17/+17 |
| | |||||
* | fix memleak in slang_operation_insert() | Brian | 2007-04-21 | 1 | -0/+2 |
| | |||||
* | free shProg->Attributes in _mesa_free_shader_program_data() | Brian | 2007-04-21 | 1 | -0/+5 |
| | |||||
* | move allocation of shProg->Attributes earlier in function | Brian | 2007-04-21 | 1 | -3/+3 |
| | |||||
* | Fix valgrind problem caused by reading text[-1]. | Brian | 2007-04-19 | 1 | -3/+5 |
| | |||||
* | remove invalid assertion | Brian | 2007-04-19 | 1 | -1/+0 |
| | |||||
* | fix crash when program has invalid structure field | Brian | 2007-04-19 | 1 | -3/+4 |
| | |||||
* | init A.curFuncEndLabel = NULL | Brian | 2007-04-19 | 1 | -0/+1 |
| | |||||
* | fix an uninitialized variable and a warning | Brian | 2007-04-18 | 1 | -2/+2 |
| | |||||
* | comments, assertions | Brian | 2007-04-18 | 1 | -2/+3 |
| | |||||
* | new comments | Brian | 2007-04-18 | 1 | -0/+13 |
| | |||||
* | record proper datatypes for uniforms/samplers | Brian | 2007-04-18 | 1 | -6/+4 |
| | |||||
* | added _slang_gltype_from_specifier() | Brian | 2007-04-18 | 3 | -68/+78 |
| | |||||
* | Start fixing some issues with uniform variables and their types. | Brian | 2007-04-18 | 5 | -27/+31 |
| | |||||
* | Fix some bugs related to querying active uniforms. | Brian | 2007-04-18 | 3 | -10/+53 |
| | |||||
* | fix error strings, add a sanity check | Brian | 2007-04-18 | 1 | -2/+14 |
| | |||||
* | Remove bad assertions, decrement NumShaders in _mesa_detach_shader(). | Brian | 2007-04-18 | 1 | -2/+1 |
| | | | | Fixes crashes w/ Brad King's depth peeling test. | ||||
* | s/GL_SHADER_PROGRAM/GL_SHADER_PROGRAM_MESA/ (a Mesa-specific token) | Brian | 2007-04-18 | 1 | -4/+4 |
| | |||||
* | Replace _mesa_parameter_longest_name() with _mesa_longest_parameter_name(). | Brian | 2007-04-18 | 3 | -8/+13 |
| | | | | | | The later takes a type parameter so we can match uniforms or attributes/inputs. Used by the GL_ACTIVE_ATTRIBUTE_MAX_LENGTH and GL_ACTIVE_UNIFORM_MAX_LENGTH queries. Fixes problem reported by Brad King in VTK. | ||||
* | call ProgramStringNotify() after linking | Brian | 2007-04-18 | 1 | -0/+6 |
| | |||||
* | regenerated | Brian | 2007-04-17 | 2 | -378/+438 |
| | |||||
* | fix/simplify some texture functions | Brian | 2007-04-17 | 1 | -23/+10 |
| | |||||
* | more matrix function updates | Brian | 2007-04-17 | 1 | -96/+300 |
| | |||||
* | need to clamp MAD for linear fog | Brian | 2007-04-16 | 1 | -0/+1 |
| | |||||
* | Fix some assertions that could occur when an error was earlier logged. | Brian | 2007-04-16 | 1 | -4/+19 |
| | |||||
* | implement shadow2DRect functions | Brian | 2007-04-14 | 2 | -74/+72 |
| | |||||
* | disable debug printfs | Brian | 2007-04-12 | 1 | -8/+6 |
| | |||||
* | Added sanity checking in _slang_sizeof_type_specifier() to be sure sizes are ↵ | Brian | 2007-04-12 | 1 | -27/+68 |
| | | | | what's expected. | ||||
* | use _mesa_clear_shader_program_data() | Brian | 2007-04-12 | 1 | -1/+1 |
| |