@@ -209,6 +209,16 @@ static InternalFormatInfoMap BuildInternalFormatInfoMap()
209209 InsertFormatMapping (&map, GL_RGBA32I, VersionOrExts (3 , 0 , " GL_EXT_texture_integer" ), NeverSupported (), VersionOrExts (3 , 0 , " GL_EXT_texture_integer" ), VersionOnly (3 , 0 ), NeverSupported (), VersionOnly (3 , 0 ), VersionOnly (3 , 0 ) );
210210 InsertFormatMapping (&map, GL_RGBA32UI, VersionOrExts (3 , 0 , " GL_EXT_texture_integer" ), NeverSupported (), VersionOrExts (3 , 0 , " GL_EXT_texture_integer" ), VersionOnly (3 , 0 ), NeverSupported (), VersionOnly (3 , 0 ), VersionOnly (3 , 0 ) );
211211
212+ InsertFormatMapping (&map, GL_R16, VersionOrExts (3 , 0 , " GL_ARB_texture_rg" ), AlwaysSupported (), VersionOrExts (3 , 0 , " GL_ARB_texture_rg" ), ExtsOnly (" GL_EXT_texture_norm16" ), AlwaysSupported (), ExtsOnly (" GL_EXT_texture_norm16" ), ExtsOnly (" GL_EXT_texture_norm16" ) );
213+ InsertFormatMapping (&map, GL_RG16, VersionOrExts (3 , 0 , " GL_ARB_texture_rg" ), AlwaysSupported (), VersionOrExts (3 , 0 , " GL_ARB_texture_rg" ), ExtsOnly (" GL_EXT_texture_norm16" ), AlwaysSupported (), ExtsOnly (" GL_EXT_texture_norm16" ), ExtsOnly (" GL_EXT_texture_norm16" ) );
214+ InsertFormatMapping (&map, GL_RGB16, AlwaysSupported (), AlwaysSupported (), NeverSupported (), ExtsOnly (" GL_EXT_texture_norm16" ), AlwaysSupported (), NeverSupported (), NeverSupported () );
215+ InsertFormatMapping (&map, GL_RGBA16, AlwaysSupported (), AlwaysSupported (), AlwaysSupported (), ExtsOnly (" GL_EXT_texture_norm16" ), AlwaysSupported (), ExtsOnly (" GL_EXT_texture_norm16" ), ExtsOnly (" GL_EXT_texture_norm16" ) );
216+
217+ InsertFormatMapping (&map, GL_R16_SNORM, VersionOnly (3 , 1 ), AlwaysSupported (), NeverSupported (), ExtsOnly (" GL_EXT_texture_norm16" ), AlwaysSupported (), NeverSupported (), NeverSupported () );
218+ InsertFormatMapping (&map, GL_RG16_SNORM, VersionOnly (3 , 1 ), AlwaysSupported (), NeverSupported (), ExtsOnly (" GL_EXT_texture_norm16" ), AlwaysSupported (), NeverSupported (), NeverSupported () );
219+ InsertFormatMapping (&map, GL_RGB16_SNORM, VersionOnly (3 , 1 ), AlwaysSupported (), NeverSupported (), ExtsOnly (" GL_EXT_texture_norm16" ), AlwaysSupported (), NeverSupported (), NeverSupported () );
220+ InsertFormatMapping (&map, GL_RGBA16_SNORM, VersionOnly (3 , 1 ), AlwaysSupported (), NeverSupported (), ExtsOnly (" GL_EXT_texture_norm16" ), AlwaysSupported (), NeverSupported (), NeverSupported () );
221+
212222 // Unsized formats
213223 InsertFormatMapping (&map, GL_ALPHA, NeverSupported (), NeverSupported (), NeverSupported (), AlwaysSupported (), AlwaysSupported (), NeverSupported (), NeverSupported () );
214224 InsertFormatMapping (&map, GL_LUMINANCE, NeverSupported (), NeverSupported (), NeverSupported (), AlwaysSupported (), AlwaysSupported (), NeverSupported (), NeverSupported () );
0 commit comments