KhronosGroup / KhronosGroup/SPIRV-Tools
[spirv-val] Incorrect error message on local size
Open
- Dominant language
- C++
- Stars
- 1.4k
- Forks
- 709
- Avg merge
- 1d 22h
- Merged PRs (30d)
- 28
Description
```
error: Local Size execution mode must not have a product of zero (X = 1048576, Y = 1048576, Z = 1048576)
```
I'm pretty sure `1048576^3 != 0`.
Contributor guide
Research direction
Start by locating the spirv-val validation check that emits the shown “Local Size execution mode” error. Trace how the X, Y, and Z values are combined, then add regression coverage showing that the reported values do not produce a zero product and verify the corrected diagnostic.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- compilers
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100