summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-03-31Add ast_function::hirIan Romanick
ast_function::hir consists of bits pulled out of ast_function_definition::hir. In fact, the later uses the former to do a lot of its processing. Several class private data fields were added to ast_function to facilitate communicate between the two. This causes the following tests to pass: glslparsertest/shaders/CorrectModule.frag This causes the following tests to fail. These shaders were previously failing to compile, but they were all failing for the wrong reasons. glslparsertest/shaders/function9.frag glslparsertest/shaders/function10.frag
2010-03-31Fix exec_list::move_nodes_to when the source list is emptyIan Romanick
2010-03-31Use ir_variable::clone to copy parameters to the function bodyIan Romanick
Several other code movements were also done. This partitions this function into two halves. The first half processes the prototype part, and the second have processes the actual function definition. The coming patch series will parition ast_function_definition::hir into (at least) two separate functions.
2010-03-31Add ir_variable::cloneIan Romanick
2010-03-31Minor cleanups in ast_function_definition::hirIan Romanick
2010-04-01r300g: add RGBA16F colorbuffer supportMarek Olšák
Disabled by default due to unresolved IP issues.
2010-04-01r300g: add RGTC texture supportMarek Olšák
The CS checker already knows about this.
2010-03-31Generate array constructor callsIan Romanick
2010-03-31Add ir_function_signature::function_nameIan Romanick
2010-03-31Make ir_function::signatures privateIan Romanick
2010-03-31Add ir_function::iterator to iterate over function signaturesIan Romanick
2010-03-31Use ir_function::add_signature to create link between function and signatureIan Romanick
ir_function_signature now has a pointer back to the ir_function that owns it.
2010-03-31Add glsl_type::generate_constructor_prototypeIan Romanick
Generates a symbol table entry and the IR approximation of a prototype for a type's constructor. Currently only arrays are supported.
2010-03-31Refactor parts of match_function_by_name into process_parameters and ↵Ian Romanick
process_call These will be used in the functions that implement calls to array constructors.
2010-03-31Reject array constructor calls in GLSL 1.10Ian Romanick
2010-03-31Use ast_type_specifier::glsl_type to get the type of a constructorIan Romanick
This is the first baby step towards getting array constructors working.
2010-03-31Move type_specifier_to_glsl_type to ast_type_specifier::glsl_typeIan Romanick
This make is easily accessible from other modules.
2010-03-31More array declaration testsIan Romanick
2010-03-31Fix big dumbness in glsl_type::get_array_instanceIan Romanick
hash_table_insert needs to keep the key so that it compare keys on a following hash_table_find call. Since key was allocated on the stack, it disappeared out from under the hash table.
2010-04-01r300g: format handling cleanupMarek Olšák
2010-03-31softpipe: Use S3TC when avaiilable,José Fonseca
2010-03-31util: Hook into libtxc_dxtn.so (WIP).José Fonseca
2010-03-31glsl_type array constructor generate a real name for the typeIan Romanick
2010-03-31llvmpipe: Don't call unused generate_clamp().José Fonseca
2010-03-31libgl-xlib: Fix missing X11 symbols.José Fonseca
2010-03-31util: Make the accessors bidimensional again.José Fonseca
Otherwise there's no way to unpack blocks with height >1
2010-03-31Test that const declarations include initializers.Eric Anholt
Fixes dataType6.frag, and also array2.frag for an unexpected but valid reason.
2010-03-31Reject declarations with 'in' or 'out' qualifiersIan Romanick
'in' and 'out' can only be used in function parameter lists or at global scope (1.30 and later). This change enforces this.
2010-03-31Add 'in' to some parameters of the functionIan Romanick
This goes along with the qualifier-?? tests.
2010-03-31Add some variable declaration qualifier testsIan Romanick
2010-03-31Fix comment bug and printf bug in previous commitIan Romanick
2010-03-31util: First stab at half-float conversion.Michal Krol
2010-03-31Require that 'uniform' and 'varying' variables be declared at global scopeIan Romanick
This causes the following tests to pass: glslparsertest/shaders/uniform.frag glslparsertest/shaders/varying.frag
2010-03-31Slightly refector checks for declarations that must be at global scopeIan Romanick
2010-03-31util: Describe PIPE_FORMAT_NONE as PIPE_FORMAT_R8_USCALED.José Fonseca
Avoids the need to special case PIPE_FORMAT_NONE so often. Conflicts: src/gallium/auxiliary/util/u_format_table.py
2010-03-31Implement logical operators.Eric Anholt
Fixes parser9.frag.
2010-03-31Test that variable names don't use the reserved gl_ prefix.Eric Anholt
Fixes identifier2.frag.
2010-03-31util: Silence pointer to integer size mismatch errors.José Fonseca
2010-03-31util: Add callback to fetch a single pixel.José Fonseca
2010-03-31python/tests: Read the number of tests to execute from command line.José Fonseca
2010-03-31mesa: Use a consistent name of the external s3tc library for all windows ↵José Fonseca
compilers.
2010-03-31scons: Force to consider the util/u_format_pack.py for util/u_format_table.c.José Fonseca
2010-03-31scons: Don't always include/links X11 headers/libs.José Fonseca
Move it into a separate tool. TODO: Needs to be "tooled" in each SConscript that uses it.
2010-03-31scons: Don't always link expat.José Fonseca
Only needed for DRI. Should be linked in DRI specific subdirectories.
2010-03-31llvmpipe: Disable threads by default on embedded.José Fonseca
2010-03-31os: Temporarily use posix thread for embedded too.Kurt Daverman
2010-03-31scons: Allow any toolchain to be specified in the command line.José Fonseca
2010-03-31util: Remove the hand written u_tile.c functions for the ones that are code ↵José Fonseca
generated correctly. Not that the code generated are any better, but to quickly detect any regression in the code generated ones from now on.
2010-03-31util: Use u_format_pack.py's code instead of u_format_access.py.José Fonseca
2010-03-31llvmpipe: Don't rely on u_format_access.pyJosé Fonseca