On Fri, Aug 10, 2012 at 1:42 AM, Roland Scheidegger <srol...@vmware.com> wrote: > Am 10.08.2012 00:37, schrieb Marek Olšák: >> I'd like to have either signed pipe_box or a new struct for that purpose. > It looks to me like conceptually what you want is more like a coordinate > pair. I dunno though but negative width/height/depth just aren't very > intuitive for a box. But maybe I'm the only one caring about that style :-).
To me, both representations are equivalent because: x1 + width = x2 (x1 is inclusive, while x2 is exclusive) We could add checks into Galahad to make sure that pipe_box isn't negative when it shouldn't be. IIRC, Jose said he planned to enable Galahad by default on debug builds. Marek _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev