aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa
Commit message (Collapse)AuthorAgeFilesLines
* Move COPY_FLOAT() macro down into glide driver.Brian Paul2005-11-093-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" andIan Romanick2005-11-086-992/+0
| | | | TCC experiment.
* This patch adds the missing NV_vertex_program2 and NV_vertex_program3Ian Romanick2005-11-084-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 Paul2005-11-081-1/+1
|
* remove _mesa_debug_fp_inst()Brian Paul2005-11-081-6/+2
|
* some initial work on upcoming GL_EXT_framebuffer_blit extensionBrian Paul2005-11-086-26/+201
|
* minor work in _mesa_print_program()Brian Paul2005-11-081-1/+10
|
* remove unneeded #includesBrian Paul2005-11-081-8/+2
|
* remove unneeded #includesBrian Paul2005-11-072-17/+6
|
* s/_mesa_debug_fp_inst/_mesa_print_program/Brian Paul2005-11-071-3/+3
|
* s/_mesa_debug_vp_inst/_mesa_print_program/Brian Paul2005-11-051-1/+1
|
* consolidate vertex/fragment program printing into _mesa_print_program()Brian Paul2005-11-056-182/+131
|
* use _mesa_program_file_string() and _mesa_opcode_string()Brian Paul2005-11-052-135/+50
|
* added _mesa_program_file_string()Brian Paul2005-11-052-0/+34
|
* Use _mesa_opcode_string()Brian Paul2005-11-051-32/+9
|
* use _mesa_num_inst_src_regs() and _mesa_opcode_string()Brian Paul2005-11-051-89/+60
|
* use _mesa_num_inst_src_regs() instead of nr_args()Brian Paul2005-11-051-48/+3
|
* added _mesa_num_inst_src_regs() and _mesa_opcode_string()Brian Paul2005-11-052-0/+116
|
* s/Negate/NegateBase/Brian Paul2005-11-051-20/+20
|
* s/TexSrcIdx/TexSrcTarget/Brian Paul2005-11-051-2/+2
|
* Unify vertex/fragment program instuctions.Brian Paul2005-11-0531-1067/+1170
| | | | Based on patch by Ian (#4967) but also unify instruction opcodes.
* remove unneeded #includesBrian Paul2005-11-054-8/+0
|
* remove unneeded #includeBrian Paul2005-11-053-5/+0
|
* Fix broken build.Aapo Tahkola2005-11-051-10/+14
|
* don't need MAKE_SWIZZLE() macroBrian Paul2005-11-052-7/+6
|
* Replace parameter_type enum in program.[ch], use register_file enums instead.Brian Paul2005-11-054-34/+28
|
* minor improvements in _mesa_init_teximage_fields()Brian Paul2005-11-051-9/+9
|
* use VERT_RESULT_HPOS, VERT_BIT_POS tokensBrian Paul2005-11-041-5/+5
|
* better ffs() function (bug 4956)Brian Paul2005-11-041-6/+20
|
* just pass ctx to do_ndc_cliptest() rather than stuffing it in the ↵Brian Paul2005-11-042-8/+6
| | | | arb_vp_machine struct
* MESA_GLX_ALPHA_BITS env var to force visual with alpha channelBrian Paul2005-11-041-2/+19
|
* remove unneeded HIDDEN definition (bug 4956)Brian Paul2005-11-042-28/+0
|
* fix MinGW problems (bug 4956)Brian Paul2005-11-043-8/+18
|
* Streamline code generation by using a fixed size instruction buffer inBrian Paul2005-11-034-79/+54
| | | | arb_program struct.
* use WRITEMASK_* tokensBrian Paul2005-11-032-12/+12
|
* s/15/VERT_RESULT_MAX/Brian Paul2005-11-032-3/+4
|
* added a const, clean-upBrian Paul2005-11-032-12/+16
|
* fix typo, minor clean-upsBrian Paul2005-11-031-5/+5
|
* implement USE_MGL_NAMESPACE for x86-64 dispatch code (Mark Bolstad)Brian Paul2005-11-022-3448/+3466
|
* Rename FRAG_OUTPUT_* tokens to FRAG_RESULT_* to match vertex program conventionBrian Paul2005-11-027-27/+30
|
* Committing in .Jouk Jansen2005-11-021-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 Tahkola2005-11-021-1/+1
|
* Remove some ghost code and adjust things a bit.Aapo Tahkola2005-11-021-11/+2
|
* First step of Radeon DRI unification:Eric Anholt2005-11-0230-1990/+608
| | | | | | | | | | | | - Makes all three drivers use the same screen structure and setup code, with a few ifdefs for the separate compilation to deal with symbols not being available to all drivers and the fact that we have no mechanism for dealing with different config options for different chip families in the same driver. These issues should be dealt with later. - Introduces IS_R[123]00_CLASS(radeonScreenPtr) macro for code for taking different paths depending on the general class of chipset. - Adds many new R300-class PCI IDs, though not all those listed in radeon_driver.c.
* Fix broken tnl stage.Aapo Tahkola2005-11-011-0/+3
|
* Add a NotifyInputChanges() callback so that drivers (particularly tnlKeith Whitwell2005-11-012-0/+9
| | | | | drivers) can track when the sizes or strides of incoming VB->AttribPtr arrays have changed.
* Several fp and vp tweaks:Keith Whitwell2005-11-017-100/+156
| | | | | | | | | | | | | | | | | | | | | | - Renumber VERT_RESULT_* values so that they match the numbers of the corresponding FRAG_ATTRIB_ values. - Add ctx->VertexProgram._Current and FragmentProgram._Current values which point to either the current client-supplied program if enabled, or otherwise to the current mesa-internal program. Thus this program is always the correct one for the current state, providing that the mesa flags to turn on automatic generation are enabled. - Add callbacks to ctx->Driver.BindProgram() in texenvprogram.c and t_vp_build.c so that the driver knows when the generated program changes. This is cleaner than trying to code all the possible _NEW_* flags into the driver, and more precise as well. - Add a UsesKill flag to identify fragment programs with that instruction, as these can require special treatment. - Move the FRAG_OUTPUT values to mtypes.h, near to similar defn's.
* Re-enable fallbacks.Aapo Tahkola2005-11-014-78/+40
|
* -Fix first frame -bugAapo Tahkola2005-11-016-81/+109
| | | | | | | -Use 16-bit elts in vtxfmt_a path if possible -Optimize VSF param uploading -return in r300DepthMask looks suspicious, use r300Enable instead -Dont use r300ResetHwState in invalidate state(disabled, missing hooks, possible instabilities)
* Fix segmentation fault in _tnl_ProgramCacheDestroy().Aapo Tahkola2005-11-012-13/+13
|