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

Denis Pauk pauk.denis at gmail.com
Tue Jun 26 20:30:48 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

v2: Added logic for decompress 4x4 as single block.
v3: Move bptc decode code to texcompress_bptc_tmp.h
    Suggested-by: Marek Olšák <maraeo at gmail.com>

Sorry, I have resent this patch series, previously sent without cover letter.

Best regards,
             Denis.

------
 src/gallium/auxiliary/Makefile.sources        |    2 +
 src/gallium/auxiliary/meson.build             |    2 +
 src/gallium/auxiliary/util/u_format_bptc.c    |  279 ++++
 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              | 1451 +-------------------
 src/mesa/main/texcompress_bptc_tmp.h          | 1743 +++++++++++++++++++++++++
 12 files changed, 2172 insertions(+), 1441 deletions(-)





More information about the mesa-dev mailing list