summaryrefslogtreecommitdiffstats
path: root/src/amd/vulkan/radv_debug.c
diff options
context:
space:
mode:
authorSamuel Pitoiset <[email protected]>2017-09-11 16:12:15 +0200
committerSamuel Pitoiset <[email protected]>2017-09-14 10:37:57 +0200
commitb3c8de1c55c5253add9ea46e8184f2c0d47b2ab1 (patch)
tree88c146455fff5a650a551f29a408d7c1e3ee6035 /src/amd/vulkan/radv_debug.c
parentd7f2430703fc83401579dec79acf7a8e3a8a559d (diff)
radv: save all descriptor pointers into the trace BO
To dump them when a hang is detected. Signed-off-by: Samuel Pitoiset <[email protected]> Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Diffstat (limited to 'src/amd/vulkan/radv_debug.c')
-rw-r--r--src/amd/vulkan/radv_debug.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/amd/vulkan/radv_debug.c b/src/amd/vulkan/radv_debug.c
index 733374cbb7c..397a9ef4214 100644
--- a/src/amd/vulkan/radv_debug.c
+++ b/src/amd/vulkan/radv_debug.c
@@ -48,6 +48,9 @@
* [1]: secondary trace ID
* [2-3]: 64-bit GFX pipeline pointer
* [4-5]: 64-bit COMPUTE pipeline pointer
+ * [6-7]: 64-bit descriptor set #0 pointer
+ * ...
+ * [68-69]: 64-bit descriptor set #31 pointer
*/
bool