Brian Paul
cebad151a1
add missing prototypes, use _slang_ prefix on non-static functions
2006-02-22 16:43:26 +00:00
Brian Paul
4f8b59d59b
silence a variety of compiler warnings
2006-02-22 16:35:34 +00:00
Michal Krol
cc1591667d
More GLSL code:
...
- uniforms (only GetLocation, Uniform1f and Uniform4fv for now for demos);
- fix bugs and optimize array size handling;
- 2D texture sampling (needs Enable(TEXTURE_2D) to work);
- decrease built-in library assembly size by 30%.
2006-02-21 12:35:06 +00:00
Jouk Jansen
8986e36f36
Committing in .
...
Update OpenVMS makefiles
Modified Files:
Mesa/src/mesa/shader/slang/descrip.mms
Mesa/src/mesa/swrast/descrip.mms Mesa/src/mesa/tnl/descrip.mms
----------------------------------------------------------------------
2006-02-21 12:28:34 +00:00
Michal Krol
3654193a4d
More GLSL code.
...
- general constructors allowed;
- implement noise functions (from Stefan Gustavson - thanks!)
- cosmetic stuff.
2006-02-18 15:11:18 +00:00
Keith Whitwell
e94be8d5c0
Fix STENCIL_WRITE_MASK defn for bug 5902
2006-02-17 17:03:14 +00:00
Aapo Tahkola
8da9f448f4
Skip ARL while we dont implement it. Fix broken nv vps but do it with software for now.
2006-02-16 19:50:40 +00:00
Roland Scheidegger
555b5fac4f
Reinstate vertex format after a rasterization fallback for both r200 and radeon driver when a tcl fallback is active, fixes a blender issue with non-tcl hw (bug #5601 )
2006-02-16 17:16:33 +00:00
Eric Anholt
a176bc6c17
Include dix-config.h if HAVE_DIX_CONFIG_H is defined. This will be used by the
...
X Server to get things like _XSERVER64 (for X headers) and NO_LIBCWRAPPER
defined consistently when its builds Mesa internally.
2006-02-15 21:03:34 +00:00
Brian Paul
ee40c4fb34
Set NumInstructions (bug 5864)
2006-02-15 15:59:37 +00:00
Brian Paul
a584e846d4
Fix a few warnings:
...
- nested comments (use #if 0 / #endif instead)
- missing default clause in switch statements
- use of possibly undefined variables
2006-02-15 15:51:01 +00:00
Michal Krol
dd02edf381
Add support for forward function declarations.
2006-02-15 11:15:16 +00:00
Michal Krol
88d994c3b2
Add fragment shader execute entry.
2006-02-15 11:12:47 +00:00
Michal Krol
870ebefb3b
Add swrast/s_arbshader.c.
2006-02-15 11:07:56 +00:00
Michal Krol
a663931204
Add arbshader stage.
2006-02-15 11:06:00 +00:00
Michal Krol
5bc35a823a
Enable texcoords when program object in use.
2006-02-15 11:03:57 +00:00
Michal Krol
dc3a922cf3
Get arbfslight demo running.
2006-02-15 11:02:07 +00:00
Michal Krol
0c8e578a38
Enable GL_ARB_fragment_shader extension.
2006-02-15 11:00:15 +00:00
Brian Paul
d5aca8bf0c
remove stray 'foo' line
2006-02-15 04:10:55 +00:00
Brian Paul
0c1438d331
replace size_t * w/ unsigned int * (Jurg Billeter)
2006-02-14 15:04:45 +00:00
Jouk Jansen
2189d9c96e
Update OpenVMS compile support
2006-02-13 12:00:29 +00:00
Michal Krol
e7ffe4619f
More glsl code.
2006-02-13 11:47:41 +00:00
Michal Krol
8a54fad6cd
REVISION 3.
...
Remove illegal operators for overloading.
2006-02-13 11:45:57 +00:00
Michal Krol
ebcbf2f853
Cosmetic changes.
2006-02-13 11:42:48 +00:00
Michal Krol
41eeae5fb1
Delete most of the comments.
...
Minor tweaks with the functions.
Add experimental print functions.
2006-02-13 11:40:32 +00:00
Michal Krol
02eb9acc5e
Get it running for ARB_vertex_shader.
...
Add experimental print functions to builtin library.
Some functionality missing:
- automatic arrays;
- general constructors;
- local variable initialization;
- texture sampling and noise;
- semantic error checking;
- function prototypes.
2006-02-13 11:38:37 +00:00
Michal Krol
44e9ccc708
Rename current_program to CurrentProgram.
...
Temporary vertex_shader execution code.
2006-02-13 11:31:16 +00:00
Michal Krol
7d376c76c9
Add tnl/t_vb_arbshader.c.
2006-02-13 11:25:43 +00:00
Michal Krol
a2ea606377
Add ARB_vertex_shader stage just before render stage.
...
If enabled, all other stages, except render, are disabled.
2006-02-13 11:23:36 +00:00
Michal Krol
2363fff347
Enable GL_ARB_shader_objects, GL_ARB_shading_language_100 and
...
GL_ARB_vertex_shader extensions.
2006-02-13 11:04:27 +00:00
Michal Krol
c92e688e15
Rename current glsl program variable.
2006-02-13 10:56:54 +00:00
Michal Krol
170f08d4b1
Add _mesa_atanf and _mesa_asinf functions.
2006-02-13 10:55:14 +00:00
Eric Anholt
91c30771b6
Add the ability to define NO_LIBCWRAPPER to avoid libcwrapper brain damage.
...
If it's true that libcwrapper usage isn't necessary ever in the DllLoader world,
then this code should probbaly all go away.
2006-02-11 02:59:38 +00:00
Dave Airlie
f236300e3a
commit to fixup MGL namespacing for XGL
2006-02-10 21:46:17 +00:00
Aapo Tahkola
a73094cc6a
Workaround problems with NWN. (Tilman Sauerbeck)
2006-02-10 17:26:44 +00:00
Brian Paul
42447365b2
remove the test for XFree86Server from prev patch (bug 5835)
2006-02-09 14:28:40 +00:00
Alan Hourihane
b77a225250
Check DDX for 1.5.0
2006-02-08 22:05:42 +00:00
Brian Paul
d93615fc1e
include dix-config.h (Mike Harris) (bug 5835)
2006-02-08 14:52:06 +00:00
Brian Paul
42725d6f54
David Reveman's GLX_EXT_texture_from_pixmap extension patch
2006-02-07 00:39:56 +00:00
Dave Airlie
4cd0e24f86
add vblank support to i915 driver
2006-02-06 00:09:58 +00:00
Brian Paul
63b852f4f9
fix typo
2006-02-05 16:38:33 +00:00
Roland Scheidegger
e7276b7fa5
replace the texture level hack used in radeon/r200 to allow larger textures with different methods to calculate the announced maximum texture sizes. Default is still the same (that is, radeon/r200 default to not announce anything which might not fit, i830/i915 default to 1 texture must fit). Bug #5785 .
2006-02-03 13:29:11 +00:00
Brian Paul
16a14510c4
use calloc instead of malloc so try_codegen field is initialized to zero (bug 5791)
2006-02-02 17:33:26 +00:00
Brian Paul
725740c7c8
add some assertions to check emit_func[] table validity
2006-02-02 14:30:16 +00:00
Roland Scheidegger
5951aab823
fix texcoord unit assertion, the right one (bug 5780)
2006-02-01 23:14:42 +00:00
Brian Paul
865ad82bb8
fix texcoord unit assertion (bug 5780)
2006-02-01 16:50:16 +00:00
Roland Scheidegger
3b6f62fc73
fix test for valid texunit in _mesa_ClientActiveTextureARB
2006-02-01 01:05:40 +00:00
Roland Scheidegger
663138a951
fix broken assertions so dri drivers compile with -DDEBUG (replace GL_STENCIL_INDEX8 with GL_STENCIL_INDEX8_EXT). Fix potential problem with drivers which use 32bit z buffers.
2006-01-30 23:49:31 +00:00
Roland Scheidegger
a45f23bed1
fix broken assertion to make radeon driver compile with -DDEBUG...
2006-01-30 23:36:42 +00:00
Michal Krol
bd8c742762
Add shader/slang/slang_compile_*.* files.
2006-01-30 14:50:01 +00:00