diff options
author | Anuj Phogat <[email protected]> | 2012-08-21 11:03:48 -0700 |
---|---|---|
committer | Anuj Phogat <[email protected]> | 2012-08-21 15:00:06 -0700 |
commit | df2c4cbcedb2dcf2aa44adaa6462d9becccbea49 (patch) | |
tree | 3e6db794049f1cb6ed01396657b073c4b89474af /src/glsl/opt_dead_functions.cpp | |
parent | 1cb07bd3b8abd5e52e9dbd80bb1666058545387e (diff) |
mesa: Fix generic compressed texture formats' handling in glTexImage/glCopyTexImage
The generic texture formats should be accepted by the <internalformat>
parameter of TexImage1D, TexImage2D, TexImage3D, CopyTexImage1D, and
CopyTexImage2D functions. When the application specifies a generic
format, the driver is free to pick an uncompressed format.
This patch reverts the changes due to following commit:
commit a36581ccc06693231011c3fe136207e73191b1ce
mesa: do more teximage error checking for generic compressed formats
This patch fixes compressed texture format failures in intel oglconform
pxconv-gettex test case:
https://bugs.freedesktop.org/show_bug.cgi?id=47220
Signed-off-by: Anuj Phogat <[email protected]>
Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/glsl/opt_dead_functions.cpp')
0 files changed, 0 insertions, 0 deletions