[Mesa-dev] [PATCH shader-db 5/5] README: Add instructions for radeonsi
Tom Stellard
thomas.stellard at amd.com
Mon Apr 13 12:47:16 PDT 2015
---
README | 17 ++++++++++++++++-
1 file changed, 16 insertions(+), 1 deletion(-)
diff --git a/README b/README
index 4e09937..adb970c 100644
--- a/README
+++ b/README
@@ -4,7 +4,7 @@ A giant pile of shaders from various apps, for whatever purpose. In
particular, we use it to capture assembly output of the shader
compiler for analysis of regressions in compiler behavior.
-Currently it supports Mesa's i965 driver only.
+Currently it supports Mesa's i965 and radeonsi drivers.
=== Capturing shaders ===
env MESA_GLSL=dump appname |& tee log
@@ -13,6 +13,8 @@ env MESA_GLSL=dump appname |& tee log
# complete.
$EDITOR shaders/appname/*
+=== i965 Usage ===
+
=== Running shaders ===
./run shaders 2> err | tee new-run
@@ -30,6 +32,19 @@ to run.
=== Analysis ===
./report.py old-run new-run
+
+=== radeonsi Usage ===
+
+=== Running shaders ===
+
+ST_DEBUG=precompile R600_DEBUG=ps,vs,gs,precompile ./run shaders -1 2> new-run
+
+-1 option for disabling multi-threading is required to avoid garbled shader dumps.
+
+=== Analysis ===
+./si-report.py old-run new-run
+
+
=== Dependencies ===
run requires some GNU C extensions, render nodes (/dev/dri/renderD128),
libepoxy, OpenMP, and Mesa configured with --with-egl-platforms=x11,drm
--
2.0.4
More information about the mesa-dev
mailing list