From c043e93ca5349251d9dc6bb066a01be2e225dce8 Mon Sep 17 00:00:00 2001 From: Jason Ekstrand Date: Fri, 11 Mar 2022 14:55:48 -0600 Subject: [PATCH] bifrost: Lower usub_borrow Reviewed-by: Alyssa Rosenzweig Part-of: --- src/panfrost/bifrost/bifrost_compile.h | 1 + src/panfrost/ci/deqp-panfrost-g52-vk.toml | 1 + 2 files changed, 2 insertions(+) diff --git a/src/panfrost/bifrost/bifrost_compile.h b/src/panfrost/bifrost/bifrost_compile.h index 446ef24a2f9..9e409389dc0 100644 --- a/src/panfrost/bifrost/bifrost_compile.h +++ b/src/panfrost/bifrost/bifrost_compile.h @@ -77,6 +77,7 @@ static const nir_shader_compiler_options bifrost_nir_options = { /* TODO: Use IMULD on v7 */ .lower_mul_high = true, .lower_uadd_carry = true, + .lower_usub_borrow = true, .has_fsub = true, .has_isub = true, diff --git a/src/panfrost/ci/deqp-panfrost-g52-vk.toml b/src/panfrost/ci/deqp-panfrost-g52-vk.toml index b43b5450fdf..480ef75a861 100644 --- a/src/panfrost/ci/deqp-panfrost-g52-vk.toml +++ b/src/panfrost/ci/deqp-panfrost-g52-vk.toml @@ -6,6 +6,7 @@ include = [ "dEQP-VK.pipeline.blend.*", "dEQP-VK.api.copy_and_blit.core.*", "dEQP-VK.compute.builtin_var.*", + "dEQP-VK.glsl.builtin.function.integer.usubborrow.*", "dEQP-VK.image.load_store.with_format.1d.*", "dEQP-VK.image.load_store.with_format.1d_array.*", "dEQP-VK.image.load_store.with_format.2d.*",