KhronosGroup / KhronosGroup/SPIRV-Tools

Pass manager: Optionally log transforms that are performed

Open
#963 3 comments 0 reactions 0 assignees View on GitHub
component:optimization enhancement
Dominant language
C++
Stars
1.4k
Forks
709
Avg merge
1d 22h
Merged PRs (30d)
28

Description

Request from ISVs and IHVs to log transforms that are applied.

If targeting SPIR-V 1.1, then use OpModuleProcessed.
Otherwise, mimic what Glslang does to append strings.

I'd like to make this an off-by-default option on the optimizer.

Contributor guide

Open the contributing guide

Research direction

Start by locating the optimizer's pass manager and how it currently handles transform execution and options. Compare the SPIR-V 1.1 OpModuleProcessed approach with Glslang's string-appending behavior; done means an off-by-default option logs performed transforms using the appropriate mechanism.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
compilers
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.