Hi,
attached patch fixes texturing/s3tc-texsubimage test. It passes now on software
rasterizer. R300 needs ~2% tolerance to pass.
Regards,
Maciej Cencora
commit a7a95b2d095517177c6b5ac5c8816fe1edf79dbb
Author: Maciej Cencora <[email protected]>
Date: Sat Nov 21 20:32:10 2009 +0100
fix s3tc-texsubimage test
diff --git a/tests/texturing/s3tc-texsubimage.c b/tests/texturing/s3tc-texsubimage.c
index e2f383a..efbbfe6 100644
--- a/tests/texturing/s3tc-texsubimage.c
+++ b/tests/texturing/s3tc-texsubimage.c
@@ -109,8 +109,9 @@ create_texture(GLenum format)
size, size, 0,
GL_RGBA, GL_FLOAT, NULL);
if (size <= 4) {
- glTexSubImage2D(GL_TEXTURE_2D, level, format,
- size, size, 0,
+ glTexSubImage2D(GL_TEXTURE_2D, level,
+ 0, 0,
+ size, size,
GL_RGBA, GL_FLOAT, data);
} else {
float *reds = data;
@@ -123,7 +124,7 @@ create_texture(GLenum format)
size / 2, size / 2,
GL_RGBA, GL_FLOAT, reds);
glTexSubImage2D(GL_TEXTURE_2D, level,
- size / size, 0,
+ size / 2, 0,
size / 2, size / 2,
GL_RGBA, GL_FLOAT, greens);
glTexSubImage2D(GL_TEXTURE_2D, level,
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Mesa3d-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev