KhronosGroup / KhronosGroup/VK-GL-CTS
two-for-loops-with-barrier-function reading uninitialized variable?
- Dominant language
- C++
- Stars
- 634
- Forks
- 361
- PR merge metrics
- No merged PRs in 30d
Description
It seems like this graphicsfuzz test is reading an uninitialized variable here:
https://github.com/KhronosGroup/VK-GL-CTS/blob/main/external/vulkancts/data/vulkan/amber/graphicsfuzz/two-for-loops-with-barrier-function.amber#L74
The test can hang depending on the value that's read. Is the test expecting the variable to be zero initialized?
Contributor guide
Research direction
Start with external/vulkancts/data/vulkan/amber/graphicsfuzz/two-for-loops-with-barrier-function.amber at line 74 and inspect how the variable is used around the two loops and barrier. Run the affected graphicsfuzz test to confirm whether the uninitialized read can cause a hang, then establish the expected initialization behavior and verify the test completes reliably.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- computer-graphics, testing-qa
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100