On Sep 3, 2015 4:09 AM, "Neil Roberts" <n...@linux.intel.com> wrote: > > Jason Ekstrand <ja...@jlekstrand.net> writes: > > > We can probably just bail higher up in the stack and never call the > > driver hook if we have a zero dimension. That would also protect us > > from silly zero-dim bugs that may exist. > > Yes, that already does happen. As mentioned elsewhere in the thread, > _mesa_validate_pbo_access is called outside of the driver code before it > tries to bail out. > > I think we do still want to call _mesa_validate_pbo_access for > zero-sized images because it generates other errors that we're probably > supposed to catch so we can't just move the shortcut further up the > stack.
Sounds good.
_______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev