mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-20 22:30:12 +01:00
doc/vc4: Remove reference to old shader-db
Piglit has the traces now. Signed-off-by: Daniel Stone <daniels@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31111>
This commit is contained in:
parent
d8839b2548
commit
0f6be273f1
1 changed files with 5 additions and 12 deletions
|
|
@ -267,24 +267,17 @@ the counters, you can work out which ones they were at the GL level by
|
||||||
opening the trace up in qapitrace and using ``^-G`` to jump to that call
|
opening the trace up in qapitrace and using ``^-G`` to jump to that call
|
||||||
number and ``^-L`` to look up the GL state at that call.
|
number and ``^-L`` to look up the GL state at that call.
|
||||||
|
|
||||||
shader-db
|
Trace Testing
|
||||||
---------
|
-------------
|
||||||
|
|
||||||
shader-db is often used as a proxy for real-world app performance when
|
shader-db is often used as a proxy for real-world app performance when
|
||||||
working on the compiler in Mesa. On VC4, there is a lot of
|
working on the compiler in Mesa. On VC4, there is a lot of
|
||||||
state-dependent code in the shaders (like blending or vertex attribute
|
state-dependent code in the shaders (like blending or vertex attribute
|
||||||
format handling), so the typical `shader-db
|
format handling), so the typical `shader-db
|
||||||
<https://gitlab.freedesktop.org/mesa/shader-db>`__ will miss important
|
<https://gitlab.freedesktop.org/mesa/shader-db>`__ will miss important
|
||||||
areas for optimization. Instead, anholt wrote a `new one
|
areas for optimization. Piglit can instead test apitraces, such as
|
||||||
<https://cgit.freedesktop.org/~anholt/shader-db-2/>`__ based on
|
those captured in
|
||||||
apitraces. Once you have a collection of traces, starting from
|
`traces-db <https://gitlab.freedesktop.org/gfx-ci/tracie/traces-db/>`__.
|
||||||
`traces-db <https://gitlab.freedesktop.org/gfx-ci/tracie/traces-db/>`__,
|
|
||||||
you can test a compiler change in this shader-db with::
|
|
||||||
|
|
||||||
./run.py > before
|
|
||||||
(cd ../mesa && make install)
|
|
||||||
./run.py > after
|
|
||||||
./report.py before after
|
|
||||||
|
|
||||||
Hardware Documentation
|
Hardware Documentation
|
||||||
----------------------
|
----------------------
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue