Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Move stuff common to vertex/fragment_program into the base class, including: | Brian Paul | 2005-11-12 | 28 | -311/+316 |
| | | | | | | Instructions, InputsRead, OutputsWritten, and Parameters. Also, added debug functions: _mesa_print_instruction(), _mesa_print_program_parameters() and revamp _mesa_print_program(). | ||||
* | Make _mesa_is_proxy_texture() non-static and use in a few more places. | Brian Paul | 2005-11-11 | 4 | -82/+39 |
| | | | | | Use COPY_4FV() where possible. Added some comments, clean-ups. | ||||
* | s/MAX_LIGHTS/ctx->Const.MaxLights/ and spruce up some comments | Brian Paul | 2005-11-10 | 2 | -18/+26 |
| | |||||
* | fix popping of GL_SPOT_DIRECTION (bug 5005) | Brian Paul | 2005-11-10 | 1 | -1/+1 |
| | |||||
* | Move code to enable FP exceptions into debug.c (set MESA_DEBUG=fpexceptions). | Brian Paul | 2005-11-10 | 3 | -16/+14 |
| | | | | Get rid of MESA_DEBUG preprocessor symbol, just use DEBUG instead. | ||||
* | fix popping of GL_EYE_PLANE state (bug 4996) | Brian Paul | 2005-11-09 | 1 | -10/+20 |
| | |||||
* | Bug 4996. | Brian Paul | 2005-11-09 | 5 | -42/+40 |
| | | | | | Replace use of FLOAT_TO_USHORT with either CLAMPED_FLOAT_TO_USHORT or UNCLAMPED_FLOAT_TO_USHORT. Same should be done for UBYTE, UINT, etc. | ||||
* | use UNCLAMPED_FLOAT_TO_USHORT/UBYTE in clear_rgba_buffer() (bug #4992) | Brian Paul | 2005-11-09 | 1 | -8/+9 |
| | |||||
* | Move COPY_FLOAT() macro down into glide driver. | Brian Paul | 2005-11-09 | 3 | -16/+16 |
| | | | | | Rewrite COPY_4FV() macro to not use COPY_FLOAT(), and use integer moves as originally intended. | ||||
* | At keithw's request, remove all traces of the "fragment program to C" and | Ian Romanick | 2005-11-08 | 6 | -992/+0 |
| | | | | TCC experiment. | ||||
* | This patch adds the missing NV_vertex_program2 and NV_vertex_program3 | Ian Romanick | 2005-11-08 | 4 | -45/+58 |
| | | | | | | | | | | | | | | | | 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). | ||||
* | s/_mesa_debug_fp_inst/_mesa_print_program/ | Brian Paul | 2005-11-08 | 1 | -1/+1 |
| | |||||
* | remove _mesa_debug_fp_inst() | Brian Paul | 2005-11-08 | 1 | -6/+2 |
| | |||||
* | some initial work on upcoming GL_EXT_framebuffer_blit extension | Brian Paul | 2005-11-08 | 6 | -26/+201 |
| | |||||
* | minor work in _mesa_print_program() | Brian Paul | 2005-11-08 | 1 | -1/+10 |
| | |||||
* | remove unneeded #includes | Brian Paul | 2005-11-08 | 1 | -8/+2 |
| | |||||
* | remove unneeded #includes | Brian Paul | 2005-11-07 | 2 | -17/+6 |
| | |||||
* | s/_mesa_debug_fp_inst/_mesa_print_program/ | Brian Paul | 2005-11-07 | 1 | -3/+3 |
| | |||||
* | s/_mesa_debug_vp_inst/_mesa_print_program/ | Brian Paul | 2005-11-05 | 1 | -1/+1 |
| | |||||
* | consolidate vertex/fragment program printing into _mesa_print_program() | Brian Paul | 2005-11-05 | 6 | -182/+131 |
| | |||||
* | use _mesa_program_file_string() and _mesa_opcode_string() | Brian Paul | 2005-11-05 | 2 | -135/+50 |
| | |||||
* | added _mesa_program_file_string() | Brian Paul | 2005-11-05 | 2 | -0/+34 |
| | |||||
* | Use _mesa_opcode_string() | Brian Paul | 2005-11-05 | 1 | -32/+9 |
| | |||||
* | use _mesa_num_inst_src_regs() and _mesa_opcode_string() | Brian Paul | 2005-11-05 | 1 | -89/+60 |
| | |||||
* | use _mesa_num_inst_src_regs() instead of nr_args() | Brian Paul | 2005-11-05 | 1 | -48/+3 |
| | |||||
* | added _mesa_num_inst_src_regs() and _mesa_opcode_string() | Brian Paul | 2005-11-05 | 2 | -0/+116 |
| | |||||
* | s/Negate/NegateBase/ | Brian Paul | 2005-11-05 | 1 | -20/+20 |
| | |||||
* | s/TexSrcIdx/TexSrcTarget/ | Brian Paul | 2005-11-05 | 1 | -2/+2 |
| | |||||
* | Unify vertex/fragment program instuctions. | Brian Paul | 2005-11-05 | 31 | -1067/+1170 |
| | | | | Based on patch by Ian (#4967) but also unify instruction opcodes. | ||||
* | remove unneeded #includes | Brian Paul | 2005-11-05 | 4 | -8/+0 |
| | |||||
* | remove unneeded #include | Brian Paul | 2005-11-05 | 3 | -5/+0 |
| | |||||
* | Fix broken build. | Aapo Tahkola | 2005-11-05 | 1 | -10/+14 |
| | |||||
* | don't need MAKE_SWIZZLE() macro | Brian Paul | 2005-11-05 | 2 | -7/+6 |
| | |||||
* | Replace parameter_type enum in program.[ch], use register_file enums instead. | Brian Paul | 2005-11-05 | 4 | -34/+28 |
| | |||||
* | minor improvements in _mesa_init_teximage_fields() | Brian Paul | 2005-11-05 | 1 | -9/+9 |
| | |||||
* | use VERT_RESULT_HPOS, VERT_BIT_POS tokens | Brian Paul | 2005-11-04 | 1 | -5/+5 |
| | |||||
* | better ffs() function (bug 4956) | Brian Paul | 2005-11-04 | 1 | -6/+20 |
| | |||||
* | just pass ctx to do_ndc_cliptest() rather than stuffing it in the ↵ | Brian Paul | 2005-11-04 | 2 | -8/+6 |
| | | | | arb_vp_machine struct | ||||
* | MESA_GLX_ALPHA_BITS env var to force visual with alpha channel | Brian Paul | 2005-11-04 | 1 | -2/+19 |
| | |||||
* | remove unneeded HIDDEN definition (bug 4956) | Brian Paul | 2005-11-04 | 2 | -28/+0 |
| | |||||
* | fix MinGW problems (bug 4956) | Brian Paul | 2005-11-04 | 3 | -8/+18 |
| | |||||
* | Streamline code generation by using a fixed size instruction buffer in | Brian Paul | 2005-11-03 | 4 | -79/+54 |
| | | | | arb_program struct. | ||||
* | use WRITEMASK_* tokens | Brian Paul | 2005-11-03 | 2 | -12/+12 |
| | |||||
* | s/15/VERT_RESULT_MAX/ | Brian Paul | 2005-11-03 | 2 | -3/+4 |
| | |||||
* | added a const, clean-up | Brian Paul | 2005-11-03 | 2 | -12/+16 |
| | |||||
* | fix typo, minor clean-ups | Brian Paul | 2005-11-03 | 1 | -5/+5 |
| | |||||
* | implement USE_MGL_NAMESPACE for x86-64 dispatch code (Mark Bolstad) | Brian Paul | 2005-11-02 | 2 | -3448/+3466 |
| | |||||
* | Rename FRAG_OUTPUT_* tokens to FRAG_RESULT_* to match vertex program convention | Brian Paul | 2005-11-02 | 7 | -27/+30 |
| | |||||
* | Committing in . | Jouk Jansen | 2005-11-02 | 1 | -2/+3 |
| | | | | | | | Updated OpenVMS compile support (define tnl for include files) Modified Files: Mesa/src/mesa/drivers/common/descrip.mms ---------------------------------------------------------------------- | ||||
* | Use ctx->VertexProgram._Current . | Aapo Tahkola | 2005-11-02 | 1 | -1/+1 |
| |