Description
When specifying vertex attribute format for integer attributes, it is a common mistake to call glVertexAttribFormat instead of glVertexAttribIFormat.
Currently, RenderDoc simply displays the values of attributes specified in this erroneous way without any indication that something might be wrong, even though the application might be exhibiting incorrect behaviour.
It can make this type of bug hard to spot. Theoretically, it should be possible to detect this situation and warn the user about it, though I am not sure what might be the best way to surface this information to the user (stick an error message instead of the attribute value perhaps?)
Environment
- RenderDoc version: 1.9
- Operating System: Windows, or any other OS supporting OpenGL
- Graphics API: OpenGL
Description
When specifying vertex attribute format for integer attributes, it is a common mistake to call
glVertexAttribFormatinstead ofglVertexAttribIFormat.Currently, RenderDoc simply displays the values of attributes specified in this erroneous way without any indication that something might be wrong, even though the application might be exhibiting incorrect behaviour.
It can make this type of bug hard to spot. Theoretically, it should be possible to detect this situation and warn the user about it, though I am not sure what might be the best way to surface this information to the user (stick an error message instead of the attribute value perhaps?)
Environment