mesa/st: calculate texture size based on EGLImage miplevel
authorTapani Pälli <tapani.palli@intel.com>
Tue, 24 Sep 2019 11:34:40 +0000 (14:34 +0300)
committerTapani Pälli <tapani.palli@intel.com>
Thu, 26 Sep 2019 04:55:24 +0000 (07:55 +0300)
commit031752798b440f650c9bc758dfe8d18323a2b9e3
tree9430a2e29129530e0c659a099d41b9fdc8074ac4
parentfafd20f67dec9f5891838435ecde1dedb77ab742
mesa/st: calculate texture size based on EGLImage miplevel

Fixes issues with 'egl-gl_oes_egl_image' Piglit test.

Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/mesa/state_tracker/st_cb_eglimage.c