lima/ppir: enable lower_fdph
authorErico Nunes <nunes.erico@gmail.com>
Tue, 10 Dec 2019 18:08:29 +0000 (19:08 +0100)
committerErico Nunes <nunes.erico@gmail.com>
Wed, 11 Dec 2019 14:55:48 +0000 (15:55 +0100)
Otherwise we may lower some fdot to fdph which is not implemented in pp.

Fixes #2126

Signed-off-by: Erico Nunes <nunes.erico@gmail.com>
Reviewed-by: Vasily Khoruzhick <anarsoul@gmail.com>
src/gallium/drivers/lima/lima_program.c

index a057cdbdabe0b7e6edbdf82db288ad31d7407f6b..071a736624d2bd181f18a5c20858497bd6fa3f40 100644 (file)
@@ -68,6 +68,7 @@ static const nir_shader_compiler_options fs_nir_options = {
    .lower_fsign = true,
    .lower_rotate = true,
    .lower_fdot = true,
+   .lower_fdph = true,
    .lower_bitops = true,
    .lower_vector_cmp = true,
 };