meta: Allocate texture before initializing texture coordinates
authorAnuj Phogat <anuj.phogat@gmail.com>
Fri, 15 Feb 2013 19:03:08 +0000 (11:03 -0800)
committerAnuj Phogat <anuj.phogat@gmail.com>
Fri, 22 Feb 2013 20:03:59 +0000 (12:03 -0800)
commitcff862f90dbcf32395b0b2940c2446959314538a
treee612031cbee485d1dddb029b6ce5a888c3a47c92
parent92a204b493b447b1cbb06a3d2d350a1e6d2c6887
meta: Allocate texture before initializing texture coordinates

tex->Sright and tex->Ttop are initialized during texture allocation.
This fixes depth buffer blitting failures in khronos conformance tests
when run on desktop GL 3.0.
Fixes https://bugs.freedesktop.org/show_bug.cgi?id=59495

Note: This is a candidate for stable branches.

Signed-off-by: Anuj Phogat <anuj.phogat@gmail.com>
Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
src/mesa/drivers/common/meta.c