Skip to content

adding debug_printf like in vulkan #157

@Arne-Berner

Description

@Arne-Berner

Hejhej! I saw a discussion about vulkan having debug_printf on discord, linking to these docs:
https://github.com/KhronosGroup/Vulkan-ValidationLayers/blob/main/docs/debug_printf.md

This has been proposed in wgsl before:
gpuweb/gpuweb#4348

But it has been dropped since.
This issue also seems to talk about it: gpuweb/gpuweb#4704
There is also a proposal for a print buffer.

What do you think, is this worth investigating? A discussion on discord noted that you can create this behaviour yourself by using a storage buffer + an atomic counter.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions