Re: [Mesa-dev] [PATCH v2 1/4] mesa: add header for share bptc decompress functions

2018-06-26 Thread Denis Pauk
Hi! Thank you. I will move all shared code to texcompress_bptc_tmp.h, and send new patch series. On Mon, Jun 25, 2018 at 7:47 PM Marek Olšák wrote: > This looks OK, but did you try to build other gallium state trackers? > They don't link with anything in src/mesa, so the build will fail, > beca

Re: [Mesa-dev] [PATCH v2 1/4] mesa: add header for share bptc decompress functions

2018-06-25 Thread Marek Olšák
This looks OK, but did you try to build other gallium state trackers? They don't link with anything in src/mesa, so the build will fail, because the bptc functions are missing. The solution used for other formats was to put all functions into header files, see texcompress_*_tmp.h. Another solution

[Mesa-dev] [PATCH v2 1/4] mesa: add header for share bptc decompress functions

2018-06-23 Thread Denis Pauk
Make functions public: * 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 Signed-o