On Mon, Jun 3, 2013 at 5:59 PM, Brian Paul <[email protected]> wrote: > I seem to recall that this "choose a gallium format for a given GL > format/type" code appears elsewhere in the state tracker (but haven't > double-checked). In any case, it would be nicer if this code was moved into > a separate function.
There is no GL format/type. The code chooses the closest renderable pipe_format for the given non-renderable pipe_format. Quite uncommon stuff. The format choosing is also incomplete; some formats cannot appear there (e.g. stencil), making the code non-reusable in its current form. Marek _______________________________________________ mesa-dev mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-dev
