diff options
author | Sagar Ghuge <[email protected]> | 2019-06-03 17:11:57 -0700 |
---|---|---|
committer | Sagar Ghuge <[email protected]> | 2019-07-01 10:14:22 -0700 |
commit | 456557a837ea005763283b6cbd172fe3b9c7e8f4 (patch) | |
tree | a24514b5ca5eef508d28957a93a0b8b61fac67bb /src/gallium/drivers/lima/lima_program.c | |
parent | 1e92e83856b1ef8a827a63359d59ed7883ed4994 (diff) |
nir: Add lower_rotate flag and set to true in all drivers
Signed-off-by: Sagar Ghuge <[email protected]>
Suggested-by: Matt Turner <[email protected]>
Reviewed-by: Matt Turner <[email protected]>
Diffstat (limited to 'src/gallium/drivers/lima/lima_program.c')
-rw-r--r-- | src/gallium/drivers/lima/lima_program.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/lima/lima_program.c b/src/gallium/drivers/lima/lima_program.c index 7adc3ba0a71..5e92726df06 100644 --- a/src/gallium/drivers/lima/lima_program.c +++ b/src/gallium/drivers/lima/lima_program.c @@ -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 * |