diff options
author | Ilia Mirkin <[email protected]> | 2015-08-20 22:13:48 -0400 |
---|---|---|
committer | Ilia Mirkin <[email protected]> | 2015-08-20 22:16:46 -0400 |
commit | 8483577f6b393c26dc21f6693e44760404ba6fcb (patch) | |
tree | 14e34ccdd6a7c340dcb2e722fb21b3a6ec67daf1 /src/glsl/opt_constant_propagation.cpp | |
parent | ecebd3dbfcb769b44e99733279c8fb0745818708 (diff) |
nv50/ir: pre-compute BFE arg when both bits and offset are imm
Due to a quirk in how the nv50 opt passes run, the algebraic
optimization that looks for these BFE's happens before the constant
folding pass. Rearranging these passes isn't a great idea, but this is
easy enough to fix. Allows a following cvt to eliminate the bfe in
certain situations.
Signed-off-by: Ilia Mirkin <[email protected]>
Diffstat (limited to 'src/glsl/opt_constant_propagation.cpp')
0 files changed, 0 insertions, 0 deletions