diff options
author | Roland Scheidegger <sroland@vmware.com> | 2009-03-27 22:42:19 +0100 |
---|---|---|
committer | Roland Scheidegger <sroland@vmware.com> | 2009-03-28 02:06:18 +0100 |
commit | 79e2df63af4d231a1223887e79a819b3baac9a6c (patch) | |
tree | 4752583f3a1593c3d110b8bf0570b49c40826dd7 /src/mesa/drivers/dri/intel/intel_tex_format.c | |
parent | bb386a1ecae6d7f805af44df463b0e4d661eef85 (diff) |
i965: add support for signed rgba texture format
Diffstat (limited to 'src/mesa/drivers/dri/intel/intel_tex_format.c')
-rw-r--r-- | src/mesa/drivers/dri/intel/intel_tex_format.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/intel/intel_tex_format.c b/src/mesa/drivers/dri/intel/intel_tex_format.c index 8732354e7a..ce33cdc218 100644 --- a/src/mesa/drivers/dri/intel/intel_tex_format.c +++ b/src/mesa/drivers/dri/intel/intel_tex_format.c @@ -175,9 +175,13 @@ intelChooseTextureFormat(GLcontext * ctx, GLint internalFormat, case GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT: return &_mesa_texformat_srgb_dxt1; + /* i915 could also do this */ case GL_DUDV_ATI: case GL_DU8DV8_ATI: return &_mesa_texformat_dudv8; + case GL_RGBA_SNORM: + case GL_RGBA8_SNORM: + return &_mesa_texformat_signed_rgba8888_rev; #endif default: |