mesa: enable GL_ARB_program_interface_query extension
[mesa.git] / docs / relnotes / 7.11.1.html
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.11.1 Release Notes / November 17, 2011</h1>
18
19 <p>
20 Mesa 7.11.1 is a bug fix release which fixes bugs found since the 7.11 release.
21 </p>
22 <p>
23 Mesa 7.11 implements the OpenGL 2.1 API, but the version reported by
24 glGetString(GL_VERSION) depends on the particular driver being used.
25 Some drivers don't support all the features required in OpenGL 2.1.
26 </p>
27 <p>
28 See the <a href="../install.html">Compiling/Installing page</a> for prerequisites
29 for DRI hardware acceleration.
30 </p>
31
32
33 <h2>MD5 checksums</h2>
34 <pre>
35 ac0181a4076770fb657c1169af43aa09 MesaLib-7.11.1.tar.gz
36 a77307102cee844ff6544ffa8fafeac1 MesaLib-7.11.1.tar.bz2
37 dfcb11516c1730f3981b55a65a835623 MesaLib-7.11.1.zip
38 2cb2b9ecb4fb7d1a6be69346ee886952 MesaGLUT-7.11.1.tar.gz
39 3f54e314290d4dacbab089839197080b MesaGLUT-7.11.1.tar.bz2
40 5d66c7ee8c5cc2f27e1ffb037ad4172c MesaGLUT-7.11.1.zip
41 </pre>
42
43 <h2>New features</h2>
44 <p>None.</p>
45
46 <h2>Bug fixes</h2>
47
48 <p>This list is likely incomplete.</p>
49
50 <ul>
51 <li><a href="https://bugs.freedesktop.org/show_bug.cgi?id=3165">Bug 3165</a> - texImage.IsCompressed and texImage.CompressedSize issues</li>
52
53 <li><a href="https://bugs.freedesktop.org/show_bug.cgi?id=23525">Bug 23525</a> - Software rendering on QEMU guests badly broken</li>
54
55 <li><a href="https://bugs.freedesktop.org/show_bug.cgi?id=28125">Bug 28125</a> - DRI2 prevents indirect glx</li>
56
57 <li><a href="https://bugs.freedesktop.org/show_bug.cgi?id=34628">Bug 34628</a> - [ilk] skybox errors in quake4</li>
58
59 <li><a href="https://bugs.freedesktop.org/show_bug.cgi?id=36371">Bug 36371</a> - r200: piglit readPixSanity failure</li>
60
61 <li><a href="https://bugs.freedesktop.org/show_bug.cgi?id=36669">Bug 36669</a> - EmitNoMainReturn set to 1 doesn't make the GLSL compiler lower all the RET opcodes</li>
62
63 <li><a href="https://bugs.freedesktop.org/show_bug.cgi?id=36939">Bug 36939</a> - multitexturing is messed up in quake wars (regression)</li>
64
65 <li><a href="https://bugs.freedesktop.org/show_bug.cgi?id=37907">Bug 37907</a> - [swrast] SIGSEGV swrast/s_depth.c:569</li>
66
67 <li><a href="https://bugs.freedesktop.org/show_bug.cgi?id=38163">Bug 38163</a> - Gnome Shell Display Bug</li>
68
69 <li><a href="https://bugs.freedesktop.org/show_bug.cgi?id=38625">Bug 38625</a> - ast_to_hir.cpp:1761: const glsl_type* process_array_type(YYLTYPE*, const glsl_type*, ast_node*, _mesa_glsl_parse_state*): Assertion `dummy_instructions.is_empty()' failed.</li>
70
71 <li><a href="https://bugs.freedesktop.org/show_bug.cgi?id=38729">Bug 38729</a> - [softpipe] sp_quad_depth_test.c:215:convert_quad_stencil: Assertion `0' failed.</li>
72
73 <li><a href="https://bugs.freedesktop.org/show_bug.cgi?id=38863">Bug 38863</a> - [IVB]GPU hang when running 3D games like openarena</li>
74
75 <li><a href="https://bugs.freedesktop.org/show_bug.cgi?id=39193">Bug 39193</a> - [llvmpipe and r600g] glCheckFramebufferStatusEXT segfaults in Gallium when checking status on a framebuffer bound to a texture that's bound to a pixmap</li>
76
77 <li><a href="https://bugs.freedesktop.org/show_bug.cgi?id=39651">Bug 39651</a> - [glsl] Assertion failure when implicitly converting out parameters</li>
78
79 <li><a href="https://bugs.freedesktop.org/show_bug.cgi?id=39991">Bug 39991</a> - [regression]GL_PALETTE8_RGBA8_OES format of glCompressedTexImage2D will cause err GL_INVALID_ENUM with GLES1.x</li>
80
81 <li><a href="https://bugs.freedesktop.org/show_bug.cgi?id=40022">Bug 40022</a> - [i915] out-of-bounds write src/mesa/drivers/dri/i915/i915_fragprog.c:321</li>
82
83 <li><a href="https://bugs.freedesktop.org/show_bug.cgi?id=40062">Bug 40062</a> - in etqw the strogg radar is black (regression)</li>
84
85 <li><a href="https://bugs.freedesktop.org/show_bug.cgi?id=40324">Bug 40324</a> - [SNB] gpu hang in mesa 7.11</li>
86
87 <li><a href="https://bugs.freedesktop.org/show_bug.cgi?id=40533">Bug 40533</a> - i915: piglit glean/readPixSanity: DRI2SwapBuffers: BadDrawable (invalid Pixmap or Window parameter)</li>
88
89 <li><a href="https://bugs.freedesktop.org/show_bug.cgi?id=41096">Bug 41096</a> - [sandybridge-m-gt2+] GPU lockup render.IPEHR: 0x7a000002</li>
90
91 <li><a href="https://bugs.freedesktop.org/show_bug.cgi?id=41969">Bug 41969</a> - The Mesa meta save/restore code doesn't always save the active program</li>
92
93 <li><a href="https://bugs.freedesktop.org/show_bug.cgi?id=42175">Bug 42175</a> - RV730: Display errors in glxgears &amp; WebGL</li>
94
95 <li><a href="https://bugs.freedesktop.org/show_bug.cgi?id=42268">Bug 42268</a> - [bisected] oglc pbo(negative.invalidOffsetValue) aborts on 7.11 branch</li>
96
97 <!-- <li><a href="https://bugs.freedesktop.org/show_bug.cgi?id=">Bug </a> - </li> -->
98
99 </ul>
100
101
102 <h2>Changes</h2>
103 <p>The full set of changes can be viewed by using the following GIT command:</p>
104
105 <pre>
106 git log mesa-7.11..mesa-7.11.1
107 </pre>
108
109 <p>Adam Jackson (2):</p>
110 <ul>
111 <li>drisw: Remove cargo culting that breaks GLX 1.3 ctors</li>
112 <li>glx: Don't enable INTEL_swap_event unconditionally</li>
113 </ul>
114
115 <p>Alex Deucher (1):</p>
116 <ul>
117 <li>r600g: fix up vs export handling</li>
118 </ul>
119
120 <p>Ben Widawsky (1):</p>
121 <ul>
122 <li>intel: GetBuffer fix</li>
123 </ul>
124
125 <p>Brian Paul (15):</p>
126 <ul>
127 <li>docs: add 7.11 md5 sums</li>
128 <li>docs: news item for 7.11 release</li>
129 <li>st/mesa: Convert size assertions to conditionals in st_texture_image_copy.</li>
130 <li>softpipe: add missing stencil format case in convert_quad_stencil()</li>
131 <li>mesa: fix texstore addressing bugs for depth/stencil formats</li>
132 <li>mesa: add missing breaks for GL_TEXTURE_CUBE_MAP_SEAMLESS queries</li>
133 <li>swrast: don't try to do depth testing if there's no depth buffer</li>
134 <li>meta: fix/add checks for GL_EXT_framebuffer_sRGB</li>
135 <li>mesa: fix PACK_COLOR_5551(), PACK_COLOR_1555() macros</li>
136 <li>meta: fix broken sRGB mipmap generation</li>
137 <li>mesa: add _NEW_CURRENT_ATTRIB in _mesa_program_state_flags()</li>
138 <li>mesa: fix error handling for dlist image unpacking</li>
139 <li>mesa: generate GL_INVALID_OPERATION in glIsEnabledIndex() between Begin/End</li>
140 <li>mesa: fix incorrect error code in _mesa_FramebufferTexture1D/3DEXT()</li>
141 <li>mesa: fix format/type check in unpack_image() for bitmaps</li>
142 </ul>
143
144 <p>Carl Simonson (1):</p>
145 <ul>
146 <li>i830: Add missing vtable entry for i830 from the hiz work.</li>
147 </ul>
148
149 <p>Carl Worth (5):</p>
150 <ul>
151 <li>glcpp: Fix two (or more) successive applications of token pasting</li>
152 <li>glcpp: Test a non-function-like macro using the token paste operator</li>
153 <li>glcpp: Implement token pasting for non-function-like macros</li>
154 <li>glcpp: Raise error if defining any macro containing two consecutive underscores</li>
155 <li>glcpp: Add a test for #elif with an undefined macro.</li>
156 </ul>
157
158 <p>Chad Versace (5):</p>
159 <ul>
160 <li>glsl: Add method glsl_type::can_implicitly_convert_to()</li>
161 <li>glsl: Fix implicit conversions in non-constructor function calls</li>
162 <li>glsl: Remove ir_function.cpp:type_compare()</li>
163 <li>glsl: Fix conversions in array constructors</li>
164 <li>x86-64: Fix compile error with clang</li>
165 </ul>
166
167 <p>Chia-I Wu (3):</p>
168 <ul>
169 <li>glsl: empty declarations should be valid</li>
170 <li>intel: rename intel_extensions_es2.c to intel_extensions_es.c</li>
171 <li>intel: fix GLESv1 support</li>
172 </ul>
173
174 <p>Chris Wilson (1):</p>
175 <ul>
176 <li>i915: out-of-bounds write in calc_live_regs()</li>
177 </ul>
178
179 <p>Christopher James Halse Rogers (1):</p>
180 <ul>
181 <li>glx/dri2: Paper over errors in DRI2Connect when indirect</li>
182 </ul>
183
184 <p>David Reveman (1):</p>
185 <ul>
186 <li>i915g: Fix off-by-one in scissors.</li>
187 </ul>
188
189 <p>Eric Anholt (16):</p>
190 <ul>
191 <li>mesa: Don't skip glGetProgramEnvParam4dvARB if there was already an error.</li>
192 <li>mesa: Fix glGetUniform() type conversions.</li>
193 <li>mesa: Add support for Begin/EndConditionalRender in display lists.</li>
194 <li>mesa: Throw an error instead of asserting for condrender with query == 0.</li>
195 <li>mesa: Throw an error when starting conditional render on an active query.</li>
196 <li>mesa: Don't skip glGetProgramLocalParam4dvARB if there was already an error.</li>
197 <li>glsl: Allow ir_assignment() constructor to not specify condition.</li>
198 <li>glsl: Clarify error message about whole-array assignment in GLSL 1.10.</li>
199 <li>glsl: When assigning to a whole array, mark the array as accessed.</li>
200 <li>glsl: When assiging from a whole array, mark it as used.</li>
201 <li>i965/fs: Respect ARB_color_buffer_float clamping.</li>
202 <li>i965: Add missing _NEW_POLYGON flag to polygon stipple upload.</li>
203 <li>i965: Fix polygon stipple offset state flagging.</li>
204 <li>intel: Mark MESA_FORMAT_X8_Z24 as always supported.</li>
205 <li>mesa: Don't error on glFeedbackBuffer(size = 0, buffer = NULL)</li>
206 <li>glsl: Fix gl_NormalMatrix swizzle setup to match i965's invariants.</li>
207 </ul>
208
209 <p>Henri Verbeet (6):</p>
210 <ul>
211 <li>mesa: Also set the remaining draw buffers to GL_NONE when updating just the first buffer in _mesa_drawbuffers().</li>
212 <li>r600g: Support the PIPE_FORMAT_R16_FLOAT colorformat.</li>
213 <li>mesa: Check the texture against all units in unbind_texobj_from_texunits().</li>
214 <li>mesa: Allow sampling from units &gt;= MAX_TEXTURE_UNITS in shaders.</li>
215 <li>mesa: Use the Elements macro for the sampler index assert in validate_samplers().</li>
216 <li>mesa: Fix a couple of TexEnv unit limits.</li>
217 </ul>
218
219 <p>Ian Romanick (17):</p>
220 <ul>
221 <li>mesa: Add utility function to get base format from a GL compressed format</li>
222 <li>mesa: Return the correct internal fmt when a generic compressed fmt was used</li>
223 <li>mesa: Make _mesa_get_compressed_formats match the texture compression specs</li>
224 <li>linker: Make linker_error set LinkStatus to false</li>
225 <li>linker: Make linker_{error,warning} generally available</li>
226 <li>mesa: Ensure that gl_shader_program::InfoLog is never NULL</li>
227 <li>ir_to_mesa: Use Add linker_error instead of fail_link</li>
228 <li>ir_to_mesa: Emit warnings instead of errors for IR that can't be lowered</li>
229 <li>i915: Fail without crashing if a Mesa IR program uses too many registers</li>
230 <li>i915: Only emit program errors when INTEL_DEBUG=wm or INTEL_DEBUG=fallbacks</li>
231 <li>mesa: Add GL_OES_compressed_paletted_texture formats to _mesa_is_compressed_format</li>
232 <li>mesa: Add GL_OES_compressed_paletted_texture formats to _mesa_base_tex_format</li>
233 <li>mesa: Refactor expected texture size check in cpal_get_info</li>
234 <li>mesa: Add _mesa_cpal_compressed_format_type</li>
235 <li>mesa: Refactor compressed texture error checks to work with paletted textures</li>
236 <li>mesa: Remove redundant compressed paletted texture error checks</li>
237 <li>mesa: Advertise GL_OES_compressed_paletted_texture in OpenGL ES1.x</li>
238 </ul>
239
240 <p>Jeremy Huddleston (3):</p>
241 <ul>
242 <li>apple: Silence some debug spew</li>
243 <li>apple: Use the correct (OpenGL.framework) glViewport and glScissor during init</li>
244 <li>apple: Implement applegl_unbind_context</li>
245 </ul>
246
247 <p>José Fonseca (1):</p>
248 <ul>
249 <li>docs: Update llvmpipe docs.</li>
250 </ul>
251
252 <p>Kenneth Graunke (12):</p>
253 <ul>
254 <li>glsl: Avoid massive ralloc_strndup overhead in S-Expression parsing.</li>
255 <li>mesa: In validate_program(), initialize errMsg for safety.</li>
256 <li>i965/gen5+: Fix incorrect miptree layout for non-power-of-two cubemaps.</li>
257 <li>i965: Use proper texture alignment units for cubemaps on Gen5+.</li>
258 <li>i965: Fix incorrect maximum PS thread count shift on Ivybridge.</li>
259 <li>i965: Emit depth stalls and flushes before changing depth state on Gen6+.</li>
260 <li>i965/fs: Allow SIMD16 with control flow on Ivybridge.</li>
261 <li>i965: Allow SIMD16 color writes on Ivybridge.</li>
262 <li>i965: Fix inconsistent indentation in brw_eu_emit.c.</li>
263 <li>intel: Depth format fixes</li>
264 <li>i965: Apply post-sync non-zero workaround to homebrew workaround.</li>
265 <li>mesa/get: Move MAX_LIGHTS from GL/ES2 to GL/ES1.</li>
266 </ul>
267
268 <p>Kristian Høgsberg (1):</p>
269 <ul>
270 <li>glx: Don't flush twice if we fallback to dri2CopySubBuffer</li>
271 </ul>
272
273 <p>Marc Pignat (1):</p>
274 <ul>
275 <li>drisw: Fix 24bpp software rendering, take 2</li>
276 </ul>
277
278 <p>Marcin Baczyński (2):</p>
279 <ul>
280 <li>configure: fix gcc version check</li>
281 <li>configure: allow C{,XX}FLAGS override</li>
282 </ul>
283
284 <p>Marcin Slusarz (3):</p>
285 <ul>
286 <li>nouveau: fix nouveau_fence leak</li>
287 <li>nouveau: fix crash during fence emission</li>
288 <li>nouveau: fix fence hang</li>
289 </ul>
290
291 <p>Marek Olšák (19):</p>
292 <ul>
293 <li>vbo: do not call _mesa_max_buffer_index in debug builds</li>
294 <li>winsys/radeon: fix space checking</li>
295 <li>r300/compiler: fix a warning that a variable may be uninitialized</li>
296 <li>r300/compiler: remove an unused-but-set variable and simplify the code</li>
297 <li>u_vbuf_mgr: cleanup original vs real vertex buffer arrays</li>
298 <li>u_vbuf_mgr: don't take per-instance attribs into acc. when computing max index</li>
299 <li>u_vbuf_mgr: fix max_index computation for large src_offset</li>
300 <li>u_vbuf_mgr: s/u_vbuf_mgr_/u_vbuf_</li>
301 <li>u_vbuf_mgr: remove unused flag U_VBUF_UPLOAD_FLUSHED</li>
302 <li>u_vbuf_mgr: rework user buffer uploads</li>
303 <li>u_vbuf_mgr: fix uploading with a non-zero index bias</li>
304 <li>configure.ac: fix xlib-based softpipe build</li>
305 <li>r600g: add index_bias to index buffer bounds</li>
306 <li>r300g: fix rendering with a non-zero index bias in draw_elements_immediate</li>
307 <li>Revert "r300g: fix rendering with a non-zero index bias in draw_elements_immediate"</li>
308 <li>pb_bufmgr_cache: flush cache when create_buffer fails and try again</li>
309 <li>r300g: don't return NULL in resource_from_handle if the resource is too small</li>
310 <li>r600g: set correct tiling flags in depth info</li>
311 <li>r300g: don't call u_trim_pipe_prim in r300_swtcl_draw_vbo</li>
312 </ul>
313
314 <p>Michel Dänzer (4):</p>
315 <ul>
316 <li>st/mesa: Finalize texture on render-to-texture.</li>
317 <li>glx/dri2: Don't call X server for SwapBuffers when there's no back buffer.</li>
318 <li>gallium/util: Add macros for converting from little endian to CPU byte order.</li>
319 <li>r300g: Fix queries on big endian hosts.</li>
320 </ul>
321
322 <p>Neil Roberts (1):</p>
323 <ul>
324 <li>meta: Fix saving the active program</li>
325 </ul>
326
327 <p>Paul Berry (18):</p>
328 <ul>
329 <li>glsl: Lower unconditional return statements.</li>
330 <li>glsl: Refactor logic for determining whether to lower return statements.</li>
331 <li>glsl: lower unconditional returns and continues in loops.</li>
332 <li>glsl: Use foreach_list in lower_jumps.cpp</li>
333 <li>glsl: In lower_jumps.cpp, lower both branches of a conditional.</li>
334 <li>glsl: Lower break instructions when necessary at the end of a loop.</li>
335 <li>glsl: improve the accuracy of the radians() builtin function</li>
336 <li>glsl: improve the accuracy of the atan(x,y) builtin function.</li>
337 <li>Revert "glsl: Skip processing the first function's body in do_dead_functions()."</li>
338 <li>glsl: Emit function signatures at toplevel, even for built-ins.</li>
339 <li>glsl: Constant-fold built-in functions before outputting IR</li>
340 <li>glsl: Check array size is const before asserting that no IR was generated.</li>
341 <li>glsl: Perform implicit type conversions on function call out parameters.</li>
342 <li>glsl: Fix type error when lowering integer divisions</li>
343 <li>glsl: Rework oversize array check for gl_TexCoord.</li>
344 <li>glsl: Remove field array_lvalue from ir_variable.</li>
345 <li>glsl hierarchical visitor: Do not overwrite base_ir for parameter lists.</li>
346 <li>glsl: improve the accuracy of the asin() builtin function.</li>
347 </ul>
348
349 <p>Tobias Droste (1):</p>
350 <ul>
351 <li>r300/compiler: simplify code in peephole_add_presub_add</li>
352 </ul>
353
354 <p>Tom Fogal (1):</p>
355 <ul>
356 <li>Only use gcc visibility support with gcc4+.</li>
357 </ul>
358
359 <p>Tom Stellard (1):</p>
360 <ul>
361 <li>r300/compiler: Fix regalloc for values with multiple writers</li>
362 </ul>
363
364 <p>Vadim Girlin (5):</p>
365 <ul>
366 <li>st/mesa: flush bitmap cache on query and conditional render boundaries</li>
367 <li>r600g: use backend mask for occlusion queries</li>
368 <li>r600g: take into account force_add_cf in pops</li>
369 <li>r600g: fix check_and_set_bank_swizzle</li>
370 <li>r600g: fix replace_gpr_with_pv_ps</li>
371 </ul>
372
373 <p>Yuanhan Liu (17):</p>
374 <ul>
375 <li>i965: fix the constant interp bitmask for flat mode</li>
376 <li>mesa: fix error handling for glEvalMesh1/2D</li>
377 <li>mesa: fix error handling for some glGet* functions</li>
378 <li>mesa: fix error handling for glTexEnv</li>
379 <li>mesa: fix error handling for glIsEnabled</li>
380 <li>mesa: fix error handling for glPixelZoom</li>
381 <li>mesa: fix error handling for glSelectBuffer</li>
382 <li>mesa: fix error handling for glMapBufferRange</li>
383 <li>mesa: fix error handling for glMaterial*</li>
384 <li>intel: fix the wrong code to detect null texture.</li>
385 <li>mesa: add a function to do the image data copy stuff for save_CompressedTex(Sub)Image</li>
386 <li>i965: setup address rounding enable bits</li>
387 <li>mesa: generate error if pbo offset is not aligned with the size of specified type</li>
388 <li>mesa: fix inverted pbo test error at _mesa_GetnCompressedTexImageARB</li>
389 <li>mesa: handle the pbo case for save_Bitmap</li>
390 <li>mesa: handle PBO access error in display list mode</li>
391 <li>intel: don't call unmap pbo if pbo is not mapped</li>
392 </ul>
393
394 </div>
395 </body>
396 </html>