-
Notifications
You must be signed in to change notification settings - Fork 14
Closed
Description
When formatting with glsl_analyzer, multiline block comments seem to duplicate.
/** Some
* long
* multiline comment
*/
/** Remapping from input array to output array.
* m_primitive_list[primitive_remap_index[i]] = m_primitive_list_in[i] */
layout(binding = 4, std430) buffer primitivesRemapSSBOOut {
uint primitive_remap_index[];
};
becomes
/** Some
* long
* multiline comment
/** Some
* long
* multiline comment
*/
/** Remapping from input array to output array.
/** Remapping from input array to output array.
* m_primitive_list[primitive_remap_index[i]] = m_primitive_list_in[i] */
layout(binding = 4, std430) buffer primitivesRemapSSBOOut {
uint primitive_remap_index[];
};
This is not an issue with multiple lines of C++ style line comments.
Same goes for multiline defines:
#define SNIPPET(x) \
do { \
x ++; \
} while (0)
becomes
#define SNIPPET(x) \
do { \
x ++; \
#define SNIPPET(x) \
do { \
x ++; \
} while (0)
This might be connected to line endings, as these two cases are syntax which ignore line endings.
Metadata
Metadata
Assignees
Labels
No labels