mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-07-08 08:40:55 +00:00
Remove warning that's falsely triggered now in valid cases
This commit is contained in:
@@ -1500,14 +1500,9 @@ void WrappedVulkan::Apply_InitialState(WrappedVkRes *live, const VkInitialConten
|
||||
{
|
||||
VkFormat format = m_ImageLayouts[id].imageInfo.format;
|
||||
|
||||
// can't clear these, so leave them alone.
|
||||
if(IsBlockFormat(format) || IsYUVFormat(format))
|
||||
{
|
||||
RDCWARN(
|
||||
"Trying to clear a compressed/YUV image %llu with format %s - should have initial "
|
||||
"states or be stripped.",
|
||||
id, ToStr(format).c_str());
|
||||
return;
|
||||
}
|
||||
|
||||
VkCommandBuffer cmd = GetNextCmd();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user