• Home
  • Raw
  • Download

Lines Matching full:extensions

111                     struct gl_constants *c, struct gl_extensions *extensions,  in st_init_limits()  argument
126 extensions->OES_texture_3D = c->Max3DTextureLevels != 0; in st_init_limits()
471 extensions->ARB_uniform_buffer_object = GL_TRUE; in st_init_limits()
524 extensions->ARB_shader_atomic_counters = GL_TRUE; in st_init_limits()
525 extensions->ARB_shader_atomic_counter_ops = GL_TRUE; in st_init_limits()
552 extensions->ARB_shader_storage_buffer_object = GL_TRUE; in st_init_limits()
566 extensions->ARB_shader_image_load_store = GL_TRUE; in st_init_limits()
567 extensions->ARB_shader_image_size = GL_TRUE; in st_init_limits()
657 /* If TRUE, at least one format must be supported for the extensions to be
663 * Enable extensions if certain pipe formats are supported by the driver.
664 * What extensions will be enabled and what formats must be supported is
671 struct gl_extensions *extensions, in init_format_extensions() argument
677 GLboolean *extension_table = (GLboolean *) extensions; in init_format_extensions()
699 /* Enable all extensions in the list. */ in init_format_extensions()
753 * which GL extensions are supported.
754 * Quite a few extensions are always supported because they are standard
760 struct gl_extensions *extensions, in st_init_extensions() argument
1014 #define EXT_CAP(ext, cap) extensions->ext |= !!screen->caps.cap in st_init_extensions()
1016 /* Expose the extensions which directly correspond to gallium caps. */ in st_init_extensions()
1142 if (!extensions->EXT_memory_object) in st_init_extensions()
1143 extensions->MESA_texture_const_bandwidth = GL_FALSE; in st_init_extensions()
1146 if (extensions->EXT_texture_filter_minmax) in st_init_extensions()
1147 extensions->ARB_texture_filter_minmax = GL_TRUE; in st_init_extensions()
1149 /* Expose the extensions which directly correspond to gallium formats. */ in st_init_extensions()
1150 init_format_extensions(screen, extensions, rendertarget_mapping, in st_init_extensions()
1153 init_format_extensions(screen, extensions, rt_blendable, in st_init_extensions()
1157 init_format_extensions(screen, extensions, depthstencil_mapping, in st_init_extensions()
1160 init_format_extensions(screen, extensions, texture_mapping, in st_init_extensions()
1164 init_format_extensions(screen, extensions, in st_init_extensions()
1168 init_format_extensions(screen, extensions, vertex_mapping, in st_init_extensions()
1219 extensions->ARB_gpu_shader5 = GL_TRUE; in st_init_extensions()
1222 extensions->ARB_gpu_shader5 = GL_TRUE; in st_init_extensions()
1224 extensions->ARB_shader_precision = GL_TRUE; in st_init_extensions()
1230 extensions->AMD_vertex_shader_layer = GL_TRUE; in st_init_extensions()
1239 extensions->EXT_gpu_shader4 = GL_TRUE; in st_init_extensions()
1240 extensions->EXT_texture_buffer_object = GL_TRUE; in st_init_extensions()
1244 extensions->ARB_enhanced_layouts = GL_TRUE; in st_init_extensions()
1256 /* Extensions that either depend on GLSL 1.30 or are a subset thereof. */ in st_init_extensions()
1257 extensions->ARB_conservative_depth = GL_TRUE; in st_init_extensions()
1258 extensions->ARB_shading_language_packing = GL_TRUE; in st_init_extensions()
1259 extensions->OES_depth_texture_cube_map = GL_TRUE; in st_init_extensions()
1260 extensions->ARB_shading_language_420pack = GL_TRUE; in st_init_extensions()
1261 extensions->ARB_texture_query_levels = GL_TRUE; in st_init_extensions()
1263 extensions->ARB_shader_bit_encoding = GL_TRUE; in st_init_extensions()
1265 extensions->EXT_shader_integer_mix = GL_TRUE; in st_init_extensions()
1266 extensions->ARB_arrays_of_arrays = GL_TRUE; in st_init_extensions()
1267 extensions->MESA_shader_integer_functions = GL_TRUE; in st_init_extensions()
1271 extensions->OVR_multiview = GL_TRUE; in st_init_extensions()
1274 extensions->OVR_multiview = GL_TRUE; in st_init_extensions()
1275 extensions->OVR_multiview2 = GL_TRUE; in st_init_extensions()
1279extensions->OVR_multiview_multisampled_render_to_texture = extensions->EXT_multisampled_render_to_… in st_init_extensions()
1280 extensions->OVR_multiview; in st_init_extensions()
1284 extensions->INTEL_shader_integer_functions2 = GL_TRUE; in st_init_extensions()
1294 extensions->EXT_shader_integer_mix = GL_TRUE; in st_init_extensions()
1298 extensions->EXT_texture_integer = GL_FALSE; in st_init_extensions()
1299 extensions->ARB_texture_rgb10_a2ui = GL_FALSE; in st_init_extensions()
1321 extensions->ARB_tessellation_shader = GL_TRUE; in st_init_extensions()
1329 extensions->OES_geometry_shader = GL_TRUE; in st_init_extensions()
1338 extensions->ARB_draw_indirect = GL_TRUE; in st_init_extensions()
1342 * ARB_gpu_shader5. This enables all the per-sample shading ES extensions. in st_init_extensions()
1344 extensions->OES_sample_variables = extensions->ARB_sample_shading && in st_init_extensions()
1345 extensions->ARB_gpu_shader5; in st_init_extensions()
1400 if (extensions->AMD_framebuffer_multisample_advanced) { in st_init_extensions()
1471 extensions->EXT_framebuffer_multisample = GL_TRUE; in st_init_extensions()
1472 extensions->EXT_framebuffer_multisample_blit_scaled = GL_TRUE; in st_init_extensions()
1478 extensions->EXT_framebuffer_multisample = GL_TRUE; in st_init_extensions()
1479 extensions->EXT_framebuffer_multisample_blit_scaled = GL_TRUE; in st_init_extensions()
1480 extensions->ARB_texture_multisample = GL_TRUE; in st_init_extensions()
1485 extensions->ARB_blend_func_extended = GL_TRUE; in st_init_extensions()
1488 extensions->ARB_timer_query) { in st_init_extensions()
1489 extensions->EXT_timer_query = GL_TRUE; in st_init_extensions()
1492 if (extensions->ARB_transform_feedback2 && in st_init_extensions()
1493 extensions->ARB_draw_instanced) { in st_init_extensions()
1494 extensions->ARB_transform_feedback_instanced = GL_TRUE; in st_init_extensions()
1528 extensions->ARB_texture_buffer_object = GL_FALSE; in st_init_extensions()
1530 if (extensions->ARB_texture_buffer_object) { in st_init_extensions()
1537 extensions->ARB_texture_buffer_range = GL_TRUE; in st_init_extensions()
1539 init_format_extensions(screen, extensions, tbo_rgb32, in st_init_extensions()
1544 extensions->OES_texture_buffer = in st_init_extensions()
1546 extensions->ARB_texture_buffer_object && in st_init_extensions()
1547 extensions->ARB_texture_buffer_range && in st_init_extensions()
1548 extensions->ARB_texture_buffer_object_rgb32; in st_init_extensions()
1550 extensions->EXT_framebuffer_sRGB = in st_init_extensions()
1552 extensions->EXT_sRGB; in st_init_extensions()
1564 if (!extensions->EXT_transform_feedback) in st_init_extensions()
1578 extensions->KHR_blend_equation_advanced = true; in st_init_extensions()
1581 extensions->KHR_blend_equation_advanced = true; in st_init_extensions()
1582 extensions->KHR_blend_equation_advanced_coherent = coherent_fb_fetch; in st_init_extensions()
1586 extensions->EXT_shader_framebuffer_fetch_non_coherent = true; in st_init_extensions()
1587 extensions->EXT_shader_framebuffer_fetch = coherent_fb_fetch; in st_init_extensions()
1600 extensions->ARB_viewport_array = GL_TRUE; in st_init_extensions()
1601 extensions->ARB_fragment_layer_viewport = GL_TRUE; in st_init_extensions()
1602 if (extensions->AMD_vertex_shader_layer) in st_init_extensions()
1603 extensions->AMD_vertex_shader_viewport_index = GL_TRUE; in st_init_extensions()
1606 if (extensions->AMD_vertex_shader_layer && in st_init_extensions()
1607 extensions->AMD_vertex_shader_viewport_index && in st_init_extensions()
1609 extensions->ARB_shader_viewport_layer_array = GL_TRUE; in st_init_extensions()
1616 extensions->ARB_framebuffer_no_attachments = GL_TRUE; in st_init_extensions()
1622 extensions->ARB_uniform_buffer_object && in st_init_extensions()
1623 (extensions->NV_primitive_restart || in st_init_extensions()
1646 extensions->ARB_ES3_compatibility = GL_TRUE; in st_init_extensions()
1654 extensions->NV_vdpau_interop = GL_TRUE; in st_init_extensions()
1659 extensions->ARB_gpu_shader_fp64 = GL_TRUE; in st_init_extensions()
1660 extensions->ARB_vertex_attrib_64bit = GL_TRUE; in st_init_extensions()
1665 extensions->GREMEDY_string_marker = GL_TRUE; in st_init_extensions()
1691 extensions->ARB_compute_shader = in st_init_extensions()
1693 extensions->ARB_shader_image_load_store && in st_init_extensions()
1694 extensions->ARB_shader_atomic_counters; in st_init_extensions()
1696 if (extensions->ARB_compute_shader) { in st_init_extensions()
1714 extensions->ARB_compute_variable_group_size = in st_init_extensions()
1724 extensions->ARB_texture_float = in st_init_extensions()
1725 extensions->OES_texture_half_float && in st_init_extensions()
1726 extensions->OES_texture_float; in st_init_extensions()
1728 if (extensions->EXT_texture_filter_anisotropic && in st_init_extensions()
1730 extensions->ARB_texture_filter_anisotropic = GL_TRUE; in st_init_extensions()
1732 extensions->KHR_robustness = extensions->ARB_robust_buffer_access_behavior; in st_init_extensions()
1739 extensions->ARB_ES3_1_compatibility = in st_init_extensions()
1741 extensions->ARB_ES3_compatibility && in st_init_extensions()
1742 extensions->ARB_arrays_of_arrays && in st_init_extensions()
1743 extensions->ARB_compute_shader && in st_init_extensions()
1744 extensions->ARB_draw_indirect && in st_init_extensions()
1745 extensions->ARB_explicit_uniform_location && in st_init_extensions()
1746 extensions->ARB_framebuffer_no_attachments && in st_init_extensions()
1747 extensions->ARB_shader_atomic_counters && in st_init_extensions()
1748 extensions->ARB_shader_image_load_store && in st_init_extensions()
1749 extensions->ARB_shader_image_size && in st_init_extensions()
1750 extensions->ARB_shader_storage_buffer_object && in st_init_extensions()
1751 extensions->ARB_shading_language_packing && in st_init_extensions()
1752 extensions->ARB_stencil_texturing && in st_init_extensions()
1753 extensions->ARB_texture_multisample && in st_init_extensions()
1754 extensions->ARB_gpu_shader5 && in st_init_extensions()
1755 extensions->EXT_shader_integer_mix; in st_init_extensions()
1757 extensions->OES_texture_cube_map_array = in st_init_extensions()
1758 (extensions->ARB_ES3_1_compatibility || ESSLVersion >= 310) && in st_init_extensions()
1759 extensions->OES_geometry_shader && in st_init_extensions()
1760 extensions->ARB_texture_cube_map_array; in st_init_extensions()
1762 extensions->OES_viewport_array = in st_init_extensions()
1763 (extensions->ARB_ES3_1_compatibility || ESSLVersion >= 310) && in st_init_extensions()
1764 extensions->OES_geometry_shader && in st_init_extensions()
1765 extensions->ARB_viewport_array; in st_init_extensions()
1767 extensions->OES_primitive_bounding_box = in st_init_extensions()
1768 extensions->ARB_ES3_1_compatibility || ESSLVersion >= 310; in st_init_extensions()
1772 extensions->ANDROID_extension_pack_es31a = in st_init_extensions()
1774 extensions->KHR_texture_compression_astc_ldr && in st_init_extensions()
1775 extensions->KHR_blend_equation_advanced && in st_init_extensions()
1776 extensions->OES_sample_variables && in st_init_extensions()
1777 extensions->ARB_texture_stencil8 && in st_init_extensions()
1778 extensions->ARB_texture_multisample && in st_init_extensions()
1779 extensions->OES_copy_image && in st_init_extensions()
1780 extensions->ARB_draw_buffers_blend && in st_init_extensions()
1781 extensions->OES_geometry_shader && in st_init_extensions()
1782 extensions->ARB_gpu_shader5 && in st_init_extensions()
1783 extensions->OES_primitive_bounding_box && in st_init_extensions()
1784 extensions->ARB_tessellation_shader && in st_init_extensions()
1785 extensions->OES_texture_buffer && in st_init_extensions()
1786 extensions->OES_texture_cube_map_array && in st_init_extensions()
1787 extensions->EXT_texture_sRGB_decode; in st_init_extensions()
1793 extensions->ARB_ES3_2_compatibility = in st_init_extensions()
1794 extensions->ARB_ES3_1_compatibility && in st_init_extensions()
1795 extensions->KHR_robustness && in st_init_extensions()
1796 extensions->ARB_copy_image && in st_init_extensions()
1797 extensions->ARB_draw_buffers_blend && in st_init_extensions()
1798 extensions->ARB_draw_elements_base_vertex && in st_init_extensions()
1799 extensions->OES_geometry_shader && in st_init_extensions()
1800 extensions->ARB_gpu_shader5 && in st_init_extensions()
1801 extensions->ARB_sample_shading && in st_init_extensions()
1802 extensions->ARB_tessellation_shader && in st_init_extensions()
1803 extensions->OES_texture_buffer && in st_init_extensions()
1804 extensions->ARB_texture_cube_map_array && in st_init_extensions()
1805 extensions->ARB_texture_stencil8 && in st_init_extensions()
1806 extensions->ARB_texture_multisample; in st_init_extensions()
1821 extensions->NV_conservative_raster = in st_init_extensions()
1824 if (extensions->NV_conservative_raster) { in st_init_extensions()
1825 extensions->NV_conservative_raster_dilate = max_dilate >= 0.75; in st_init_extensions()
1826 extensions->NV_conservative_raster_pre_snap_triangles = pre_snap_triangles; in st_init_extensions()
1827 extensions->NV_conservative_raster_pre_snap = in st_init_extensions()
1832 if (extensions->ARB_gl_spirv) { in st_init_extensions()
1835 extensions->ARB_shader_draw_parameters; in st_init_extensions()
1840 extensions->ARB_shader_ballot; in st_init_extensions()
1842 extensions->ARB_shader_group_vote; in st_init_extensions()
1855 extensions->ARB_stencil_texturing && in st_init_extensions()
1858 extensions->NV_copy_depth_to_color = true; in st_init_extensions()