|Summary:||2x2 texture is drawn incorrect when mipmap is applied|
|Status:||RESOLVED INVALID||QA Contact:|
|i915 platform:||i915 features:|
Description WuNian 2007-08-05 23:41:05 UTC
I setup 3 level mipmap textures which sizes are 4x4, 2x2, 1x1. The 2th level texture(2x2) is green color. The attached test case draws a QUAD which size is 2x2, the texture is applied incorrect. the QUAD includes 4 pixels in which 3 pixels are green but another pixel is blue.
Comment 2 Brian Paul 2007-08-06 01:25:25 UTC
The test program is invalid. The texImage2 array is initialized with invalid indexes. The code should read: texImage2 = 0.0; texImage2 = 0.0; texImage2 = 1.0; texImage2 = 0.0; Then the rendering is correct.
Comment 3 Adam Jackson 2009-08-24 12:27:35 UTC
Mass version move, cvs -> git