Keith Whitwell
a661654a33
Move the call to _tnl_UpdateFixedFunctionProgram to make
it easier for hardware drivers to test this out.
преди 20 години
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 години
Keith Whitwell
6a13c7da4c
Up the value of MAX_NV_VERTEX_PROGRAM_PARAMS to a power of two.
преди 20 години
Michal Krol
addcc6afbd
Add more error checking.
преди 20 години
Michal Krol
19fb77ee7b
Cosmetic changes.
преди 20 години
Michal Krol
b10d080b1e
Move some utility functions to slang_utility.c.
преди 20 години
Michal Krol
3ed1f07686
Provide precompiled binary versions of built-in library .gc sources
to dramatically improve shader compiling performance.
преди 20 години
Brian Paul
2cbbd3dc50
undef DEPTH_TYPE at end
преди 20 години
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 години
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 години
Aapo Tahkola
b3474de7b5
Adding some comments.
преди 20 години
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 години
Brian Paul
88b69d7998
use _mesa_pow() for LIT (bug 3087)
преди 20 години
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 години
Keith Whitwell
0ff98b03c6
New software implementation of ARB_vertex_program. Similar in speed
to existing version, but with the potential for good improvements.
преди 20 години
Aapo Tahkola
70375aff48
Had some odd problems with add and temps so doing it with mad. Adding some MAD_2 cases.
преди 20 години
Brian Paul
52bf005425
fix state.light[n].spot.direction.w value (bug 3083)
преди 20 години
Brian Paul
8d51bbf2a3
clean up buffer creation code
преди 20 години
Aapo Tahkola
fc8f202181
Reorganized shader stuff.
преди 20 години
Aapo Tahkola
c4e1fd5a7f
Fixes for bugs that were nailed down when compairing against software vertex shading.
преди 20 години
Aapo Tahkola
f8ed0aa268
Fixing and enabling elt buffers by default.
преди 20 години
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 години
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 години
Ian Romanick
8ea22650bd
Fill-in function offsets and correct a couple typos.
преди 20 години
Ian Romanick
2510ba618d
Convert all Python scripts to use XML namespaces.
преди 20 години
Peter Zubaj
b7142567bc
Alpha test fix
преди 20 години
Ian Romanick
61f08d8094
Move the DTD to its own file.
преди 20 години
Brian Paul
f905145b60
comments and clean-up
преди 20 години
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 години
Ian Romanick
2e823f29e4
Send GL_PACK_INVERT_MESA state to the server. This fixes bug #2538.
преди 20 години
Brian Paul
b52673117b
s/NORMAL/FOG/ (J.P. Delport)
преди 20 години
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 години
Brian Paul
e9a3d8a772
added SLANG_SOURCES to SOLO_C_SOURCES
преди 20 години
Brian Paul
afb3fb4b77
config for profiling with gprof
преди 20 години
Brian Paul
635ee2df37
added _mesa_share_state()
преди 20 години
Ben Crossman
509710cfd7
more gldirect compile fixes. Getting near the linking stage now. No build file yet.
преди 20 години
Brian Paul
efb41b07ff
remove carriage returns
преди 20 години
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 години
Michal Krol
a131d50fb7
add shader/slang/slang_preprocess.c
преди 20 години
Michal Krol
e3a846b0e3
implement info log; parse #version directive
преди 20 години
Michal Krol
65ce50897e
slang preprocessor
преди 20 години
Michal Krol
8855664489
slang #version directive syntax
преди 20 години
Michal Krol
35725a92be
change __asm statement semantics
преди 20 години
Ben Crossman
d8aa5ffed5
Reverted the last change back to fix bug 3035
преди 20 години
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 години
Ian Romanick
73b4c1b388
Refactor the handling of the '(true | false)' enumerated attributes.
преди 20 години
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 години
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 години
Ian Romanick
f434e07a6a
Add missing includes of indirect.h.
преди 20 години
Ben Crossman
369404299c
A few getenv() that werent using the mesa wrapper version
преди 20 години