Mesa (master): r600: revert disabling llvm draw

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Wed Sep 16 08:36:17 UTC 2020


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

Author: Gert Wollny <gert.wollny at collabora.com>
Date:   Sun Jul  5 16:55:42 2020 +0200

r600: revert disabling llvm draw

Now that llvm supports NIR and lowers uniforms to UBO in draw
calls when this hasn't be done before this can be used again.

Signed-off-by: Gert Wollny <gert.wollny at collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6706>

---

 src/gallium/drivers/r600/r600_pipe_common.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/src/gallium/drivers/r600/r600_pipe_common.c b/src/gallium/drivers/r600/r600_pipe_common.c
index 8fa9aa89d97..8965f27a4a4 100644
--- a/src/gallium/drivers/r600/r600_pipe_common.c
+++ b/src/gallium/drivers/r600/r600_pipe_common.c
@@ -1286,10 +1286,6 @@ bool r600_common_screen_init(struct r600_common_screen *rscreen,
 	rscreen->family = rscreen->info.family;
 	rscreen->chip_class = rscreen->info.chip_class;
 	rscreen->debug_flags |= debug_get_flags_option("R600_DEBUG", common_debug_options, 0);
-	int has_draw_use_llvm = debug_get_bool_option("DRAW_USE_LLVM", FALSE);
-	if (!has_draw_use_llvm)
-	   setenv("DRAW_USE_LLVM", "no", 0);
-
 
 	r600_disk_cache_create(rscreen);
 



More information about the mesa-commit mailing list