renderdoc
renderdoc copied to clipboard
custom format for constant buffer always translate matrix(float4x4) to float4
Description
custom format for constant buffer always translate matrix(float4x4) to float4
Steps to reproduce
- capture a dx12 frame
- view a constant buffer contains matrix variable

- click the button "Specify a custom format for this constant buffer"
- you can see the Auto-generated matrix types are wrong types "float4", should be "float4x4"

Environment
- RenderDoc version: v1.21
- Operating System: win10
- Graphics API: dx12
GPU: AMD 5700XT
For steps to reproduce, please share a specific and complete reproducible test case that I can use to investigate the problem, such as a capture or executable depending on what is most relevant to the bug. Without a repro case it can be difficult or impossible for me to replicate the situation you are running into, and it can easily waste time trying to reproduce a problem that is not as expected or described.
Please ensure that you have run your program on its own (not from RenderDoc) with API validation and have checked that your program does not produce any validation errors or warnings, since RenderDoc does not handle invalid API use. If you can't share your test case publicly due to privacy or NDA concerns you can contact me via email. If you're unable to share your test case even privately then please share as much information as you possibly can, and I'd suggest getting in touch via email so I can help to remote debug.
You have also listed that you're using version v1.21, but that version does not exist. If you are using a nightly build please list the commit or date that it was built from as otherwise the version number is not specific. Please also test with a stable build, as for obvious reasons nightly builds are not guaranteed to be stable and may contain bugs that are fixed before stable releases.
Closing this due to lack of activity and no further information to investigate.