Age | Commit message (Collapse) | Author | |
---|---|---|---|
2008-12-15 | mesa: checkpoint: handle uniform vars in _slang_gen_var_decl() | Brian Paul | |
This allows uniform declarations with scalar/array initializers. The code is rough though, and will be cleaned up. | |||
2008-12-12 | mesa: use IFLOOR(x) instead of (int) FLOORF(x) | Brian Paul | |
2008-12-12 | mesa: place glsl constant arrays in constant memory | Brian Paul | |
For example, a declaration like const float[3] xxx = float[3](1.1, 2.2, 3.3); will place the array in the constant buffer whereas a regular, non-const array would be placed in the temporary register file. Next up: do the same thing for uniform arrays. | |||
2008-12-12 | mesa: remove old size=4 limit | Brian Paul | |
2008-12-12 | mesa: code clean-up in glsl compiler | Brian Paul | |
2008-12-12 | mesa: remove unneeded swizzle init code in glsl compiler | Brian Paul | |
2008-12-12 | mesa: disable glsl debug output | Brian Paul | |
2008-12-12 | mesa: remove unused varpool code in glsl compiler | Brian Paul | |
2008-12-12 | mesa: basic array constructors work now | Brian Paul | |
For example: float[3] xxx = float[3](1.1, 2.2, 3.3); Optimizations for const-qualified arrays next. | |||
2008-12-12 | mesa: copy array_len in slang_fully_specified_type_copy() | Brian Paul | |
2008-12-12 | mesa: remove incorrect array_len assignment | Brian Paul | |
2008-12-12 | mesa: array size fix in _slang_typeof_operation() | Brian Paul | |
2008-12-12 | mesa: fix some more GLSL 1.20 array things. | Brian Paul | |
Function that return arrays should work now. | |||
2008-12-12 | mesa: more glsl function renaming | Brian Paul | |
2008-12-12 | mesa: use _slang_alloc() | Brian Paul | |
2008-12-12 | mesa: glsl compiler function renaming | Brian Paul | |
2008-12-12 | mesa: more glsl type/function movement | Brian Paul | |
2008-12-12 | mesa: move some glsl compiler functions to different files to be more consistant | Brian Paul | |
2008-12-12 | mesa: move _slang_locate_function() to different file | Brian Paul | |
2008-12-12 | mesa: remove unused fixup table code in glsl compiler | Brian Paul | |
2008-12-12 | mesa: checkpoint: GLSL 1.20 array constructors | Brian Paul | |
2008-12-11 | mesa: consolidate variable declaration initializer code for globals too | Brian Paul | |
2008-12-11 | mesa: move variable initializer IR generation into _slang_gen_var_decl() | Brian Paul | |
More code consolidation coming... | |||
2008-12-11 | mesa: simplify some glsl variable declaration code | Brian Paul | |
2008-12-11 | mesa: glsl clean-ups | Brian Paul | |
2008-12-11 | mesa: checkpoint commit of GLSL 1.20 array syntax. | Brian Paul | |
This allows things like float[3] x = float[3](1., 2., 3.); Parsing and AST construction now. Codegen not working yet. | |||
2008-12-09 | mesa: in slang linker, replace assertion with link error when max samplers ↵ | Brian Paul | |
exceeded | |||
2008-11-28 | mesa: fix default switch case in append_token(), see bug 18734 | Brian Paul | |
2008-11-27 | mesa: remove an assertion (see bug 18734) | Brian Paul | |
2008-11-26 | mesa: add missing type check for function calls | Brian Paul | |
2008-11-26 | mesa: add missing size check for assignment optimization | Brian Paul | |
2008-11-26 | mesa: remove debug code | Brian Paul | |
2008-11-26 | mesa: add some missing switch cases for generating state var strings | Brian Paul | |
2008-11-24 | mesa: added support for GLSL 1.20 array.length() method | Brian Paul | |
This is the only method supported in GLSL 1.20 so we take a few short-cuts. | |||
2008-11-24 | mesa: support for GLSL 1.20 array types | Brian Paul | |
This allows syntax like "float[8] foo, bar;" | |||
2008-11-24 | mesa: add gl_program::Input/OutputFlags[] array | Brian Paul | |
These arrays will indicate per-input or per-output options for vertex/fragment programs such as centroid-sampling and invariance. | |||
2008-11-24 | mesa: copy centroid/invariance/precision info in parse_init_declarator() | Brian Paul | |
2008-11-24 | mesa: check that varying variable qualifiers agree | Brian Paul | |
2008-11-24 | mesa: copy precision/variant/centroid info in slang_fully_specified_type_copy() | Brian Paul | |
2008-11-24 | mesa: set flags for varying vars | Brian Paul | |
2008-11-24 | mesa: rename program parameter flags to match other Mesa conventions | Brian Paul | |
2008-11-24 | mesa: copy Flags in _mesa_clone_parameter_list() | Brian Paul | |
2008-11-24 | mesa: dump/debug varying vars list | Brian Paul | |
2008-11-24 | mesa: added PROG_PARAM_ bits for invariant, flat/linear interpolation | Brian Paul | |
Plus, update the print/debug code. | |||
2008-11-24 | mesa: add Flags field to gl_program_parameter | Brian Paul | |
Only one flag defined so far: PROG_PARAM_CENTROID_BIT | |||
2008-11-21 | mesa: issue error, don't crash, when calling a prototyped, but undefined ↵ | Brian Paul | |
function Bug #18659. | |||
2008-11-21 | mesa: better variable name: s/aux/store/ | Brian Paul | |
2008-11-19 | mesa: minor comment reformattting | Brian Paul | |
2008-11-19 | mesa: glsl compiler debug code | Brian Paul | |
RETURN0 macro reports file/line before returning zero. | |||
2008-11-19 | mesa: rework GLSL array code generation | Brian Paul | |
We now express arrays in terms of indirect addressing. For example: dst = a[i]; becomes: MOV dst, TEMP[1 + TEMP[2].y]; At instruction-emit time indirect addressing is converted into ARL/ ADDR-relative form: ARL ADDR.x, TEMP[2].y; MOV dst, TEMP[1 + ADDR.x]; This fixes a number of array-related issues. Arrays of arrays and complex array/struct nesting works now. There may be some regressions, but more work is coming. |