From 45b5f5fa25b844bab458369a50f7423724dc4283 Mon Sep 17 00:00:00 2001 From: Marek Olšák Date: Sun, 5 Aug 2018 22:16:48 -0400 Subject: st/mesa: expose KHR_texture_compression_astc_sliced_3d This is ASTC 2D LDR allowing texture arrays and 3D, compressing each slice as a separate 2D image. Tested by piglit. Trivial. --- docs/features.txt | 2 +- docs/relnotes/18.3.0.html | 1 + src/mesa/state_tracker/st_extensions.c | 6 ++++-- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/docs/features.txt b/docs/features.txt index be10cb7da92..9ccf803d470 100644 --- a/docs/features.txt +++ b/docs/features.txt @@ -326,7 +326,7 @@ Khronos, ARB, and OES extensions that are not part of any OpenGL or OpenGL ES ve GL_EXT_texture_norm16 DONE (i965, r600, radeonsi, nvc0) GL_KHR_blend_equation_advanced_coherent DONE (i965/gen9+) GL_KHR_texture_compression_astc_hdr DONE (i965/bxt) - GL_KHR_texture_compression_astc_sliced_3d DONE (i965/gen9+) + GL_KHR_texture_compression_astc_sliced_3d DONE (i965/gen9+, radeonsi) GL_OES_depth_texture_cube_map DONE (all drivers that support GLSL 1.30+) GL_OES_EGL_image DONE (all drivers) GL_OES_EGL_image_external DONE (all drivers) diff --git a/docs/relnotes/18.3.0.html b/docs/relnotes/18.3.0.html index 6aeb8051dc1..594b0624a5b 100644 --- a/docs/relnotes/18.3.0.html +++ b/docs/relnotes/18.3.0.html @@ -58,6 +58,7 @@ Note: some of the new features are only available with certain drivers.
  • GL_EXT_disjoint_timer_query on radeonsi and most other Gallium drivers (ES extension)
  • GL_EXT_vertex_attrib_64bit on i965, nvc0, radeonsi.
  • GL_EXT_window_rectangles on radeonsi.
  • +
  • GL_KHR_texture_compression_astc_sliced_3d on radeonsi.
  • Bug fixes

    diff --git a/src/mesa/state_tracker/st_extensions.c b/src/mesa/state_tracker/st_extensions.c index 18997b1d1d1..2a1b2931d5a 100644 --- a/src/mesa/state_tracker/st_extensions.c +++ b/src/mesa/state_tracker/st_extensions.c @@ -810,7 +810,8 @@ void st_init_extensions(struct pipe_screen *screen, PIPE_FORMAT_BPTC_RGB_FLOAT, PIPE_FORMAT_BPTC_RGB_UFLOAT } }, - { { o(KHR_texture_compression_astc_ldr) }, + { { o(KHR_texture_compression_astc_ldr), + o(KHR_texture_compression_astc_sliced_3d) }, { PIPE_FORMAT_ASTC_4x4, PIPE_FORMAT_ASTC_5x4, PIPE_FORMAT_ASTC_5x5, @@ -841,7 +842,8 @@ void st_init_extensions(struct pipe_screen *screen, PIPE_FORMAT_ASTC_12x12_SRGB } }, /* ASTC software fallback support. */ - { { o(KHR_texture_compression_astc_ldr) }, + { { o(KHR_texture_compression_astc_ldr), + o(KHR_texture_compression_astc_sliced_3d) }, { PIPE_FORMAT_R8G8B8A8_UNORM, PIPE_FORMAT_R8G8B8A8_SRGB } }, -- cgit v1.2.3