aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>2020-06-15 13:52:02 -0400
committerMarge Bot <eric+marge@anholt.net>2020-06-26 14:07:35 +0000
commit651d093298d07b52dbadd6759936aa2d426b6424 (patch)
tree79cd5a08d92b79a9af6676fdef03fae19959f319
parent90d34558488effc988d11e692ecf870084a6f709 (diff)
downloadexternal_mesa3d-651d093298d07b52dbadd6759936aa2d426b6424.tar.gz
external_mesa3d-651d093298d07b52dbadd6759936aa2d426b6424.tar.bz2
external_mesa3d-651d093298d07b52dbadd6759936aa2d426b6424.zip
zink: lower byte/word extract ops in nir
we don't implement these, and pre-optimizing them breaks things in ntv->vtn Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5562>
-rw-r--r--src/gallium/drivers/zink/zink_compiler.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/zink/zink_compiler.c b/src/gallium/drivers/zink/zink_compiler.c
index 8ffdcc4607c..a4e79d1ed26 100644
--- a/src/gallium/drivers/zink/zink_compiler.c
+++ b/src/gallium/drivers/zink/zink_compiler.c
@@ -90,6 +90,8 @@ static const struct nir_shader_compiler_options nir_options = {
.lower_flrp32 = true,
.lower_fpow = true,
.lower_fsat = true,
+ .lower_extract_byte = true,
+ .lower_extract_word = true,
};
const void *