nir: Add lower_rotate flag and set to true in all drivers

Signed-off-by: Sagar Ghuge <sagar.ghuge@intel.com>
Suggested-by: Matt Turner <mattst88@gmail.com>
Reviewed-by: Matt Turner <mattst88@gmail.com>
This commit is contained in:
Sagar Ghuge
2019-06-03 17:11:57 -07:00
parent 1e92e83856
commit 456557a837
9 changed files with 11 additions and 0 deletions

View File

@@ -52,6 +52,7 @@ static const nir_shader_compiler_options vs_nir_options = {
/* could be implemented by clamp */
.lower_fsat = true,
.lower_bitshift = true,
.lower_rotate = true,
};
static const nir_shader_compiler_options fs_nir_options = {
@@ -63,6 +64,7 @@ static const nir_shader_compiler_options fs_nir_options = {
.lower_flrp32 = true,
.lower_flrp64 = true,
.lower_fsign = true,
.lower_rotate = true,
};
const void *