summaryrefslogtreecommitdiff
path: root/src/glsl/ir_validate.cpp
AgeCommit message (Collapse)Author
2010-08-14Revert "glsl2: Use stdint.h instead of inttypes.h"José Fonseca
This reverts commit a77a6bc008b3146c56431fa520a00e1f8dfa3938.
2010-08-13glsl2: Use stdint.h instead of inttypes.hIan Romanick
2010-08-11glsl2: added casts to silence warningsBrian Paul
2010-08-05glsl2: Add a pass to convert exp and log to exp2 and log2.Eric Anholt
Fixes ir_to_mesa handling of unop_log, which used the weird ARB_vp LOG opcode that doesn't do what we want. This also lets the multiplication coefficients in there get constant-folded, possibly. Fixes: glsl-fs-log
2010-08-04glsl2: Additional validation of write masksIan Romanick
2010-08-03glsl2: Fix ir_validate validating null variable names.Eric Anholt
An unnamed variable in a prototype will have a NULL ->name, so don't worry about storage then. Fixes: CorrectFunction1.vert CorrectParse1.frag
2010-08-02glsl2: Clean-up two 'unused variable' warningsIan Romanick
2010-08-02glsl2: Add validation that talloc ownership of ir_* names is right.Eric Anholt
2010-08-02glsl2: Fix validation for ir_unop_not.Eric Anholt
We use vector ir_unop_not to implement builtin not(), and that seems fine.
2010-08-02glsl2: Give the path within src/mesa/ for headers instead of relying on -I.Aras Pranckevicius
2010-07-27ir_validate: Check the types of expression operations.Eric Anholt
2010-07-27glsl2: Fix missing visit_continue return in ir_validate.Eric Anholt
2010-07-22glsl2: Validate that ir_if conditions are actually bool.Eric Anholt
2010-07-20glsl2: Check that nodes in a valid tree aren't error-type.Eric Anholt
We're good at propagating error types around, but finding when the first one was triggered can be painful if we aren't paying attention.
2010-07-19glsl2: Give IR nodes a type field.Eric Anholt
This is a big deal for debugging if nothing else ("what class is this ir_instruction, really?"), but is also nice for avoiding building a whole visitor or an if (node->as_whatever() || node->as_other_thing()) chain.
2010-07-12ir_validate: Also perform usual checks on ir_dereference_variable nodesIan Romanick
2010-07-12ir_validate: Validate that varibles are declared before used in IRIan Romanick
2010-07-12ir_validate: Additional function related invariant checksIan Romanick
Add two invariant checks related to functions and function signatures: 1. Ensure that function definitions (ir_function) are not nested. 2. Ensure that the ir_function pointed to by an ir_function_signature is the one that contains it in its signatures list.
2010-07-06Add hash table helper functions for using pointers as hash keysIan Romanick
2010-06-24glsl2: Wrap includes of C interfaces with extern "C".Eric Anholt
2010-06-24glsl2: Move the compiler to the subdirectory it will live in in Mesa.Eric Anholt