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
{{ message }}
This repository has been archived by the owner on Jul 19, 2018. It is now read-only.
I've hooked up my engine to VK_EXT_debug_utils. For a while I have been using debug_marker extension with Renderdoc to name resources including images, buffers, and shader modules. I noticed after hooking up to VK_EXT_debug_utils that there are cases where object names could easily be provided for shader modules, but are not done. For example:
VK WARNING : VALIDATION - Message Id Number: 2 | Message Id Name: none
fragment shader writes to output location 0 with no matching attachment
Objects - 1
Object[0] - VK_OBJECT_TYPE_UNKNOWN, Handle 0000000000000000
Looking at where these messages originate in shader_validation.cpp, it is because it is doing log_msg with VK_DEBUG_REPORT_OBJECT_TYPE_UNKNOWN_EXT and null object even though it knows the VkShaderModule at the point of finding the error.
The request here is to provide the VkShaderModule object so the name gets passed through.
In general, I would request that if it hasn't been done already that there is an audit of log_msg's to make sure they pass in the known object so the application can get the name.
The text was updated successfully, but these errors were encountered:
I've hooked up my engine to VK_EXT_debug_utils. For a while I have been using debug_marker extension with Renderdoc to name resources including images, buffers, and shader modules. I noticed after hooking up to VK_EXT_debug_utils that there are cases where object names could easily be provided for shader modules, but are not done. For example:
Looking at where these messages originate in shader_validation.cpp, it is because it is doing log_msg with VK_DEBUG_REPORT_OBJECT_TYPE_UNKNOWN_EXT and null object even though it knows the VkShaderModule at the point of finding the error.
The request here is to provide the VkShaderModule object so the name gets passed through.
In general, I would request that if it hasn't been done already that there is an audit of log_msg's to make sure they pass in the known object so the application can get the name.
The text was updated successfully, but these errors were encountered: