Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Move _mesa_init_glsl_driver_functions() into shader_api.c | Brian | 2007-12-07 | 2 | -157/+99 |
| | | | | | This allows making a bunch of functions static, and removes a state tracker dependency on driverfuncs.c | ||||
* | fix type for Samplers field | Brian | 2007-10-31 | 1 | -1/+1 |
| | |||||
* | alloc caches for fixed-func vertex/fragment progs | Brian | 2007-10-31 | 1 | -0/+4 |
| | |||||
* | fix InputsRead bug in _mesa_combine_programs() | Brian | 2007-10-30 | 1 | -2/+6 |
| | |||||
* | special-case KIL/KIL_NV | Brian | 2007-10-30 | 1 | -1/+19 |
| | |||||
* | more additions for COLOR_MATRIX, etc | Brian | 2007-10-30 | 1 | -0/+12 |
| | |||||
* | add state vars for color matrix, pixel transfer scale&bias | Brian | 2007-10-30 | 2 | -0/+19 |
| | |||||
* | Program cache functions. | Brian | 2007-10-30 | 2 | -0/+246 |
| | | | | | Generic version of cache code from texenvprogram.c and t_vp_build.c Not used by those files just yet, will also be used for pixel_transfer programs. | ||||
* | check for NULL ptr in _mesa_print_parameter_list() | Brian | 2007-10-30 | 1 | -0/+3 |
| | |||||
* | make _mesa_combine_programs() params const | Brian | 2007-10-30 | 2 | -2/+4 |
| | |||||
* | Added _mesa_combine_programs() for concatenating two programs. | Brian | 2007-10-30 | 2 | -0/+157 |
| | |||||
* | added _mesa_combine_parameter_lists() | Brian | 2007-10-30 | 2 | -0/+43 |
| | |||||
* | Rename 'mms-config.' to 'mms.config'. | Michal Krol | 2007-10-29 | 3 | -3/+3 |
| | | | | | It looks like Windows does not like filenames ending with a dot, in effect renaming it to 'mms-config'. | ||||
* | turn off debug output | Brian | 2007-10-26 | 1 | -1/+1 |
| | |||||
* | Re-implement GLSL texture sampler variables. | Brian | 2007-10-26 | 15 | -104/+167 |
| | | | | | | | | | | GLSL sampler variables indicate which texture unit to use for TEX instructions. Previously, this was baked into the fragment/vertex program and couldn't be readily changed once set. Now, SamplerUnits[] array indicates which texture unit is to be used for each sampler variable. These values are set with glUniform1i(). This is extra state that must be passed to the fragment/vertex program executor at runtime. | ||||
* | add to git | Brian | 2007-10-24 | 2 | -0/+109 |
| | |||||
* | Implement gl_PointCoord attribute for GLSL fragment shaders. | Brian | 2007-10-24 | 2 | -1/+16 |
| | | | | Contains the normalized fragment position within a point sprite. | ||||
* | disable the NeedFlush assertion for now | Brian | 2007-10-17 | 1 | -1/+1 |
| | |||||
* | Assert that there's no outstanding current state that needs to be flushed ↵ | Brian | 2007-10-17 | 1 | -0/+2 |
| | | | | | | | from the vbo in _mesa_load_state_parameters(). Several of the state parameters use current state (such as materials). Need to make sure those values are not stale. | ||||
* | Naive implementation of IF/ELSE/ENDIF. | michal | 2007-08-07 | 3 | -86/+102 |
| | | | | | Handle TGSI labels correctly. Enhance MESA opcode info queries. | ||||
* | Fix function call bug 11731. Also, fix up IR_CALL/IR_FUNC confusion. | Brian | 2007-07-26 | 4 | -18/+29 |
| | |||||
* | generate error upon writing to varying var in fragment program (bug 11733) | Brian | 2007-07-26 | 1 | -5/+8 |
| | |||||
* | call ctx->Driver.NewProgram() instead of _mesa_new_program() | Brian | 2007-07-24 | 2 | -2/+2 |
| | |||||
* | fix shader/info string length queries (bug 11588) | Jan Dvorak | 2007-07-13 | 1 | -3/+3 |
| | |||||
* | fix swizzle-related bug 11534 | Brian | 2007-07-12 | 1 | -2/+3 |
| | |||||
* | Be more consistant with paths in #includes. Eventually, eliminate a bunch ↵ | Brian | 2007-07-04 | 14 | -56/+55 |
| | | | | of -I flags. | ||||
* | added vec2(vec4) constructor, bug 11404 | Brian | 2007-07-03 | 2 | -54/+60 |
| | |||||
* | add code for stpq, rgba writemasks in make_writemask(), bug 11404 | Brian | 2007-07-03 | 1 | -0/+8 |
| | |||||
* | Add support for GL_ARB_fragment_program_shadow. | Ian Romanick | 2007-06-07 | 1 | -7/+33 |
| | |||||
* | Updates for array texture shadow targets. | Ian Romanick | 2007-06-05 | 3 | -14/+53 |
| | |||||
* | make sure optimized fog params get updated | Roland Scheidegger | 2007-05-22 | 1 | -0/+2 |
| | |||||
* | fix STATE_HALF_VECTOR value (bug 10987) | Brian | 2007-05-18 | 1 | -8/+8 |
| | |||||
* | Initial implementation of MESA_texture_array | Ian Romanick | 2007-05-16 | 3 | -8/+50 |
| | | | | | Shadow sampling from texture arrays is still not implemented. Everything else should be there, though. | ||||
* | comment about fixing uniform structs | Brian | 2007-05-14 | 1 | -0/+13 |
| | |||||
* | user-declared uniform structs not supported yet (see bug 10908) | Brian | 2007-05-11 | 1 | -3/+16 |
| | |||||
* | don't ignore return value of _slang_codegen_global_variable() | Brian | 2007-05-11 | 1 | -1/+2 |
| | |||||
* | regenerated | Brian | 2007-05-10 | 1 | -524/+528 |
| | |||||
* | 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 |
| |