On 29 June 2017 at 16:40, Robert Foss <robert.f...@collabora.com> wrote: > On Thu, 2017-06-29 at 15:29 +0100, Emil Velikov wrote: >> On 28 June 2017 at 22:52, Robert Foss <robert.f...@collabora.com> >> wrote: >> > From: Tomeu Vizoso <tomeu.viz...@collabora.com> >> > >> > Signed-off-by: Robert Foss <robert.f...@collabora.com> >> > Reviewed-by: Tapani Pälli <tapani.pa...@intel.com> >> >> Fwiw >> Reviewed-by: Emil Velikov <emil.veli...@collabora.com> >> >> Any additional changes (change the int:4 to enum foo:4 in the >> headers, >> propagate that through the codebase, drop the default case) can be >> done at a later stage. > > You mean something like this? > - unsigned Swizzle : 2; /* TGSI_SWIZZLE_ */ > + enum_swizzle Swizzle : 2; /* TGSI_SWIZZLE_ */ > Yes, that's the first step. Next checks that we consistently use enum_swizzle instead of unsigned throughout the codebase. And finally default cases like the one in the patch are dropped.
Pretty much none of this is required for the patches to land. Just some janitorial tasks which came up in earlier thread. /me proceeds to double-check the series and push. -Emil _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev