Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | mesa: Extend GLSL syntax to accept type precision in full type specifiers. | Michal Krol | 2008-08-07 | 3 | -24/+53 |
| | |||||
* | mesa: Silence compiler warnings on Windows. | Michal Krol | 2008-08-07 | 2 | -3/+3 |
| | |||||
* | mesa: glsl: regenerated file | Brian Paul | 2008-08-06 | 1 | -1/+1 |
| | |||||
* | mesa: glsl: report 'Syntax Error' instead of 'Invalid external declaration' | Brian Paul | 2008-08-06 | 1 | -1/+3 |
| | |||||
* | mesa: glsl: additional error checking | Brian Paul | 2008-08-06 | 1 | -0/+12 |
| | |||||
* | mesa: glsl: fix a number of glUniform issues | Brian Paul | 2008-08-06 | 1 | -31/+199 |
| | | | | | | | | | Additional error checking. Allow setting elements of uniform arrays. This involves encoding both a uniform location and a parameter offset in the value returned by glGetUniformLocation(). Limit glUniform[if]v()'s count to the size of the uniform array. When setting bool-valued uniforms, convert all float/int values to 0 or 1. | ||||
* | mesa: glsl: fix glGetUniform for matrix queries | Brian Paul | 2008-08-06 | 1 | -50/+79 |
| | |||||
* | mesa: glsl: fix error check in get_uniformfv() | Brian Paul | 2008-08-06 | 1 | -4/+9 |
| | |||||
* | mesa: glsl: check for rect tex samplers | Brian Paul | 2008-08-06 | 1 | -1/+9 |
| | |||||
* | mesa: glsl: disallow initializers for varying vars | Brian Paul | 2008-08-06 | 1 | -2/+10 |
| | |||||
* | mesa: glsl: more type checking for attribute/varying/uniform vars/locals | Brian Paul | 2008-08-06 | 1 | -4/+14 |
| | |||||
* | mesa: glsl: check that attribute vars are of float/vec/mat type | Brian Paul | 2008-08-06 | 3 | -0/+39 |
| | |||||
* | mesa: glsl: more assignment type checking | Brian Paul | 2008-08-06 | 1 | -60/+87 |
| | | | | | Also that const declarations have initializers and that uniforms/samplers can't have initializers. | ||||
* | mesa: glsl: fix SLANG_OPER_VARIABLE_DECL type checking case | Brian Paul | 2008-08-06 | 1 | -1/+1 |
| | |||||
* | mesa: glsl: count number of temp regs used | Haihao Xiang | 2008-08-06 | 2 | -3/+34 |
| | |||||
* | mesa: glsl: code consolidation in _slang_gen_declaration() | Brian Paul | 2008-08-05 | 1 | -36/+29 |
| | |||||
* | mesa: glsl: disallow user-defined functions/vars prefixed with gl_ | Brian Paul | 2008-08-05 | 1 | -0/+27 |
| | |||||
* | mesa: glsl: additional type checking for assignments, inequalities | Brian Paul | 2008-08-05 | 1 | -0/+16 |
| | |||||
* | mesa: glsl: generate error for main(any args) | Brian Paul | 2008-08-05 | 1 | -0/+6 |
| | |||||
* | mesa: glsl: regenerated file | Brian Paul | 2008-08-05 | 1 | -558/+552 |
| | |||||
* | mesa: glsl: remove invalid use of f.x syntax where f is a float | Brian Paul | 2008-08-05 | 1 | -44/+43 |
| | |||||
* | mesa: glsl: re-enable assignment type checking | Brian Paul | 2008-08-05 | 1 | -30/+30 |
| | |||||
* | mesa: glsl: regenerated files | Brian Paul | 2008-08-05 | 2 | -605/+579 |
| | |||||
* | mesa: glsl: re-org of intermediate/temp storage | Brian Paul | 2008-08-05 | 7 | -314/+304 |
| | | | | | | | | | | | | | | | Simplify the code for allocating storage for intermediate results. Use fewer temps in some cases. Also, use new asm vec4_move intrinsic instead of regular assigments in various constructors. For example: float f; vec3 v; v.xyz = f; is not legal GLSL, so do this instead: __asm vec4_move v.xyz, f; // note: f will auto-expand into f.xxxx Plus, fix assorted bugs in structure comparison. | ||||
* | mesa: glsl: disable broken assignment type checking for now | Brian Paul | 2008-08-05 | 1 | -0/+1 |
| | |||||
* | mesa: glsl: check struct types in _slang_assignment_compatible() | Brian Paul | 2008-08-04 | 1 | -1/+14 |
| | |||||
* | mesa: glsl: varying vars can't be user-defined structs | Brian Paul | 2008-08-04 | 1 | -1/+8 |
| | |||||
* | mesa: glsl: regenerated files | Brian Paul | 2008-08-04 | 2 | -45/+46 |
| | |||||
* | mesa: glsl: added vec4(ivec4) constructor | Brian Paul | 2008-08-04 | 1 | -0/+5 |
| | |||||
* | mesa: glsl: if/while/do condition must be boolean | Brian Paul | 2008-08-04 | 1 | -2/+24 |
| | |||||
* | mesa: glsl: additional type checking for ?: and = operators | Brian Paul | 2008-08-04 | 1 | -6/+69 |
| | |||||
* | mesa: glsl: don't allow comparision of arrays | Brian Paul | 2008-08-04 | 1 | -18/+30 |
| | |||||
* | mesa: glsl: error on const-qualified array declarations | Brian Paul | 2008-08-04 | 1 | -5/+13 |
| | |||||
* | mesa: glsl: added null ptr check | Brian Paul | 2008-08-04 | 1 | -0/+2 |
| | |||||
* | mesa: glsl: set literal_size for const vars | Brian Paul | 2008-08-04 | 1 | -0/+1 |
| | |||||
* | mesa: glsl: add missing code emit for struct/field | Brian Paul | 2008-08-04 | 1 | -0/+4 |
| | |||||
* | mesa: glsl: stop code emit after error is recorded | Brian Paul | 2008-08-04 | 1 | -0/+6 |
| | |||||
* | mesa: glsl: check that rhs of const var initializer is also const | Brian Paul | 2008-08-04 | 1 | -0/+38 |
| | |||||
* | mesa: glsl: handle user-defined const vars in expression simplification | Brian Paul | 2008-08-04 | 1 | -5/+41 |
| | |||||
* | mesa: glsl: fix initialize size error check | Brian Paul | 2008-08-04 | 1 | -1/+1 |
| | |||||
* | mesa: glsl: added initializer size/type error checking | Brian Paul | 2008-08-04 | 1 | -4/+5 |
| | |||||
* | mesa: glsl: only allow one #version directive | Brian Paul | 2008-08-04 | 2 | -5/+10 |
| | |||||
* | mesa: glsl: regenerated file | Brian Paul | 2008-08-04 | 1 | -714/+721 |
| | |||||
* | mesa: glsl: new bvec4 constructor | Brian Paul | 2008-08-04 | 1 | -0/+9 |
| | |||||
* | mesa: glsl: remove old assertion (fixes glsl/bitmap.c) | Brian Paul | 2008-07-29 | 1 | -1/+0 |
| | |||||
* | mesa: disable debug code | Brian Paul | 2008-07-29 | 1 | -1/+1 |
| | |||||
* | mesa: glsl: assorted fixes for resolving polymorphic functions | Brian Paul | 2008-07-25 | 8 | -202/+391 |
| | | | | | | | Plus, - fix some issues in casting function arguments to format param types. - fix some vec/mat constructor bugs - find/report more syntax/semantic errors | ||||
* | mesa: regenerated files | Brian Paul | 2008-07-25 | 2 | -30/+10 |
| | |||||
* | mesa: glsl: re-order some constructors | Brian Paul | 2008-07-25 | 1 | -12/+12 |
| | |||||
* | mesa: glsl: remove unneeded operators | Brian Paul | 2008-07-25 | 1 | -50/+0 |
| |