-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Some vertex attributes and buffers are not displayed in pipeline state window #3379
Comments
I apologize in advance, my English is not very good. EID 5: Bind vertex buffer (Buffer 164) to binding #1 EID 9: Bind pipeline
EID 10: Bind vertex buffer (Buffer 167) to binding #0 Both buffers are bound and used. When I change the location value for the color attribute from 2 to 1, the problem goes away. I tried to track the problem in the debugger.
For your convenience, I have modified code and take an additional capture. Also I tried looking in Nvidia Nsight. |
I just realized that the buffer and the attribute are displayed if you enable 'Show Unused Items' option 😐 |
I re-read your message again.
Buffers are bound to binding. |
Sorry I was mistaken. You were right that code segment was wrong using the location as the attribute index is not correct. |
Thank you for chasing it down. The commit is pushed and will be available in the next nightly build. |
Description
Some vertex attributes and buffers are not displayed in the pipeline state window.
The problem occurs when attribute location value is larger than number of stage inputs.
Steps to reproduce
Open attached capture file capture.zip.
Select vkCmdDrawIndexed command in event browser (EID 12)
Open pipeline state window
Open vertex input stage in pipeline window
Expected
The attributes section displays two entries
The buffers section displays three entries
Actual
The attributes section displays one entry
The buffers section displays two entries
Environment
RenderDoc version: 1.33
OS: Windows 10
Graphics API: Vulkan (1.3.250.1 VK_API_VERSION_1_3)
The text was updated successfully, but these errors were encountered: