1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> 2<html lang="en"> 3<head> 4 <meta http-equiv="content-type" content="text/html; charset=utf-8"> 5 <title>Mesa Release Notes</title> 6 <link rel="stylesheet" type="text/css" href="../mesa.css"> 7</head> 8<body> 9 10<div class="header"> 11 <h1>The Mesa 3D Graphics Library</h1> 12</div> 13 14<iframe src="../contents.html"></iframe> 15<div class="content"> 16 17<h1>Mesa 7.9.1 Release Notes / January 7, 2011</h1> 18 19<p> 20Mesa 7.9.1 is a bug fix release which fixes bugs found since the 7.9 release. 21</p> 22<p> 23Mesa 7.9.1 implements the OpenGL 2.1 API, but the version reported by 24glGetString(GL_VERSION) depends on the particular driver being used. 25Some drivers don't support all the features required in OpenGL 2.1. 26</p> 27<p> 28See the <a href="../install.html">Compiling/Installing page</a> for prerequisites 29for DRI hardware acceleration. 30</p> 31 32 33<h2>MD5 checksums</h2> 34<pre> 3578422843ea875ad4eac35b9b8584032b MesaLib-7.9.1.tar.gz 3607dc6cfb5928840b8b9df5bd1b3ae434 MesaLib-7.9.1.tar.bz2 37c8eaea5b3c3d6dee784bd8c2db91c80f MesaLib-7.9.1.zip 38ee9ecae4ca56fbb2d14dc15e3a0a7640 MesaGLUT-7.9.1.tar.gz 3941fc477d524e7dc5c84da8ef22422bea MesaGLUT-7.9.1.tar.bz2 4090b287229afdf19317aa989d19462e7a MesaGLUT-7.9.1.zip 41</pre> 42 43 44<h2>New features</h2> 45<p>None.</p> 46 47<h2>Bug fixes</h2> 48<p>This list is likely incomplete.</p> 49<ul> 50<li><a href="https://bugs.freedesktop.org/show_bug.cgi?id=28800">Bug 28800</a> - [r300c, r300g] Texture corruption with World of Warcraft</li> 51 52<li><a href="https://bugs.freedesktop.org/show_bug.cgi?id=29420">Bug 29420</a> - Amnesia / HPL2 RendererFeatTest - not rendering correctly</li> 53 54<li><a href="https://bugs.freedesktop.org/show_bug.cgi?id=29946">Bug 29946</a> - [swrast] piglit valgrind glsl-array-bounds-04 fails</li> 55 56<li><a href="https://bugs.freedesktop.org/show_bug.cgi?id=30261">Bug 30261</a> - [GLSL 1.20] allowing inconsistent invariant declaration between two vertex shaders</li> 57 58<li><a href="https://bugs.freedesktop.org/show_bug.cgi?id=30632">Bug 30632</a> - [softpipe] state_tracker/st_manager.c:489: st_context_notify_invalid_framebuffer: Assertion `stfb && stfb->iface == stfbi' failed.</li> 59 60<li><a href="https://bugs.freedesktop.org/show_bug.cgi?id=30694">Bug 30694</a> - wincopy will crash on Gallium drivers when going to front buffer</li> 61 62<li><a href="https://bugs.freedesktop.org/show_bug.cgi?id=30787">Bug 30787</a> - Invalid asm shader does not generate draw-time error when used with GLSL shader</li> 63 64<li><a href="https://bugs.freedesktop.org/show_bug.cgi?id=30993">Bug 30993</a> - getFramebufferAttachmentParameteriv wrongly generates error</li> 65 66<li><a href="https://bugs.freedesktop.org/show_bug.cgi?id=31101">Bug 31101</a> - [glsl2] abort() in ir_validate::visit_enter(ir_assignment *ir)</li> 67 68<li><a href="https://bugs.freedesktop.org/show_bug.cgi?id=31193">Bug 31193</a> - [regression] aa43176e break water reflections</li> 69 70<li><a href="https://bugs.freedesktop.org/show_bug.cgi?id=31194">Bug 31194</a> - The mesa meta save/restore code doesn't ref the current GLSL program</li> 71 72<li><a href="https://bugs.freedesktop.org/show_bug.cgi?id=31371">Bug 31371</a> - glslparsertest: ir.cpp:358: ir_constant::ir_constant(const glsl_type*, const ir_constant_data*): Assertion `(type->base_type >= 0) && (type->base_type <= 3)' failed.</li> 73 74<li><a href="https://bugs.freedesktop.org/show_bug.cgi?id=31439">Bug 31439</a> - Crash in glBufferSubData() with size == 0</li> 75 76<li><a href="https://bugs.freedesktop.org/show_bug.cgi?id=31495">Bug 31495</a> - [i965 gles2c bisected] OpenGL ES 2.0 conformance GL2Tests_GetBIFD_input.run regressed</li> 77 78<li><a href="https://bugs.freedesktop.org/show_bug.cgi?id=31514">Bug 31514</a> - isBuffer returns true for unbound buffers</li> 79 80<li><a href="https://bugs.freedesktop.org/show_bug.cgi?id=31560">Bug 31560</a> - [tdfx] tdfx_tex.c:702: error: 'const struct gl_color_table' has no member named 'Format'</li> 81 82<li><a href="https://bugs.freedesktop.org/show_bug.cgi?id=31617">Bug 31617</a> - Radeon/Compiz: 'failed to attach dri2 front buffer', error case not handled</li> 83 84<li><a href="https://bugs.freedesktop.org/show_bug.cgi?id=31648">Bug 31648</a> - [GLSL] array-struct-array gets assertion: `(size >= 1) && (size <= 4)' failed.</li> 85 86<li><a href="https://bugs.freedesktop.org/show_bug.cgi?id=31650">Bug 31650</a> - [GLSL] varying gl_TexCoord fails to be re-declared to different size in the second shader</li> 87 88<li><a href="https://bugs.freedesktop.org/show_bug.cgi?id=31673">Bug 31673</a> - GL_FRAGMENT_PRECISION_HIGH preprocessor macro undefined in GLSL ES</li> 89 90<li><a href="https://bugs.freedesktop.org/show_bug.cgi?id=31690">Bug 31690</a> - i915 shader compiler fails to flatten if in Aquarium webgl demo.</li> 91 92<li><a href="https://bugs.freedesktop.org/show_bug.cgi?id=31832">Bug 31832</a> - [i915] Bad renderbuffer format: 21</li> 93 94<li><a href="https://bugs.freedesktop.org/show_bug.cgi?id=31841">Bug 31841</a> - [drm:radeon_cs_ioctl] *ERROR* Invalid command stream !</li> 95 96<li><a href="https://bugs.freedesktop.org/show_bug.cgi?id=31894">Bug 31894</a> - Writing to gl_PointSize with GLES2 corrupts other varyings</li> 97 98<li><a href="https://bugs.freedesktop.org/show_bug.cgi?id=31909">Bug 31909</a> - [i965] brw_fs.cpp:1461: void fs_visitor::emit_bool_to_cond_code(ir_rvalue*): Assertion `expr->operands[i]->type->is_scalar()' failed.</li> 99 100<li><a href="https://bugs.freedesktop.org/show_bug.cgi?id=31934">Bug 31934</a> - [gallium] Mapping empty buffer object causes SIGSEGV</li> 101 102<li><a href="https://bugs.freedesktop.org/show_bug.cgi?id=31983">Bug 31983</a> - [i915 gles2] "if (expression with builtin/varying variables) discard" breaks linkage</li> 103 104<li><a href="https://bugs.freedesktop.org/show_bug.cgi?id=31985">Bug 31985</a> - [GLSL 1.20] initialized uniform array considered as "unsized"</li> 105 106<li><a href="https://bugs.freedesktop.org/show_bug.cgi?id=31987">Bug 31987</a> - [gles2] if input a wrong pname(GL_NONE) to glGetBoolean, it will not case GL_INVALID_ENUM</li> 107 108<li><a href="https://bugs.freedesktop.org/show_bug.cgi?id=32035">Bug 32035</a> - [GLSL bisected] comparing unsized array gets segfault</li> 109 110<li><a href="https://bugs.freedesktop.org/show_bug.cgi?id=32070">Bug 32070</a> - llvmpipe renders stencil demo incorrectly</li> 111 112<li><a href="https://bugs.freedesktop.org/show_bug.cgi?id=32273">Bug 32273</a> - assertion fails when starting vdrift 2010 release with shaders enabled</li> 113 114<li><a href="https://bugs.freedesktop.org/show_bug.cgi?id=32287">Bug 32287</a> - [bisected GLSL] float-int failure</li> 115 116<li><a href="https://bugs.freedesktop.org/show_bug.cgi?id=32311">Bug 32311</a> - [965 bisected] Array look-ups broken on GM45</li> 117 118<li><a href="https://bugs.freedesktop.org/show_bug.cgi?id=32520">Bug 32520</a> - [gles2] glBlendFunc(GL_ZERO, GL_DST_COLOR) will result in GL_INVALID_ENUM</li> 119 120<li><a href="https://bugs.freedesktop.org/show_bug.cgi?id=32825">Bug 32825</a> - egl_glx driver completely broken in 7.9 branch [fix in master]</li> 121</ul> 122 123 124<h2>Changes</h2> 125<p>The full set of changes can be viewed by using the following GIT command:</p> 126 127<pre> 128 git log mesa-7.9..mesa-7.9.1 129</pre> 130 131<p>Alex Deucher (5):</p> 132<ul> 133 <li>r100: revalidate after radeon_update_renderbuffers</li> 134 <li>r600c: add missing radeon_prepare_render() call on evergreen</li> 135 <li>r600c: properly align mipmaps to group size</li> 136 <li>gallium/egl: fix r300 vs r600 loading</li> 137 <li>r600c: fix some opcodes on evergreen</li> 138</ul> 139 140<p>Aras Pranckevicius (2):</p> 141<ul> 142 <li>glsl: fix crash in loop analysis when some controls can't be determined</li> 143 <li>glsl: fix matrix type check in ir_algebraic</li> 144</ul> 145 146<p>Brian Paul (27):</p> 147<ul> 148 <li>swrast: fix choose_depth_texture_level() to respect mipmap filtering state</li> 149 <li>st/mesa: replace assertion w/ conditional in framebuffer invalidation</li> 150 <li>egl/i965: include inline_wrapper_sw_helper.h</li> 151 <li>mesa: Add missing else in do_row_3D</li> 152 <li>mesa: add missing formats in _mesa_format_to_type_and_comps()</li> 153 <li>mesa: handle more pixel types in mipmap generation code</li> 154 <li>mesa: make glIsBuffer() return false for never bound buffers</li> 155 <li>mesa: fix glDeleteBuffers() regression</li> 156 <li>swrast: init alpha value to 1.0 in opt_sample_rgb_2d()</li> 157 <li>meta: Mask Stencil.Clear against stencilMax in _mesa_meta_Clear</li> 158 <li>st/mesa: fix mapping of zero-sized buffer objects</li> 159 <li>mesa: check for posix_memalign() errors</li> 160 <li>llvmpipe: fix broken stencil writemask</li> 161 <li>mesa: fix GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME query</li> 162 <li>mesa: return GL_FRAMEBUFFER_DEFAULT as FBO attachment type</li> 163 <li>mesa: make glGet*(GL_NONE) generate GL_INVALID_ENUM</li> 164 <li>mesa: test for cube map completeness in glGenerateMipmap()</li> 165 <li>tnl: Initialize gl_program_machine memory in run_vp.</li> 166 <li>tnl: a better way to initialize the gl_program_machine memory</li> 167 <li>mesa, st/mesa: disable GL_ARB_geometry_shader4</li> 168 <li>glsl: fix off by one in register index assertion</li> 169 <li>st/mesa: fix mipmap generation bug</li> 170 <li>glsl: new glsl_strtod() wrapper to fix decimal point interpretation</li> 171 <li>mesa: no-op glBufferSubData() on size==0</li> 172 <li>tdfx: s/Format/_BaseFormat/</li> 173 <li>st/mesa: fix renderbuffer pointer check in st_Clear()</li> 174 <li>mesa: Bump the number of bits in the register index.</li> 175</ul> 176 177<p>Chad Versace (5):</p> 178<ul> 179 <li>glsl: Fix lexer rule for ^=</li> 180 <li>glsl: Fix ast-to-hir for ARB_fragment_coord_conventions</li> 181 <li>glsl: Fix ir_expression::constant_expression_value()</li> 182 <li>glsl: Fix erroneous cast in ast_jump_statement::hir()</li> 183 <li>glsl: Fix linker bug in cross_validate_globals()</li> 184</ul> 185 186<p>Chia-I Wu (10):</p> 187<ul> 188 <li>targets/egl: Fix linking with libdrm.</li> 189 <li>st/vega: Fix version check in context creation.</li> 190 <li>st/egl: Do not finish a fence that is NULL.</li> 191 <li>egl: Fix a false negative check in _eglCheckMakeCurrent.</li> 192 <li>st/mesa: Unreference the sampler view in st_bind_surface.</li> 193 <li>egl_dri2: Fix __DRI_DRI2 version 1 support.</li> 194 <li>st/vega: Do not wait NULL fences.</li> 195 <li>mesa: Do not advertise GL_OES_texture_3D.</li> 196 <li>egl_glx: Fix borken driver.</li> 197 <li>egl: Check extensions.</li> 198</ul> 199 200<p>Daniel Lichtenberger (1):</p> 201<ul> 202 <li>radeon: fix potential segfault in renderbuffer update</li> 203</ul> 204 205<p>Daniel Vetter (1):</p> 206<ul> 207 <li>r200: revalidate after radeon_update_renderbuffers</li> 208</ul> 209 210<p>Dave Airlie (1):</p> 211<ul> 212 <li>r300g: fixup rs690 tiling stride alignment calculations.</li> 213</ul> 214 215<p>Eric Anholt (13):</p> 216<ul> 217 <li>intel: Allow CopyTexSubImage to InternalFormat 3/4 textures, like RGB/RGBA.</li> 218 <li>glsl: Free the loop state context when we free the loop state.</li> 219 <li>i965: Allow OPCODE_SWZ to put immediates in the first arg.</li> 220 <li>i965: Add support for rendering to SARGB8 FBOs.</li> 221 <li>glsl: Add a helper constructor for expressions that works out result type.</li> 222 <li>glsl: Fix structure and array comparisions.</li> 223 <li>glsl: Quiet unreachable no-return-from-function warning.</li> 224 <li>glsl: Mark the array access for whole-array comparisons.</li> 225 <li>glsl: Fix flipped return of has_value() for array constants.</li> 226 <li>mesa: Add getters for the rest of the supported draw buffers.</li> 227 <li>mesa: Add getters for ARB_copy_buffer's attachment points.</li> 228 <li>i965: Correct the dp_read message descriptor setup on g4x.</li> 229 <li>glsl: Correct the marking of InputsRead/OutputsWritten on in/out matrices.</li> 230</ul> 231 232<p>Fabian Bieler (1):</p> 233<ul> 234 <li>glsl: fix lowering conditional returns in subroutines</li> 235</ul> 236 237<p>Francisco Jerez (3):</p> 238<ul> 239 <li>meta: Don't leak alpha function/reference value changes.</li> 240 <li>meta: Fix incorrect rendering of the bitmap alpha component.</li> 241 <li>meta: Don't try to disable cube maps if the driver doesn't expose the extension.</li> 242</ul> 243 244<p>Henri Verbeet (2):</p> 245<ul> 246 <li>r600: Evergreen has two extra frac_bits for the sampler LOD state.</li> 247 <li>st/mesa: Handle wrapped depth buffers in st_copy_texsubimage().</li> 248</ul> 249 250<p>Ian Romanick (33):</p> 251<ul> 252 <li>Add 7.9 md5sums</li> 253 <li>docs: Import 7.8.x release notes from 7.8 branch.</li> 254 <li>docs: download.html does not need to be updated for each release</li> 255 <li>docs: Update mailing lines from sf.net to freedesktop.org</li> 256 <li>docs: added news item for 7.9 release</li> 257 <li>mesa: Validate assembly shaders when GLSL shaders are used</li> 258 <li>linker: Reject shaders that have unresolved function calls</li> 259 <li>mesa: Refactor validation of shader targets</li> 260 <li>glsl: Slightly change the semantic of _LinkedShaders</li> 261 <li>linker: Improve handling of unread/unwritten shader inputs/outputs</li> 262 <li>glsl: Commit lexer files changed by previous cherry picking</li> 263 <li>mesa: Make metaops use program refcounts instead of names.</li> 264 <li>glsl: Fix incorrect gl_type of sampler2DArray and sampler1DArrayShadow</li> 265 <li>mesa: Allow query of MAX_SAMPLES with EXT_framebuffer_multisample</li> 266 <li>glsl: better handling of linker failures</li> 267 <li>mesa: Fix glGet of ES2's GL_MAX_*_VECTORS properties.</li> 268 <li>i915: Disallow alpha, red, RG, and sRGB as render targets</li> 269 <li>glsl/linker: Free any IR discarded by optimization passes.</li> 270 <li>glsl: Add an optimization pass to simplify discards.</li> 271 <li>glsl: Add a lowering pass to move discards out of if-statements.</li> 272 <li>i915: Correctly generate unconditional KIL instructions</li> 273 <li>glsl: Add unary ir_expression constructor</li> 274 <li>glsl: Ensure that equality comparisons don't return a NULL IR tree</li> 275 <li>glcpp: Commit changes in generated files cause by previous commit</li> 276 <li>glsl: Inherrit type of declared variable from initializer</li> 277 <li>glsl: Inherrit type of declared variable from initializer after processing assignment</li> 278 <li>linker: Ensure that unsized arrays have a size after linking</li> 279 <li>linker: Fix regressions caused by previous commit</li> 280 <li>linker: Allow built-in arrays to have different sizes between shader stages</li> 281 <li>ir_to_mesa: Don't generate swizzles for record derefs of non-scalar/vectors</li> 282 <li>Refresh autogenerated file builtin_function.cpp.</li> 283 <li>docs: Initial set of release notes for 7.9.1</li> 284 <li>mesa: set version string to 7.9.1</li> 285</ul> 286 287<p>Julien Cristau (1):</p> 288<ul> 289 <li>Makefile: don't include the same files twice in the tarball</li> 290</ul> 291 292<p>Kenneth Graunke (19):</p> 293<ul> 294 <li>glcpp: Return NEWLINE token for newlines inside multi-line comments.</li> 295 <li>generate_builtins.py: Output large strings as arrays of characters.</li> 296 <li>glsl: Fix constant component count in vector constructor emitting.</li> 297 <li>ir_dead_functions: Actually free dead functions and signatures.</li> 298 <li>glcpp: Define GL_FRAGMENT_PRECISION_HIGH if GLSL version >= 1.30.</li> 299 <li>glsl: Unconditionally define GL_FRAGMENT_PRECISION_HIGH in ES2 shaders.</li> 300 <li>glsl: Fix constant expression handling for <, >, <=, >= on vectors.</li> 301 <li>glsl: Use do_common_optimization in the standalone compiler.</li> 302 <li>glsl: Don't inline function prototypes.</li> 303 <li>glsl: Add a virtual as_discard() method.</li> 304 <li>glsl: Remove "discard" support from lower_jumps.</li> 305 <li>glsl: Refactor get_num_operands.</li> 306 <li>glcpp: Don't emit SPACE tokens in conditional_tokens production.</li> 307 <li>glsl: Clean up code by adding a new is_break() function.</li> 308 <li>glsl: Consider the "else" branch when looking for loop breaks.</li> 309 <li>Remove OES_compressed_paletted_texture from the ES2 extension list.</li> 310 <li>glsl/builtins: Compute the correct value for smoothstep(vec, vec, vec).</li> 311 <li>Fix build on systems where "python" is python 3.</li> 312 <li>i965: Internally enable GL_NV_blend_square on ES2.</li> 313</ul> 314 315<p>Kristian Høgsberg (1):</p> 316<ul> 317 <li>i965: Don't write mrf assignment for pointsize output</li> 318</ul> 319 320<p>Luca Barbieri (1):</p> 321<ul> 322 <li>glsl: Unroll loops with conditional breaks anywhere (not just the end)</li> 323</ul> 324 325<p>Marek Olšák (17):</p> 326<ul> 327 <li>r300g: fix microtiling for 16-bits-per-channel formats</li> 328 <li>r300g: fix texture border for 16-bits-per-channel formats</li> 329 <li>r300g: add a default channel ordering of texture border for unhandled formats</li> 330 <li>r300g: fix texture border color for all texture formats</li> 331 <li>r300g: fix rendering with no vertex elements</li> 332 <li>r300/compiler: fix rc_rewrite_depth_out for it to work with any instruction</li> 333 <li>r300g: fix texture border color once again</li> 334 <li>r300g: fix texture swizzling with compressed textures on r400-r500</li> 335 <li>r300g: disable ARB_texture_swizzle if S3TC is enabled on r3xx-only</li> 336 <li>mesa, st/mesa: fix gl_FragCoord with FBOs in Gallium</li> 337 <li>st/mesa: initialize key in st_vp_varient</li> 338 <li>r300/compiler: fix swizzle lowering with a presubtract source operand</li> 339 <li>r300g: fix rendering with a vertex attrib having a zero stride</li> 340 <li>ir_to_mesa: Add support for conditional discards.</li> 341 <li>r300g: finally fix the texture corruption on r3xx-r4xx</li> 342 <li>mesa: fix texel store functions for some float formats</li> 343 <li>r300/compiler: disable the rename_regs pass for loops</li> 344</ul> 345 346<p>Mario Kleiner (1):</p> 347<ul> 348 <li>mesa/r300classic: Fix dri2Invalidate/radeon_prepare_render for page flipping.</li> 349</ul> 350 351<p>Peter Clifton (1):</p> 352<ul> 353 <li>intel: Fix emit_linear_blit to use DWORD aligned width blits</li> 354</ul> 355 356<p>Robert Hooker (2):</p> 357<ul> 358 <li>intel: Add a new B43 pci id.</li> 359 <li>egl_dri2: Add missing intel chip ids.</li> 360</ul> 361 362<p>Roland Scheidegger (1):</p> 363<ul> 364 <li>r200: fix r200 large points</li> 365</ul> 366 367<p>Thomas Hellstrom (17):</p> 368<ul> 369 <li>st/xorg: Don't try to use option values before processing options</li> 370 <li>xorg/vmwgfx: Make vmwarectrl work also on 64-bit servers</li> 371 <li>st/xorg: Add a customizer option to get rid of annoying cursor update flicker</li> 372 <li>xorg/vmwgfx: Don't hide HW cursors when updating them</li> 373 <li>st/xorg: Don't try to remove invalid fbs</li> 374 <li>st/xorg: Fix typo</li> 375 <li>st/xorg, xorg/vmwgfx: Be a bit more frendly towards cross-compiling environments</li> 376 <li>st/xorg: Fix compilation errors for Xservers compiled without Composite</li> 377 <li>st/xorg: Don't use deprecated x*alloc / xfree functions</li> 378 <li>xorg/vmwgfx: Don't use deprecated x*alloc / xfree functions</li> 379 <li>st/xorg: Fix compilation for Xservers >= 1.10</li> 380 <li>mesa: Make sure we have the talloc cflags when using the talloc headers</li> 381 <li>egl: Add an include for size_t</li> 382 <li>mesa: Add talloc includes for gles</li> 383 <li>st/egl: Fix build for include files in nonstandard places</li> 384 <li>svga/drm: Optionally resolve calls to powf during link-time</li> 385 <li>gallium/targets: Trivial crosscompiling fix</li> 386</ul> 387 388<p>Tom Stellard (7):</p> 389<ul> 390 <li>r300/compiler: Make sure presubtract sources use supported swizzles</li> 391 <li>r300/compiler: Fix register allocator's handling of loops</li> 392 <li>r300/compiler: Fix instruction scheduling within IF blocks</li> 393 <li>r300/compiler: Use zero as the register index for unused sources</li> 394 <li>r300/compiler: Ignore alpha dest register when replicating the result</li> 395 <li>r300/compiler: Use correct swizzles for all presubtract sources</li> 396 <li>r300/compiler: Don't allow presubtract sources to be remapped twice</li> 397</ul> 398 399<p>Vinson Lee (1):</p> 400<ul> 401 <li>glsl: Fix 'control reaches end of non-void function' warning.</li> 402</ul> 403 404<p>richard (1):</p> 405<ul> 406 <li>r600c : inline vertex format is not updated in an app, switch to use vfetch constants. For the 7.9 and 7.10 branches as well.</li> 407</ul> 408 409</div> 410</body> 411</html> 412