mirror of
https://github.com/bkaradzic/bimg.git
synced 2026-02-17 20:52:38 +01:00
ASTC encoding support
- Add 3rdparty/astc with lib version of the standard encoder - Add astc_compress call for ASTC formats - Add BIMG_CONFIG_ASTC_DECODE-gated decompression support. This is just for testing, the decompress code is currently too heavy to include in the core lib. - Add fourcc support for DDS decode so ASTC and other formats not covered by dxgi can be read - Add --formats option to texturec, lists all supported formats - Update genie files -- add astc to bimg_encode and remove redundant files from texturec
This commit is contained in:
@@ -30,6 +30,8 @@ project "bimg_encode"
|
||||
path.join(BIMG_DIR, "3rdparty/nvtt/**.h"),
|
||||
path.join(BIMG_DIR, "3rdparty/pvrtc/**.cpp"),
|
||||
path.join(BIMG_DIR, "3rdparty/pvrtc/**.h"),
|
||||
path.join(BIMG_DIR, "3rdparty/astc/**.cpp"),
|
||||
path.join(BIMG_DIR, "3rdparty/astc/**.h"),
|
||||
path.join(BIMG_DIR, "3rdparty/tinyexr/**.h"),
|
||||
path.join(BIMG_DIR, "3rdparty/iqa/include/**.h"),
|
||||
path.join(BIMG_DIR, "3rdparty/iqa/source/**.c"),
|
||||
|
||||
@@ -9,27 +9,9 @@ project "texturec"
|
||||
includedirs {
|
||||
path.join(BX_DIR, "include"),
|
||||
path.join(BIMG_DIR, "include"),
|
||||
path.join(BIMG_DIR, "3rdparty"),
|
||||
path.join(BIMG_DIR, "3rdparty/nvtt"),
|
||||
path.join(BIMG_DIR, "3rdparty/iqa/include"),
|
||||
}
|
||||
|
||||
files {
|
||||
path.join(BIMG_DIR, "3rdparty/libsquish/**.cpp"),
|
||||
path.join(BIMG_DIR, "3rdparty/libsquish/**.h"),
|
||||
path.join(BIMG_DIR, "3rdparty/edtaa3/**.cpp"),
|
||||
path.join(BIMG_DIR, "3rdparty/edtaa3/**.h"),
|
||||
path.join(BIMG_DIR, "3rdparty/etc1/**.cpp"),
|
||||
path.join(BIMG_DIR, "3rdparty/etc1/**.h"),
|
||||
path.join(BIMG_DIR, "3rdparty/etc2/**.cpp"),
|
||||
path.join(BIMG_DIR, "3rdparty/etc2/**.hpp"),
|
||||
path.join(BIMG_DIR, "3rdparty/nvtt/**.cpp"),
|
||||
path.join(BIMG_DIR, "3rdparty/nvtt/**.h"),
|
||||
path.join(BIMG_DIR, "3rdparty/pvrtc/**.cpp"),
|
||||
path.join(BIMG_DIR, "3rdparty/pvrtc/**.h"),
|
||||
path.join(BIMG_DIR, "3rdparty/tinyexr/**.h"),
|
||||
path.join(BIMG_DIR, "3rdparty/iqa/include/**.h"),
|
||||
path.join(BIMG_DIR, "3rdparty/iqa/source/**.c"),
|
||||
path.join(BIMG_DIR, "tools/texturec/**.cpp"),
|
||||
path.join(BIMG_DIR, "tools/texturec/**.h"),
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user