diff options
author | Marek Olšák <[email protected]> | 2018-08-05 22:16:48 -0400 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2018-08-24 00:36:18 -0400 |
commit | 45b5f5fa25b844bab458369a50f7423724dc4283 (patch) | |
tree | 239d530ec9d80c7aab1ae2cd2b15a5c5ec39cc53 /src/mesa/state_tracker | |
parent | dae4cf397d8a5d0d060cece1feaf38dc3f623398 (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.
Diffstat (limited to 'src/mesa/state_tracker')
-rw-r--r-- | src/mesa/state_tracker/st_extensions.c | 6 |
1 files changed, 4 insertions, 2 deletions
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 } }, |