[Mesa-dev] [PATCH v2 0/4] Add support GL_ARB_texture_compression_bptc in llvmpipe and softpipe.

Denis Pauk pauk.denis at gmail.com
Sat Jun 23 13:19:24 UTC 2018


This series add code for reuse in gallium bptc decode logic from
mesa/main/texcompress_bptc.c. 

Checked on x86_64 by: 
* LIBGL_ALWAYS_SOFTWARE=true GALLIUM_DRIVER={llvmpipe,softpipe}
* piglit/bin/bptc-float-modes
* piglit/bin/bptc-modes
* piglit/bin/compressedteximage GL_COMPRESSED_RGBA_BPTC_UNORM
* piglit/bin/compressedteximage GL_COMPRESSED_SRGB_ALPHA_BPTC_UNORM
* piglit/bin/compressedteximage GL_COMPRESSED_RGB_BPTC_UNSIGNED_FLOAT
* piglit/bin/compressedteximage GL_COMPRESSED_RGB_BPTC_SIGNED_FLOAT

Could you please review?

v2: Added logic for decompress 4x4 as single block.

Best regards,
             Denis.

---

src/gallium/auxiliary/Makefile.sources        |   2 +
src/gallium/auxiliary/meson.build             |   2 +
src/gallium/auxiliary/util/u_format_bptc.c    | 277 +++++++++++++++++++++++
src/gallium/auxiliary/util/u_format_bptc.h    | 122 +++++++++++
src/gallium/auxiliary/util/u_format_table.py  |   3 +-
src/gallium/auxiliary/util/u_tile.c           |   1 +
src/gallium/drivers/llvmpipe/lp_screen.c      |   3 +-
src/gallium/drivers/llvmpipe/lp_test_format.c |   3 +-
src/gallium/drivers/softpipe/sp_screen.c      |   3 +-
src/mesa/Makefile.sources                     |   1 +
src/mesa/main/texcompress_bptc.c              | 303 +++++++++++++++++++++++++-
src/mesa/main/texcompress_bptc_share.h        |  58 +++++
12 files changed, 767 insertions(+), 11 deletions(-)

---

[PATCH v2 1/4] mesa: add header for share bptc decompress functions
[PATCH v2 2/4] gallium/auxiliary: Add helper support for bptc format
[PATCH v2 3/4] gallium/softpipe: Enable support bptc format.
[PATCH v2 4/4] gallium/llvmpipe: Enable support bptc format.



More information about the mesa-dev mailing list