summaryrefslogtreecommitdiffstats
path: root/src/mesa/shader
Commit message (Collapse)AuthorAgeFilesLines
* Merge commit 'origin/master' into gallium-0.2Alan Hourihane2008-11-284-12/+50
|\
| * mesa: remove an assertion (see bug 18734)Brian Paul2008-11-271-1/+0
| |
| * mesa: add missing type check for function callsBrian Paul2008-11-261-0/+15
| |
| * mesa: add missing size check for assignment optimizationBrian Paul2008-11-261-1/+2
| |
| * mesa: remove debug codeBrian Paul2008-11-261-1/+0
| |
| * mesa: add some missing switch cases for generating state var stringsBrian Paul2008-11-261-10/+34
| |
* | Merge commit 'origin/master' into gallium-0.2Alan Hourihane2008-11-2515-2642/+2888
|\|
| * mesa: added support for GLSL 1.20 array.length() methodBrian Paul2008-11-247-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 typesBrian Paul2008-11-2411-2642/+2776
| | | | | | | | This allows syntax like "float[8] foo, bar;"
* | Merge commit 'origin/master' into gallium-0.2Brian Paul2008-11-242-20/+28
|\| | | | | | | | | | | Conflicts: progs/glsl/Makefile
| * mesa: add gl_program::Input/OutputFlags[] arrayBrian Paul2008-11-242-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 Paul2008-11-241-1/+4
| |
| * mesa: check that varying variable qualifiers agreeBrian Paul2008-11-241-3/+28
| |
| * mesa: copy precision/variant/centroid info in slang_fully_specified_type_copy()Brian Paul2008-11-241-0/+3
| |
| * mesa: set flags for varying varsBrian Paul2008-11-241-4/+13
| |
| * mesa: rename program parameter flags to match other Mesa conventionsBrian Paul2008-11-242-8/+8
| |
| * mesa: copy Flags in _mesa_clone_parameter_list()Brian Paul2008-11-241-0/+1
| |
| * mesa: dump/debug varying vars listBrian Paul2008-11-241-0/+5
| |
| * mesa: added PROG_PARAM_ bits for invariant, flat/linear interpolationBrian Paul2008-11-242-2/+14
| | | | | | | | Plus, update the print/debug code.
| * mesa: add Flags field to gl_program_parameterBrian Paul2008-11-244-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 Paul2008-11-211-0/+7
| | | | | | | | | | | | function Bug #18659.
| * mesa: better variable name: s/aux/store/Brian Paul2008-11-215-12/+15
| |
* | mesa: copy centroid/invariance/precision info in parse_init_declarator()Brian Paul2008-11-241-1/+4
| |
* | mesa: check that varying variable qualifiers agreeBrian Paul2008-11-241-3/+28
| |
* | mesa: copy precision/variant/centroid info in slang_fully_specified_type_copy()Brian Paul2008-11-241-0/+3
| |
* | mesa: set flags for varying varsBrian Paul2008-11-241-4/+13
| |
* | mesa: rename program parameter flags to match other Mesa conventionsBrian Paul2008-11-242-8/+8
| |
* | mesa: copy Flags in _mesa_clone_parameter_list()Brian Paul2008-11-241-0/+1
| |
* | mesa: dump/debug varying vars listBrian Paul2008-11-241-0/+5
| |
* | mesa: added PROG_PARAM_ bits for invariant, flat/linear interpolationBrian Paul2008-11-242-2/+14
| | | | | | | | Plus, update the print/debug code.
* | mesa: add Flags field to gl_program_parameterBrian Paul2008-11-244-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 Paul2008-11-241-0/+7
| | | | | | | | | | | | function Bug #18659.
* | mesa: better variable name: s/aux/store/Brian Paul2008-11-245-12/+15
| |
* | Merge commit 'origin/master' into gallium-0.2Alan Hourihane2008-11-207-328/+557
|\|
| * mesa: minor comment reformatttingBrian Paul2008-11-191-16/+13
| |
| * mesa: glsl compiler debug codeBrian Paul2008-11-191-141/+151
| | | | | | | | RETURN0 macro reports file/line before returning zero.
| * mesa: rework GLSL array code generationBrian Paul2008-11-195-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 oftenBrian Paul2008-11-191-13/+22
| |
| * mesa: updated commentBrian Paul2008-11-191-0/+2
| |
* | Merge commit 'origin/master' into gallium-0.2Keith Whitwell2008-11-159-490/+568
|\| | | | | | | | | | | Conflicts: src/mesa/shader/prog_print.c
| * mesa: no longer need Writemask field in GLSL IR nodesBrian Paul2008-11-134-69/+23
| | | | | | | | The Swizzle and Size fields carry all the info we need now.
| * mesa: revamp GLSL instruction emit codeBrian Paul2008-11-131-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-staticBrian Paul2008-11-132-4/+7
| |
| * mesa: remove some do-nothing GLSL codeBrian Paul2008-11-131-16/+0
| |
| * mesa: fix accidental regression in GLSL built-in texture matrix lookupBrian Paul2008-11-131-0/+1
| | | | | | | | Was broken by commit 9aca9a4b72b2a7b378e50bd88f9c3324d07375ec.
| * mesa: use the tighter definition of GLSL ftransform() from the gallium branchesBrian Paul2008-11-132-31/+40
| |
| * mesa: remove unused/obsolete __NormalMatrixTranspose matrixBrian Paul2008-11-133-188/+184
| |
| * mesa: fix bug in GLSL built-in matrix state lookupBrian Paul2008-11-131-2/+5
| |
| * mesa: tweak program register printing for RelAddr caseBrian Paul2008-11-131-1/+1
| |
* | Merge commit 'origin/master' into gallium-0.2Brian Paul2008-11-1121-3182/+3495
|\| | | | | | | | | | | | | Conflicts: src/mesa/shader/prog_execute.c src/mesa/shader/slang/library/slang_vertex_builtin_gc.h