On Wed, Aug 29, 2018 at 4:32 PM Ian Romanick <i...@freedesktop.org> wrote:

> On 08/29/2018 02:22 PM, Jason Ekstrand wrote:
> > Have you seen this cause an actual problem?  There's no way we can
> > actually end up with an input array that big...  I guess this is for the
> > crazy OOB case?
>
> The array can't be that big due to other compiler limits.  This is just
> to prevent a garbage index from being used.  If the previous patch is
> reverted, the test case mentioned in that patch will have this problem
> because the index will be negative.
>

Makes sense.
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to