diff options
author | Abdiel Janulgue <[email protected]> | 2014-06-16 12:28:00 -0700 |
---|---|---|
committer | Abdiel Janulgue <[email protected]> | 2014-08-31 21:04:09 +0300 |
commit | cbd225057ad6df7ac3f8c982ecec64ec4658013c (patch) | |
tree | 4504a3cefe9ade58d94b1acabed02e03f9f20e53 /scons/dxsdk.py | |
parent | b2c0c35907eb5f0b271b3d5a9799539a53cdfe20 (diff) |
i965/fs: Refactor try_emit_saturate
v3: Since the fs backend can emit saturate as a separate instruction, there is
no need to detect for min/max instructions and to rewrite the instruction tree
accordingly. On the other hand, we don't need to emit a separate saturated
mov either when the expression generating src can do saturate directly.
v4: Add can_do_saturate() check before enabling saturate modifer (Ken)
Reviewed-by: Matt Turner <[email protected]>
Reviewed-by: Ian Romanick <[email protected]>
Signed-off-by: Abdiel Janulgue <[email protected]>
Diffstat (limited to 'scons/dxsdk.py')
0 files changed, 0 insertions, 0 deletions