summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKonstantin Seurer <konstantin.seurer@gmail.com>2023-06-08 20:06:00 +0200
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>2023-06-19 15:40:22 +0000
commit6bfce461647c141392ec1c293561a2c3ef678886 (patch)
treeb1ca438b8646949f0384d8ce7ee42aef8044078b
parent788c53bc6ade3d2dbcb52380b553e7e13699ba00 (diff)
report-fossil: Add all common stage names
This patch adds handling for all possible stage names returned by _mesa_shader_stage_to_string. Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
-rwxr-xr-xreport-fossil.py30
1 files changed, 17 insertions, 13 deletions
diff --git a/report-fossil.py b/report-fossil.py
index 4a2016b..8144468 100755
--- a/report-fossil.py
+++ b/report-fossil.py
@@ -143,6 +143,23 @@ for n in range(8):
executables = {
+ # common stage names
+ 'vertex' : 'vs',
+ 'tessellation control': 'tcs',
+ 'tessellation evaluation': 'tes',
+ 'geometry' : 'gs',
+ 'fragment': 'fs',
+ 'compute': 'cs',
+ 'task': 'task',
+ 'mesh': 'mesh',
+ 'raygen' : 'rgen',
+ 'any hit' : 'ahit',
+ 'closest hit' : 'chit',
+ 'miss' : 'miss',
+ 'intersection' : 'intersection',
+ 'callable' : 'callable',
+ 'kernel': 'ks',
+
# RADV executable names
'Vertex Shader' : 'vs',
'Vertex + Tessellation Control Shaders' : 'vs_tcs',
@@ -174,22 +191,9 @@ executables = {
'CS (Render)' : 'cs',
# Anv executable names
- 'vertex' : 'vs',
- 'geometry' : 'gs',
- 'tessellation control': 'tcs',
- 'tessellation evaluation': 'tes',
- 'mesh': 'mesh',
- 'task': 'task',
- 'kernel': 'ks',
'SIMD8 fragment': 'fs.8',
'SIMD16 fragment': 'fs.16',
'SIMD32 fragment': 'fs.32',
- 'compute': 'cs',
- 'raygen' : 'rgen',
- 'any hit' : 'ahit',
- 'miss' : 'miss',
- 'closest hit' : 'chit',
- 'intersection' : 'intersection',
}