summaryrefslogtreecommitdiffstats
path: root/src/compiler/glsl/ir.h
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gmail.com>2016-02-22 09:36:48 -0800
committerMatt Turner <mattst88@gmail.com>2016-02-25 10:50:34 -0800
commit3da789f1e9e3eb027bcfdb9d9170e7b37160b5b9 (patch)
treed4a0b65bd11c88d846bc8bf44362d62409222bc1 /src/compiler/glsl/ir.h
parentd1509a5848dee57b933139ad2610e99ae09cb5ec (diff)
downloadexternal_mesa3d-3da789f1e9e3eb027bcfdb9d9170e7b37160b5b9.zip
external_mesa3d-3da789f1e9e3eb027bcfdb9d9170e7b37160b5b9.tar.gz
external_mesa3d-3da789f1e9e3eb027bcfdb9d9170e7b37160b5b9.tar.bz2
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@lists.freedesktop.org Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=94199 Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Diffstat (limited to 'src/compiler/glsl/ir.h')
-rw-r--r--src/compiler/glsl/ir.h1
1 files changed, 1 insertions, 0 deletions
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;
}