Michal Krol
9ac9605de1
More GLSL code:
- add x86 code generator;
- add full support for uniforms in ARB_shader_objects;
- add assembly instruction: global_addr;
- reorganize #includes;
- built-in uniforms accessed by index, rather than by name;
- add some entries to x86sse rtasm;
- add configurations to VC6 projects: 'Release x86' and 'Debug x86';
- #define SLANG_X86 active only on VC6 x86 builds;
- introduce code export table for a shader;
- remove GNU license from the noise library;
19 years ago
Brian Paul
c56f2c49a5
re-formated with indent.
19 years ago
Brian Paul
be42f53020
Remove need to initialize the InstSize[] array elements by just storing
the instruction size in _mesa_alloc_instruction().
19 years ago
Brian Paul
a764b7eae0
display list clean-ups
19 years ago
Roland Scheidegger
4e77669926
Add all pci ids known by ddx to radeon dri driver. Remove the entries not known by ddx (probably secondary ids, non-existant cards and similar). Add rs400 to the family enum, and configure the rv410 like a 2 quad chip (?)
19 years ago
Brian Paul
2aabdc743f
fix broken _mesa_copy_context() for GL_LIGHTING_BIT
19 years ago
Brian Paul
ee2339f673
need to check for _NEW_BUFFERS in xmesa_update_state()
19 years ago
Brian Paul
228d4a6de7
Fix _mesa_copy_texture_state() so that we copy texture object bindings,
not the actual contents of texture objects. This makes glXCopyContext()
work properly.
19 years ago
Brian Paul
1aad408b5a
EXT_framebuffer_object (Dave Reveman)
19 years ago
Brian Paul
44a2e96729
include inttypes.h if __osf__ defined (Randall Hand)
19 years ago
Brian Paul
5b2ee9c1e9
update Blender link
19 years ago
Brian Paul
956fff6345
add some #includes, fix some prototypes (bug 5992)
19 years ago
Brian Paul
7b6fd8a0c6
include proper header file, remove local extern declarations
19 years ago
Brian Paul
cebad151a1
add missing prototypes, use _slang_ prefix on non-static functions
19 years ago
Brian Paul
4f8b59d59b
silence a variety of compiler warnings
19 years ago
Brian Paul
49ad2d4ed1
updated GLUT link
19 years ago
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%.
19 years ago
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
----------------------------------------------------------------------
19 years ago
Jeremy Kolb
fcbbdf9991
Added xcb dri config file.
19 years ago
Jeremy Kolb
97a3023c9f
Remove old linux-x86-xcb (didn't do anything).
Removed reference to linux-x86-xcb and added linux-dri-xcb in Makefile.
19 years ago
Michal Krol
3654193a4d
More GLSL code.
- general constructors allowed;
- implement noise functions (from Stefan Gustavson - thanks!)
- cosmetic stuff.
19 years ago
Keith Whitwell
e94be8d5c0
Fix STENCIL_WRITE_MASK defn for bug 5902
19 years ago
Aapo Tahkola
8da9f448f4
Skip ARL while we dont implement it. Fix broken nv vps but do it with software for now.
19 years ago
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)
19 years ago
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.
19 years ago
Brian Paul
ee40c4fb34
Set NumInstructions (bug 5864)
19 years ago
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
19 years ago
Michal Krol
dd02edf381
Add support for forward function declarations.
19 years ago
Michal Krol
88d994c3b2
Add fragment shader execute entry.
19 years ago
Michal Krol
50092f8f33
Add s_arbshader.c, s_arbshader.h.
19 years ago
Michal Krol
870ebefb3b
Add swrast/s_arbshader.c.
19 years ago
Michal Krol
a663931204
Add arbshader stage.
19 years ago
Michal Krol
5bc35a823a
Enable texcoords when program object in use.
19 years ago
Michal Krol
dc3a922cf3
Get arbfslight demo running.
19 years ago
Michal Krol
0c8e578a38
Enable GL_ARB_fragment_shader extension.
19 years ago
Michal Krol
3699751b0b
Demonstrate GLSL fragment and vertex shaders.
19 years ago
Brian Paul
d5aca8bf0c
remove stray 'foo' line
19 years ago
Brian Paul
0c1438d331
replace size_t * w/ unsigned int * (Jurg Billeter)
19 years ago
Brian Paul
a5033a0421
fix AIX issues (bug 5874)
19 years ago
Jouk Jansen
2189d9c96e
Update OpenVMS compile support
19 years ago
Michal Krol
e7ffe4619f
More glsl code.
19 years ago
Michal Krol
8a54fad6cd
REVISION 3.
Remove illegal operators for overloading.
19 years ago
Michal Krol
ebcbf2f853
Cosmetic changes.
19 years ago
Michal Krol
41eeae5fb1
Delete most of the comments.
Minor tweaks with the functions.
Add experimental print functions.
19 years ago
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.
19 years ago
Michal Krol
44e9ccc708
Rename current_program to CurrentProgram.
Temporary vertex_shader execution code.
19 years ago
Michal Krol
adef42c88d
Add tnl\t_vb_arbshader.c.
19 years ago
Michal Krol
7d376c76c9
Add tnl/t_vb_arbshader.c.
19 years ago
Michal Krol
a2ea606377
Add ARB_vertex_shader stage just before render stage.
If enabled, all other stages, except render, are disabled.
19 years ago
Michal Krol
2363fff347
Enable GL_ARB_shader_objects, GL_ARB_shading_language_100 and
GL_ARB_vertex_shader extensions.
19 years ago