mesa: fix glCompressedTexSubImage assertion/segfault
[profile/ivi/mesa.git] / docs / relnotes-8.0.3.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 <h1>Mesa 8.0.3 Release Notes / May 18, 2012</h1>
11
12 <p>
13 Mesa 8.0.3 is a bug fix release which fixes bugs found since the 8.0.2 release.
14 </p>
15 <p>
16 Mesa 8.0.3 implements the OpenGL 3.0 API, but the version reported by
17 glGetString(GL_VERSION) depends on the particular driver being used.
18 Some drivers don't support all the features required in OpenGL 3.0.
19 </p>
20 <p>
21 See the <a href="install.html">Compiling/Installing page</a> for prerequisites
22 for DRI hardware acceleration.
23 </p>
24
25
26 <h2>MD5 checksums</h2>
27 <pre>
28 b7210a6d6e4584bd852ab29294ce717e  MesaLib-8.0.3.tar.gz
29 cc5ee15e306b8c15da6a478923797171  MesaLib-8.0.3.tar.bz2
30 32773634a0f7e70a680505a81426eccf  MesaLib-8.0.3.zip
31 </pre>
32
33 <h2>New features</h2>
34 <p>None.</p>
35
36 <h2>Bug fixes</h2>
37
38 <p>This list is likely incomplete.</p>
39
40 <ul>
41
42 <li><a href="https://bugs.freedesktop.org/show_bug.cgi?id=28138">Bug 28138</a> - [G45] Regnum Online, sparkling in in-game rendering</li>
43
44 <li><a href="https://bugs.freedesktop.org/show_bug.cgi?id=30102">Bug 30102</a> - glean depthStencil test fails BadLength with indirect non-swrast rendering</li>
45
46 <li><a href="https://bugs.freedesktop.org/show_bug.cgi?id=40361">Bug 40361</a> - Glitches on X3100 after upgrade to 7.11</li>
47
48 <li><a href="https://bugs.freedesktop.org/show_bug.cgi?id=41152">Bug 41152</a> - [glsl] Shader backend in Regnum Online does not work</li>
49
50 <li><a href="https://bugs.freedesktop.org/show_bug.cgi?id=41216">Bug 41216</a> - [bisected pineview]oglc filtercubemin(basic.sizedRGBA) fails</li>
51
52 <li><a href="https://bugs.freedesktop.org/show_bug.cgi?id=41372">Bug 41372</a> - i830_state.c PBO crash</li>
53
54 <li><a href="https://bugs.freedesktop.org/show_bug.cgi?id=41495">Bug 41495</a> - i830: intel_get_vb_max / intel_batchbuffer_space mismatch.</li>
55
56 <li><a href="https://bugs.freedesktop.org/show_bug.cgi?id=44701">Bug 44701</a> - Regnum online textures flickering</li>
57
58 <li><a href="https://bugs.freedesktop.org/show_bug.cgi?id=44961">Bug 44961</a> - [bisected i965] oglc sRGB(Mipmap.1D_textures) regressed</li>
59
60 <li><a href="https://bugs.freedesktop.org/show_bug.cgi?id=44970">Bug 44970</a> - [i965]oglc max_values(negative.textureSize.textureCube) segfaults</li>
61
62 <li><a href="https://bugs.freedesktop.org/show_bug.cgi?id=45214">Bug 45214</a> - Textures disappearing or missing in RegnumOnline OpenGL game</li>
63
64 <li><a href="https://bugs.freedesktop.org/show_bug.cgi?id=45558">Bug 45558</a> - cannot render on a drawable of size equal the max framebuffer size</li>
65
66 <li><a href="https://bugs.freedesktop.org/show_bug.cgi?id=45921">Bug 45921</a> - [r300g, bisected] Multiple piglit regressions after glsl_to_tgsi changes</li>
67
68 <li><a href="https://bugs.freedesktop.org/show_bug.cgi?id=46303">Bug 46303</a> - [SNB] segfault in intel_miptree_release()</li>
69
70 <li><a href="https://bugs.freedesktop.org/show_bug.cgi?id=46739">Bug 46739</a> - [snb-m-gt2+] compiz crashed with SIGSEGV in intel_miptree_release()</li>
71
72 <li><a href="https://bugs.freedesktop.org/show_bug.cgi?id=46834">Bug 46834</a> - small performance when playing flightgear (swrast fallback through GTT mapping)</li>
73
74 <li><a href="https://bugs.freedesktop.org/show_bug.cgi?id=47126">Bug 47126</a> - tests/fbo/fbo-array.c:109: create_array_fbo: Assertion `glGetError() == 0' failed.</li>
75
76 <li><a href="https://bugs.freedesktop.org/show_bug.cgi?id=48218">Bug 48218</a> - brw_fs_schedule_instructions.cpp segfault due to accessing not allocated last_mrf_write[16]</li>
77
78 <li><a href="https://bugs.freedesktop.org/show_bug.cgi?id=48545">Bug 48545</a> - LLVMpipe glReadPixels Firefox hits the slow path (WebGL rendering)</li>
79
80 <li><a href="https://bugs.freedesktop.org/show_bug.cgi?id=49124">Bug 49124</a> - swrast/s_texfetch.c:1156: set_fetch_functions: Assertion `texImage-&gt;FetchTexel' failed.</li>
81
82 <!-- <li><a href="https://bugs.freedesktop.org/show_bug.cgi?id=">Bug </a> - </li> -->
83
84 </ul>
85
86
87 <h2>Changes</h2>
88 <p>The full set of changes can be viewed by using the following GIT command:</p>
89
90 <pre>
91   git log mesa-8.0.2..mesa-8.0.3
92 </pre>
93
94 <p>Alban Browaeys (1):</p>
95 <ul>
96   <li>dri/i915: Fix off-by-one in i830 clip region size.</li>
97 </ul>
98
99 <p>Alex Deucher (2):</p>
100 <ul>
101   <li>r200: fix fog coordinate emit</li>
102   <li>radeon: fix fog coordinate emit</li>
103 </ul>
104
105 <p>Alexander von Gluck (4):</p>
106 <ul>
107   <li>llvmpipe: fix symbol conflict on Haiku</li>
108   <li>svga: fix typedef conflicts on Haiku</li>
109   <li>mesa: Don't use newlocale on Haiku</li>
110   <li>glsl: Don't use newlocale on Haiku</li>
111 </ul>
112
113 <p>Anuj Phogat (4):</p>
114 <ul>
115   <li>mesa: fix issues with texture border and array textures</li>
116   <li>mesa: Fix valid texture target test in _mesa_GetTexLevelParameteriv()</li>
117   <li>mesa: Fix the cause of piglit test fbo-array failure</li>
118   <li>intel: Fix a case when mapping large texture fails</li>
119 </ul>
120
121 <p>Brian Paul (17):</p>
122 <ul>
123   <li>mesa: add a couple fast-paths to fast_read_rgba_pixels_memcpy()</li>
124   <li>mesa/gdi: remove wmesa_set_renderbuffer_funcs() function</li>
125   <li>mesa/gdi: remove clear_color() function</li>
126   <li>mesa: bump version to 8.0.2 in configs/default</li>
127   <li>swrast: include s_fragprog.h to silence warnings</li>
128   <li>mesa: remove LSB-first pixel packing check in glReadPixels</li>
129   <li>mesa: fix error in _mesa_format_matches_format_and_type() for RGB888</li>
130   <li>mesa: add BGR888 code in _mesa_format_matches_format_and_type()</li>
131   <li>vbo: fix node_attrsz[] usage in vbo_bind_vertex_list()</li>
132   <li>mesa: add missing texture integer test in glTexSubImage()</li>
133   <li>mesa: add missing return after _mesa_error() in update_array()</li>
134   <li>glsl: propagate MaxUnrollIterations to the optimizer's loop unroller</li>
135   <li>st/mesa: set MaxUnrollIterations = 255</li>
136   <li>st/mesa: no-op glCopyPixels if source region is out of bounds</li>
137   <li>mesa: do more teximage error checking for generic compressed formats</li>
138   <li>mesa: fix/add error check in _mesa_ColorMaterial()</li>
139   <li>mesa: fix glMaterial / dlist bug</li>
140 </ul>
141
142 <p>Chad Versace (3):</p>
143 <ul>
144   <li>glsl: Fix Android build</li>
145   <li>main: Fix memory leak in _mesa_make_extension_string()</li>
146   <li>intel: Disable ARB_framebuffer_object in ES contexts</li>
147 </ul>
148
149 <p>Chris Wilson (1):</p>
150 <ul>
151   <li>i830: Compute initial number of vertices from remaining batch space</li>
152 </ul>
153
154 <p>Dave Airlie (4):</p>
155 <ul>
156   <li>mesa/format_unpack: add LUMINANCE 8/16 UINT/INT</li>
157   <li>glx/drisw: avoid segfaults when we fail to get visual</li>
158   <li>drisw: fix image stride calculation for 16-bit.</li>
159   <li>intel: fix TFP at 16-bpp</li>
160 </ul>
161
162 <p>Dylan Noblesmith (7):</p>
163 <ul>
164   <li>intel: fix null dereference processing HiZ buffer</li>
165   <li>util: fix undefined behavior</li>
166   <li>util: fix uninitialized table</li>
167   <li>egl: fix uninitialized values</li>
168   <li>st/vega: fix uninitialized values</li>
169   <li>egl-static: fix printf warning</li>
170   <li>i965: fix typo</li>
171 </ul>
172
173 <p>Eric Anholt (19):</p>
174 <ul>
175   <li>i965/fs: Jump from discard statements to the end of the program when done.</li>
176   <li>intel: Fix rendering from textures after RenderTexture().</li>
177   <li>mesa: Fix handling of glCopyBufferSubData() for src == dst.</li>
178   <li>i965/fs: Move GL_CLAMP handling to coordinate setup.</li>
179   <li>i965/fs: Implement GL_CLAMP behavior on texture rectangles on gen6+.</li>
180   <li>mesa: Fix push/pop of multisample coverage invert.</li>
181   <li>mesa: Include the multisample enables under GL_MULTISAMPLE_BIT attrib as well.</li>
182   <li>mesa: Fix display list handling for GL_ARB_draw_instanced.</li>
183   <li>mesa: Fix display lists for draw_elements_base_vertex with draw_instanced.</li>
184   <li>mesa: Add missing error check for first &lt; 0 in glDrawArraysInstanced().</li>
185   <li>i915: Fix piglit fbo-nodepth-test on i830.</li>
186   <li>intel: Return success when asked to allocate a 0-width/height renderbuffer.</li>
187   <li>mesa: Throw error on glGetActiveUniform inside Begin/End.</li>
188   <li>i965/vs: Fix up swizzle for dereference_array of matrices.</li>
189   <li>glsl: Fix indentation of switch code.</li>
190   <li>glsl: Let the constructor figure out the types of switch-related expressions.</li>
191   <li>glsl: Reject non-scalar switch expressions.</li>
192   <li>glsl: Fix assertion failure on handling switch on uint expressions.</li>
193   <li>mesa: Check for framebuffer completeness before looking at the rb.</li>
194 </ul>
195
196 <p>Eugeni Dodonov (1):</p>
197 <ul>
198   <li>intel: add PCI IDs for Ivy Bridge GT2 server variant</li>
199 </ul>
200
201 <p>Han Shen(沈涵) (1):</p>
202 <ul>
203   <li>bin/mklib: remove '-m32' for arm linux</li>
204 </ul>
205
206 <p>Ian Romanick (1):</p>
207 <ul>
208   <li>mesa: Bump version number to 8.0.3</li>
209 </ul>
210
211 <p>Jakob Bornecrantz (1):</p>
212 <ul>
213   <li>docs: Add 8.0.2 md5sums</li>
214 </ul>
215
216 <p>Jeremy Huddleston (7):</p>
217 <ul>
218   <li>darwin: Eliminate a pthread mutex leak</li>
219   <li>darwin: Fix an error message</li>
220   <li>darwin: Make reported errors more user-friendly</li>
221   <li>darwin: Use ASL for logging</li>
222   <li>darwin: Unlock our mutex before destroying it</li>
223   <li>darwin: Eliminate a possible race condition while destroying a surface</li>
224   <li>darwin: Address a build failure on Leopard and earlier OS versions</li>
225 </ul>
226
227 <p>Jon TURNEY (1):</p>
228 <ul>
229   <li>Have __glImageSize handle format GL_DEPTH_STENCIL_NV the same way as the server does</li>
230 </ul>
231
232 <p>Jonas Maebe (2):</p>
233 <ul>
234   <li>glapi: Correct size of allocated _glapi_table struct</li>
235   <li>apple: Fix a use after free</li>
236 </ul>
237
238 <p>Jordan Justen (1):</p>
239 <ul>
240   <li>mesa: Add primitive restart support to glArrayElement</li>
241 </ul>
242
243 <p>Kenneth Graunke (12):</p>
244 <ul>
245   <li>i965: Actually upload sampler state pointers for the VS unit on Gen6.</li>
246   <li>i965/fs: Fix FB writes that tried to use the non-existent m16 register.</li>
247   <li>vbo: Remove pedantic warning about 'end' beind out of bounds.</li>
248   <li>vbo: Ignore invalid element ranges which are outside VBO bounds.</li>
249   <li>vbo: Rework checking of 'end' against _MaxElement.</li>
250   <li>vbo: Eliminate short-circuiting in invalid-start case.</li>
251   <li>i965: Fix GPU hangs in the dummy fragment shader.</li>
252   <li>i965: Make the dummy fragment shader work in SIMD16 mode.</li>
253   <li>drirc: Add force_glsl_extensions_warn workaround for Unigine Heaven.</li>
254   <li>i965: Avoid explicit accumulator operands in SIMD16 mode on Gen7.</li>
255   <li>intel: Remove pointless software fallback for glBitmap on Gen6.</li>
256   <li>glsl: Fix broken constant expression handling for &lt;, &lt;=, &gt;, and &gt;=.</li>
257 </ul>
258
259 <p>Kurt Roeckx (2):</p>
260 <ul>
261   <li>i915: Compute maximum number of verts using the actual batchbuffer size.</li>
262   <li>i915: Fix i830 polygon stipple from PBOs.</li>
263 </ul>
264
265 <p>Marek Olšák (5):</p>
266 <ul>
267   <li>r300g/swtcl: don't print an error when getting ClipVertex</li>
268   <li>r300g/swtcl: don't enter u_vbuf_mgr</li>
269   <li>r300g/swtcl: don't expose shader subroutine support</li>
270   <li>r300g/swtcl: fix polygon offset</li>
271   <li>r300g/swtcl: fix crash when back color is present in vertex shader</li>
272 </ul>
273
274 <p>Mathias Fröhlich (1):</p>
275 <ul>
276   <li>glsl: Avoid excessive loop unrolling.</li>
277 </ul>
278
279 <p>Matt Turner (1):</p>
280 <ul>
281   <li>Remove -ffast-math from default CFLAGS</li>
282 </ul>
283
284 <p>Paul Berry (1):</p>
285 <ul>
286   <li>i915: Initialize swrast_texture_image structure fields.</li>
287 </ul>
288
289 <p>Roland Scheidegger (1):</p>
290 <ul>
291   <li>mesa: check_index_bounds off-by-one fix</li>
292 </ul>
293
294 <p>Tom Stellard (2):</p>
295 <ul>
296   <li>r300/compiler: Clear loop registers in vertex shaders w/o loops</li>
297   <li>r300/compiler: Copy all instruction attributes during local transfoms</li>
298 </ul>
299
300 <p>Vinson Lee (5):</p>
301 <ul>
302   <li>mesa: Fix memory leak in _mesa_get_uniform_location.</li>
303   <li>linker: Fix memory leak in count_uniform_size::visit_field.</li>
304   <li>swrast: Fix memory leaks in blit_linear.</li>
305   <li>ir_to_mesa: Fix uninitialized member in add_uniform_to_shader.</li>
306   <li>mesa: Fix memory leak in generate_mipmap_compressed.</li>
307 </ul>
308
309 <p>Yuanhan Liu (2):</p>
310 <ul>
311   <li>i915: set SPRITE_POINT_ENABLE bit correctly</li>
312   <li>i965: fix wrong cube/3D texture layout</li>
313 </ul>
314
315 </body>
316 </html>