From: Jian Zhao jian.j.z...@intel.com
Move the format and type check before select_tex_image, or it will fail to
report
the mismatch error if the teximage is null.
Reported-by: Anuj Phogat anuj.pho...@gmail.com
Signed-off-by: Jian Zhao jian.j.z...@intel.com
Reviewed-by: Yuanhan Liu
From: Jian Zhao jian.j.z...@intel.com
Reported-by: Anuj Phogat anuj.pho...@gmail.com
Signed-off-by: Jian Zhao jian.j.z...@intel.com
Reviewed-by: Yuanhan Liu yuanhan@linux.intel.com
---
src/mesa/main/texgetimage.c | 12 ++--
1 files changed, 6 insertions(+), 6 deletions(-)
diff
From: Jian Zhao jian.j.z...@intel.com
---
src/mesa/main/texgetimage.c |8
1 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/src/mesa/main/texgetimage.c b/src/mesa/main/texgetimage.c
index ae0d51f..3f24187 100644
--- a/src/mesa/main/texgetimage.c
+++