summaryrefslogtreecommitdiffstats
path: root/src/mesa/program
Commit message (Collapse)AuthorAgeFilesLines
* mesa: assorted clean-ups, var type changes, assertions in prog_optimize.cBrian Paul2010-08-131-30/+63
|
* mesa: more/better program optimizationsBenjamin Segovia2010-08-131-219/+385
| | | | | | | This is the patch from Benjamin's Aug 11, 2010 email with minor fixes (such as moving declarations before code) Signed-off-by: Brian Paul <[email protected]>
* mesa: Include missing header in programopt.h.Vinson Lee2010-08-121-0/+1
| | | | Include mtypes.h for GLcontext and gl_register_file symbols.
* mesa: Clean up header file inclusion in prog_uniform.h.Vinson Lee2010-08-121-2/+1
| | | | | | Remove mtypes.h. Remove prog_statevars.h. Include glheader.h for GL symbols.
* mesa: Include missing headers in prog_print.h.Vinson Lee2010-08-121-0/+10
| | | | | | | Include stdio.h for FILE symbol. Include glheader.h for GL symbols. Include mtypes.h for GLcontext symbol. Add forward declarations.
* mesa: Include missing header in prog_optimize.h.Vinson Lee2010-08-121-0/+1
| | | | Include mtypes.h for GLcontext symbol.
* mesa: Include missing header in prog_noise.h.Vinson Lee2010-08-111-0/+2
| | | | Include glheader.h for GLfloat symbol.
* mesa: Clean up header file inclusion in prog_instruction.h.Vinson Lee2010-08-111-1/+1
| | | | | Remove mfeatures.h. Include glheader.h for GL symbols.
* mesa: Include missing header in prog_execute.h.Vinson Lee2010-08-111-0/+1
| | | | Include mtypes.h for GLcontext symbol.
* mesa: Include missing header in prog_cache.h.Vinson Lee2010-08-111-0/+3
| | | | Include mtypes.h for GLcontext symbol.
* mesa: Include missing header in nvvertparse.h.Vinson Lee2010-08-111-0/+1
| | | | Include mtypes.h for GLcontext symbol.
* mesa: Include missing header in nvfragparse.h.Vinson Lee2010-08-111-0/+1
| | | | Include mtypes.h for GLcontext symbol.
* mesa: Remove unnecessary header from hash_table.h.Vinson Lee2010-08-111-2/+0
|
* mesa: additional program limit assertionsBrian Paul2010-08-101-1/+9
|
* mesa: increase the relative address offset limit to 4096 in ARB_vp/fpMarek Olšák2010-08-042-4/+4
| | | | | | | | | | | | | | | | | | | Even though the spec says that the limits should be -64/+63, proprietary drivers support much larger relative offsets and some applications do depend on this non-standard behavior. Also program_parse.tab.c has been regenerated. This fixes the parser error: ARB_vp: error: relative address offset too large See also: https://bugs.freedesktop.org/show_bug.cgi?id=28628 4096 * sizeof(vec4) is the maximum size of the constant buffer on NV50. It is not supposed to be a definite hardware limit, it is for the parser not to get in the way and let the underlying driver decide whether it can run the shader or not.
* mesa: Remove inclusion of compiler.h from mtypes.h.Vinson Lee2010-07-311-0/+1
| | | | | | | mtypes.h does not use any symbols from compiler.h. Also add the required headers for files that depended on symbols from compiler.h but were indirectly including compiler.h through mtypes.h.
* mesa: Remove unnecessary headers.Vinson Lee2010-07-311-1/+0
|
* mesa: added gl_program::IndirectRegisterFiles fieldBrian Paul2010-07-306-210/+222
| | | | | | | | Now drivers, etc. can know which register files are accessed with indirect addressing. Before we just checked gl_program::NumAddressRegs but didn't know if that was the constant buffer, temp regs, or what. The only user of this new field so far will be the gallium state tracker.
* mesa: Include macros.h in files that use symbols from macros.h.Vinson Lee2010-07-301-0/+1
| | | | Don't rely on inclusion of other files that already include macros.h.
* mesa: implement RCC opcodeBrian Paul2010-07-291-0/+54
|
* mesa: update table of opcodes used by GLSLBrian Paul2010-07-291-8/+8
|
* Regenerate program/lex.yy.cCarl Worth2010-07-211-179/+206
| | | | Based on the two recent changes to program_lexer.l.
* Avoid more warnings in flex-generated code.Carl Worth2010-07-211-0/+7
| | | | | | | | | | This avoids two "function defined but not used" warnings. For the yyinput function we define YY_NO_INPUT which tells flex to simply not generate this function. For unput, we add a call to this function, but inside a while(0) so that it will quiet the warning without actually changing any functionality.
* Avoid warnings in flex-generated code.Carl Worth2010-07-211-0/+6
| | | | | | Add declarations for two functions generated in the flex ouput. It would be nicer if flex simply declared these generated functions as static, but for now we can at least avoid the warning this way.
* mesa: add comments and change Index2D to just Index2Zack Rusin2010-07-132-8/+18
|
* mesa: make uniform work with geometry shadersZack Rusin2010-07-101-5/+13
|
* mesa: add basic support for 2D register arrays to mesaZack Rusin2010-07-092-3/+17
| | | | | just like in Gallium it's a basic functionality needed by a lot of modern graphcis extensions
* mesa: updated instruction commentsBrian Paul2010-07-021-4/+3
|
* mesa: Silence warning.José Fonseca2010-07-021-1/+2
|
* mesa: initial support for ARB_geometry_shader4Zack Rusin2010-06-286-3/+88
| | | | | | laying down the foundation for everything and implementing most of the stuff. linking, gl_VerticesIn and multidimensional inputs are left.
* mesa: rename src/mesa/shader/ to src/mesa/program/Brian Paul2010-06-1044-0/+28006