You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm experimenting with writing a Debug Printf sample that would run a compute shader to generate Debug Printf output. I don't see a way to create a sample that doesn't create a window. It seems that before any of my code is run, a window has already been created. Is there a way for a sample to avoid window creation and simply output to the console window?
The text was updated successfully, but these errors were encountered:
Interesting idea, currently --headless can be used to disable the window, but there is no way - to my knowledge - for a sample to manipulate the platform before the platform has initiated its components. I think this is due to the fact that a samples init phase can involve Vulkan which requires a window to be previously created.
A call-back would be needed before this phase and the platform will need to be adjusted to react to changes in configurations. I don't believe we destroy and recreate windows in the apps current lifecycle, a window is created and its life time is the life time of the app.
I'm experimenting with writing a Debug Printf sample that would run a compute shader to generate Debug Printf output. I don't see a way to create a sample that doesn't create a window. It seems that before any of my code is run, a window has already been created. Is there a way for a sample to avoid window creation and simply output to the console window?
The text was updated successfully, but these errors were encountered: