summaryrefslogtreecommitdiffstats
path: root/src/mesa/swrast/s_arbshader.c
Commit message (Collapse)AuthorAgeFilesLines
* Retire old GLSL shader code.Brian2006-12-131-124/+0
|
* Write back gl_FragDepth to span->array->z.Michal Krol2006-11-011-1/+10
|
* Always convert colors to float before running a fragment shader/program.Brian Paul2006-10-171-22/+17
|
* New SWspan and SWspanarrays typedefs.Brian Paul2006-10-011-1/+1
|
* Clean-up FEATURE_ARB_shader_objects #ifdefs. Bug 7492.Michal Krol2006-08-011-0/+5
|
* load SLANG_FRAGMENT_FIXED_SECONDARYCOLORBrian Paul2006-07-211-0/+10
|
* just reindentBrian Paul2006-07-211-64/+60
|
* More GLSL code:Michal Krol2006-04-111-99/+109
| | | | | | | | | | | | - use macros to access and modify render inputs bit-field; - un-alias generic vertex attributes for ARB vertex calls; - use MAX_VERTEX_PROGRAM_ATTRIBS (NV code) or MAX_VERTEX_ATTRIBS (ARB code) in place of VERT_ATTRIB_MAX; - define VERT_ATTRIB_GENERIC0..15 for un-aliased vertex attributes for ARB_vertex_shader; - fix generic attribute index range check in arbprogparse.c; - interface GLSL varyings between vertex and fragment shader; - use 64-bit optimised bitset (bitset.h) for render inputs;
* GLSL fixes:Michal Krol2006-03-211-5/+7
| | | | | | | | | | | | | | | | | | - 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;
* only run shader on active fragments in the spanBrian Paul2006-02-281-0/+3
|
* More GLSL code:Michal Krol2006-02-271-45/+25
| | | | | | | | | | | | | - 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;
* include proper header file, remove local extern declarationsBrian Paul2006-02-221-6/+3
|
* Add arbshader stage.Michal Krol2006-02-151-0/+117