Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | mesa: fix default switch case in append_token(), see bug 18734 | Brian Paul | 2008-11-28 | 1 | -2/+3 |
| | |||||
* | mesa: remove an assertion (see bug 18734) | Brian Paul | 2008-11-27 | 1 | -1/+0 |
| | |||||
* | mesa: add missing type check for function calls | Brian Paul | 2008-11-26 | 1 | -0/+15 |
| | |||||
* | mesa: add missing size check for assignment optimization | Brian Paul | 2008-11-26 | 1 | -1/+2 |
| | |||||
* | mesa: remove debug code | Brian Paul | 2008-11-26 | 1 | -1/+0 |
| | |||||
* | mesa: add some missing switch cases for generating state var strings | Brian Paul | 2008-11-26 | 1 | -10/+34 |
| | |||||
* | mesa: added support for GLSL 1.20 array.length() method | Brian Paul | 2008-11-24 | 7 | -0/+112 |
| | | | | This is the only method supported in GLSL 1.20 so we take a few short-cuts. | ||||
* | mesa: support for GLSL 1.20 array types | Brian Paul | 2008-11-24 | 11 | -2642/+2776 |
| | | | | This allows syntax like "float[8] foo, bar;" | ||||
* | mesa: add gl_program::Input/OutputFlags[] array | Brian Paul | 2008-11-24 | 2 | -20/+28 |
| | | | | | These arrays will indicate per-input or per-output options for vertex/fragment programs such as centroid-sampling and invariance. | ||||
* | mesa: copy centroid/invariance/precision info in parse_init_declarator() | Brian Paul | 2008-11-24 | 1 | -1/+4 |
| | |||||
* | mesa: check that varying variable qualifiers agree | Brian Paul | 2008-11-24 | 1 | -3/+28 |
| | |||||
* | mesa: copy precision/variant/centroid info in slang_fully_specified_type_copy() | Brian Paul | 2008-11-24 | 1 | -0/+3 |
| | |||||
* | mesa: set flags for varying vars | Brian Paul | 2008-11-24 | 1 | -4/+13 |
| | |||||
* | mesa: rename program parameter flags to match other Mesa conventions | Brian Paul | 2008-11-24 | 2 | -8/+8 |
| | |||||
* | mesa: copy Flags in _mesa_clone_parameter_list() | Brian Paul | 2008-11-24 | 1 | -0/+1 |
| | |||||
* | mesa: dump/debug varying vars list | Brian Paul | 2008-11-24 | 1 | -0/+5 |
| | |||||
* | mesa: added PROG_PARAM_ bits for invariant, flat/linear interpolation | Brian Paul | 2008-11-24 | 2 | -2/+14 |
| | | | | Plus, update the print/debug code. | ||||
* | mesa: add Flags field to gl_program_parameter | Brian Paul | 2008-11-24 | 4 | -24/+38 |
| | | | | Only one flag defined so far: PROG_PARAM_CENTROID_BIT | ||||
* | mesa: issue error, don't crash, when calling a prototyped, but undefined ↵ | Brian Paul | 2008-11-21 | 1 | -0/+7 |
| | | | | | | function Bug #18659. | ||||
* | mesa: better variable name: s/aux/store/ | Brian Paul | 2008-11-21 | 5 | -12/+15 |
| | |||||
* | mesa: minor comment reformattting | Brian Paul | 2008-11-19 | 1 | -16/+13 |
| | |||||
* | mesa: glsl compiler debug code | Brian Paul | 2008-11-19 | 1 | -141/+151 |
| | | | | RETURN0 macro reports file/line before returning zero. | ||||
* | mesa: rework GLSL array code generation | Brian Paul | 2008-11-19 | 5 | -160/+371 |
| | | | | | | | | | | | | | | 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. | ||||
* | mesa: don't realloc instruction buffer so often | Brian Paul | 2008-11-19 | 1 | -13/+22 |
| | |||||
* | mesa: updated comment | Brian Paul | 2008-11-19 | 1 | -0/+2 |
| | |||||
* | mesa: no longer need Writemask field in GLSL IR nodes | Brian Paul | 2008-11-13 | 4 | -69/+23 |
| | | | | The Swizzle and Size fields carry all the info we need now. | ||||
* | mesa: revamp GLSL instruction emit code | Brian Paul | 2008-11-13 | 1 | -244/+381 |
| | | | | | | | | | | | | | | | This is a step toward better array handling code. In particular, when more than one operand of an instruction uses indirect addressing, we'll need some temporary instructions and registers. By converting IR storage to instruction operands all in one place (emit_instruction()) we can be smarter about this. Also, somewhat better handling of dst register swizzle/writemask handling. This results in tighter writemasks on some instructions which is good for SOA execution. And, cleaner instruction commenting with inst_comment(). Next: remove some more dead code and additional clean-ups... | ||||
* | mesa: make writemask_string() non-static | Brian Paul | 2008-11-13 | 2 | -4/+7 |
| | |||||
* | mesa: remove some do-nothing GLSL code | Brian Paul | 2008-11-13 | 1 | -16/+0 |
| | |||||
* | mesa: fix accidental regression in GLSL built-in texture matrix lookup | Brian Paul | 2008-11-13 | 1 | -0/+1 |
| | | | | Was broken by commit 9aca9a4b72b2a7b378e50bd88f9c3324d07375ec. | ||||
* | mesa: use the tighter definition of GLSL ftransform() from the gallium branches | Brian Paul | 2008-11-13 | 2 | -31/+40 |
| | |||||
* | mesa: remove unused/obsolete __NormalMatrixTranspose matrix | Brian Paul | 2008-11-13 | 3 | -188/+184 |
| | |||||
* | mesa: fix bug in GLSL built-in matrix state lookup | Brian Paul | 2008-11-13 | 1 | -2/+5 |
| | |||||
* | mesa: tweak program register printing for RelAddr case | Brian Paul | 2008-11-13 | 1 | -1/+1 |
| | |||||
* | mesa: allow relative indexing into all register files and indirect dst ↵ | Brian Paul | 2008-11-11 | 3 | -128/+128 |
| | | | | register indexing | ||||
* | mesa: track initialization status of uniform variables. Plus, asst clean-ups. | Brian Paul | 2008-11-10 | 7 | -31/+52 |
| | |||||
* | mesa: initial support for uniform variable initializers. | Brian Paul | 2008-11-10 | 1 | -5/+22 |
| | | | | | This lets one specify initial values for uniforms in the code, avoiding the need to call glUniform() in some cases. | ||||
* | mesa: fix logic error in GLSL linker when looking for main() shaders | Brian Paul | 2008-11-10 | 1 | -5/+10 |
| | |||||
* | mesa: allows 'f' suffix on GLSL float literals | Brian Paul | 2008-11-10 | 2 | -6/+16 |
| | |||||
* | mesa: remove OPCODE_INT #define | Brian | 2008-11-08 | 1 | -3/+0 |
| | |||||
* | mesa: add support for 'centroid' qualifier in GLSL 1.20 | Brian Paul | 2008-11-07 | 11 | -2598/+2706 |
| | |||||
* | mesa: add support for 'invariant' keyword for GLSL 1.20 | Brian Paul | 2008-11-07 | 11 | -2609/+2749 |
| | |||||
* | mesa: reformat comments, rewrap lines, etc for a little better readability | Brian Paul | 2008-11-07 | 2 | -402/+418 |
| | |||||
* | mesa: forgot sqrt in NRM3/4 instructions | Brian Paul | 2008-11-07 | 1 | -2/+2 |
| | |||||
* | mesa: fix opcode table order bug | Brian Paul | 2008-11-07 | 1 | -2/+2 |
| | |||||
* | mesa: add GLSL support for DP2, NRM3, NRM4 instructions (not actually ↵ | Brian Paul | 2008-11-07 | 4 | -3/+18 |
| | | | | emitted yet though) | ||||
* | mesa: added DP2, DP2A instructions | Brian Paul | 2008-11-07 | 3 | -2/+32 |
| | |||||
* | mesa: added AND/OR/NOT/XOR instructions | Brian Paul | 2008-11-07 | 3 | -23/+199 |
| | |||||
* | mesa: include shader/prog_instruction.h | Brian Paul | 2008-11-07 | 1 | -0/+1 |
| | | | | Seems to fix a mysteriously missing build dependency. | ||||
* | mesa: added OPCODE_NRM3/NRM4 instructions for vector normalization. | Brian Paul | 2008-11-07 | 3 | -0/+45 |
| | | | | | | We may emit these instructions from GLSL instead of DP3/RCP/MUL. Also, implement SSG (set sign) instruction in the interpreter. |