aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/shader/slang/slang_link.c
Commit message (Collapse)AuthorAgeFilesLines
* glGetAttribLocation always returned 1 (bug 11774)Brian2007-07-311-1/+3
|
* Be more consistant with paths in #includes. Eventually, eliminate a bunch ↵Brian2007-07-041-10/+10
| | | | of -I flags.
* Added error check that all varying vars needed by the fragment shader are ↵Brian2007-04-261-8/+35
| | | | produced by vertex shader.
* move allocation of shProg->Attributes earlier in functionBrian2007-04-211-3/+3
|
* Start fixing some issues with uniform variables and their types.Brian2007-04-181-2/+2
|
* call ProgramStringNotify() after linkingBrian2007-04-181-0/+6
|
* use _mesa_clear_shader_program_data()Brian2007-04-121-1/+1
|
* remove debug abort() callsBrian2007-03-261-3/+4
|
* disable printing shader program debug infopost-merge-glsl-compiler-1Brian2007-03-261-4/+4
|
* In _mesa_add_unnamed_constant() and _mesa_lookup_parameter_constant() allow ↵Brian2007-03-221-2/+2
| | | | | | | | swizzleOut==NULL. There are times when we don't want to allow swizzling when searching for or adding vector constants. Passing NULL for swizzleOut disables swizzling. This fixes a constant/swizzle bug in link_uniform_vars().
* fix incorrect HPOS write testBrian2007-03-071-2/+2
|
* Generate an error if the vertex shader does not write to gl_Position.Brian2007-03-071-1/+12
|
* fix vert/frag typoBrian2007-03-061-1/+1
|
* replace GLint with gl_state_indexBrian2007-02-231-1/+1
|
* Re-implement branching with slang_labels.Brian2007-02-231-42/+0
| | | | | | This eliminates the NOP instructions that had been used as placeholders for branch targets. Also, fix "return" statement bug.
* remove dead codeBrian2007-02-161-21/+0
|
* s/_slang_link2/_slang_link/Brian2007-02-161-6/+6
|
* Use IR_LOOP to represent do-while and for-loops.Brian2007-02-071-1/+1
| | | | Also, start moving high vs. low-level instruction selection into slang_emit.c
* rename slang_link2.c slang_link.cBrian2007-02-021-0/+647
|
* Remove old slang linker code.Brian2007-02-021-871/+0
|
* Remove all dependencies on the old slang interpreter/executor.Brian2007-02-021-2/+0
|
* use MAX_VARYINGBrian2006-12-151-1/+1
|
* Indent and cosmetic changes.Michal Krol2006-10-131-555/+623
|
* Fix attrib handling.Michal Krol2006-05-161-29/+48
|
* Remove carriage returns.Michal Krol2006-04-251-786/+786
|
* Add support for ARB_vertex_shader attrib binding and query.Michal Krol2006-04-181-104/+358
| | | | Clean-up ARB_shaderobjects code a bit.
* More GLSL code:Michal Krol2006-04-041-19/+114
| | | | | | | - add support for varyings; GLSL fixes: - pow was wrongly computed in x86 back-end;
* More GLSL code:Michal Krol2006-03-141-14/+36
| | | | | - add texture sampling support; - fix assembly codegen bugs;
* More GLSL code:Michal Krol2006-02-271-7/+236
| | | | | | | | | | | | | - 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-0/+186
- 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%.