summaryrefslogtreecommitdiffstats
path: root/src/mesa/shader/slang
Commit message (Collapse)AuthorAgeFilesLines
* Remove not needed forward declaration.Michal Krol2006-05-301-1/+0
|
* change initialization of texcoords - not all C compilers support ↵Brian Paul2006-05-181-6/+36
| | | | non-constant array initializers
* unbreak the buildTilman Sauerbeck2006-05-171-0/+1
|
* Change error message wording.Michal Krol2006-05-162-10/+10
|
* Rename print() to printMESA().Michal Krol2006-05-162-94/+101
|
* Fix attrib handling.Michal Krol2006-05-162-31/+53
|
* Extend printMESA function to output also to shader's info log.Michal Krol2006-05-163-22/+75
| | | | Fix float-to-int conversion for x86 back-end.
* Cleanup code. Change constructor prototype.Michal Krol2006-05-167-65/+58
|
* Cleanup code.Michal Krol2006-05-162-284/+210
|
* Change constructor prototype.Michal Krol2006-05-162-36/+42
| | | | Fix struct field accessing.
* added a trailing newline to pacify gccTilman Sauerbeck2006-04-281-1/+1
|
* Remove carriage returns.Michal Krol2006-04-254-1668/+1668
|
* Remove carriage-return chars *ONLY*.Michal Krol2006-04-1848-13782/+13782
|
* Add support for ARB_vertex_shader attrib binding and query.Michal Krol2006-04-184-114/+474
| | | | Clean-up ARB_shaderobjects code a bit.
* More GLSL code:Michal Krol2006-04-046-34/+247
| | | | | | | - add support for varyings; GLSL fixes: - pow was wrongly computed in x86 back-end;
* Silencium gcc warnings.Michal Krol2006-03-213-131/+130
|
* GLSL fixes:Michal Krol2006-03-2113-577/+752
| | | | | | | | | | | | | | | | | | - generate error on NULL pointers in glShaderSourceARB; - reinstall program object, if current, in glLinkProgramARB; - vertex and fragment shaders are optional in program object; - floor asm was wrongly computed for x86 back-end; - allow for (void) idiom in function prototypes; - all fixed-state uniforms are updated; - local variable initializers are working; - implement texture* and shadow* functions for vertex processor; - generate error if too many arguments in general constructor; - trim unused data in general constructor; - struct r-value field select was badly relocated; Changes: - add derived state gl_fog_attrib::_Scale; - add derived state gl_light::_CosCutoffNeg;
* Committing in .Jouk Jansen2006-03-171-2/+5
| | | | | | | | | | Mesa/src/mesa/main/imports.h : removed <CR> Mesa/src/mesa/shader/slang/descrip.mms : added new sources Modified Files: Mesa/src/mesa/main/imports.h Mesa/src/mesa/shader/slang/descrip.mms ----------------------------------------------------------------------
* rename enums, fixes compilation breakage (Michal Krol)Brian Paul2006-03-151-3/+3
|
* More GLSL code:Michal Krol2006-03-1416-251/+790
| | | | | - add texture sampling support; - fix assembly codegen bugs;
* Committing in .Jouk Jansen2006-03-071-1/+3
| | | | | | | | | Update OpenVMS makefiles Modified Files: Mesa/src/mesa/shader/slang/descrip.mms Mesa/src/mesa/swrast/descrip.mms ----------------------------------------------------------------------
* silence a bunch of warningsBrian Paul2006-02-276-11/+15
|
* More GLSL code:Michal Krol2006-02-2731-386/+1292
| | | | | | | | | | | | | - 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;
* add some #includes, fix some prototypes (bug 5992)Brian Paul2006-02-221-9/+20
|
* silence a variety of compiler warningsBrian Paul2006-02-224-5/+10
|
* More GLSL code:Michal Krol2006-02-2127-2890/+2826
| | | | | | | - 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%.
* Committing in .Jouk Jansen2006-02-211-3/+5
| | | | | | | | | Update OpenVMS makefiles Modified Files: Mesa/src/mesa/shader/slang/descrip.mms Mesa/src/mesa/swrast/descrip.mms Mesa/src/mesa/tnl/descrip.mms ----------------------------------------------------------------------
* More GLSL code.Michal Krol2006-02-1820-2232/+2784
| | | | | | - general constructors allowed; - implement noise functions (from Stefan Gustavson - thanks!) - cosmetic stuff.
* Fix a few warnings:Brian Paul2006-02-156-16/+39
| | | | | | - nested comments (use #if 0 / #endif instead) - missing default clause in switch statements - use of possibly undefined variables
* Add support for forward function declarations.Michal Krol2006-02-157-300/+382
|
* Update OpenVMS compile supportJouk Jansen2006-02-131-3/+9
|
* More glsl code.Michal Krol2006-02-132-1763/+1952
|
* REVISION 3.Michal Krol2006-02-132-62/+50
| | | | Remove illegal operators for overloading.
* Cosmetic changes.Michal Krol2006-02-134-633/+301
|
* Delete most of the comments.Michal Krol2006-02-132-1150/+1923
| | | | | Minor tweaks with the functions. Add experimental print functions.
* Get it running for ARB_vertex_shader.Michal Krol2006-02-1327-1346/+2060
| | | | | | | | | | | 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.
* Split slang_compile.c into several smaller files - it was just too big.Michal Krol2006-01-3016-1066/+1639
| | | | Minor fixes and cosmetic changes.
* remove some test code;Michal Krol2006-01-165-197/+158
| | | | | | rewrite the intermediate code executor to address 64-bit platforms and global memory; store built-in library code in a precompiled form only;
* remove slang_*_gc.h files;Michal Krol2006-01-1610-5265/+1321
| | | | | rename slang_*_gc_bin.h files to slang_*_gc.h ones; store built-in library code in a precompiled form only;
* add newline at end of fileBrian Paul2005-10-283-3/+3
|
* Committing in .Jouk Jansen2005-09-231-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | 1) change compilation on VMS to use IEEE floating points 2) one more problem with _mesa_sprintf solved Modified Files: Mesa/docs/README.VMS Mesa/progs/demos/descrip.mms Mesa/progs/tests/descrip.mms Mesa/progs/util/descrip.mms Mesa/progs/xdemos/descrip.mms Mesa/src/glu/mesa/descrip.mms Mesa/src/glu/sgi/descrip.mms Mesa/src/glut/glx/descrip.mms Mesa/src/mesa/array_cache/descrip.mms Mesa/src/mesa/drivers/common/descrip.mms Mesa/src/mesa/drivers/osmesa/descrip.mms Mesa/src/mesa/drivers/x11/descrip.mms Mesa/src/mesa/glapi/descrip.mms Mesa/src/mesa/main/descrip.mms Mesa/src/mesa/main/texobj.c Mesa/src/mesa/math/descrip.mms Mesa/src/mesa/shader/descrip.mms Mesa/src/mesa/shader/grammar/descrip.mms Mesa/src/mesa/shader/slang/descrip.mms Mesa/src/mesa/swrast/descrip.mms Mesa/src/mesa/swrast_setup/descrip.mms Mesa/src/mesa/tnl/descrip.mms ----------------------------------------------------------------------
* additional wrapper updates, bug 4468Brian Paul2005-09-192-7/+22
|
* use mesa import wrappers, bug 4468Brian Paul2005-09-162-3/+3
|
* fix static assertion problem for gcc (bug 4022)Brian Paul2005-08-101-1/+4
|
* disable the pointer size assertions (bug 4021)Brian Paul2005-08-101-2/+5
|
* fix indentationBrian Paul2005-08-101-14/+14
|
* added newline at end of fileBrian Paul2005-06-302-2/+2
|
* Committing in .Jouk Jansen2005-06-014-377/+378
| | | | | | | | | | | | Update OpneVMS compilesupport Modified Files: Mesa/src/mesa/shader/descrip.mms Mesa/src/mesa/shader/slang/descrip.mms Mesa/src/mesa/shader/slang/slang_compile.c Mesa/src/mesa/shader/slang/slang_storage.c Mesa/src/mesa/shader/slang/slang_storage.h ----------------------------------------------------------------------
* change local var names from "asm" to "assem" - I guess it causedMichal Krol2005-05-251-22/+22
| | | | gcc 3.3.5 to break, but not tested it
* a small utility to convert .syn files to its binary forms;Michal Krol2005-05-251-0/+79
| | | | does not require any command line params;