Keith Whitwell
a661654a33
Move the call to _tnl_UpdateFixedFunctionProgram to make
it easier for hardware drivers to test this out.
20 years ago
Keith Whitwell
6f973f3367
Simplify the pipeline_stage structure
- remove input/output fields, input tracking removed.
- remove state fields, the validate function now called
on every statechange.
- add an explicit 'create' function.
Add in code to build vertex program to implement current t&l state. Still
disabled, but turn on with a #define in t_vp_build.h.
20 years ago
Keith Whitwell
6a13c7da4c
Up the value of MAX_NV_VERTEX_PROGRAM_PARAMS to a power of two.
20 years ago
Michal Krol
addcc6afbd
Add more error checking.
20 years ago
Michal Krol
19fb77ee7b
Cosmetic changes.
20 years ago
Michal Krol
b10d080b1e
Move some utility functions to slang_utility.c.
20 years ago
Michal Krol
3ed1f07686
Provide precompiled binary versions of built-in library .gc sources
to dramatically improve shader compiling performance.
20 years ago
Brian Paul
2cbbd3dc50
undef DEPTH_TYPE at end
20 years ago
Felix Kuehling
a7fcac5e92
Fixed some suspicious pointer casts that caused lots of
compile-time-warnings on x86-64. Not tested on x86-64 yet, but a good
thing in general, so I'm giving up waiting for feedback. See also
https://bugs.freedesktop.org/show_bug.cgi?id=2924 .
20 years ago
Felix Kuehling
07d91bbb59
Fixed TexEnv modes GL_BLEND and GL_ADD on Savage4-based cards. Disabled
the use of hardware texture format I8 as it produces garbage at least on
ProSavageDDR.
20 years ago
Aapo Tahkola
b3474de7b5
Adding some comments.
20 years ago
Keith Whitwell
7c26b61f93
Reduce the size of mesa's internal fragment and vertex program
representations by switching to packed structures for registers and
instructions.
20 years ago
Brian Paul
88b69d7998
use _mesa_pow() for LIT (bug 3087)
20 years ago
Keith Whitwell
f069e5e412
Facility to construct a vertex program which executes the current
fixed function t&l pipeline.
Currently runs most of the Mesa demos OK, but still needs debugging &
polishing.
20 years ago
Keith Whitwell
0ff98b03c6
New software implementation of ARB_vertex_program. Similar in speed
to existing version, but with the potential for good improvements.
20 years ago
Aapo Tahkola
70375aff48
Had some odd problems with add and temps so doing it with mad. Adding some MAD_2 cases.
20 years ago
Brian Paul
52bf005425
fix state.light[n].spot.direction.w value (bug 3083)
20 years ago
Brian Paul
8d51bbf2a3
clean up buffer creation code
20 years ago
Aapo Tahkola
fc8f202181
Reorganized shader stuff.
20 years ago
Aapo Tahkola
c4e1fd5a7f
Fixes for bugs that were nailed down when compairing against software vertex shading.
20 years ago
Aapo Tahkola
f8ed0aa268
Fixing and enabling elt buffers by default.
20 years ago
Ian Romanick
d03ab104db
If the file name passed to parse_GL_API is None or "-", read from standard
input. This allows use of GL API scripts in pipelines.
20 years ago
Ian Romanick
93d2d54e7a
Refactor a bunch of common code from the "leaf" scripts to a new functions,
parse_GL_API, in gl_XML.py.
20 years ago
Ian Romanick
8ea22650bd
Fill-in function offsets and correct a couple typos.
20 years ago
Ian Romanick
2510ba618d
Convert all Python scripts to use XML namespaces.
20 years ago
Peter Zubaj
b7142567bc
Alpha test fix
20 years ago
Ian Romanick
61f08d8094
Move the DTD to its own file.
20 years ago
Brian Paul
f905145b60
comments and clean-up
20 years ago
Ian Romanick
02986cb2cc
Add support for pthreads and TLS to libGL for __glXLock / __glXUnlock and
for tracking the current GLX context.
This fixes bug #3024 .
20 years ago
Ian Romanick
2e823f29e4
Send GL_PACK_INVERT_MESA state to the server. This fixes bug #2538.
20 years ago
Brian Paul
b52673117b
s/NORMAL/FOG/ (J.P. Delport)
20 years ago
Jouk Jansen
49b1d95c1c
Updates for OpenVMS : New makefiles
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
----------------------------------------------------------------------
20 years ago
Brian Paul
e9a3d8a772
added SLANG_SOURCES to SOLO_C_SOURCES
20 years ago
Brian Paul
afb3fb4b77
config for profiling with gprof
20 years ago
Brian Paul
635ee2df37
added _mesa_share_state()
20 years ago
Ben Crossman
509710cfd7
more gldirect compile fixes. Getting near the linking stage now. No build file yet.
20 years ago
Brian Paul
efb41b07ff
remove carriage returns
20 years ago
Keith Whitwell
78803b2667
Fix alpha value of STATE_LIGHTMODEL_SCENECOLOR. From the spec:
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.
20 years ago
Michal Krol
a131d50fb7
add shader/slang/slang_preprocess.c
20 years ago
Michal Krol
e3a846b0e3
implement info log; parse #version directive
20 years ago
Michal Krol
65ce50897e
slang preprocessor
20 years ago
Michal Krol
8855664489
slang #version directive syntax
20 years ago
Michal Krol
35725a92be
change __asm statement semantics
20 years ago
Ben Crossman
d8aa5ffed5
Reverted the last change back to fix bug 3035
20 years ago
Ian Romanick
067e788acd
Convert 'variable_param' from a CDATA attribute to a NMTOKENS attribute.
The main difference is that white-space is used to separate the names
instead of comas.
20 years ago
Ian Romanick
73b4c1b388
Refactor the handling of the '(true | false)' enumerated attributes.
20 years ago
Ian Romanick
a3deff2404
Modify the DTD to use NMTOKEN, enumerants, and explicit default values
wherever possible. Correct a couple mis-uses of the 'counter' attribute
when 'count' was intended. Fix some errors in the DTD and in the data with
'doubles_in_order'.
20 years ago
Ian Romanick
6cae4f3bc9
In GLX_USE_TLS builds, make GET_CURRENT_CONTEXT use the TLS verion of the
variable. Without this, GET_CURRENT_CONTEXT would *always* result in a call
to _glapi_get_context (because _glapi_Context is a const pointer to NULL in
TLS builds).
20 years ago
Ian Romanick
f434e07a6a
Add missing includes of indirect.h.
20 years ago
Ben Crossman
369404299c
A few getenv() that werent using the mesa wrapper version
20 years ago