diff options
author | Tom Stellard <thomas.stellard@amd.com> | 2015-04-13 19:47:16 +0000 |
---|---|---|
committer | Matt Turner <mattst88@gmail.com> | 2015-04-13 14:16:20 -0700 |
commit | 23e3086191fb0d2308c6ba60bee1a3fce28c3032 (patch) | |
tree | 9e26c420a8adf7f4a8e148be7a39562120ea5495 | |
parent | ab7d7a02eefbb2603a8fe21255760817a4b736d1 (diff) |
README: Add instructions for radeonsi
-rw-r--r-- | README | 17 |
1 files changed, 16 insertions, 1 deletions
@@ -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 |