Hi Timothy, On Fri, 1 Mar 2019 at 10:36, Timothy Arceri <tarc...@itsqueeze.com> wrote: > > This fixes a segfault when we try to access the array using a > -1 when the array wasn't allocated in the first place. > > Before 7536af670b75 we would just access a pre-allocated array > that was also load/stored to/from the shader cache. But now the > cache will no longer allocate these arrays if they are empty. > The change resulted in tests such as the following segfaulting > when run with a warm shader cache. > I was going through some extra checks for 18.3 and noticed this commit.
Admittedly it does not fix 7536af670b75 although it does address a preexisting issue exposed by it. That said I suspect we'd want this for stable? Aside: The patch does look spot on IMHO, but I cannot see any formal review - be that on the ML or in gitlab. Thanks -Emil _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev