Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | glsl: Add a new ir_txs (textureSize) opcode to ir_texture. | Kenneth Graunke | 2011-08-23 | 1 | -0/+1 |
| | | | | | | | | One unique aspect of TXS is that it doesn't have a coordinate. Signed-off-by: Kenneth Graunke <[email protected]> Reviewed-by: Ian Romanick <[email protected]> Reviewed-by: Dave Airlie <[email protected]> | ||||
* | glsl: Change texel offsets to a single vector rvalue. | Kenneth Graunke | 2011-01-31 | 1 | -0/+1 |
| | | | | | | | | | | | Having these as actual integer values makes it difficult to implement the texture*Offset built-in functions, since the offset is actually a function parameter (which doesn't have a constant value). The original rationale was that some hardware needs these offset baked into the instruction opcode. However, at least i965 should be able to support non-constant offsets. Others should be able to rely on inlining and constant propagation. | ||||
* | glsl2: Set a flag when visiting the assignee of an assignment | Ian Romanick | 2010-09-03 | 1 | -0/+7 |
| | |||||
* | glsl2: Add a generic visitor class to call back with pointers to each rvalue. | Eric Anholt | 2010-08-13 | 1 | -0/+134 |
I keep copy and pasting this code all over, so consolidate it in one place. |