summaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorVasily Khoruzhick <[email protected]>2019-09-01 14:37:23 -0700
committerVasily Khoruzhick <[email protected]>2019-09-09 10:25:30 -0700
commite6dbf6d9487ad12b44c81b246d0314547e55da98 (patch)
treeafe94743ea30badcd28c1786db5d049b69b83f9d /src/gallium
parentc64f30546d87a19e2aec34e202919571e9b0c868 (diff)
lima/gpir: lower fceil
GP doesn't support fceil so we need to lower it. Reviewed-by: Connor Abbott <[email protected]> Reviewed-by: Erico Nunes <[email protected]> Reviewed-by: Andreas Baierl <[email protected]> Signed-off-by: Vasily Khoruzhick <[email protected]>
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/drivers/lima/lima_program.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/lima/lima_program.c b/src/gallium/drivers/lima/lima_program.c
index 6a8b51db9a7..f92c64a300d 100644
--- a/src/gallium/drivers/lima/lima_program.c
+++ b/src/gallium/drivers/lima/lima_program.c
@@ -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 = {