@@ -6,102 +6,3 @@ const gl = canvas.getContext("webgl")!;
66const ext_ANGLE_instanced_arrays = gl . getExtension ( "ANGLE_instanced_arrays" ) ;
77// TypeScript should infer: ANGLE_instanced_arrays | null
88assertType < ANGLE_instanced_arrays | null > ( ext_ANGLE_instanced_arrays ) ;
9-
10- const ext_EXT_blend_minmax = gl . getExtension ( "EXT_blend_minmax" ) ;
11- assertType < EXT_blend_minmax | null > ( ext_EXT_blend_minmax ) ;
12-
13- const ext_EXT_color_buffer_float = gl . getExtension ( "EXT_color_buffer_float" ) ;
14- assertType < EXT_color_buffer_float | null > ( ext_EXT_color_buffer_float ) ;
15-
16- const ext_EXT_color_buffer_half_float = gl . getExtension ( "EXT_color_buffer_half_float" ) ;
17- assertType < EXT_color_buffer_half_float | null > ( ext_EXT_color_buffer_half_float ) ;
18-
19- const ext_EXT_float_blend = gl . getExtension ( "EXT_float_blend" ) ;
20- assertType < EXT_float_blend | null > ( ext_EXT_float_blend ) ;
21-
22- const ext_EXT_frag_depth = gl . getExtension ( "EXT_frag_depth" ) ;
23- assertType < EXT_frag_depth | null > ( ext_EXT_frag_depth ) ;
24-
25- const ext_EXT_sRGB = gl . getExtension ( "EXT_sRGB" ) ;
26- assertType < EXT_sRGB | null > ( ext_EXT_sRGB ) ;
27-
28- const ext_EXT_shader_texture_lod = gl . getExtension ( "EXT_shader_texture_lod" ) ;
29- assertType < EXT_shader_texture_lod | null > ( ext_EXT_shader_texture_lod ) ;
30-
31- const ext_EXT_texture_compression_bptc = gl . getExtension ( "EXT_texture_compression_bptc" ) ;
32- assertType < EXT_texture_compression_bptc | null > ( ext_EXT_texture_compression_bptc ) ;
33-
34- const ext_EXT_texture_compression_rgtc = gl . getExtension ( "EXT_texture_compression_rgtc" ) ;
35- assertType < EXT_texture_compression_rgtc | null > ( ext_EXT_texture_compression_rgtc ) ;
36-
37- const ext_EXT_texture_filter_anisotropic = gl . getExtension ( "EXT_texture_filter_anisotropic" ) ;
38- assertType < EXT_texture_filter_anisotropic | null > ( ext_EXT_texture_filter_anisotropic ) ;
39-
40- const ext_KHR_parallel_shader_compile = gl . getExtension ( "KHR_parallel_shader_compile" ) ;
41- assertType < KHR_parallel_shader_compile | null > ( ext_KHR_parallel_shader_compile ) ;
42-
43- const ext_OES_element_index_uint = gl . getExtension ( "OES_element_index_uint" ) ;
44- assertType < OES_element_index_uint | null > ( ext_OES_element_index_uint ) ;
45-
46- const ext_OES_fbo_render_mipmap = gl . getExtension ( "OES_fbo_render_mipmap" ) ;
47- assertType < OES_fbo_render_mipmap | null > ( ext_OES_fbo_render_mipmap ) ;
48-
49- const ext_OES_standard_derivatives = gl . getExtension ( "OES_standard_derivatives" ) ;
50- assertType < OES_standard_derivatives | null > ( ext_OES_standard_derivatives ) ;
51-
52- const ext_OES_texture_float = gl . getExtension ( "OES_texture_float" ) ;
53- assertType < OES_texture_float | null > ( ext_OES_texture_float ) ;
54-
55- const ext_OES_texture_float_linear = gl . getExtension ( "OES_texture_float_linear" ) ;
56- assertType < OES_texture_float_linear | null > ( ext_OES_texture_float_linear ) ;
57-
58- const ext_OES_texture_half_float = gl . getExtension ( "OES_texture_half_float" ) ;
59- assertType < OES_texture_half_float | null > ( ext_OES_texture_half_float ) ;
60-
61- const ext_OES_texture_half_float_linear = gl . getExtension ( "OES_texture_half_float_linear" ) ;
62- assertType < OES_texture_half_float_linear | null > ( ext_OES_texture_half_float_linear ) ;
63-
64- const ext_OES_vertex_array_object = gl . getExtension ( "OES_vertex_array_object" ) ;
65- assertType < OES_vertex_array_object | null > ( ext_OES_vertex_array_object ) ;
66-
67- const ext_OVR_multiview2 = gl . getExtension ( "OVR_multiview2" ) ;
68- assertType < OVR_multiview2 | null > ( ext_OVR_multiview2 ) ;
69-
70- const ext_WEBGL_color_buffer_float = gl . getExtension ( "WEBGL_color_buffer_float" ) ;
71- assertType < WEBGL_color_buffer_float | null > ( ext_WEBGL_color_buffer_float ) ;
72-
73- const ext_WEBGL_compressed_texture_astc = gl . getExtension ( "WEBGL_compressed_texture_astc" ) ;
74- assertType < WEBGL_compressed_texture_astc | null > ( ext_WEBGL_compressed_texture_astc ) ;
75-
76- const ext_WEBGL_compressed_texture_etc = gl . getExtension ( "WEBGL_compressed_texture_etc" ) ;
77- assertType < WEBGL_compressed_texture_etc | null > ( ext_WEBGL_compressed_texture_etc ) ;
78-
79- const ext_WEBGL_compressed_texture_etc1 = gl . getExtension ( "WEBGL_compressed_texture_etc1" ) ;
80- assertType < WEBGL_compressed_texture_etc1 | null > ( ext_WEBGL_compressed_texture_etc1 ) ;
81-
82- const ext_WEBGL_compressed_texture_pvrtc = gl . getExtension ( "WEBGL_compressed_texture_pvrtc" ) ;
83- assertType < WEBGL_compressed_texture_pvrtc | null > ( ext_WEBGL_compressed_texture_pvrtc ) ;
84-
85- const ext_WEBGL_compressed_texture_s3tc = gl . getExtension ( "WEBGL_compressed_texture_s3tc" ) ;
86- assertType < WEBGL_compressed_texture_s3tc | null > ( ext_WEBGL_compressed_texture_s3tc ) ;
87-
88- const ext_WEBGL_compressed_texture_s3tc_srgb = gl . getExtension ( "WEBGL_compressed_texture_s3tc_srgb" ) ;
89- assertType < WEBGL_compressed_texture_s3tc_srgb | null > ( ext_WEBGL_compressed_texture_s3tc_srgb ) ;
90-
91- const ext_WEBGL_debug_renderer_info = gl . getExtension ( "WEBGL_debug_renderer_info" ) ;
92- assertType < WEBGL_debug_renderer_info | null > ( ext_WEBGL_debug_renderer_info ) ;
93-
94- const ext_WEBGL_debug_shaders = gl . getExtension ( "WEBGL_debug_shaders" ) ;
95- assertType < WEBGL_debug_shaders | null > ( ext_WEBGL_debug_shaders ) ;
96-
97- const ext_WEBGL_depth_texture = gl . getExtension ( "WEBGL_depth_texture" ) ;
98- assertType < WEBGL_depth_texture | null > ( ext_WEBGL_depth_texture ) ;
99-
100- const ext_WEBGL_draw_buffers = gl . getExtension ( "WEBGL_draw_buffers" ) ;
101- assertType < WEBGL_draw_buffers | null > ( ext_WEBGL_draw_buffers ) ;
102-
103- const ext_WEBGL_lose_context = gl . getExtension ( "WEBGL_lose_context" ) ;
104- assertType < WEBGL_lose_context | null > ( ext_WEBGL_lose_context ) ;
105-
106- const ext = gl . getExtension ( "WEBGL_multi_draw" ) ;
107- assertType < WEBGL_multi_draw | null > ( ext ) ;
0 commit comments