On Sat, Jan 3, 2015 at 12:10 PM, Thomas Helland
wrote:
> I was just looking at the git log and noticed the commit:
>i965: Show opt_vector_float() and later passes in INTEL_DEBUG=optimizer.
> It converts a macro to use the GNU Statement Expression extension.
> This would greatly simplify the ma
I was just looking at the git log and noticed the commit:
i965: Show opt_vector_float() and later passes in INTEL_DEBUG=optimizer.
It converts a macro to use the GNU Statement Expression extension.
This would greatly simplify the macro I've written in this patch,
so I'm considering rewriting it
Change opt_algebraic to use the new macro.
Remove the old less than / greater than functions.
---
src/glsl/ir_constant_util.h | 49 ++---
src/glsl/opt_algebraic.cpp | 8
2 files changed, 23 insertions(+), 34 deletions(-)
diff --git a/src/glsl/ir_