Mesa (master): radv/aco: Don't lower subtractions

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Mon Sep 30 10:02:35 UTC 2019


Module: Mesa
Branch: master
Commit: 0fb27f1e5a1ea35e46352d7ea176d329ac90e3c2
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=0fb27f1e5a1ea35e46352d7ea176d329ac90e3c2

Author: Daniel Schürmann <daniel at schuermann.dev>
Date:   Wed Sep 25 16:34:29 2019 +0200

radv/aco: Don't lower subtractions

40228 shaders in 20236 tests
Totals:
SGPRS: 2045512 -> 2046496 (0.05 %)
VGPRS: 1430856 -> 1430464 (-0.03 %)
Spilled SGPRs: 1077 -> 1077 (0.00 %)
Spilled VGPRs: 0 -> 0 (0.00 %)
Private memory VGPRs: 0 -> 0 (0.00 %)
Scratch size: 10348 -> 10348 (0.00 %) dwords per thread
Code Size: 77202840 -> 77151832 (-0.07 %) bytes
LDS: 863 -> 863 (0.00 %) blocks
Max Waves: 260729 -> 260754 (0.01 %)

Reviewed-by: Eric Anholt <eric at anholt.net>
Reviewed-by: Connor Abbott <cwabbott0 at gmail.com>

---

 src/amd/vulkan/radv_shader.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/amd/vulkan/radv_shader.c b/src/amd/vulkan/radv_shader.c
index 086f7cd8616..5fe361d44cf 100644
--- a/src/amd/vulkan/radv_shader.c
+++ b/src/amd/vulkan/radv_shader.c
@@ -92,7 +92,6 @@ static const struct nir_shader_compiler_options nir_options_aco = {
 	.lower_fdiv = true,
 	.lower_bitfield_insert_to_bitfield_select = true,
 	.lower_bitfield_extract = true,
-	.lower_sub = true, /* TODO: set this to false once !1236 is merged */
 	.lower_pack_snorm_2x16 = true,
 	.lower_pack_snorm_4x8 = true,
 	.lower_pack_unorm_2x16 = true,




More information about the mesa-commit mailing list