lima/gpir: lower fceil
authorVasily Khoruzhick <anarsoul@gmail.com>
Sun, 1 Sep 2019 21:37:23 +0000 (14:37 -0700)
committerVasily Khoruzhick <anarsoul@gmail.com>
Mon, 9 Sep 2019 17:25:30 +0000 (10:25 -0700)
GP doesn't support fceil so we need to lower it.

Reviewed-by: Connor Abbott <cwabbott0@gmail.com>
Reviewed-by: Erico Nunes <nunes.erico@gmail.com>
Reviewed-by: Andreas Baierl <ichgeh@imkreisrum.de>
Signed-off-by: Vasily Khoruzhick <anarsoul@gmail.com>
src/gallium/drivers/lima/lima_program.c

index 6a8b51db9a7030fd5cc1893d3da89b5ea5ac5655..f92c64a300d317b355a1d24fbfab1beef93b5eb9 100644 (file)
@@ -54,6 +54,7 @@ static const nir_shader_compiler_options vs_nir_options = {
    .lower_bitops = true,
    .lower_rotate = true,
    .lower_sincos = true,
+   .lower_fceil = true,
 };
 
 static const nir_shader_compiler_options fs_nir_options = {