4 <TITLE>Mesa Release Notes</TITLE>
5 <link rel="stylesheet" type="text/css" href="mesa.css">
6 <meta http-equiv="content-type" content="text/html; charset=utf-8" />
11 <body bgcolor="#eeeeee">
13 <H1>Mesa 7.9.1 Release Notes / January 7, 2011</H1>
16 Mesa 7.9.1 is a bug fix release which fixes bugs found since the 7.9 release.
19 Mesa 7.9.1 implements the OpenGL 2.1 API, but the version reported by
20 glGetString(GL_VERSION) depends on the particular driver being used.
21 Some drivers don't support all the features required in OpenGL 2.1.
24 See the <a href="install.html">Compiling/Installing page</a> for prerequisites
25 for DRI hardware acceleration.
29 <h2>MD5 checksums</h2>
31 78422843ea875ad4eac35b9b8584032b MesaLib-7.9.1.tar.gz
32 07dc6cfb5928840b8b9df5bd1b3ae434 MesaLib-7.9.1.tar.bz2
33 c8eaea5b3c3d6dee784bd8c2db91c80f MesaLib-7.9.1.zip
34 ee9ecae4ca56fbb2d14dc15e3a0a7640 MesaGLUT-7.9.1.tar.gz
35 41fc477d524e7dc5c84da8ef22422bea MesaGLUT-7.9.1.tar.bz2
36 90b287229afdf19317aa989d19462e7a MesaGLUT-7.9.1.zip
44 <p>This list is likely incomplete.</p>
46 <li><a href="https://bugs.freedesktop.org/show_bug.cgi?id=28800">Bug 28800</a> - [r300c, r300g] Texture corruption with World of Warcraft</li>
48 <li><a href="https://bugs.freedesktop.org/show_bug.cgi?id=29420">Bug 29420</a> - Amnesia / HPL2 RendererFeatTest - not rendering correctly</li>
50 <li><a href="https://bugs.freedesktop.org/show_bug.cgi?id=29946">Bug 29946</a> - [swrast] piglit valgrind glsl-array-bounds-04 fails</li>
52 <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>
54 <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>
56 <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>
58 <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>
60 <li><a href="https://bugs.freedesktop.org/show_bug.cgi?id=30993">Bug 30993</a> - getFramebufferAttachmentParameteriv wrongly generates error</li>
62 <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>
64 <li><a href="https://bugs.freedesktop.org/show_bug.cgi?id=31193">Bug 31193</a> - [regression] aa43176e break water reflections</li>
66 <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>
68 <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>
70 <li><a href="https://bugs.freedesktop.org/show_bug.cgi?id=31439">Bug 31439</a> - Crash in glBufferSubData() with size == 0</li>
72 <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>
74 <li><a href="https://bugs.freedesktop.org/show_bug.cgi?id=31514">Bug 31514</a> - isBuffer returns true for unbound buffers</li>
76 <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>
78 <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>
80 <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>
82 <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>
84 <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>
86 <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>
88 <li><a href="https://bugs.freedesktop.org/show_bug.cgi?id=31832">Bug 31832</a> - [i915] Bad renderbuffer format: 21</li>
90 <li><a href="https://bugs.freedesktop.org/show_bug.cgi?id=31841">Bug 31841</a> - [drm:radeon_cs_ioctl] *ERROR* Invalid command stream !</li>
92 <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>
94 <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>
96 <li><a href="https://bugs.freedesktop.org/show_bug.cgi?id=31934">Bug 31934</a> - [gallium] Mapping empty buffer object causes SIGSEGV</li>
98 <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>
100 <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>
102 <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>
104 <li><a href="https://bugs.freedesktop.org/show_bug.cgi?id=32035">Bug 32035</a> - [GLSL bisected] comparing unsized array gets segfault</li>
106 <li><a href="https://bugs.freedesktop.org/show_bug.cgi?id=32070">Bug 32070</a> - llvmpipe renders stencil demo incorrectly</li>
108 <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>
110 <li><a href="https://bugs.freedesktop.org/show_bug.cgi?id=32287">Bug 32287</a> - [bisected GLSL] float-int failure</li>
112 <li><a href="https://bugs.freedesktop.org/show_bug.cgi?id=32311">Bug 32311</a> - [965 bisected] Array look-ups broken on GM45</li>
114 <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>
116 <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 <p>The full set of changes can be viewed by using the following GIT command:</p>
124 git log mesa-7.9..mesa-7.9.1
129 <li>r100: revalidate after radeon_update_renderbuffers</li>
130 <li>r600c: add missing radeon_prepare_render() call on evergreen</li>
131 <li>r600c: properly align mipmaps to group size</li>
132 <li>gallium/egl: fix r300 vs r600 loading</li>
133 <li>r600c: fix some opcodes on evergreen</li>
136 <p>Aras Pranckevicius (2):
138 <li>glsl: fix crash in loop analysis when some controls can't be determined</li>
139 <li>glsl: fix matrix type check in ir_algebraic</li>
144 <li>swrast: fix choose_depth_texture_level() to respect mipmap filtering state</li>
145 <li>st/mesa: replace assertion w/ conditional in framebuffer invalidation</li>
146 <li>egl/i965: include inline_wrapper_sw_helper.h</li>
147 <li>mesa: Add missing else in do_row_3D</li>
148 <li>mesa: add missing formats in _mesa_format_to_type_and_comps()</li>
149 <li>mesa: handle more pixel types in mipmap generation code</li>
150 <li>mesa: make glIsBuffer() return false for never bound buffers</li>
151 <li>mesa: fix glDeleteBuffers() regression</li>
152 <li>swrast: init alpha value to 1.0 in opt_sample_rgb_2d()</li>
153 <li>meta: Mask Stencil.Clear against stencilMax in _mesa_meta_Clear</li>
154 <li>st/mesa: fix mapping of zero-sized buffer objects</li>
155 <li>mesa: check for posix_memalign() errors</li>
156 <li>llvmpipe: fix broken stencil writemask</li>
157 <li>mesa: fix GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME query</li>
158 <li>mesa: return GL_FRAMEBUFFER_DEFAULT as FBO attachment type</li>
159 <li>mesa: make glGet*(GL_NONE) generate GL_INVALID_ENUM</li>
160 <li>mesa: test for cube map completeness in glGenerateMipmap()</li>
161 <li>tnl: Initialize gl_program_machine memory in run_vp.</li>
162 <li>tnl: a better way to initialize the gl_program_machine memory</li>
163 <li>mesa, st/mesa: disable GL_ARB_geometry_shader4</li>
164 <li>glsl: fix off by one in register index assertion</li>
165 <li>st/mesa: fix mipmap generation bug</li>
166 <li>glsl: new glsl_strtod() wrapper to fix decimal point interpretation</li>
167 <li>mesa: no-op glBufferSubData() on size==0</li>
168 <li>tdfx: s/Format/_BaseFormat/</li>
169 <li>st/mesa: fix renderbuffer pointer check in st_Clear()</li>
170 <li>mesa: Bump the number of bits in the register index.</li>
175 <li>glsl: Fix lexer rule for ^=</li>
176 <li>glsl: Fix ast-to-hir for ARB_fragment_coord_conventions</li>
177 <li>glsl: Fix ir_expression::constant_expression_value()</li>
178 <li>glsl: Fix erroneous cast in ast_jump_statement::hir()</li>
179 <li>glsl: Fix linker bug in cross_validate_globals()</li>
184 <li>targets/egl: Fix linking with libdrm.</li>
185 <li>st/vega: Fix version check in context creation.</li>
186 <li>st/egl: Do not finish a fence that is NULL.</li>
187 <li>egl: Fix a false negative check in _eglCheckMakeCurrent.</li>
188 <li>st/mesa: Unreference the sampler view in st_bind_surface.</li>
189 <li>egl_dri2: Fix __DRI_DRI2 version 1 support.</li>
190 <li>st/vega: Do not wait NULL fences.</li>
191 <li>mesa: Do not advertise GL_OES_texture_3D.</li>
192 <li>egl_glx: Fix borken driver.</li>
193 <li>egl: Check extensions.</li>
196 <p>Daniel Lichtenberger (1):
198 <li>radeon: fix potential segfault in renderbuffer update</li>
201 <p>Daniel Vetter (1):
203 <li>r200: revalidate after radeon_update_renderbuffers</li>
208 <li>r300g: fixup rs690 tiling stride alignment calculations.</li>
213 <li>intel: Allow CopyTexSubImage to InternalFormat 3/4 textures, like RGB/RGBA.</li>
214 <li>glsl: Free the loop state context when we free the loop state.</li>
215 <li>i965: Allow OPCODE_SWZ to put immediates in the first arg.</li>
216 <li>i965: Add support for rendering to SARGB8 FBOs.</li>
217 <li>glsl: Add a helper constructor for expressions that works out result type.</li>
218 <li>glsl: Fix structure and array comparisions.</li>
219 <li>glsl: Quiet unreachable no-return-from-function warning.</li>
220 <li>glsl: Mark the array access for whole-array comparisons.</li>
221 <li>glsl: Fix flipped return of has_value() for array constants.</li>
222 <li>mesa: Add getters for the rest of the supported draw buffers.</li>
223 <li>mesa: Add getters for ARB_copy_buffer's attachment points.</li>
224 <li>i965: Correct the dp_read message descriptor setup on g4x.</li>
225 <li>glsl: Correct the marking of InputsRead/OutputsWritten on in/out matrices.</li>
228 <p>Fabian Bieler (1):
230 <li>glsl: fix lowering conditional returns in subroutines</li>
233 <p>Francisco Jerez (3):
235 <li>meta: Don't leak alpha function/reference value changes.</li>
236 <li>meta: Fix incorrect rendering of the bitmap alpha component.</li>
237 <li>meta: Don't try to disable cube maps if the driver doesn't expose the extension.</li>
240 <p>Henri Verbeet (2):
242 <li>r600: Evergreen has two extra frac_bits for the sampler LOD state.</li>
243 <li>st/mesa: Handle wrapped depth buffers in st_copy_texsubimage().</li>
246 <p>Ian Romanick (33):
248 <li>Add 7.9 md5sums</li>
249 <li>docs: Import 7.8.x release notes from 7.8 branch.</li>
250 <li>docs: download.html does not need to be updated for each release</li>
251 <li>docs: Update mailing lines from sf.net to freedesktop.org</li>
252 <li>docs: added news item for 7.9 release</li>
253 <li>mesa: Validate assembly shaders when GLSL shaders are used</li>
254 <li>linker: Reject shaders that have unresolved function calls</li>
255 <li>mesa: Refactor validation of shader targets</li>
256 <li>glsl: Slightly change the semantic of _LinkedShaders</li>
257 <li>linker: Improve handling of unread/unwritten shader inputs/outputs</li>
258 <li>glsl: Commit lexer files changed by previous cherry picking</li>
259 <li>mesa: Make metaops use program refcounts instead of names.</li>
260 <li>glsl: Fix incorrect gl_type of sampler2DArray and sampler1DArrayShadow</li>
261 <li>mesa: Allow query of MAX_SAMPLES with EXT_framebuffer_multisample</li>
262 <li>glsl: better handling of linker failures</li>
263 <li>mesa: Fix glGet of ES2's GL_MAX_*_VECTORS properties.</li>
264 <li>i915: Disallow alpha, red, RG, and sRGB as render targets</li>
265 <li>glsl/linker: Free any IR discarded by optimization passes.</li>
266 <li>glsl: Add an optimization pass to simplify discards.</li>
267 <li>glsl: Add a lowering pass to move discards out of if-statements.</li>
268 <li>i915: Correctly generate unconditional KIL instructions</li>
269 <li>glsl: Add unary ir_expression constructor</li>
270 <li>glsl: Ensure that equality comparisons don't return a NULL IR tree</li>
271 <li>glcpp: Commit changes in generated files cause by previous commit</li>
272 <li>glsl: Inherrit type of declared variable from initializer</li>
273 <li>glsl: Inherrit type of declared variable from initializer after processing assignment</li>
274 <li>linker: Ensure that unsized arrays have a size after linking</li>
275 <li>linker: Fix regressions caused by previous commit</li>
276 <li>linker: Allow built-in arrays to have different sizes between shader stages</li>
277 <li>ir_to_mesa: Don't generate swizzles for record derefs of non-scalar/vectors</li>
278 <li>Refresh autogenerated file builtin_function.cpp.</li>
279 <li>docs: Initial set of release notes for 7.9.1</li>
280 <li>mesa: set version string to 7.9.1</li>
283 <p>Julien Cristau (1):
285 <li>Makefile: don't include the same files twice in the tarball</li>
288 <p>Kenneth Graunke (19):
290 <li>glcpp: Return NEWLINE token for newlines inside multi-line comments.</li>
291 <li>generate_builtins.py: Output large strings as arrays of characters.</li>
292 <li>glsl: Fix constant component count in vector constructor emitting.</li>
293 <li>ir_dead_functions: Actually free dead functions and signatures.</li>
294 <li>glcpp: Define GL_FRAGMENT_PRECISION_HIGH if GLSL version >= 1.30.</li>
295 <li>glsl: Unconditionally define GL_FRAGMENT_PRECISION_HIGH in ES2 shaders.</li>
296 <li>glsl: Fix constant expression handling for <, >, <=, >= on vectors.</li>
297 <li>glsl: Use do_common_optimization in the standalone compiler.</li>
298 <li>glsl: Don't inline function prototypes.</li>
299 <li>glsl: Add a virtual as_discard() method.</li>
300 <li>glsl: Remove "discard" support from lower_jumps.</li>
301 <li>glsl: Refactor get_num_operands.</li>
302 <li>glcpp: Don't emit SPACE tokens in conditional_tokens production.</li>
303 <li>glsl: Clean up code by adding a new is_break() function.</li>
304 <li>glsl: Consider the "else" branch when looking for loop breaks.</li>
305 <li>Remove OES_compressed_paletted_texture from the ES2 extension list.</li>
306 <li>glsl/builtins: Compute the correct value for smoothstep(vec, vec, vec).</li>
307 <li>Fix build on systems where "python" is python 3.</li>
308 <li>i965: Internally enable GL_NV_blend_square on ES2.</li>
311 <p>Kristian Høgsberg (1):
313 <li>i965: Don't write mrf assignment for pointsize output</li>
316 <p>Luca Barbieri (1):
318 <li>glsl: Unroll loops with conditional breaks anywhere (not just the end)</li>
323 <li>r300g: fix microtiling for 16-bits-per-channel formats</li>
324 <li>r300g: fix texture border for 16-bits-per-channel formats</li>
325 <li>r300g: add a default channel ordering of texture border for unhandled formats</li>
326 <li>r300g: fix texture border color for all texture formats</li>
327 <li>r300g: fix rendering with no vertex elements</li>
328 <li>r300/compiler: fix rc_rewrite_depth_out for it to work with any instruction</li>
329 <li>r300g: fix texture border color once again</li>
330 <li>r300g: fix texture swizzling with compressed textures on r400-r500</li>
331 <li>r300g: disable ARB_texture_swizzle if S3TC is enabled on r3xx-only</li>
332 <li>mesa, st/mesa: fix gl_FragCoord with FBOs in Gallium</li>
333 <li>st/mesa: initialize key in st_vp_varient</li>
334 <li>r300/compiler: fix swizzle lowering with a presubtract source operand</li>
335 <li>r300g: fix rendering with a vertex attrib having a zero stride</li>
336 <li>ir_to_mesa: Add support for conditional discards.</li>
337 <li>r300g: finally fix the texture corruption on r3xx-r4xx</li>
338 <li>mesa: fix texel store functions for some float formats</li>
339 <li>r300/compiler: disable the rename_regs pass for loops</li>
342 <p>Mario Kleiner (1):
344 <li>mesa/r300classic: Fix dri2Invalidate/radeon_prepare_render for page flipping.</li>
347 <p>Peter Clifton (1):
349 <li>intel: Fix emit_linear_blit to use DWORD aligned width blits</li>
352 <p>Robert Hooker (2):
354 <li>intel: Add a new B43 pci id.</li>
355 <li>egl_dri2: Add missing intel chip ids.</li>
358 <p>Roland Scheidegger (1):
360 <li>r200: fix r200 large points</li>
363 <p>Thomas Hellstrom (17):
365 <li>st/xorg: Don't try to use option values before processing options</li>
366 <li>xorg/vmwgfx: Make vmwarectrl work also on 64-bit servers</li>
367 <li>st/xorg: Add a customizer option to get rid of annoying cursor update flicker</li>
368 <li>xorg/vmwgfx: Don't hide HW cursors when updating them</li>
369 <li>st/xorg: Don't try to remove invalid fbs</li>
370 <li>st/xorg: Fix typo</li>
371 <li>st/xorg, xorg/vmwgfx: Be a bit more frendly towards cross-compiling environments</li>
372 <li>st/xorg: Fix compilation errors for Xservers compiled without Composite</li>
373 <li>st/xorg: Don't use deprecated x*alloc / xfree functions</li>
374 <li>xorg/vmwgfx: Don't use deprecated x*alloc / xfree functions</li>
375 <li>st/xorg: Fix compilation for Xservers >= 1.10</li>
376 <li>mesa: Make sure we have the talloc cflags when using the talloc headers</li>
377 <li>egl: Add an include for size_t</li>
378 <li>mesa: Add talloc includes for gles</li>
379 <li>st/egl: Fix build for include files in nonstandard places</li>
380 <li>svga/drm: Optionally resolve calls to powf during link-time</li>
381 <li>gallium/targets: Trivial crosscompiling fix</li>
386 <li>r300/compiler: Make sure presubtract sources use supported swizzles</li>
387 <li>r300/compiler: Fix register allocator's handling of loops</li>
388 <li>r300/compiler: Fix instruction scheduling within IF blocks</li>
389 <li>r300/compiler: Use zero as the register index for unused sources</li>
390 <li>r300/compiler: Ignore alpha dest register when replicating the result</li>
391 <li>r300/compiler: Use correct swizzles for all presubtract sources</li>
392 <li>r300/compiler: Don't allow presubtract sources to be remapped twice</li>
397 <li>glsl: Fix 'control reaches end of non-void function' warning.</li>
402 <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>