Re: [Mesa-dev] [PATCH 1/2] u_vbuf: Simplify the format fallback translation.

2014-08-23 Thread Marek Olšák
On Fri, Aug 22, 2014 at 10:54 PM, Eric Anholt wrote: > Individual caps made supporting new fallbacks more complicated than it > needed to be. Instead, just make a table of fallbacks at context init > time. > --- > src/gallium/auxiliary/cso_cache/cso_context.c | 12 +- > src/gallium/auxiliary/ut

[Mesa-dev] [PATCH 1/2] u_vbuf: Simplify the format fallback translation.

2014-08-22 Thread Eric Anholt
Individual caps made supporting new fallbacks more complicated than it needed to be. Instead, just make a table of fallbacks at context init time. --- src/gallium/auxiliary/cso_cache/cso_context.c | 12 +- src/gallium/auxiliary/util/u_vbuf.c | 178 -- src/galliu