nir, nir/algebraic: add byte/word insertion instructions

Signed-off-by: Rhys Perry <pendingchaos02@gmail.com>
Reviewed-by: Timur Kristóf <timur.kristof@gmail.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3151>
This commit is contained in:
Rhys Perry
2020-03-25 15:38:06 +00:00
committed by Marge Bot
parent edae3e5623
commit 1cbcfb8b38
24 changed files with 69 additions and 0 deletions

View File

@@ -59,6 +59,8 @@ static const nir_shader_compiler_options vs_nir_options = {
.lower_rotate = true,
.lower_sincos = true,
.lower_fceil = true,
.lower_insert_byte = true,
.lower_insert_word = true,
};
static const nir_shader_compiler_options fs_nir_options = {
@@ -74,6 +76,8 @@ static const nir_shader_compiler_options fs_nir_options = {
.lower_rotate = true,
.lower_fdot = true,
.lower_fdph = true,
.lower_insert_byte = true,
.lower_insert_word = true,
.lower_bitops = true,
.lower_vector_cmp = true,
};