• Home
  • Raw
  • Download

Lines Matching full:extensions

81                     struct gl_constants *c, struct gl_extensions *extensions)  in st_init_limits()  argument
500 extensions->ARB_uniform_buffer_object = GL_TRUE; in st_init_limits()
550 extensions->ARB_shader_atomic_counters = GL_TRUE; in st_init_limits()
551 extensions->ARB_shader_atomic_counter_ops = GL_TRUE; in st_init_limits()
578 extensions->ARB_shader_storage_buffer_object = GL_TRUE; in st_init_limits()
591 extensions->ARB_shader_image_load_store = GL_TRUE; in st_init_limits()
592 extensions->ARB_shader_image_size = GL_TRUE; in st_init_limits()
665 /* If TRUE, at least one format must be supported for the extensions to be
671 * Enable extensions if certain pipe formats are supported by the driver.
672 * What extensions will be enabled and what formats must be supported is
679 struct gl_extensions *extensions, in init_format_extensions() argument
685 GLboolean *extension_table = (GLboolean *) extensions; in init_format_extensions()
707 /* Enable all extensions in the list. */ in init_format_extensions()
761 * which GL extensions are supported.
762 * Quite a few extensions are always supported because they are standard
768 struct gl_extensions *extensions, in st_init_extensions() argument
773 GLboolean *extension_table = (GLboolean *) extensions; in st_init_extensions()
1097 * Extensions that are supported by all Gallium drivers: in st_init_extensions()
1099 extensions->ARB_ES2_compatibility = GL_TRUE; in st_init_extensions()
1100 extensions->ARB_depth_texture = GL_TRUE; in st_init_extensions()
1101 extensions->ARB_draw_elements_base_vertex = GL_TRUE; in st_init_extensions()
1102 extensions->ARB_explicit_attrib_location = GL_TRUE; in st_init_extensions()
1103 extensions->ARB_explicit_uniform_location = GL_TRUE; in st_init_extensions()
1104 extensions->ARB_fragment_coord_conventions = GL_TRUE; in st_init_extensions()
1105 extensions->ARB_fragment_program = GL_TRUE; in st_init_extensions()
1106 extensions->ARB_fragment_shader = GL_TRUE; in st_init_extensions()
1107 extensions->ARB_half_float_vertex = GL_TRUE; in st_init_extensions()
1108 extensions->ARB_internalformat_query = GL_TRUE; in st_init_extensions()
1109 extensions->ARB_internalformat_query2 = GL_TRUE; in st_init_extensions()
1110 extensions->ARB_map_buffer_range = GL_TRUE; in st_init_extensions()
1111 extensions->ARB_sync = GL_TRUE; in st_init_extensions()
1112 extensions->ARB_texture_border_clamp = GL_TRUE; in st_init_extensions()
1113 extensions->ARB_texture_cube_map = GL_TRUE; in st_init_extensions()
1114 extensions->ARB_texture_env_combine = GL_TRUE; in st_init_extensions()
1115 extensions->ARB_texture_env_crossbar = GL_TRUE; in st_init_extensions()
1116 extensions->ARB_texture_env_dot3 = GL_TRUE; in st_init_extensions()
1117 extensions->ARB_vertex_program = GL_TRUE; in st_init_extensions()
1118 extensions->ARB_vertex_shader = GL_TRUE; in st_init_extensions()
1120 extensions->EXT_blend_color = GL_TRUE; in st_init_extensions()
1121 extensions->EXT_blend_func_separate = GL_TRUE; in st_init_extensions()
1122 extensions->EXT_blend_minmax = GL_TRUE; in st_init_extensions()
1123 extensions->EXT_EGL_image_storage = GL_TRUE; in st_init_extensions()
1124 extensions->EXT_gpu_program_parameters = GL_TRUE; in st_init_extensions()
1125 extensions->EXT_pixel_buffer_object = GL_TRUE; in st_init_extensions()
1126 extensions->EXT_point_parameters = GL_TRUE; in st_init_extensions()
1127 extensions->EXT_provoking_vertex = GL_TRUE; in st_init_extensions()
1128 extensions->EXT_stencil_two_side = GL_TRUE; in st_init_extensions()
1129 extensions->EXT_texture_env_dot3 = GL_TRUE; in st_init_extensions()
1131 extensions->ATI_fragment_shader = GL_TRUE; in st_init_extensions()
1132 extensions->ATI_texture_env_combine3 = GL_TRUE; in st_init_extensions()
1134 extensions->MESA_framebuffer_flip_y = GL_TRUE; in st_init_extensions()
1136 extensions->NV_copy_image = GL_TRUE; in st_init_extensions()
1137 extensions->NV_fog_distance = GL_TRUE; in st_init_extensions()
1138 extensions->NV_texture_env_combine4 = GL_TRUE; in st_init_extensions()
1139 extensions->NV_texture_rectangle = GL_TRUE; in st_init_extensions()
1141 extensions->OES_EGL_image = GL_TRUE; in st_init_extensions()
1142 extensions->OES_EGL_image_external = GL_TRUE; in st_init_extensions()
1143 extensions->OES_draw_texture = GL_TRUE; in st_init_extensions()
1145 /* Expose the extensions which directly correspond to gallium caps. */ in st_init_extensions()
1153 if (extensions->EXT_texture_filter_minmax) in st_init_extensions()
1154 extensions->ARB_texture_filter_minmax = GL_TRUE; in st_init_extensions()
1156 /* Expose the extensions which directly correspond to gallium formats. */ in st_init_extensions()
1157 init_format_extensions(screen, extensions, rendertarget_mapping, in st_init_extensions()
1160 init_format_extensions(screen, extensions, rt_blendable, in st_init_extensions()
1164 init_format_extensions(screen, extensions, depthstencil_mapping, in st_init_extensions()
1167 init_format_extensions(screen, extensions, texture_mapping, in st_init_extensions()
1170 init_format_extensions(screen, extensions, vertex_mapping, in st_init_extensions()
1214 extensions->ARB_gpu_shader5 = GL_TRUE; in st_init_extensions()
1217 extensions->ARB_gpu_shader5 = GL_TRUE; in st_init_extensions()
1219 extensions->ARB_shader_precision = GL_TRUE; in st_init_extensions()
1225 extensions->AMD_vertex_shader_layer = GL_TRUE; in st_init_extensions()
1234 extensions->EXT_gpu_shader4 = GL_TRUE; in st_init_extensions()
1235 extensions->EXT_texture_buffer_object = GL_TRUE; in st_init_extensions()
1238 extensions->ARB_enhanced_layouts = GL_TRUE; in st_init_extensions()
1249 /* Extensions that either depend on GLSL 1.30 or are a subset thereof. */ in st_init_extensions()
1250 extensions->ARB_conservative_depth = GL_TRUE; in st_init_extensions()
1251 extensions->ARB_shading_language_packing = GL_TRUE; in st_init_extensions()
1252 extensions->OES_depth_texture_cube_map = GL_TRUE; in st_init_extensions()
1253 extensions->ARB_shading_language_420pack = GL_TRUE; in st_init_extensions()
1254 extensions->ARB_texture_query_levels = GL_TRUE; in st_init_extensions()
1256 extensions->ARB_shader_bit_encoding = GL_TRUE; in st_init_extensions()
1258 extensions->EXT_shader_integer_mix = GL_TRUE; in st_init_extensions()
1259 extensions->ARB_arrays_of_arrays = GL_TRUE; in st_init_extensions()
1260 extensions->MESA_shader_integer_functions = GL_TRUE; in st_init_extensions()
1264 extensions->INTEL_shader_integer_functions2 = GL_TRUE; in st_init_extensions()
1274 extensions->EXT_shader_integer_mix = GL_TRUE; in st_init_extensions()
1278 extensions->EXT_texture_integer = GL_FALSE; in st_init_extensions()
1279 extensions->ARB_texture_rgb10_a2ui = GL_FALSE; in st_init_extensions()
1303 extensions->ARB_tessellation_shader = GL_TRUE; in st_init_extensions()
1311 extensions->OES_geometry_shader = GL_TRUE; in st_init_extensions()
1320 extensions->ARB_draw_indirect = GL_TRUE; in st_init_extensions()
1324 * ARB_gpu_shader5. This enables all the per-sample shading ES extensions. in st_init_extensions()
1326 extensions->OES_sample_variables = extensions->ARB_sample_shading && in st_init_extensions()
1327 extensions->ARB_gpu_shader5; in st_init_extensions()
1382 if (extensions->AMD_framebuffer_multisample_advanced) { in st_init_extensions()
1453 extensions->EXT_framebuffer_multisample = GL_TRUE; in st_init_extensions()
1454 extensions->EXT_framebuffer_multisample_blit_scaled = GL_TRUE; in st_init_extensions()
1460 extensions->EXT_framebuffer_multisample = GL_TRUE; in st_init_extensions()
1461 extensions->EXT_framebuffer_multisample_blit_scaled = GL_TRUE; in st_init_extensions()
1462 extensions->ARB_texture_multisample = GL_TRUE; in st_init_extensions()
1467 extensions->ARB_blend_func_extended = GL_TRUE; in st_init_extensions()
1470 extensions->ARB_timer_query) { in st_init_extensions()
1471 extensions->EXT_timer_query = GL_TRUE; in st_init_extensions()
1474 if (extensions->ARB_transform_feedback2 && in st_init_extensions()
1475 extensions->ARB_draw_instanced) { in st_init_extensions()
1476 extensions->ARB_transform_feedback_instanced = GL_TRUE; in st_init_extensions()
1502 extensions->ARB_texture_buffer_object = GL_FALSE; in st_init_extensions()
1504 if (extensions->ARB_texture_buffer_object) { in st_init_extensions()
1512 extensions->ARB_texture_buffer_range = GL_TRUE; in st_init_extensions()
1514 init_format_extensions(screen, extensions, tbo_rgb32, in st_init_extensions()
1519 extensions->OES_texture_buffer = in st_init_extensions()
1520 extensions->ARB_texture_buffer_object && in st_init_extensions()
1521 extensions->ARB_texture_buffer_range && in st_init_extensions()
1522 extensions->ARB_texture_buffer_object_rgb32 && in st_init_extensions()
1523 extensions->ARB_shader_image_load_store; in st_init_extensions()
1525 extensions->EXT_framebuffer_sRGB = in st_init_extensions()
1527 extensions->EXT_sRGB; in st_init_extensions()
1539 if (!extensions->EXT_transform_feedback) in st_init_extensions()
1551 extensions->KHR_blend_equation_advanced = true; in st_init_extensions()
1554 extensions->KHR_blend_equation_advanced = true; in st_init_extensions()
1555 extensions->KHR_blend_equation_advanced_coherent = coherent_fb_fetch; in st_init_extensions()
1559 extensions->EXT_shader_framebuffer_fetch_non_coherent = true; in st_init_extensions()
1560 extensions->EXT_shader_framebuffer_fetch = coherent_fb_fetch; in st_init_extensions()
1573 extensions->ARB_viewport_array = GL_TRUE; in st_init_extensions()
1574 extensions->ARB_fragment_layer_viewport = GL_TRUE; in st_init_extensions()
1575 if (extensions->AMD_vertex_shader_layer) in st_init_extensions()
1576 extensions->AMD_vertex_shader_viewport_index = GL_TRUE; in st_init_extensions()
1579 if (extensions->AMD_vertex_shader_layer && in st_init_extensions()
1580 extensions->AMD_vertex_shader_viewport_index && in st_init_extensions()
1582 extensions->ARB_shader_viewport_layer_array = GL_TRUE; in st_init_extensions()
1589 extensions->ARB_framebuffer_no_attachments = GL_TRUE; in st_init_extensions()
1595 extensions->ARB_uniform_buffer_object && in st_init_extensions()
1596 (extensions->NV_primitive_restart || in st_init_extensions()
1619 extensions->ARB_ES3_compatibility = GL_TRUE; in st_init_extensions()
1627 extensions->NV_vdpau_interop = GL_TRUE; in st_init_extensions()
1632 extensions->ARB_gpu_shader_fp64 = GL_TRUE; in st_init_extensions()
1633 extensions->ARB_vertex_attrib_64bit = GL_TRUE; in st_init_extensions()
1638 extensions->GREMEDY_string_marker = GL_TRUE; in st_init_extensions()
1671 extensions->ARB_compute_shader = in st_init_extensions()
1673 extensions->ARB_shader_image_load_store && in st_init_extensions()
1674 extensions->ARB_shader_atomic_counters; in st_init_extensions()
1676 if (extensions->ARB_compute_shader) { in st_init_extensions()
1694 extensions->ARB_compute_variable_group_size = in st_init_extensions()
1700 extensions->ARB_texture_float = in st_init_extensions()
1701 extensions->OES_texture_half_float && in st_init_extensions()
1702 extensions->OES_texture_float; in st_init_extensions()
1704 if (extensions->EXT_texture_filter_anisotropic && in st_init_extensions()
1706 extensions->ARB_texture_filter_anisotropic = GL_TRUE; in st_init_extensions()
1708 extensions->KHR_robustness = extensions->ARB_robust_buffer_access_behavior; in st_init_extensions()
1715 extensions->ARB_ES3_1_compatibility = in st_init_extensions()
1716 extensions->ARB_ES3_compatibility && in st_init_extensions()
1717 extensions->ARB_arrays_of_arrays && in st_init_extensions()
1718 extensions->ARB_compute_shader && in st_init_extensions()
1719 extensions->ARB_draw_indirect && in st_init_extensions()
1720 extensions->ARB_explicit_uniform_location && in st_init_extensions()
1721 extensions->ARB_framebuffer_no_attachments && in st_init_extensions()
1722 extensions->ARB_shader_atomic_counters && in st_init_extensions()
1723 extensions->ARB_shader_image_load_store && in st_init_extensions()
1724 extensions->ARB_shader_image_size && in st_init_extensions()
1725 extensions->ARB_shader_storage_buffer_object && in st_init_extensions()
1726 extensions->ARB_shading_language_packing && in st_init_extensions()
1727 extensions->ARB_stencil_texturing && in st_init_extensions()
1728 extensions->ARB_texture_multisample && in st_init_extensions()
1729 extensions->ARB_gpu_shader5 && in st_init_extensions()
1730 extensions->EXT_shader_integer_mix; in st_init_extensions()
1732 extensions->OES_texture_cube_map_array = in st_init_extensions()
1733 (extensions->ARB_ES3_1_compatibility || ESSLVersion >= 310) && in st_init_extensions()
1734 extensions->OES_geometry_shader && in st_init_extensions()
1735 extensions->ARB_texture_cube_map_array; in st_init_extensions()
1737 extensions->OES_viewport_array = in st_init_extensions()
1738 (extensions->ARB_ES3_1_compatibility || ESSLVersion >= 310) && in st_init_extensions()
1739 extensions->OES_geometry_shader && in st_init_extensions()
1740 extensions->ARB_viewport_array; in st_init_extensions()
1742 extensions->OES_primitive_bounding_box = in st_init_extensions()
1743 extensions->ARB_ES3_1_compatibility || ESSLVersion >= 310; in st_init_extensions()
1747 extensions->ANDROID_extension_pack_es31a = in st_init_extensions()
1748 extensions->KHR_texture_compression_astc_ldr && in st_init_extensions()
1749 extensions->KHR_blend_equation_advanced && in st_init_extensions()
1750 extensions->OES_sample_variables && in st_init_extensions()
1751 extensions->ARB_shader_image_load_store && in st_init_extensions()
1752 extensions->ARB_texture_stencil8 && in st_init_extensions()
1753 extensions->ARB_texture_multisample && in st_init_extensions()
1754 extensions->OES_copy_image && in st_init_extensions()
1755 extensions->ARB_draw_buffers_blend && in st_init_extensions()
1756 extensions->OES_geometry_shader && in st_init_extensions()
1757 extensions->ARB_gpu_shader5 && in st_init_extensions()
1758 extensions->OES_primitive_bounding_box && in st_init_extensions()
1759 extensions->ARB_tessellation_shader && in st_init_extensions()
1760 extensions->ARB_texture_border_clamp && in st_init_extensions()
1761 extensions->OES_texture_buffer && in st_init_extensions()
1762 extensions->OES_texture_cube_map_array && in st_init_extensions()
1763 extensions->EXT_texture_sRGB_decode; in st_init_extensions()
1769 extensions->ARB_ES3_2_compatibility = in st_init_extensions()
1770 extensions->ARB_ES3_1_compatibility && in st_init_extensions()
1771 extensions->KHR_robustness && in st_init_extensions()
1772 extensions->ARB_copy_image && in st_init_extensions()
1773 extensions->ARB_draw_buffers_blend && in st_init_extensions()
1774 extensions->ARB_draw_elements_base_vertex && in st_init_extensions()
1775 extensions->OES_geometry_shader && in st_init_extensions()
1776 extensions->ARB_gpu_shader5 && in st_init_extensions()
1777 extensions->ARB_sample_shading && in st_init_extensions()
1778 extensions->ARB_tessellation_shader && in st_init_extensions()
1779 extensions->ARB_texture_border_clamp && in st_init_extensions()
1780 extensions->OES_texture_buffer && in st_init_extensions()
1781 extensions->ARB_texture_cube_map_array && in st_init_extensions()
1782 extensions->ARB_texture_stencil8 && in st_init_extensions()
1783 extensions->ARB_texture_multisample; in st_init_extensions()
1798 extensions->NV_conservative_raster = in st_init_extensions()
1801 if (extensions->NV_conservative_raster) { in st_init_extensions()
1802 extensions->NV_conservative_raster_dilate = max_dilate >= 0.75; in st_init_extensions()
1803 extensions->NV_conservative_raster_pre_snap_triangles = pre_snap_triangles; in st_init_extensions()
1804 extensions->NV_conservative_raster_pre_snap = in st_init_extensions()
1809 if (extensions->ARB_gl_spirv) { in st_init_extensions()
1812 spirv_caps->atomic_storage = extensions->ARB_shader_atomic_counters; in st_init_extensions()
1813 spirv_caps->demote_to_helper_invocation = extensions->EXT_demote_to_helper_invocation; in st_init_extensions()
1814 spirv_caps->draw_parameters = extensions->ARB_shader_draw_parameters; in st_init_extensions()
1815 spirv_caps->derivative_group = extensions->NV_compute_shader_derivatives; in st_init_extensions()
1816 spirv_caps->float64 = extensions->ARB_gpu_shader_fp64; in st_init_extensions()
1817 spirv_caps->geometry_streams = extensions->ARB_gpu_shader5; in st_init_extensions()
1818 spirv_caps->image_ms_array = extensions->ARB_shader_image_load_store && in st_init_extensions()
1820 spirv_caps->image_read_without_format = extensions->EXT_shader_image_load_formatted; in st_init_extensions()
1821 spirv_caps->image_write_without_format = extensions->ARB_shader_image_load_store; in st_init_extensions()
1822 spirv_caps->int64 = extensions->ARB_gpu_shader_int64; in st_init_extensions()
1823 spirv_caps->int64_atomics = extensions->NV_shader_atomic_int64; in st_init_extensions()
1824 spirv_caps->post_depth_coverage = extensions->ARB_post_depth_coverage; in st_init_extensions()
1825 spirv_caps->shader_clock = extensions->ARB_shader_clock; in st_init_extensions()
1826 spirv_caps->shader_viewport_index_layer = extensions->ARB_shader_viewport_layer_array; in st_init_extensions()
1827 spirv_caps->stencil_export = extensions->ARB_shader_stencil_export; in st_init_extensions()
1828 spirv_caps->storage_image_ms = extensions->ARB_shader_image_load_store && in st_init_extensions()
1830 spirv_caps->subgroup_ballot = extensions->ARB_shader_ballot; in st_init_extensions()
1831 spirv_caps->subgroup_vote = extensions->ARB_shader_group_vote; in st_init_extensions()
1832 spirv_caps->tessellation = extensions->ARB_tessellation_shader; in st_init_extensions()
1833 spirv_caps->transform_feedback = extensions->ARB_transform_feedback3; in st_init_extensions()
1836 spirv_caps->integer_functions2 = extensions->INTEL_shader_integer_functions2; in st_init_extensions()
1851 extensions->ARB_stencil_texturing && in st_init_extensions()
1854 extensions->NV_copy_depth_to_color = TRUE; in st_init_extensions()
1857 extensions->ARB_point_sprite = GL_TRUE; in st_init_extensions()