diff options
author | Olivier Galibert <[email protected]> | 2012-05-02 23:11:40 +0200 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2012-05-08 12:55:50 -0700 |
commit | 8ec01ba2ff95449674c779c05afcd32bbf7dbdc8 (patch) | |
tree | e368ae55dbf3e8a52ddc966b3b8d2087e4bec1e3 /src/glsl/opt_constant_folding.cpp | |
parent | a270e86d382597d4d01ebcfa1693e21d778cbe6d (diff) |
glsl: Add methods to copy parts of one ir_constant into another.
- copy_masked_offset copies part of a constant into another,
assign-like.
- copy_offset copies a constant into (a subset of) another,
funcall-return like.
These methods are to be used to trace through assignments and function
calls when computing a constant expression.
Signed-off-by: Olivier Galibert <[email protected]>
Reviewed-by: Kenneth Graunke <[email protected]>
Reviewed-by: Eric Anholt <[email protected]> [v1]
Diffstat (limited to 'src/glsl/opt_constant_folding.cpp')
0 files changed, 0 insertions, 0 deletions