Ian Romanick
5374e4ba7e
At keithw's request, remove all traces of the "fragment program to C" and
...
TCC experiment.
2005-11-08 22:54:22 +00:00
Ian Romanick
4884db6eb2
This patch adds the missing NV_vertex_program2 and NV_vertex_program3
...
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).
2005-11-08 22:40:26 +00:00
Brian Paul
e1a5edf083
s/_mesa_debug_fp_inst/_mesa_print_program/
2005-11-08 14:53:24 +00:00
Brian Paul
bdd80bf819
remove _mesa_debug_fp_inst()
2005-11-08 14:52:51 +00:00
Brian Paul
0bffb1192a
some initial work on upcoming GL_EXT_framebuffer_blit extension
2005-11-08 14:45:48 +00:00
Brian Paul
3e9c099088
remove a bunch of extension stuff that's in glxext.h
2005-11-08 14:44:07 +00:00
Brian Paul
02df9e1ed4
minor work in _mesa_print_program()
2005-11-08 14:42:52 +00:00
Brian Paul
832026f906
remove unneeded #includes
2005-11-08 14:41:41 +00:00
Brian Paul
beff21e7bf
remove unneeded #includes
2005-11-07 17:36:34 +00:00
Brian Paul
189bbe0b8c
s/_mesa_debug_fp_inst/_mesa_print_program/
2005-11-07 16:03:46 +00:00
Brian Paul
c657d8e3e4
s/_mesa_debug_vp_inst/_mesa_print_program/
2005-11-05 20:18:51 +00:00
Brian Paul
30d6a4bffa
consolidate vertex/fragment program printing into _mesa_print_program()
2005-11-05 20:18:18 +00:00
Brian Paul
237dae74f7
use _mesa_program_file_string() and _mesa_opcode_string()
2005-11-05 19:33:13 +00:00
Brian Paul
bf41bc03c2
added _mesa_program_file_string()
2005-11-05 19:32:36 +00:00
Brian Paul
b7c87974b3
Use _mesa_opcode_string()
2005-11-05 19:24:08 +00:00
Brian Paul
c289f48342
use _mesa_num_inst_src_regs() and _mesa_opcode_string()
2005-11-05 19:16:19 +00:00
Brian Paul
b88fb724e6
use _mesa_num_inst_src_regs() instead of nr_args()
2005-11-05 19:15:27 +00:00
Brian Paul
1fcdaf1c3b
added _mesa_num_inst_src_regs() and _mesa_opcode_string()
2005-11-05 19:12:36 +00:00
Brian Paul
637c375ee2
s/Negate/NegateBase/
2005-11-05 17:23:45 +00:00
Brian Paul
9ba4ef3102
s/TexSrcIdx/TexSrcTarget/
2005-11-05 17:18:09 +00:00
Brian Paul
7e807510d8
Unify vertex/fragment program instuctions.
...
Based on patch by Ian (#4967 ) but also unify instruction opcodes.
2005-11-05 17:10:45 +00:00
Brian Paul
73347516be
remove unneeded #includes
2005-11-05 17:08:50 +00:00
Brian Paul
41c8b71871
remove unneeded #include
2005-11-05 17:07:00 +00:00
Aapo Tahkola
47adbde5e5
Fix broken build.
2005-11-05 14:49:26 +00:00
Brian Paul
8894a55d5f
added MESA_GLX_ALPHA_BITS env var
2005-11-05 03:12:06 +00:00
Brian Paul
fd4395b8d1
don't need MAKE_SWIZZLE() macro
2005-11-05 03:02:28 +00:00
Brian Paul
613e1ad5d5
Replace parameter_type enum in program.[ch], use register_file enums instead.
2005-11-05 02:15:21 +00:00
Brian Paul
4d0b7618cb
minor improvements in _mesa_init_teximage_fields()
2005-11-05 02:12:44 +00:00
Brian Paul
95ebb5f485
use VERT_RESULT_HPOS, VERT_BIT_POS tokens
2005-11-04 16:52:41 +00:00
Brian Paul
2cb1cf484a
better ffs() function (bug 4956)
2005-11-04 16:47:22 +00:00
Brian Paul
8ff68b2bf3
just pass ctx to do_ndc_cliptest() rather than stuffing it in the arb_vp_machine struct
2005-11-04 16:43:28 +00:00
Brian Paul
c12ee99d11
MESA_GLX_ALPHA_BITS env var to force visual with alpha channel
2005-11-04 16:41:06 +00:00
Brian Paul
f805cdfedf
remove unneeded HIDDEN definition (bug 4956)
2005-11-04 00:58:17 +00:00
Brian Paul
84f3ff91d9
fix MinGW problems (bug 4956)
2005-11-04 00:52:08 +00:00
Adam Jackson
d78834b306
s/dri.sourceforge.net/dri.freedesktop.org/
2005-11-03 20:49:07 +00:00
Brian Paul
72030e0d91
Streamline code generation by using a fixed size instruction buffer in
...
arb_program struct.
2005-11-03 03:30:34 +00:00
Brian Paul
ccfe3d4683
use WRITEMASK_* tokens
2005-11-03 02:35:15 +00:00
Brian Paul
7ae9713a60
s/15/VERT_RESULT_MAX/
2005-11-03 02:28:47 +00:00
Brian Paul
1624162b0c
added a const, clean-up
2005-11-03 02:26:47 +00:00
Brian Paul
45cd2f9305
fix typo, minor clean-ups
2005-11-03 02:25:10 +00:00
Brian Paul
bcf4ae7816
added osdemos/ dir to DEMO_FILES
2005-11-02 21:01:26 +00:00
Brian Paul
60031ace75
implement USE_MGL_NAMESPACE for x86-64 dispatch code (Mark Bolstad)
2005-11-02 20:59:37 +00:00
Brian Paul
90ebb581e6
Rename FRAG_OUTPUT_* tokens to FRAG_RESULT_* to match vertex program convention
2005-11-02 18:06:12 +00:00
Jouk Jansen
5a02209cd2
Committing in .
...
Updated OpenVMS compile support (define tnl for include files)
Modified Files:
Mesa/src/mesa/drivers/common/descrip.mms
----------------------------------------------------------------------
2005-11-02 15:24:14 +00:00
Aapo Tahkola
eda460035e
Use ctx->VertexProgram._Current .
2005-11-02 14:12:52 +00:00
Aapo Tahkola
26b1c97a9d
Remove some ghost code and adjust things a bit.
2005-11-02 14:07:03 +00:00
Keith Whitwell
e4894177ba
More useful ARL test
2005-11-02 12:58:38 +00:00
Eric Anholt
3a5626cb84
First step of Radeon DRI unification:
...
- 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.
2005-11-02 01:15:07 +00:00
Keith Whitwell
a9b927cb6e
add an arl test
2005-11-01 20:29:59 +00:00
Aapo Tahkola
a546abc8da
Fix broken tnl stage.
2005-11-01 18:12:58 +00:00