From: Mike Blumenkrantz Date: Mon, 15 Jun 2020 17:52:02 +0000 (-0400) Subject: zink: lower byte/word extract ops in nir X-Git-Tag: upstream/21.0.0~8209 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=651d093298d07b52dbadd6759936aa2d426b6424;p=platform%2Fupstream%2Fmesa.git 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 Part-of: --- diff --git a/src/gallium/drivers/zink/zink_compiler.c b/src/gallium/drivers/zink/zink_compiler.c index 8ffdcc4..a4e79d1 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 *