Sfoglia il codice sorgente

GL: Added missing ASTC formats.

Бранимир Караџић 3 anni fa
parent
commit
42b154d925
1 ha cambiato i file con 39 aggiunte e 23 eliminazioni
  1. 39 23
      src/renderer_gl.h

+ 39 - 23
src/renderer_gl.h

@@ -508,95 +508,111 @@ typedef uint64_t GLuint64;
 
 #ifndef ATC_RGB_AMD
 	#define GL_ATC_RGB_AMD 0x8C92
-#endif
+#endif // ATC_RGB_AMD
 
 #ifndef GL_ATC_RGBA_EXPLICIT_ALPHA_AMD
 #   define GL_ATC_RGBA_EXPLICIT_ALPHA_AMD 0x8C93
-#endif
+#endif // GL_ATC_RGBA_EXPLICIT_ALPHA_AMD
 
 #ifndef ATC_RGBA_INTERPOLATED_ALPHA_AMD
 #   define GL_ATC_RGBA_INTERPOLATED_ALPHA_AMD 0x87EE
-#endif
+#endif // ATC_RGBA_INTERPOLATED_ALPHA_AMD
 
 #ifndef GL_COMPRESSED_RGBA_ASTC_4x4_KHR
 #   define GL_COMPRESSED_RGBA_ASTC_4x4_KHR 0x93B0
-#endif
+#endif // GL_COMPRESSED_RGBA_ASTC_4x4_KHR
+
+#ifndef GL_COMPRESSED_RGBA_ASTC_5x4_KHR
+#   define GL_COMPRESSED_RGBA_ASTC_5x4_KHR 0x93B1
+#endif // GL_COMPRESSED_RGBA_ASTC_5x4_KHR
 
 #ifndef GL_COMPRESSED_RGBA_ASTC_5x5_KHR
 #   define GL_COMPRESSED_RGBA_ASTC_5x5_KHR 0x93B2
-#endif
+#endif // GL_COMPRESSED_RGBA_ASTC_5x5_KHR
+
+#ifndef GL_COMPRESSED_RGBA_ASTC_6x5_KHR
+#   define GL_COMPRESSED_RGBA_ASTC_6x5_KHR 0x93B3
+#endif // GL_COMPRESSED_RGBA_ASTC_6x5_KHR
 
 #ifndef GL_COMPRESSED_RGBA_ASTC_6x6_KHR
 #   define GL_COMPRESSED_RGBA_ASTC_6x6_KHR 0x93B4
-#endif
+#endif // GL_COMPRESSED_RGBA_ASTC_6x6_KHR
 
 #ifndef GL_COMPRESSED_RGBA_ASTC_8x5_KHR
 #   define GL_COMPRESSED_RGBA_ASTC_8x5_KHR 0x93B5
-#endif
+#endif // GL_COMPRESSED_RGBA_ASTC_8x5_KHR
 
 #ifndef GL_COMPRESSED_RGBA_ASTC_8x6_KHR
 #   define GL_COMPRESSED_RGBA_ASTC_8x6_KHR 0x93B6
-#endif
+#endif // GL_COMPRESSED_RGBA_ASTC_8x6_KHR
+
+#ifndef GL_COMPRESSED_RGBA_ASTC_8x8_KHR
+#   define GL_COMPRESSED_RGBA_ASTC_8x8_KHR 0x93B7
+#endif // GL_COMPRESSED_RGBA_ASTC_8x8_KHR
 
 #ifndef GL_COMPRESSED_RGBA_ASTC_10x5_KHR
 #   define GL_COMPRESSED_RGBA_ASTC_10x5_KHR 0x93B8
-#endif
+#endif // GL_COMPRESSED_RGBA_ASTC_10x5_KHR
+
+#ifndef GL_COMPRESSED_RGBA_ASTC_10x6_KHR
+#   define GL_COMPRESSED_RGBA_ASTC_10x6_KHR 0x93B9
+#endif // GL_COMPRESSED_RGBA_ASTC_10x6_KHR
 
 #ifndef GL_COMPRESSED_SRGB8_ASTC_4x4_KHR
 #   define GL_COMPRESSED_SRGB8_ASTC_4x4_KHR 0x93D0
