Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | C++ fixes, mostly casts (Stephane Conversy) | Brian Paul | 2005-12-06 | 1 | -14/+14 |
| | |||||
* | track state flags which might invalidate parameter lists | Keith Whitwell | 2005-11-22 | 1 | -0/+77 |
| | |||||
* | move _mesa_init_instruction() to program.c | Brian Paul | 2005-11-20 | 1 | -0/+25 |
| | |||||
* | Make Saturate a 2-bit field again, renamed to SaturateMode with three | Brian Paul | 2005-11-20 | 1 | -3/+3 |
| | | | | possible values: SATURATE_OFF, SATURATE_ZERO_ONE and SATURATE_PLUS_MINUS_ONE. | ||||
* | No longer derive 'ati_fragment_shader' from 'program' class. Only the | Brian Paul | 2005-11-19 | 1 | -34/+7 |
| | | | | | program->Id and program->RefCount fields were used and ATI fragment shaders didn't have too much in common with ARB/NV vertex/fragment programs anyway. | ||||
* | Improve _mesa_print_program(). | Brian Paul | 2005-11-12 | 1 | -31/+354 |
| | | | | Added make_state_string() to produce a string from a GL state vector. | ||||
* | Move stuff common to vertex/fragment_program into the base class, including: | Brian Paul | 2005-11-12 | 1 | -77/+117 |
| | | | | | | Instructions, InputsRead, OutputsWritten, and Parameters. Also, added debug functions: _mesa_print_instruction(), _mesa_print_program_parameters() and revamp _mesa_print_program(). | ||||
* | This patch adds the missing NV_vertex_program2 and NV_vertex_program3 | Ian Romanick | 2005-11-08 | 1 | -0/+10 |
| | | | | | | | | | | | | | | | | instructions to the various internal tables. It does not add support for them to the parser nor does it add support for them to the program interpreter. It also corrects some errors in the comments in program_instruction.h. This patch breaks the instruction union in t_vb_arbprogram.h. The opcode field in that union was only 6 bits. When there were only 59+3 instructions that worked fine. However, this patch increases the base instruction count to 69. This requires 7 bits. The problem is that increasing the opcode width to 7 bits increases the size of instruction::rsw to 33 bits. I've increased the size of the union to 64-bit, but this is just a temporary hack (and probably breaks the build on some systems). | ||||
* | minor work in _mesa_print_program() | Brian Paul | 2005-11-08 | 1 | -1/+10 |
| | |||||
* | consolidate vertex/fragment program printing into _mesa_print_program() | Brian Paul | 2005-11-05 | 1 | -2/+121 |
| | |||||
* | added _mesa_program_file_string() | Brian Paul | 2005-11-05 | 1 | -0/+32 |
| | |||||
* | added _mesa_num_inst_src_regs() and _mesa_opcode_string() | Brian Paul | 2005-11-05 | 1 | -0/+110 |
| | |||||
* | Unify vertex/fragment program instuctions. | Brian Paul | 2005-11-05 | 1 | -2/+1 |
| | | | | Based on patch by Ian (#4967) but also unify instruction opcodes. | ||||
* | Replace parameter_type enum in program.[ch], use register_file enums instead. | Brian Paul | 2005-11-05 | 1 | -6/+6 |
| | |||||
* | added a const, clean-up | Brian Paul | 2005-11-03 | 1 | -11/+15 |
| | |||||
* | Rename FRAG_OUTPUT_* tokens to FRAG_RESULT_* to match vertex program convention | Brian Paul | 2005-11-02 | 1 | -3/+3 |
| | |||||
* | Re-org and clean-up of vertx/fragment program limits (instructions, | Brian Paul | 2005-11-01 | 1 | -4/+4 |
| | | | | | | | temporaries, parameters, etc). glGetProgramivARB() now returns all the right things. Updated i915 and r300 code to initialize program native limits and current program's native instruction/temporary/etc counts. | ||||
* | use mesa import wrappers, bug 4468 | Brian Paul | 2005-09-16 | 1 | -1/+1 |
| | |||||
* | add error checking to the GL_ATI_FRAGMENT_SHADER entrypoints. Fix bug with ↵ | Roland Scheidegger | 2005-09-02 | 1 | -2/+8 |
| | | | | scope of ati fragment shader constants. Fix issues with specifying color/alpha instructions not pair-wise. Change internal representation of the shader (to better fit how the extension works, should make driver implementations simpler, and saves some memory). (still doesn't work correctly with doom3 and swrast, but not worse than before) | ||||
* | Use ALIGN_MALLOC for parameter lists. | Keith Whitwell | 2005-06-08 | 1 | -6/+13 |
| | |||||
* | Fix some valgrind complaints | Keith Whitwell | 2005-05-10 | 1 | -0/+4 |
| | |||||
* | Fix some valgrind complaints | Keith Whitwell | 2005-05-10 | 1 | -2/+0 |
| | |||||
* | reduce the use of malloc and strdup for parameter lists | Keith Whitwell | 2005-05-10 | 1 | -25/+32 |
| | |||||
* | Reduce the size of mesa's internal fragment and vertex program | Keith Whitwell | 2005-04-21 | 1 | -11/+37 |
| | | | | | representations by switching to packed structures for registers and instructions. | ||||
* | fix state.light[n].spot.direction.w value (bug 3083) | Brian Paul | 2005-04-20 | 1 | -1/+2 |
| | |||||
* | Updates for OpenVMS : New makefiles | Jouk Jansen | 2005-04-18 | 1 | -1/+1 |
| | | | | | | | | | | | | | added some type-casts Modified Files: Mesa/src/mesa/shader/descrip.mms Mesa/src/mesa/shader/program.c Mesa/src/mesa/shader/slang/slang_compile.c Mesa/src/mesa/shader/slang/slang_preprocess.c Added Files: Mesa/src/mesa/shader/slang/descrip.mms ---------------------------------------------------------------------- | ||||
* | Fix alpha value of STATE_LIGHTMODEL_SCENECOLOR. From the spec: | Keith Whitwell | 2005-04-15 | 1 | -3/+7 |
| | | | | | | | The "w" component of the program parameter variable is filled with the alpha component of the front diffuse material color. Make sure matrix inverses are uptodate also. | ||||
* | ProgramCallbackMesa must match the prototype | Daniel Borca | 2005-02-14 | 1 | -2/+2 |
| | |||||
* | Update glDeletePrograms/Buffers() so that the ID is freed immediately, like | Brian Paul | 2005-01-20 | 1 | -10/+5 |
| | | | | texture objects. | ||||
* | prototype _mesa_init_ati_fragment_shader() | Brian Paul | 2005-01-11 | 1 | -2/+3 |
| | |||||
* | Implement software ATI_fragment_shader | Dave Airlie | 2004-12-19 | 1 | -0/+38 |
| | | | | no error detection, slow, may not be 100% correct but a good start | ||||
* | Added PRINT instruction for GL_NV_fragment_program. | Brian Paul | 2004-12-18 | 1 | -1/+7 |
| | |||||
* | Experimental PRINT instruction for NV_vertex_program. | Brian Paul | 2004-12-16 | 1 | -1/+8 |
| | | | | | Basically, this lets you put a "PRINT 'mesage', register;" statement in a vertex program to aid in debugging. | ||||
* | Fix some warnings | Alan Hourihane | 2004-12-02 | 1 | -5/+1 |
| | |||||
* | fix LoadProgramNV regression when I had fixed the RefCount bug | Brian Paul | 2004-10-02 | 1 | -4/+4 |
| | |||||
* | also fix possible delete bugs with buffer objects and vertex/fragment programs | Brian Paul | 2004-09-14 | 1 | -50/+75 |
| | |||||
* | Silence gcc 3.4 warnings on ReactOS. Mostly unused var warnings. (patch ↵ | Brian Paul | 2004-08-25 | 1 | -0/+2 |
| | | | | 1015696) | ||||
* | fix some memory leaks (bug #1002030) | Brian Paul | 2004-08-14 | 1 | -3/+30 |
| | |||||
* | remove trailing whitespace and misc clean-ups | Brian Paul | 2004-06-29 | 1 | -20/+16 |
| | |||||
* | remove program from hash table when deleted (bug 979514) | Brian Paul | 2004-06-25 | 1 | -8/+7 |
| | |||||
* | remove redundant program field initializers in BindProgram(); ↵ | Brian Paul | 2004-06-20 | 1 | -4/+0 |
| | | | | ctx->Driver.NewProgram() does the inits | ||||
* | remove unneeded line | Brian Paul | 2004-05-04 | 1 | -1/+0 |
| | |||||
* | Added ctx->Vertex/FragmentProgram._Enable flags. Set when vertex/fragment | Brian Paul | 2004-04-23 | 1 | -4/+4 |
| | | | | | | | program is enabled AND the currently bound program is valid. Check _Enable instead of Enable to prevent things from blowing up when someone calls glEnable(GL_VERTEX_PROGRAM_ARB) without actually defining a program. | ||||
* | Moved from src/mesa/main | Michal Krol | 2004-03-29 | 1 | -0/+1271 |