Mesa (master): glsl: Consider ubo_load to be a horizontal operation.
Matt Turner
mattst88 at kemper.freedesktop.org
Thu Feb 25 18:52:51 UTC 2016
Module: Mesa
Branch: master
Commit: 3da789f1e9e3eb027bcfdb9d9170e7b37160b5b9
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=3da789f1e9e3eb027bcfdb9d9170e7b37160b5b9
Author: Matt Turner <mattst88 at gmail.com>
Date: Mon Feb 22 09:36:48 2016 -0800
glsl: Consider ubo_load to be a horizontal operation.
Unclear to me whether it actually is a horizontal operation that cannot
be vectorized, but the fact that i965 generates the same code in either
case makes me less interested in finding out.
Cc: mesa-stable at lists.freedesktop.org
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=94199
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
---
src/compiler/glsl/ir.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/compiler/glsl/ir.h b/src/compiler/glsl/ir.h
index 93c893d..f6ed16d 100644
--- a/src/compiler/glsl/ir.h
+++ b/src/compiler/glsl/ir.h
@@ -1686,6 +1686,7 @@ public:
operation == ir_binop_dot ||
operation == ir_binop_vector_extract ||
operation == ir_triop_vector_insert ||
+ operation == ir_binop_ubo_load ||
operation == ir_quadop_vector;
}
More information about the mesa-commit
mailing list