diff options
author | Marek Olšák <[email protected]> | 2018-02-13 04:25:29 +0100 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2018-07-31 18:09:57 -0400 |
commit | ed8b4ed6c4c0f2d318e21ed964bb18d0e5a3b800 (patch) | |
tree | daacfe4d14b1236fd57004fdefbab51d2ca8cbc1 /src/mesa/state_tracker/st_extensions.c | |
parent | 5fe52044efec0506eb2ce05ccdc9e5ce53941538 (diff) |
st/mesa: implement ASTC 2D LDR fallback for all drivers
Tested-by: Mike Lothian <[email protected]>
Tested-By: Gert Wollny<[email protected]>
Tested-by: Dieter Nützel <[email protected]>
Reviewed-By: Gert Wollny <[email protected]>
Diffstat (limited to 'src/mesa/state_tracker/st_extensions.c')
-rw-r--r-- | src/mesa/state_tracker/st_extensions.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mesa/state_tracker/st_extensions.c b/src/mesa/state_tracker/st_extensions.c index aaf1aa10ac6..2ec47581c50 100644 --- a/src/mesa/state_tracker/st_extensions.c +++ b/src/mesa/state_tracker/st_extensions.c @@ -802,6 +802,11 @@ void st_init_extensions(struct pipe_screen *screen, PIPE_FORMAT_ASTC_12x10_SRGB, PIPE_FORMAT_ASTC_12x12_SRGB } }, + /* ASTC software fallback support. */ + { { o(KHR_texture_compression_astc_ldr) }, + { PIPE_FORMAT_R8G8B8A8_UNORM, + PIPE_FORMAT_R8G8B8A8_SRGB } }, + { { o(EXT_texture_shared_exponent) }, { PIPE_FORMAT_R9G9B9E5_FLOAT } }, |