Brian Paul
bb2180dca3
Fixes from Christopher Bell:
...
Use -O instead of +O3 or +O2.
Remove +Oaggressive.
Replace -Aa with -Ae.
2006-09-06 13:49:17 +00:00
Brian Paul
7d767604c7
remove stray tab
2006-09-06 13:44:57 +00:00
Brian Paul
d9aebd8498
for VERTEX_ATTRIB_WEIGHT, use break, not return
2006-09-06 05:03:47 +00:00
Brian Paul
4a901667e5
document vertex.weight hack
2006-09-05 23:20:58 +00:00
Brian Paul
3a55750d48
Hack for Warcraft (bug 8060): allow 'vertex.weight' to be referenced in
...
vertex program, even though it's not really supported. Results will be
undefined, but Warcraft doesn't actually use the attribute.
2006-09-05 23:15:29 +00:00
Brian Paul
43cc1dc18f
fix typo in enable_parser_extensions(): s/point_parameters/vertex_blend/
2006-09-05 23:11:09 +00:00
Brian Paul
a088f160b3
Consolidate common case of _mesa_set_program_error() followed by _mesa_error()
...
in new program_error() function.
Add const qualifiers in many places.
Reorder some debug code to prevent referencing free'd memory.
2006-09-05 23:08:51 +00:00
Brian Paul
1f03339f1c
updated info about glxproto.h
2006-09-05 18:23:21 +00:00
Keith Whitwell
d5cbb49c22
Dynamically allocate instruction store for tnl programs according to
...
requirements.
2006-09-05 10:01:24 +00:00
Keith Whitwell
74b2166ff8
Fixes for calculating point attenuation
2006-09-04 23:34:36 +00:00
Keith Whitwell
f65ad97469
Don't export NV_vertex_program as it's not supported, it confuses
...
glean, and we no longer need to export it to keep Mesa happy as we did
at one time.
2006-09-04 18:27:40 +00:00
Rune Petersen
ac7ea94030
Managed to make a commit that can't build... Sorry again...
2006-09-04 16:20:16 +00:00
Brian Paul
c78e895f09
get rid of GL_BOOLEAN definition (bug 8113)
2006-09-04 14:07:04 +00:00
Jouk Jansen
e08557ad8a
OpenVMS compile support update
...
(previous commit did send the wrong file to the CVS)
Modified Files:
Mesa/include/GL/vms_x_fix.h
2006-09-04 06:26:08 +00:00
Jouk Jansen
8cf3c85fd7
OpenVMS compile support update
...
Modified Files:
Mesa/include/GL/vms_x_fix.h
2006-09-04 06:22:39 +00:00
Roland Scheidegger
014bfda235
fog state atom contains (only) fog params necessary for tcl. Must not be emitted if vertex progs are enabled as it overlaps vertex param #94 .
2006-09-04 00:57:39 +00:00
Rune Petersen
5300e8242f
add missing change to skip low impact RAST fallback...
...
Sorry.
2006-09-03 20:31:52 +00:00
Roland Scheidegger
5b4e7cdca4
fix the presumably broken check for the allow_large_textures and vblank_mode options (same as bug 8042).
2006-09-01 23:36:30 +00:00
Roland Scheidegger
91650469ae
make sure vertex programs are only enabled on the hw when they are really enabled, not just when a program enables vertex progs (could still be not enabled due to some error). Otherwise the hw potentially would try to execute a not valid (not set up at all) vertex program, likely leading to lockups. Hopefully fixes #8060 .
2006-09-01 20:21:12 +00:00
Keith Whitwell
6ec2d37ae8
Catch a few more cases of using a message reg as an instruction source
...
arg.
2006-09-01 14:57:19 +00:00
Keith Whitwell
db0e53af74
fix a couple of cases where a message reg is used as an instruction source.
2006-09-01 14:18:06 +00:00
Ian Romanick
75faa1e19a
Add API description for GLX_SGI_swap_control.
2006-08-31 20:50:43 +00:00
Ian Romanick
d6c675f497
Fix problems with vertex program protocol
...
There were two sets of bugs in the vertex program (ARB and NV)
protocol. First, several of the ARB functions were missing the
'doubles_in_order="true"' annotation. Second, after the ARB decided
that glVertexAttrib*ARB functions must not alias fixed-function state
for GLSL, Nvidia re-assigned GLX protocol opcodes for
glVertexAttrib*NV (circa Septeber 2004). For some reason gl_API.xml
was never updated to reflect this, and the updated version of the
GL_NV_vertex_program spec never made into the registry.
2006-08-31 20:41:16 +00:00
Rune Petersen
934a2dcf0f
re-apply shader fix.
...
appears to have been reverted by mistake.
2006-08-31 18:19:50 +00:00
Brian Paul
d9cb0fc44d
version bump
2006-08-31 17:54:31 +00:00
Keith Whitwell
b237d7fa14
When using the old technique to set up the front buffer mapping, there
...
is no need to add front.offset to sPriv->pFB, it seems. Fixes several
glean issues and frontbuffer rendering generally.
2006-08-31 17:24:55 +00:00
Brian Paul
6c44c53e06
update link
2006-08-31 15:19:44 +00:00
Brian Paul
c09458c133
remove VERSIONS from tarballs
2006-08-31 15:18:04 +00:00
Brian Paul
761d87485e
updated 6.5.1 relnotes link
2006-08-31 15:17:43 +00:00
Brian Paul
e2859ea6ef
Convert VERSIONS and RELNOTES-6.5.1 to html, update links to them.
2006-08-31 15:16:10 +00:00
Rune Petersen
3cbfef3917
Give the user posibility to choose speed over correctness.
...
It does 2 things:
1) Allows you to disable S3TC, wine-games sometimes need S3TC enabled.
2) Disable fallbacks that usually have low impact.
2006-08-31 15:15:29 +00:00
Brian Paul
52e36cd8d9
check if ext->name is null before strcmp()
2006-08-31 13:58:08 +00:00
Roland Scheidegger
901f83f14e
do not abort with not supported vertex prog output configuration, fallback instead
2006-08-31 01:10:07 +00:00
Brian Paul
7986cfbee0
remove extension defines/protos that are now in glext.h
2006-08-30 23:50:31 +00:00
Brian Paul
3cd07d2c39
latest version from OpenGL ARB
2006-08-30 23:46:41 +00:00
Karl Schultz
cdb12bd0ae
Handle API and dispatch table changes that removed a bunch of extension entry points.
2006-08-30 23:45:32 +00:00
Brian Paul
c6f8176b3f
make prog2 a legal program (texture reference fix)
2006-08-30 23:40:53 +00:00
Brian Paul
b7fc1c32f8
Check that we don't try to reference more than one target of a texture unit.
...
For example, referencing both "texture[0], 2D" and "texture[0], CUBE" in one
program is an error.
2006-08-30 23:38:03 +00:00
Brian Paul
f6de865e56
s/0/VERT_RESULT_HPOS/
2006-08-30 23:36:52 +00:00
Ian Romanick
a70d56485a
Add missing parenthesis so that glXSwapIntervalSGI protocol is
...
correctly generated.
2006-08-30 23:15:02 +00:00
Michal Krol
c7f571eb7e
Add missing vec4 instructions to the interpreter.
...
Other cosmetic changes.
2006-08-30 22:36:29 +00:00
Brian Paul
8a4366717a
fix Xlib driver mem leaks
2006-08-30 22:04:09 +00:00
Brian Paul
6c06ce281a
Use XAddExtension() to register an XCloseDisplay() callback function.
...
When the callback is called, free all Mesa's private visual and buffer
data structures which are tied to the display.
Fixes problems reported by Kitware.
2006-08-30 21:17:51 +00:00
Brian Paul
12a5f812fc
init a local var to silence warning
2006-08-30 19:02:45 +00:00
Roland Scheidegger
a974aaaa3e
Minor r200 vertex program cleanups. Remove disabled leftovers from r300 vertex program code. Fix authors. Correct slightly wrong check to determine if ran out of temps. Simplify check to determine if ran out of max instructions. Correctly report used native temps. Always kick off program translation when ProgramStringNotify is called (otherwise the reported native resources used queried might be wrong).
2006-08-30 13:44:31 +00:00
Roland Scheidegger
e6de1edaf0
fix initialization of native resource usage of vertex/fragment programs
2006-08-30 11:55:18 +00:00
Roland Scheidegger
ef3f00f67e
fix typo causing a segfault when a vertex program uses more than 96 parameters
2006-08-30 10:26:31 +00:00
Brian Paul
8334c8a216
Move call to _swrast_update_rasterflags() since it depends on the
...
results of _swrast_update_fog_state().
Fixes bug where first frame of progs/samples/fog.c does not show fog.
2006-08-29 22:32:31 +00:00
Brian Paul
f7c4dc007f
_mesa_debug() should be a no-op when not compiled with DEBUG defined.
2006-08-29 22:30:58 +00:00
Brian Paul
398471429b
set 6.5.1 release to Aug 31
2006-08-29 21:56:59 +00:00