summaryrefslogtreecommitdiff
path: root/docs/llvmpipe.html
diff options
context:
space:
mode:
authorTapani Pälli <tapani.palli@intel.com>2017-11-20 15:00:19 +0200
committerEmil Velikov <emil.l.velikov@gmail.com>2017-11-29 19:33:45 +0000
commita34ad6f363acbdb173f8e378b3cad557daa62378 (patch)
tree73bb427040fa8e67b33da3401daadf0ceb246b28 /docs/llvmpipe.html
parent4bbc0f366a8a3682678ba49c8f80b2fadb42715b (diff)
mesa/gles: adjust internal format in glTexSubImage2D error checks
When floating point textures are created on OpenGL ES 2.0, driver is free to choose used internal format. Mesa makes this decision in adjust_for_oes_float_texture. Error checking for glTexImage2D properly checks that sized formats are not used. We use same error checking path for glTexSubImage2D (since there is lot of overlap), however since those checks include internalFormat checks, we need to pass original internalFormat passed by the client. Patch adds oes_float_internal_format that does reverse adjust_for_oes_float_texture to get that format. Fixes following test failure: ES2-CTS.gtf.GL2ExtensionTests.texture_float.texture_float (when running test with MESA_GLES_VERSION_OVERRIDE=2.0) Signed-off-by: Tapani Pälli <tapani.palli@intel.com> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=103227 Cc: "17.3" <mesa-stable@lists.freedesktop.org> Reviewed-by: Matt Turner <mattst88@gmail.com> (cherry picked from commit 1e508e10d9ae649bfe5ab7b1842993be50052b21)
Diffstat (limited to 'docs/llvmpipe.html')
0 files changed, 0 insertions, 0 deletions