diff options
author | Matt Turner <[email protected]> | 2015-12-01 16:13:11 -0800 |
---|---|---|
committer | Matt Turner <[email protected]> | 2015-12-08 15:41:08 -0800 |
commit | 3a7f95b3aa7397aa8a118d2634fdc5cf8f84f989 (patch) | |
tree | 0a8b97333d3d015c8a1baee932fcb244fcf3553f /src/glsl/link_uniforms.cpp | |
parent | 9e9e6fc8f1458c311474becad8c52e986698d92d (diff) |
nir: Optimize useless comparisons against true/false.
Reviewed-by: Jason Ekstrand <[email protected]> [v1]
Reviewed-by: Eric Anholt <[email protected]> [v1]
v2: Move new rule to Boolean simplification section
Add a a@bool != true simplification
Suggested-by: Neil Roberts <[email protected]>
Diffstat (limited to 'src/glsl/link_uniforms.cpp')
0 files changed, 0 insertions, 0 deletions