mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-31 01:10:16 +01:00
mesa: add header for share bptc decompress functions
Move shared bptc functions to texcompress_bptc_tmp.h:
* fetch_rgba_unorm_from_block
* fetch_rgb_float_from_block
* compress_rgba_unorm
* compress_rgb_float
Create decompress functions:
* decompress_rgba_unorm
* decompress_rgb_float
Functions will be reused in gallium/auxiliary code.
v2: Add block decompress function
v3: Move all shared code to header
Suggested-by: Marek Olšák <maraeo@gmail.com>
Signed-off-by: Denis Pauk <pauk.denis@gmail.com>
CC: Marek Olšák <maraeo@gmail.com>
Signed-off-by: Marek Olšák <marek.olsak@amd.com>
This commit is contained in:
parent
99c6cae227
commit
bf4871f9e8
3 changed files with 1761 additions and 1434 deletions
|
|
@ -216,6 +216,7 @@ MAIN_FILES = \
|
|||
main/texcompress.c \
|
||||
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 \
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
1743
src/mesa/main/texcompress_bptc_tmp.h
Normal file
1743
src/mesa/main/texcompress_bptc_tmp.h
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Add table
Reference in a new issue