Lionel Landwerlin
72bc74f0be
anv: add shader-hash debug option
Emits a dummy MI_STORE_DATA_IMM with the shader hash in front of :
- 3DSTATE_VS
- 3DSTATE_HS
- 3DSTATE_DS
- 3DSTATE_HS
- 3DSTATE_PS
- COMPUTE_WALKER / GPGPU_WALKER
Example :
0x00000000: 0x10000002: MI_STORE_DATA_IMM
0x00000000: 0x10000002 : Dword 0
DWord Length: 2
Force Write Completion Check : false
Store Qword: 0
Use Global GTT: false
0x00000004: 0xffffe0c0 : Dword 1
Core Mode Enable: 0
0x00000008: 0x0000effe : Dword 2
Address: 0xeffeffffe0c0
0x0000000c: 0x126e815a : Dword 3 <------------ shader hash
0x00000010: 0x78100007 : Dword 4
Immediate Data: 309231962
0x00000000: 0x78100007: 3DSTATE_VS
0x00000000: 0x78100007 : Dword 0
DWord Length: 7
0x00000004: 0x00000000 : Dword 1
0x00000008: 0x00000000 : Dword 2
Kernel Start Pointer: 0x00000000
0x0000000c: 0x00040000 : Dword 3
Software Exception Enable: false
Accesses UAV: false
It'll correlate with the value emitted in the pipeline stats from fossil replay :
$ grep -i 126e815a /tmp/stats.csv
fossilize.aab93c5c3f965151.1.foz,GRAPHICS,de1b925dec8a8083,507378,498283,303434,vertex,8,50,4,0,1826,0,0,0,8,17,0,0x00000000126e815a,15
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34332>
2025-04-04 15:18:28 +00:00
..
2025-02-27 20:10:10 +00:00
2025-01-28 23:01:32 +00:00
2025-03-06 16:25:03 +00:00
2025-03-06 16:25:03 +00:00
2025-03-26 20:19:07 +00:00
2025-02-23 15:16:50 +00:00
2025-04-04 15:18:28 +00:00
2025-03-28 04:38:09 +00:00
2025-01-29 13:57:26 +00:00
2025-03-26 20:19:07 +00:00
2025-03-12 09:37:50 +00:00
2025-04-04 15:18:28 +00:00
2025-03-27 08:28:20 +00:00
2025-04-04 15:18:28 +00:00
2025-03-05 17:20:12 +00:00
2025-01-30 19:24:47 +00:00
2025-02-23 15:16:50 +00:00
2025-03-28 04:38:09 +00:00
2025-04-04 15:18:28 +00:00
2025-02-20 21:59:16 +00:00
2025-02-22 08:30:22 +00:00
2025-01-24 10:19:28 +00:00
2025-04-04 15:18:28 +00:00
2025-02-15 18:38:14 +02:00
2025-03-25 11:23:45 +00:00
2025-04-04 15:18:28 +00:00
2025-03-25 08:01:14 +00:00
2025-03-29 02:15:18 +00:00
2025-04-04 15:18:28 +00:00
2024-12-16 23:01:11 +00:00
2025-03-04 15:24:39 +00:00
2025-02-05 20:33:15 +00:00
2025-02-24 08:08:02 +00:00
2025-02-05 09:56:03 +00:00
2025-03-25 23:54:32 +00:00
2025-02-11 22:03:09 +00:00
2025-01-10 21:45:04 +00:00
2024-12-04 10:41:44 +00:00
2025-03-28 18:25:40 +00:00
2025-03-12 09:37:50 +00:00
2025-03-29 02:15:18 +00:00
2025-04-04 15:18:28 +00:00
2025-03-04 15:24:39 +00:00
2025-04-04 15:18:28 +00:00
2025-04-01 00:03:56 +03:00
2025-04-04 07:23:48 +00:00
2025-04-04 15:18:28 +00:00
2025-03-12 09:37:50 +00:00
2025-02-27 19:49:02 +00:00
2025-02-01 07:54:37 +00:00
2025-04-01 00:03:56 +03:00
2025-03-05 17:20:12 +00:00
2025-03-25 10:35:19 +00:00
2025-03-12 09:37:50 +00:00
2025-02-01 20:11:28 +01:00