[Mesa-dev] [PATCH 8/9] mesa: add RGBX formats for existing GL RGB texture formats

2013-01-28 Thread Marek Olšák
v2: fix compilation of swrast --- src/mesa/main/format_pack.c | 186 ++ src/mesa/main/format_unpack.c | 297 + src/mesa/main/formats.c | 207 src/mesa/main/formats.h | 16 +++ src/mesa/m

Re: [Mesa-dev] [PATCH 8/9] mesa: add RGBX formats for existing GL RGB texture formats

2013-01-28 Thread Marek Olšák
Sorry, I don't build swrast and I incorrectly assumed that adding new formats which swrast doesn't use wouldn't break compiling. I didn't update _mesa_choose_tex_format, because it's not part of the vertical slice I'm implementing. I'll send a corrected patch shortly. Marek On Mon, Jan 28, 2013

Re: [Mesa-dev] [PATCH 8/9] mesa: add RGBX formats for existing GL RGB texture formats

2013-01-27 Thread Carl Worth
Marek Olšák writes: ... Hi Marek, This code looks really interesting. Thanks for contributing it. I'd like to make a closer review of some of these patches, but I can't get this one (8/9) to compile. It looks like the patch fails to augment the texfetch_funcs array in swrast/s_texfetch.c. The

[Mesa-dev] [PATCH 8/9] mesa: add RGBX formats for existing GL RGB texture formats

2013-01-27 Thread Marek Olšák
--- src/mesa/main/format_pack.c | 186 ++ src/mesa/main/format_unpack.c | 297 + src/mesa/main/formats.c | 207 src/mesa/main/formats.h | 16 +++ src/mesa/main/texstore.c | 210 +++