Am 16.04.2016 um 14:50 schrieb Marek Olšák: > From: Marek Olšák <marek.ol...@amd.com> > > Use PIPE_SWIZZLE_* everywhere. > Use X/Y/Z/W/0/1 instead of RED, GREEN, BLUE, ALPHA, ZERO, ONE. > The new enum is called pipe_swizzle.
Using PIPE_SWIZZLE insteads sounds reasonable. Not sure though how I feel about using X/Y/Z/W instead of RED/GREEN/BLUE/ALPHA. I think there's situations wher using r/g/b/a is nicer compared to x/y/z/w. (If these were just defines could of course have definitions for both versions but with a named enum it's probably not a good idea two have two named enum...) Roland _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev