Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

printf: Add Basic DebugPrintf string validation #8294

Merged

Conversation

spencer-lunarg
Copy link
Contributor

Currently we do zero validation for debug printf, things like debugPrintfEXT("vector of %f", myInt); or other variations will blindly start printing garbage and there is nothing validating it

Checked and Renderdoc follows the same formatting so this should be universal (left comment)

To start these are all warnings, but some things feel like errors (so we might change them in future)

@spencer-lunarg spencer-lunarg requested a review from a team as a code owner July 16, 2024 15:38
@ci-tester-lunarg
Copy link
Collaborator

CI Vulkan-ValidationLayers build queued with queue ID 219086.

@ci-tester-lunarg
Copy link
Collaborator

CI Vulkan-ValidationLayers build # 17080 running.

@ci-tester-lunarg
Copy link
Collaborator

CI Vulkan-ValidationLayers build # 17080 passed.

@spencer-lunarg spencer-lunarg force-pushed the spencer-lunarg-printf-debug branch from 549bf06 to e6f1271 Compare July 18, 2024 01:35
@ci-tester-lunarg
Copy link
Collaborator

CI Vulkan-ValidationLayers build queued with queue ID 220063.

@ci-tester-lunarg
Copy link
Collaborator

CI Vulkan-ValidationLayers build # 17087 running.

@ci-tester-lunarg
Copy link
Collaborator

CI Vulkan-ValidationLayers build # 17087 passed.

@spencer-lunarg spencer-lunarg merged commit 58428b0 into KhronosGroup:main Jul 18, 2024
21 checks passed
@spencer-lunarg spencer-lunarg deleted the spencer-lunarg-printf-debug branch July 18, 2024 02:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants