Merge pull request #497 from JarredHDavies/master
Don't set an object name for the wireframe pipeline when fillModeNonSolid is not supported
This commit is contained in:
commit
ba332da0bc
1 changed files with 6 additions and 1 deletions
|
|
@ -864,7 +864,12 @@ public:
|
|||
// Name pipelines for debugging
|
||||
DebugMarker::setObjectName(device, (uint64_t)pipelines.toonshading, VK_DEBUG_REPORT_OBJECT_TYPE_PIPELINE_EXT, "Toon shading pipeline");
|
||||
DebugMarker::setObjectName(device, (uint64_t)pipelines.color, VK_DEBUG_REPORT_OBJECT_TYPE_PIPELINE_EXT, "Color only pipeline");
|
||||
|
||||
if (deviceFeatures.fillModeNonSolid)
|
||||
{
|
||||
DebugMarker::setObjectName(device, (uint64_t)pipelines.wireframe, VK_DEBUG_REPORT_OBJECT_TYPE_PIPELINE_EXT, "Wireframe rendering pipeline");
|
||||
}
|
||||
|
||||
DebugMarker::setObjectName(device, (uint64_t)pipelines.postprocess, VK_DEBUG_REPORT_OBJECT_TYPE_PIPELINE_EXT, "Post processing pipeline");
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue