summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2018-08-05 22:16:48 -0400
committerMarek Olšák <[email protected]>2018-08-24 00:36:18 -0400
commit45b5f5fa25b844bab458369a50f7423724dc4283 (patch)
tree239d530ec9d80c7aab1ae2cd2b15a5c5ec39cc53
parentdae4cf397d8a5d0d060cece1feaf38dc3f623398 (diff)
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.
-rw-r--r--docs/features.txt2
-rw-r--r--docs/relnotes/18.3.0.html1
-rw-r--r--src/mesa/state_tracker/st_extensions.c6
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.
<li>GL_EXT_disjoint_timer_query on radeonsi and most other Gallium drivers (ES extension)</li>
<li>GL_EXT_vertex_attrib_64bit on i965, nvc0, radeonsi.</li>
<li>GL_EXT_window_rectangles on radeonsi.</li>
+<li>GL_KHR_texture_compression_astc_sliced_3d on radeonsi.</li>
</ul>
<h2>Bug fixes</h2>
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 } },