KhronosGroup / KhronosGroup/SPIRV-Tools
Refactor validator so you can unit test block nesting depth calculations.
Open
component:validation
dev:testing
- Dominant language
- C++
- Stars
- 1.4k
- Forks
- 709
- Avg merge
- 1d 22h
- Merged PRs (30d)
- 28
Description
See https://github.com/KhronosGroup/SPIRV-Tools/pull/511
Contributor guide
Research direction
Start by reviewing the issue's referenced pull request 511 and the validator code it discusses. Identify how block nesting depth is currently calculated and what must be separated to make that calculation unit-testable; done means focused tests can exercise the calculation independently.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- compilers
- Issue type
- Refactor
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100