You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: sources/SilkTouch/SilkTouch/Mods/MixKhronosData.cs
+52-27Lines changed: 52 additions & 27 deletions
Original file line number
Diff line number
Diff line change
@@ -203,15 +203,29 @@ public record Configuration
203
203
/// if the enum type contains members that don't match the exclusive vendor.
204
204
/// </summary>
205
205
/// <remarks>
206
-
/// For context, OpenGL has a problem where an enum group starts out as ARB but never gets promoted, and then contains other vendor enums or even core enums.
207
-
/// For example, BufferUsageARB contains StreamDraw, which is a core enum. Enabling this option will cause BufferUsageARB to be trimmed as BufferUsage.
206
+
/// For context, OpenGL has a problem where an enum group starts out as ARB but never gets promoted,
207
+
/// and then contains other vendor enums or even core enums. OpenAL is similar. Vulkan does not have this problem.
208
208
/// </remarks>
209
+
/// <example>
210
+
/// <c>BufferUsageARB</c> in OpenGL is an ARB suffixed enum that contains <c>GL_STREAM_DRAW</c> which is a core enum.
211
+
/// In this case, ARB is the exclusive vendor suffix, but it is contradicted by the existence of a non-suffixed enum member.
212
+
/// This implies that <c>BufferUsageARB</c> was incorrectly promoted and that we should remove its vendor suffix.
213
+
/// Enabling this option will trim <c>BufferUsageARB</c> as <c>BufferUsage</c>.
0 commit comments