aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/shader/slang/slang_assemble_constructor.c
Commit message (Collapse)AuthorAgeFilesLines
* removed obsolete shader assembly filesBrian2007-02-021-421/+0
|
* Remove all dependencies on the old slang interpreter/executor.Brian2007-02-021-4/+4
|
* Overhaul handling of writemasks/swizzling. This fixes two problem cases:Brian2007-01-311-9/+8
| | | | | vec2 v; v.x = v.y = 1.0; // chained assignment vec4 v; v.zx = vec2(a,b); // swizzled writemask
* Checkpoint new GLSL compiler back-end to produce fp/vp-style assembly ↵Brian2006-12-131-2/+23
| | | | instructions.
* const correctness, clean-upsBrian Paul2006-11-231-19/+24
|
* move commentsBrian Paul2006-11-231-0/+15
|
* indentBrian Paul2006-11-231-303/+305
|
* More GLSL code - more support for vec4 operations on x86 back-end.Michal Krol2006-08-091-26/+20
|
* Remove carriage-return chars *ONLY*.Michal Krol2006-04-181-385/+385
|
* GLSL fixes:Michal Krol2006-03-211-15/+89
| | | | | | | | | | | | | | | | | | - 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;
* More GLSL code:Michal Krol2006-02-271-3/+1
| | | | | | | | | | | | | - 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;
* More GLSL code:Michal Krol2006-02-211-5/+5
| | | | | | | - 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%.
* More GLSL code.Michal Krol2006-02-181-83/+86
| | | | | | - general constructors allowed; - implement noise functions (from Stefan Gustavson - thanks!) - cosmetic stuff.
* Fix a few warnings:Brian Paul2006-02-151-6/+11
| | | | | | - nested comments (use #if 0 / #endif instead) - missing default clause in switch statements - use of possibly undefined variables
* Get it running for ARB_vertex_shader.Michal Krol2006-02-131-75/+39
| | | | | | | | | | | 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-301-4/+6
| | | | Minor fixes and cosmetic changes.
* silence gcc warningsKeith Whitwell2005-05-231-0/+6
|
* intermediate code generator (not finished);Michal Krol2005-05-191-0/+333
generic back-end interpreter (interprets directly intermediate code)