Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [BSF][Uncategorized][Fatal] A fatal error occurred and the program has to terminate!
- - Error: RenderingAPIException
- - Description: ERROR: [Validation] Code 0: [ VUID-VkDescriptorImageInfo-imageLayout-00344 ] Object: 0x185302b6910 (Type = 6) | vkCmdDrawIndexed(): Cannot use image 0x2b0 (layer=0 mip=0) with specific layout VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL that doesn't match the previous known layout VK_IMAGE_LAYOUT_DEPTH_STENCIL_ATTACHMENT_OPTIMAL. The Vulkan spec states: imageLayout must match the actual VkImageLayout of each subresource accessible from imageView at the time this descriptor is accessed as defined by the image layout matching rules (https://www.khronos.org/registry/vulkan/specs/1.1-extensions/html/vkspec.html#VUID-VkDescriptorImageInfo-imageLayout-00344)
- - In function: unsigned int __cdecl bs::ct::debugMsgCallback(unsigned int,enum VkDebugReportObjectTypeEXT,unsigned __int64,unsigned __int64,int,const char *,const char *,void *)
- - In file: C:\projects\Leviathan\ThirdParty\bsf\Source\Plugins\bsfVulkanRenderAPI\BsVulkanRenderAPI.cpp:83
- Stack trace:
- KernelBase.dll!00007ffcf278c792() Unknown
- > bsf.dll!bs::CrashHandler::reportCrash(const std::basic_string<char,std::char_traits<char>,bs::StdAlloc<char,bs::GenAlloc> > & type, const std::basic_string<char,std::char_traits<char>,bs::StdAlloc<char,bs::GenAlloc> > & description, const std::basic_string<char,std::char_traits<char>,bs::StdAlloc<char,bs::GenAlloc> > & function, const std::basic_string<char,std::char_traits<char>,bs::StdAlloc<char,bs::GenAlloc> > & file, unsigned int line) Line 493 C++
- bsfVulkanRenderAPI.dll!bs::ct::debugMsgCallback(unsigned int flags, VkDebugReportObjectTypeEXT objType, unsigned __int64 srcObject, unsigned __int64 location, int msgCode, const char * pLayerPrefix, const char * pMsg, void * pUserData) Line 83 C++
- VkLayer_khronos_validation.dll!debug_log_msg(const _debug_report_data * debug_data, unsigned int msg_flags, VkDebugReportObjectTypeEXT object_type, unsigned __int64 src_object, unsigned __int64 location, const char * layer_prefix, const char * message, const char * text_vuid) Line 492 C++
- VkLayer_khronos_validation.dll!log_msg(const _debug_report_data * debug_data, unsigned int msg_flags, VkDebugReportObjectTypeEXT object_type, unsigned __int64 src_object, std::basic_string<char,std::char_traits<char>,std::allocator<char> > vuid_text, const char * format, ...) Line 1019 C++
- VkLayer_khronos_validation.dll!CoreChecks::VerifyImageLayout::__l5::<lambda>(const VkImageSubresource & subres, VkImageLayout layout, VkImageLayout initial_layout) Line 1076 C++
- [Inline Frame] VkLayer_khronos_validation.dll!std::_Func_class<bool,VkImageSubresource const &,enum VkImageLayout,enum VkImageLayout>::operator()(const VkImageSubresource & <_Args_1>, VkImageLayout <_Args_2>, VkImageLayout) Line 279 C++
- VkLayer_khronos_validation.dll!ImageSubresourceLayoutMapImpl<DepthAspectTraits,0>::ForRange(const VkImageSubresourceRange & range, const std::function<bool __cdecl(VkImageSubresource const &,enum VkImageLayout,enum VkImageLayout)> & callback, bool skip_invalid, bool always_get_initial) Line 710 C++
- VkLayer_khronos_validation.dll!CoreChecks::VerifyImageLayout(const CMD_BUFFER_STATE * cb_node, IMAGE_STATE * image_state, const VkImageSubresourceRange & range, unsigned int aspect_mask, VkImageLayout explicit_layout, VkImageLayout optimal_layout, const char * caller, const char * layout_invalid_msg_code, const char * layout_mismatch_msg_code, bool * error) Line 1086 C++
- VkLayer_khronos_validation.dll!cvdescriptorset::DescriptorSet::ValidateDrawState(const std::map<unsigned int,enum descriptor_req,std::less<unsigned int>,std::allocator<std::pair<unsigned int const ,enum descriptor_req> > > & bindings, const std::vector<unsigned int,std::allocator<unsigned int> > & dynamic_offsets, CMD_BUFFER_STATE * cb_node, const char * caller, std::basic_string<char,std::char_traits<char>,std::allocator<char> > * error) Line 806 C++
- VkLayer_khronos_validation.dll!CoreChecks::ValidateCmdBufDrawState(CMD_BUFFER_STATE * cb_node, CMD_TYPE cmd_type, const bool indexed, const VkPipelineBindPoint bind_point, const char * function, const char * pipe_err_code, const char * state_err_code) Line 1261 C++
- VkLayer_khronos_validation.dll!CoreChecks::ValidateCmdDrawType(VkCommandBuffer_T * cmd_buffer, bool indexed, VkPipelineBindPoint bind_point, CMD_TYPE cmd_type, const char * caller, unsigned int queue_flags, const char * queue_flag_code, const char * renderpass_msg_code, const char * pipebound_msg_code, const char * dynamic_state_msg_code) Line 58 C++
- VkLayer_khronos_validation.dll!CoreChecks::PreCallValidateCmdDrawIndexed(VkCommandBuffer_T * commandBuffer, unsigned int indexCount, unsigned int instanceCount, unsigned int firstIndex, int vertexOffset, unsigned int firstInstance) Line 100 C++
- VkLayer_khronos_validation.dll!vulkan_layer_chassis::CmdDrawIndexed(VkCommandBuffer_T * commandBuffer, unsigned int indexCount, unsigned int instanceCount, unsigned int firstIndex, int vertexOffset, unsigned int firstInstance) Line 3082 C++
- bsfVulkanRenderAPI.dll!bs::ct::VulkanCmdBuffer::drawIndexed(unsigned int startIndex, unsigned int indexCount, unsigned int vertexOffset, unsigned int instanceCount) Line 1727 C++
- bsfVulkanRenderAPI.dll!bs::ct::VulkanRenderAPI::drawIndexed(unsigned int startIndex, unsigned int indexCount, unsigned int vertexOffset, unsigned int vertexCount, unsigned int instanceCount, const std::shared_ptr<bs::ct::CommandBuffer> & commandBuffer) Line 492 C++
- bsf.dll!bs::ct::RendererUtility::drawScreenQuad(const bs::Rect2 & uv, const bs::Vector2I & textureSize, unsigned int numInstances, bool flipUV) Line 368 C++
- bsf.dll!bs::ct::RendererUtility::drawScreenQuad(unsigned int numInstances) Line 285 C++
- bsfRenderBeast.dll!bs::ct::ShadowRendering::renderShadowOcclusion(const bs::ct::RendererView & view, const bs::ct::RendererLight & rendererLight, bs::ct::GBufferTextures gbuffer) Line 1201 C++
- bsfRenderBeast.dll!bs::ct::RCNodeDeferredDirectLighting::render(const bs::ct::RenderCompositorNodeInputs & inputs) Line 949 C++
- bsfRenderBeast.dll!bs::ct::RenderCompositor::execute(bs::ct::RenderCompositorNodeInputs & inputs) Line 178 C++
- bsfRenderBeast.dll!bs::ct::RenderBeast::renderView(const bs::ct::RendererViewGroup & viewGroup, bs::ct::RendererView & view, const bs::ct::FrameInfo & frameInfo) Line 528 C++
- bsfRenderBeast.dll!bs::ct::RenderBeast::renderViews(bs::ct::RendererViewGroup & viewGroup, const bs::ct::FrameInfo & frameInfo) Line 470 C++
- bsfRenderBeast.dll!bs::ct::RenderBeast::renderAllCore(bs::ct::FrameTimings timings, bs::PerFrameData perFrameData) Line 439 C++
- [External Code]
- [Inline Frame] bsf.dll!std::_Func_class<void>::operator()() Line 126 C++
- bsf.dll!bs::CommandQueueBase::playbackWithNotify(std::queue<bs::QueuedCommand,std::deque<bs::QueuedCommand,bs::StdAlloc<bs::QueuedCommand,bs::GenAlloc> > > * commands, std::function<void __cdecl(unsigned int)> notifyCallback) Line 129 C++
- bsf.dll!bs::CommandQueueBase::playback(std::queue<bs::QueuedCommand,std::deque<bs::QueuedCommand,bs::StdAlloc<bs::QueuedCommand,bs::GenAlloc> > > * commands) Line 144 C++
- [Inline Frame] bsf.dll!std::_Func_class<void>::operator()() Line 126 C++
- bsf.dll!bs::CommandQueueBase::playbackWithNotify(std::queue<bs::QueuedCommand,std::deque<bs::QueuedCommand,bs::StdAlloc<bs::QueuedCommand,bs::GenAlloc> > > * commands, std::function<void __cdecl(unsigned int)> notifyCallback) Line 129 C++
- bsf.dll!bs::CoreThread::runCoreThread() Line 141 C++
- [Inline Frame] bsf.dll!std::_Func_class<void>::operator()() Line 135 C++
- bsf.dll!bs::PooledThread::runFunctionHelper(const std::function<void __cdecl(void)> & function) Line 135 C++
- bsf.dll!bs::PooledThread::run() Line 119 C++
- [External Code]
Advertisement
Add Comment
Please, Sign In to add comment