[Mesa-dev] [PATCH 1/7] mesa: add ASTC 2D LDR decoder

Marek Olšák maraeo at gmail.com
Tue Jul 24 17:02:42 UTC 2018


On Tue, Jul 24, 2018 at 6:17 AM, Eric Engestrom
<eric.engestrom at intel.com> wrote:
> On Monday, 2018-07-23 19:52:01 -0400, Marek Olšák wrote:
>> From: Marek Olšák <marek.olsak at amd.com>
>>
>> ---
>>  src/mesa/Makefile.sources          |    2 +
>>  src/mesa/main/formats.c            |   42 +
>>  src/mesa/main/formats.h            |    3 +
>>  src/mesa/main/texcompress_astc.cpp | 1871 ++++++++++++++++++++++++++++
>>  src/mesa/main/texcompress_astc.h   |   47 +
>>  src/util/half_float.c              |   59 +
>>  src/util/half_float.h              |    5 +
>>  7 files changed, 2029 insertions(+)
>>  create mode 100644 src/mesa/main/texcompress_astc.cpp
>>  create mode 100644 src/mesa/main/texcompress_astc.h
>>
>> diff --git a/src/mesa/Makefile.sources b/src/mesa/Makefile.sources
>> index 63f3734c322..ae8934e2830 100644
>> --- a/src/mesa/Makefile.sources
>> +++ b/src/mesa/Makefile.sources
>> @@ -207,20 +207,22 @@ MAIN_FILES = \
>>       main/shader_query.cpp \
>>       main/shared.c \
>>       main/shared.h \
>>       main/state.c \
>>       main/state.h \
>>       main/stencil.c \
>>       main/stencil.h \
>>       main/syncobj.c \
>>       main/syncobj.h \
>>       main/texcompress.c \
>> +     main/texcompress_astc.cpp \
>> +     main/texcompress_astc.h \
>>       main/texcompress_bptc.c \
>>       main/texcompress_bptc.h \
>>       main/texcompress_bptc_tmp.h \
>>       main/texcompress_cpal.c \
>>       main/texcompress_cpal.h \
>>       main/texcompress_etc.c \
>>       main/texcompress_etc.h \
>>       main/texcompress_etc_tmp.h \
>>       main/texcompress_fxt1.c \
>>       main/texcompress_fxt1.h \
>
> And to avoid breaking meson :)
>
> ----8<----
> diff --git a/src/mesa/meson.build b/src/mesa/meson.build
> index 8fb7db215c8f39212c07..29633691ee776089bc35 100644
> --- a/src/mesa/meson.build
> +++ b/src/mesa/meson.build
> @@ -254,6 +254,8 @@ files_libmesa_common = files(
>    'main/syncobj.c',
>    'main/syncobj.h',
>    'main/texcompress.c',
> +  'main/texcompress_astc.cpp',
> +  'main/texcompress_astc.h',
>    'main/texcompress_bptc.c',
>    'main/texcompress_bptc.h',
>    'main/texcompress_cpal.c',
> ---->8----
>

Applied. Thanks.

Marek


More information about the mesa-dev mailing list