MCPcopy Create free account
hub / github.com/DragonJoker/RenderGraph / checkUndefinedInput

Function checkUndefinedInput

source/RenderGraph/RunnablePass.cpp:237–247  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

235 //*********************************************************************************************
236
237 void checkUndefinedInput( std::string const & stepName
238 , Attachment const & attach
239 , ImageViewId const & view
240 , ImageLayout currentLayout )
241 {
242 if ( !attach.isTransitionImageView() && attach.isInput() && currentLayout == ImageLayout::eUndefined )
243 {
244 auto passName = attach.pass ? attach.pass->getFullName() : attach.source.front().pass->getFullName();
245 Logger::logWarning( stepName + " - [" + passName + "]: Input view [" + view.data->name + "] is currently in undefined layout" );
246 }
247 }
248
249 void convert( SemaphoreWaitArray const & toWait
250 , std::vector< VkSemaphore > & semaphores

Callers 2

prepareImageFunction · 0.85
doCreateRenderPassMethod · 0.85

Calls 3

isTransitionImageViewMethod · 0.80
isInputMethod · 0.80
getFullNameMethod · 0.45

Tested by

no test coverage detected