[Mesa-dev] [PATCH 3/4] r600g: remove unused sbcl env. variable
Constantine Kharlamov
Hi-Angel at yandex.ru
Tue Apr 25 11:59:46 UTC 2017
sb-based optimization was only used for older LLVM, whose support was
removed in 100796c15c3a1467d03abc424e6f1494da02f376 "gallium/radeon:
drop support for LLVM 3.5". As of now sbcl variable doesn't do anything.
Signed-off-by: Constantine Kharlamov <Hi-Angel at yandex.ru>
Tested-by: Dieter Nützel <Dieter at nuetzel-hh.de>
---
src/gallium/drivers/r600/r600_pipe.c | 1 -
src/gallium/drivers/r600/sb/notes.markdown | 1 -
2 files changed, 2 deletions(-)
diff --git a/src/gallium/drivers/r600/r600_pipe.c b/src/gallium/drivers/r600/r600_pipe.c
index 12bf5517a9..a7b28a2d57 100644
--- a/src/gallium/drivers/r600/r600_pipe.c
+++ b/src/gallium/drivers/r600/r600_pipe.c
@@ -47,7 +47,6 @@ static const struct debug_named_value r600_debug_options[] = {
/* shader backend */
{ "nosb", DBG_NO_SB, "Disable sb backend for graphics shaders" },
- { "sbcl", DBG_SB_CS, "Enable sb backend for compute shaders" },
{ "sbdry", DBG_SB_DRY_RUN, "Don't use optimized bytecode (just print the dumps)" },
{ "sbstat", DBG_SB_STAT, "Print optimization statistics for shaders" },
{ "sbdump", DBG_SB_DUMP, "Print IR dumps after some optimization passes" },
diff --git a/src/gallium/drivers/r600/sb/notes.markdown b/src/gallium/drivers/r600/sb/notes.markdown
index 63c010883d..e48135c69c 100644
--- a/src/gallium/drivers/r600/sb/notes.markdown
+++ b/src/gallium/drivers/r600/sb/notes.markdown
@@ -13,7 +13,6 @@ Debugging
There are new flags:
- **nosb** - Disable sb backend for graphics shaders
- - **sbcl** - Enable optimization of compute shaders (experimental)
- **sbdry** - Dry run, optimize but use source bytecode -
useful if you only want to check shader dumps
without the risk of lockups and other problems
--
2.12.2
More information about the mesa-dev
mailing list