-#endif
+#endif // GL_COMPRESSED_SRGB8_ASTC_4x4_KHR
 
 #ifndef GL_COMPRESSED_SRGB8_ASTC_5x4_KHR
 #   define GL_COMPRESSED_SRGB8_ASTC_5x4_KHR 0x93D1
-#endif
+#endif // GL_COMPRESSED_SRGB8_ASTC_5x4_KHR
 
 #ifndef GL_COMPRESSED_SRGB8_ASTC_5x5_KHR
 #   define GL_COMPRESSED_SRGB8_ASTC_5x5_KHR 0x93D2
-#endif
+#endif // GL_COMPRESSED_SRGB8_ASTC_5x5_KHR
 
 #ifndef GL_COMPRESSED_SRGB8_ASTC_6x5_KHR
 #   define GL_COMPRESSED_SRGB8_ASTC_6x5_KHR 0x93D3
-#endif
+#endif // GL_COMPRESSED_SRGB8_ASTC_6x5_KHR
 
 #ifndef GL_COMPRESSED_SRGB8_ASTC_6x6_KHR
 #   define GL_COMPRESSED_SRGB8_ASTC_6x6_KHR 0x93D4
-#endif
+#endif // GL_COMPRESSED_SRGB8_ASTC_6x6_KHR
 
 #ifndef GL_COMPRESSED_SRGB8_ASTC_8x5_KHR
 #   define GL_COMPRESSED_SRGB8_ASTC_8x5_KHR 0x93D5
-#endif
+#endif // GL_COMPRESSED_SRGB8_ASTC_8x5_KHR
 
 #ifndef GL_COMPRESSED_SRGB8_ASTC_8x6_KHR
 #   define GL_COMPRESSED_SRGB8_ASTC_8x6_KHR 0x93D6
-#endif
+#endif // GL_COMPRESSED_SRGB8_ASTC_8x6_KHR
 
 #ifndef GL_COMPRESSED_SRGB8_ASTC_8x8_KHR
 #   define GL_COMPRESSED_SRGB8_ASTC_8x8_KHR 0x93D7
-#endif
+#endif // GL_COMPRESSED_SRGB8_ASTC_8x8_KHR
 
 #ifndef GL_COMPRESSED_SRGB8_ASTC_10x5_KHR
 #   define GL_COMPRESSED_SRGB8_ASTC_10x5_KHR 0x93D8
-#endif
+#endif // GL_COMPRESSED_SRGB8_ASTC_10x5_KHR
 
 #ifndef GL_COMPRESSED_SRGB8_ASTC_10x6_KHR
 #   define GL_COMPRESSED_SRGB8_ASTC_10x6_KHR 0x93D9
-#endif
+#endif // GL_COMPRESSED_SRGB8_ASTC_10x6_KHR
 
 #ifndef GL_COMPRESSED_SRGB8_ASTC_10x8_KHR
 #   define GL_COMPRESSED_SRGB8_ASTC_10x8_KHR 0x93DA
-#endif
+#endif // GL_COMPRESSED_SRGB8_ASTC_10x8_KHR
 
 #ifndef GL_COMPRESSED_SRGB8_ASTC_10x10_KHR
 #   define GL_COMPRESSED_SRGB8_ASTC_10x10_KHR 0x93DB
-#endif
+#endif // GL_COMPRESSED_SRGB8_ASTC_10x10_KHR
 
 #ifndef GL_COMPRESSED_SRGB8_ASTC_12x10_KHR
 #   define GL_COMPRESSED_SRGB8_ASTC_12x10_KHR 0x93DC
-#endif
+#endif // GL_COMPRESSED_SRGB8_ASTC_12x10_KHR
 
 #ifndef GL_COMPRESSED_SRGB8_ASTC_12x12_KHR
 #   define GL_COMPRESSED_SRGB8_ASTC_12x12_KHR 0x93DD
-#endif
+#endif // GL_COMPRESSED_SRGB8_ASTC_12x12_KHR
 
 #ifndef GL_COMPRESSED_RGBA_BPTC_UNORM_ARB
 #	define GL_COMPRESSED_RGBA_BPTC_UNORM_ARB 0x8E8C