aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/shader/slang/slang_link.h
Commit message (Collapse)AuthorAgeFilesLines
* Re-implement GLSL texture sampler variables.Brian2007-10-261-4/+0
| | | | | | | | | | GLSL sampler variables indicate which texture unit to use for TEX instructions. Previously, this was baked into the fragment/vertex program and couldn't be readily changed once set. Now, SamplerUnits[] array indicates which texture unit is to be used for each sampler variable. These values are set with glUniform1i(). This is extra state that must be passed to the fragment/vertex program executor at runtime.
* s/_slang_link2/_slang_link/Brian2007-02-161-2/+2
|
* remove old linker stuffBrian2007-02-021-329/+6
|
* Remove all dependencies on the old slang interpreter/executor.Brian2007-02-021-1/+0
|
* Implement vertex attribute binding.Brian2007-01-091-0/+3
| | | | | Users can set explicit binding with glBindAttribLocation(), otherwise the linker will allocate generic attribute slots.
* Checkpoint glsl compiler work: sampler uniforms now implemented, linked ↵Brian2007-01-051-0/+5
| | | | properly.
* Clean-up and re-org of the main GLSL object types.Brian2006-12-191-1/+1
| | | | | | | Use the gl_shader struct as it should be. Renamed gl_linked_program to gl_shader_program. Store both shaders and programs in the same hash table and use the Type field to distinguish them.
* use MAX_VARYINGBrian2006-12-151-2/+2
|
* Checkpoint new GLSL compiler back-end to produce fp/vp-style assembly ↵Brian2006-12-131-0/+8
| | | | instructions.
* reformat comments in Doxygen styleBrian Paul2006-11-031-44/+71
|
* Indent and cosmetic changes.Michal Krol2006-10-131-133/+143
|
* Fix attrib handling.Michal Krol2006-05-161-2/+5
|
* Remove carriage returns.Michal Krol2006-04-251-313/+313
|
* Add support for ARB_vertex_shader attrib binding and query.Michal Krol2006-04-181-9/+105
| | | | Clean-up ARB_shaderobjects code a bit.
* More GLSL code:Michal Krol2006-04-041-0/+22
| | | | | | | - add support for varyings; GLSL fixes: - pow was wrongly computed in x86 back-end;
* rename enums, fixes compilation breakage (Michal Krol)Brian Paul2006-03-151-3/+3
|
* More GLSL code:Michal Krol2006-03-141-5/+27
| | | | | - add texture sampling support; - fix assembly codegen bugs;
* silence a bunch of warningsBrian Paul2006-02-271-4/+4
|
* More GLSL code:Michal Krol2006-02-271-5/+110
| | | | | | | | | | | | | - 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/+68
- 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%.