diff options
author | Samuel Iglesias Gonsalvez <[email protected]> | 2015-02-24 19:02:57 +0100 |
---|---|---|
committer | Eduardo Lima Mitev <[email protected]> | 2015-03-13 16:40:20 +0100 |
commit | b43bbfa90ace596c8b2e0b3954a5f69924726c59 (patch) | |
tree | c5b7010c5c9265a22183fbd90df673a90f96b82a /src/glsl/ast.h | |
parent | cf6f33ee68ca56df1650762634fa9c038359c3ec (diff) |
glsl: optimize (0 cmp x + y) into (-x cmp y).
The optimization done by commit 34ec1a24d did not take it into account.
Fixes:
dEQP-GLES3.functional.shaders.random.all_features.fragment.20
Signed-off-by: Samuel Iglesias Gonsalvez <[email protected]>
Reviewed-by: Ian Romanick <[email protected]>
Reviewed-by: Matt Turner <[email protected]>
Cc: "10.4 10.5" <[email protected]>
Diffstat (limited to 'src/glsl/ast.h')
0 files changed, 0 insertions, 0 deletions