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
Recently the WGPUInstanceExtras struct was added, enabling setting WGPUInstanceFlag_Debug and WGPUInstanceFlag_Validation. These directly map to wgpu-types flags:
Thanks for the answers. Sorry for the many questions. This looks like something that can be a handy debugging tool, but I still don't understand what to expect 😊
It says here "Enable validation, if possible". Under what conditions is it possible, and how do I know that its enabled?
How is this related to enabling the Vulkan validation layers via the Lunar SDK (by opening the Vulkan Configurator)?
If more validation is done, what effect does this have in practice? Will it be more strict and fail if these stricter conditions are not met, or is there more information written to the logger?
Recently the
WGPUInstanceExtras
struct was added, enabling settingWGPUInstanceFlag_Debug
andWGPUInstanceFlag_Validation
. These directly map to wgpu-types flags:wgpu-native/src/conv.rs
Lines 260 to 272 in fcc480b
Questions:
How are things different when (either of) these flags is enabled?
Is the validation flag related to Vulkan validation layers or is the validation specific to wgpu?
How does the debug flag relate to
wgpuSetLogLevel(WGPULogLevel_Debug)
?The text was updated successfully, but these errors were encountered: