Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vulkan Validation Error #53

Closed
NipunRamani99 opened this issue Mar 27, 2022 · 2 comments
Closed

Vulkan Validation Error #53

NipunRamani99 opened this issue Mar 27, 2022 · 2 comments

Comments

@NipunRamani99
Copy link

Using RTX3060M
getting this on the master branch

Vulkan: Validation Error: [ SYNC-HAZARD-READ_AFTER_WRITE ] Object 0: handle = 0xe150c50000000097, name = rt_ssr, type = VK_OBJECT_TYPE_IMAGE_VIEW; | MessageID = 0x4cb75b2d | vkCmdDrawIndexed: Hazard READ_AFTER_WRITE for VkImageView 0xe150c50000000097[rt_ssr], in VkCommandBuffer 0x1c57e2a8d70[cmd_list], and VkPipeline 0x1faae500000001ca[Pass_Light_ImageBased_Opaque], VkDescriptorSet 0x3d7c1e0000000254[CS:null-VS:ImGui.hlsl-PS:ImGui.hlsl], type: VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE, imageLayout: VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL, binding #231, index 0. Access info (usage: SYNC_FRAGMENT_SHADER_SHADER_STORAGE_READ, prior_usage: SYNC_COMPUTE_SHADER_SHADER_STORAGE_WRITE, write_barriers: 0, command: vkCmdDispatch, seq_no: 27, reset_no: 2887).

Spartan_vulkan_debug_AWJrIVkVIt

@PanosK92
Copy link
Owner

It's synchronisation issue related to a render target not transitioning to a layout correctly. It's a known issue so I am looking at this once in a while. Thanks for letting me know.

@PanosK92
Copy link
Owner

PanosK92 commented Jul 9, 2022

This has been fixed. Thanks for reporting.

@PanosK92 PanosK92 closed this as completed Jul 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants