radv: Handle VK_ATTACHMENT_UNUSED in CmdClearAttachment
[mesa.git] / docs / relnotes / 7.10.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.10.1 Release Notes / March 2, 2011</h1>
18
19 <p>
20 Mesa 7.10.1 is a bug fix release which fixes bugs found since the 7.10 release.
21 </p>
22 <p>
23 Mesa 7.10.1 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 4b4cee19f3bf16eb78bd4cc278ccf812 MesaLib-7.10.1.tar.gz
36 efe8da4d80c2a5d32a800770b8ce5dfa MesaLib-7.10.1.tar.bz2
37 0fd2b1a025934de3f8cecf9fb9b57f4c MesaLib-7.10.1.zip
38 42beb0f5188d544476c19496f725fa67 MesaGLUT-7.10.1.tar.gz
39 637bb8a20fdad89f7382b4ea83f896e3 MesaGLUT-7.10.1.tar.bz2
40 bdbf3ffb2606d6aa8afabb6c6243b91b MesaGLUT-7.10.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>Fix an off-by-one bug in a vsplit assertion.</li>
51 <li>Fix incorrect handling of <tt>layout</tt> qualifier
52 with <tt>in</tt>, <tt>out</tt>, <tt>attribute</tt>, and <tt>varying</tt>.</li>
53
54 <li>Fix an i965 shader bug where the negative absolute value was generated instead of the absolute value of a negation.</li>
55
56 <li>Fix numerous issues handling precision qualifiers in GLSL ES.</li>
57
58 <li>Fixed a few GLX protocol encoder bugs (Julien Cristau)</li>
59
60 <li>Assorted Gallium llvmpipe driver bug fixes</li>
61
62 <li>Assorted Mesa/Gallium state tracker bug fixes</li>
63
64 <li><a href="https://bugs.freedesktop.org/show_bug.cgi?id=26795">Bug 26795</a> - gl_FragCoord off by one in Gallium drivers.</li>
65
66 <li><a href="https://bugs.freedesktop.org/show_bug.cgi?id=29164">Bug 29164</a> - [GLSL 1.20] invariant variable shouldn't be used before declaration</li>
67
68 <li><a href="https://bugs.freedesktop.org/show_bug.cgi?id=29823">Bug 29823</a> - GetUniform[if]v busted</li>
69
70 <li><a href="https://bugs.freedesktop.org/show_bug.cgi?id=29927">Bug 29927</a> - [glsl2] fail to compile shader with constructor for array of struct type</li>
71
72 <li><a href="https://bugs.freedesktop.org/show_bug.cgi?id=30156">Bug 30156</a> - [i965] After updating to Mesa 7.9, Civilization IV starts to show garbage</li>
73
74 <li><a href="https://bugs.freedesktop.org/show_bug.cgi?id=31923">Bug 31923</a> - [GLSL 1.20] allowing inconsistent centroid declaration between two vertex shaders</li>
75
76 <li><a href="https://bugs.freedesktop.org/show_bug.cgi?id=31925">Bug 31925</a> - [GLSL 1.20] "#pragma STDGL invariant(all)" fail</li>
77
78 <li><a href="https://bugs.freedesktop.org/show_bug.cgi?id=32214">Bug 32214</a> - [gles2]no link error happens when missing vertex shader or frag shader</li>
79
80 <li><a href="https://bugs.freedesktop.org/show_bug.cgi?id=32375">Bug 32375</a> - [gl gles2] Not able to get the attribute by function glGetVertexAttribfv</li>
81
82 <li><a href="https://bugs.freedesktop.org/show_bug.cgi?id=32541">Bug 32541</a> - Segmentation Fault while running an HDR (high dynamic range) rendering demo</li>
83
84 <li><a href="https://bugs.freedesktop.org/show_bug.cgi?id=32569">Bug 32569</a> - [gles2] glGetShaderPrecisionFormat not implemented yet</li>
85
86 <li><a href="https://bugs.freedesktop.org/show_bug.cgi?id=32695">Bug 32695</a> - [glsl] SIGSEGV glcpp/glcpp-parse.y:833</li>
87
88 <li><a href="https://bugs.freedesktop.org/show_bug.cgi?id=32831">Bug 32831</a> - [glsl] division by zero crashes GLSL compiler</li>
89
90 <li><a href="https://bugs.freedesktop.org/show_bug.cgi?id=32910">Bug 32910</a> - Keywords 'in' and 'out' not handled properly for GLSL 1.20 shaders</li>
91
92 <li><a href="https://bugs.freedesktop.org/show_bug.cgi?id=33219">Bug 33219</a> -[GLSL bisected] implicit sized array triggers segfault in ir_to_mesa_visitor::copy_propagate</li>
93
94 <li><a href="https://bugs.freedesktop.org/show_bug.cgi?id=33306">Bug 33306</a> - GLSL integer division by zero crashes GLSL compiler</li>
95
96 <li><a href="https://bugs.freedesktop.org/show_bug.cgi?id=33308">Bug 33308</a> -[glsl] ast_to_hir.cpp:3016: virtual ir_rvalue* ast_jump_statement::hir(exec_list*, _mesa_glsl_parse_state*): Assertion `ret != __null' failed.</li>
97
98 <li><a href="https://bugs.freedesktop.org/show_bug.cgi?id=33316">Bug 33316</a> - uniform array will be allocate one line more and initialize it when it was freed will abort</li>
99
100 <li><a href="https://bugs.freedesktop.org/show_bug.cgi?id=33386">Bug 33386</a> - Dubious assembler in read_rgba_span_x86.S</li>
101
102 <li><a href="https://bugs.freedesktop.org/show_bug.cgi?id=33388">Bug 33388</a> - Dubious assembler in xform4.S</li>
103
104 <li><a href="https://bugs.freedesktop.org/show_bug.cgi?id=33433">Bug 33433</a> - Error in x86-64 API dispatch code.</li>
105
106 <li><a href="https://bugs.freedesktop.org/show_bug.cgi?id=33507">Bug 33507</a> - [glsl] GLSL preprocessor modulus by zero crash</li>
107
108 <li><a href="https://bugs.freedesktop.org/show_bug.cgi?id=33508">Bug 33508</a> - [glsl] GLSL compiler modulus by zero crash</li>
109
110 <li><a href="https://bugs.freedesktop.org/show_bug.cgi?id=33916">Bug 33916</a> - Compiler accepts reserved operators % and %=</li>
111
112 <li><a href="https://bugs.freedesktop.org/show_bug.cgi?id=34030">Bug 34030</a> - [bisected] Starcraft 2: some effects are corrupted or too big</li>
113
114 <li><a href="https://bugs.freedesktop.org/show_bug.cgi?id=34047">Bug 34047</a> - Assert in _tnl_import_array() when using GLfixed vertex datatypes with GLESv2</li>
115
116 <li><a href="https://bugs.freedesktop.org/show_bug.cgi?id=34114">Bug 34114</a> - Sun Studio build fails due to standard library functions not being in global namespace</li>
117
118 <li><a href="https://bugs.freedesktop.org/show_bug.cgi?id=34179">Bug 34179</a> - Nouveau 3D driver: nv50_pc_emit.c:863 assertion error kills Compiz</li>
119
120 <li><a href="https://bugs.freedesktop.org/show_bug.cgi?id=34198">Bug 34198</a> - [GLSL] implicit sized array with index 0 used gets assertion</li>
121
122 <li><a href="https://bugs.launchpad.net/ubuntu/+source/mesa/+bug/691653">Ubuntu bug 691653</a> - compiz crashes when using alt-tab (the radeon driver kills it) </li>
123
124 <li><a href="https://bugs.meego.com/show_bug.cgi?id=13005">Meego bug 13005</a> - Graphics GLSL issue lead to camera preview fail on Pinetrail</li>
125
126 <!-- <li><a href="https://bugs.freedesktop.org/show_bug.cgi?id=">Bug </a> - </li> -->
127
128 </ul>
129
130
131 <h2>Changes</h2>
132 <p>The full set of changes can be viewed by using the following GIT command:</p>
133
134 <pre>
135 git log mesa-7.10..mesa-7.10.1
136 </pre>
137
138 <p>Alberto Milone (1):</p>
139 <ul>
140 <li>r600c: add evergreen ARL support.</li>
141 </ul>
142
143 <p>Brian Paul (21):</p>
144 <ul>
145 <li>draw: Fix an off-by-one bug in a vsplit assertion.</li>
146 <li>docs: add links to 7.9.1 and 7.10 release notes</li>
147 <li>docs: added news item for 7.9.1 and 7.10 release</li>
148 <li>gallivm: work around LLVM 2.6 bug when calling C functions</li>
149 <li>gallivm: fix copy&amp;paste error from previous commit</li>
150 <li>mesa: fix a few format table mistakes, assertions</li>
151 <li>mesa: fix num_draw_buffers==0 in fixed-function fragment program generation</li>
152 <li>mesa: don't assert in GetIntegerIndexed, etc</li>
153 <li>mesa: check for dummy renderbuffer in _mesa_FramebufferRenderbufferEXT()</li>
154 <li>llvmpipe: make sure binning is active when we begin/end a query</li>
155 <li>st/mesa: fix incorrect fragcoord.x translation</li>
156 <li>softpipe: fix off-by-one error in setup_fragcoord_coeff()</li>
157 <li>cso: fix loop bound in cso_set_vertex_samplers()</li>
158 <li>st/mesa: fix incorrect glCopyPixels position on fallback path</li>
159 <li>st/mesa: set renderbuffer _BaseFormat in a few places</li>
160 <li>st/mesa: fix the default case in st_format_datatype()</li>
161 <li>st/mesa: need to translate clear color according to surface's base format</li>
162 <li>docs: update 7.9.2 release notes with Brian's cherry-picks</li>
163 <li>docs: add link to 7.10.1 release notes</li>
164 <li>mesa: implement glGetShaderPrecisionFormat()</li>
165 <li>docs: updated environment variable list</li>
166 </ul>
167
168 <p>Bryce Harrington (1):</p>
169 <ul>
170 <li>r300g: Null pointer check for buffer deref in gallium winsys</li>
171 </ul>
172
173 <p>Chad Versace (20):</p>
174 <ul>
175 <li>glsl: At link-time, check that globals have matching centroid qualifiers</li>
176 <li>glcpp: Fix segfault when validating macro redefinitions</li>
177 <li>glsl: Fix parser rule for type_specifier</li>
178 <li>glsl: Change default value of ast_type_specifier::precision</li>
179 <li>glsl: Add semantic checks for precision qualifiers</li>
180 <li>glsl: Add support for default precision statements</li>
181 <li>glsl: Remove redundant semantic check in parser</li>
182 <li>glsl: Fix semantic checks on precision qualifiers</li>
183 <li>glsl: Fix segfault due to missing printf argument</li>
184 <li>glsl: Mark 'in' variables at global scope as read-only</li>
185 <li>mesa: Refactor handling of extension strings</li>
186 <li>mesa: Add/remove extensions in extension string</li>
187 <li>mesa: Change dependencies of some OES extension strings</li>
188 <li>mesa: Change OES_point_sprite to depend on ARB_point_sprite</li>
189 <li>mesa: Change OES_standard_derivatives to be stand-alone extension</li>
190 <li>i915: Disable extension OES_standard_derivatives</li>
191 <li>glcpp: Raise error when modulus is zero</li>
192 <li>glsl: Set operators '%' and '%=' to be reserved when GLSL &lt; 1.30</li>
193 <li>glsl: Reinstate constant-folding for division by zero</li>
194 <li>tnl: Add support for datatype GL_FIXED in vertex arrays</li>
195 </ul>
196
197 <p>Chia-I Wu (1):</p>
198 <ul>
199 <li>mesa: Add glDepthRangef and glClearDepthf to APIspec.xml.</li>
200 </ul>
201
202 <p>Christoph Bumiller (1):</p>
203 <ul>
204 <li>nv50,nvc0: do not forget to apply sign mode to saved TGSI inputs</li>
205 </ul>
206
207 <p>Cyril Brulebois (1):</p>
208 <ul>
209 <li>Point to bugs.freedesktop.org rather than bugzilla.freedesktop.org</li>
210 </ul>
211
212 <p>Dave Airlie (3):</p>
213 <ul>
214 <li>radeon/r200: fix fbo-clearmipmap + gen-teximage</li>
215 <li>radeon: calculate complete texture state inside TFP function</li>
216 <li>radeon: avoid segfault on 3D textures.</li>
217 </ul>
218
219 <p>Dimitry Andric (4):</p>
220 <ul>
221 <li>mesa: s/movzx/movzbl/</li>
222 <li>mesa: s/movzxw/movzwl/ in read_rgba_span_x86.S</li>
223 <li>glapi: adding @ char before type specifier in glapi_x86.S</li>
224 <li>glapi: add @GOTPCREL relocation type</li>
225 </ul>
226
227 <p>Eric Anholt (16):</p>
228 <ul>
229 <li>glsl: Fix the lowering of variable array indexing to not lose write_masks.</li>
230 <li>i965/fs: When producing ir_unop_abs of an operand, strip negate.</li>
231 <li>i965/vs: When MOVing to produce ABS, strip negate of the operand.</li>
232 <li>i965/fs: Do flat shading when appropriate.</li>
233 <li>i965: Avoid double-negation of immediate values in the VS.</li>
234 <li>intel: Make renderbuffer tiling choice match texture tiling choice.</li>
235 <li>i965: Fix dead pointers to fp-&gt;Parameters-&gt;ParameterValues[] after realloc.</li>
236 <li>docs: Add a relnote for the Civ IV on i965.</li>
237 <li>glapi: Add entrypoints and enums for GL_ARB_ES2_compatibility.</li>
238 <li>mesa: Add extension enable bit for GL_ARB_ES2_compatibility.</li>
239 <li>mesa: Add actual support for glReleaseShaderCompiler from ES2.</li>
240 <li>mesa: Add support for glDepthRangef and glClearDepthf.</li>
241 <li>mesa: Add getters for ARB_ES2_compatibility MAX_*_VECTORS.</li>
242 <li>mesa: Add getter for GL_SHADER_COMPILER with ARB_ES2_compatibility.</li>
243 <li>i965: Fix a bug in i965 compute-to-MRF.</li>
244 <li>i965/fs: Add a helper function for detecting math opcodes.</li>
245 </ul>
246
247 <p>Fredrik Höglund (1):</p>
248 <ul>
249 <li>st/mesa: fix a regression from cae2bb76</li>
250 </ul>
251
252 <p>Ian Romanick (42):</p>
253 <ul>
254 <li>docs: Add 7.10 md5sums</li>
255 <li>glsl: Support the 'invariant(all)' pragma</li>
256 <li>glcpp: Generate an error for division by zero</li>
257 <li>glsl: Add version_string containing properly formatted GLSL version</li>
258 <li>glsl &amp; glcpp: Refresh autogenerated lexer and parser files.</li>
259 <li>glsl: Disallow 'in' and 'out' on globals in GLSL 1.20</li>
260 <li>glsl: Track variable usage, use that to enforce semantics</li>
261 <li>glsl: Allow 'in' and 'out' when 'layout' is also available</li>
262 <li>docs: Initial bits of 7.10.1 release notes</li>
263 <li>mesa: bump version to 7.10.1-devel</li>
264 <li>doc: Update 7.10.1 release notes</li>
265 <li>glsl: Emit errors or warnings when 'layout' is used with 'attribute' or 'varying'</li>
266 <li>docs: Update 7.10.1 release notes</li>
267 <li>glsl: Refresh autogenerated lexer and parser files.</li>
268 <li>glsl: Don't assert when the value returned by a function has no rvalue</li>
269 <li>linker: Set sizes for non-global arrays as well</li>
270 <li>linker: Propagate max_array_access while linking functions</li>
271 <li>docs: Update 7.10.1 release notes</li>
272 <li>mesa: glGetUniform only returns a single element of an array</li>
273 <li>linker: Generate link errors when ES shaders are missing stages</li>
274 <li>mesa: Fix error checks in GetVertexAttrib functions</li>
275 <li>Use C-style system headers in C++ code to avoid issues with std:: namespace</li>
276 <li>docs: Update 7.10.1 release notes</li>
277 <li>glapi: Regenerate for GL_ARB_ES2_compatibility.</li>
278 <li>mesa: Connect glGetShaderPrecisionFormat into the dispatch table</li>
279 <li>i965: Set correct values for range/precision of fragment shader types</li>
280 <li>i915: Set correct values for range/precision of fragment shader types</li>
281 <li>intel: Fix typeos from 3d028024 and 790ff232</li>
282 <li>glsl: Ensure that all GLSL versions are supported in the stand-alone compiler</li>
283 <li>glsl: Reject shader versions not supported by the implementation</li>
284 <li>mesa: Initial size for secondary color array is 3</li>
285 <li>glsl: Finish out the reduce/reduce error fixes</li>
286 <li>glsl: Regenerate compiler and glcpp files from cherry picks</li>
287 <li>linker: Fix off-by-one error implicit array sizing</li>
288 <li>docs: update 7.10.1 release notes with Ian's recent cherry picks</li>
289 <li>i915: Only mark a register as available if all components are written</li>
290 <li>i915: Calculate partial result to temp register first</li>
291 <li>i915: Force lowering of all types of indirect array accesses in the FS</li>
292 <li>docs: Update 7.10.1 with (hopefully) the last of the cherry picks</li>
293 <li>docs: Clean up bug fixes list</li>
294 <li>intel: Remove driver date and related bits from renderer string</li>
295 <li>mesa: set version string to 7.10.1 (final)</li>
296 </ul>
297
298 <p>Jian Zhao (1):</p>
299 <ul>
300 <li>mesa: fix an error in uniform arrays in row calculating.</li>
301 </ul>
302
303 <p>Julien Cristau (3):</p>
304 <ul>
305 <li>glx: fix request lengths</li>
306 <li>glx: fix GLXChangeDrawableAttributesSGIX request</li>
307 <li>glx: fix length of GLXGetFBConfigsSGIX</li>
308 </ul>
309
310 <p>Keith Packard (1):</p>
311 <ul>
312 <li>glsl: Eliminate reduce/reduce conflicts in glsl grammar</li>
313 </ul>
314
315 <p>Kenneth Graunke (20):</p>
316 <ul>
317 <li>glsl: Expose a public glsl_type::void_type const pointer.</li>
318 <li>glsl: Don't bother unsetting a destructor that was never set.</li>
319 <li>glsl, i965: Remove unnecessary talloc includes.</li>
320 <li>glcpp: Remove use of talloc reference counting.</li>
321 <li>ralloc: Add a fake implementation of ralloc based on talloc.</li>
322 <li>Convert everything from the talloc API to the ralloc API.</li>
323 <li>ralloc: a new MIT-licensed recursive memory allocator.</li>
324 <li>Remove talloc from the make and automake build systems.</li>
325 <li>Remove talloc from the SCons build system.</li>
326 <li>Remove the talloc sources from the Mesa repository.</li>
327 <li>glsl: Fix use of uninitialized values in _mesa_glsl_parse_state ctor.</li>
328 <li>i965/fs: Apply source modifier workarounds to POW as well.</li>
329 <li>i965: Fix shaders that write to gl_PointSize on Sandybridge.</li>
330 <li>i965/fs: Avoid register coalescing away gen6 MATH workarounds.</li>
331 <li>i965/fs: Correctly set up gl_FragCoord.w on Sandybridge.</li>
332 <li>i965: Increase Sandybridge point size clamp.</li>
333 <li>i965/fs: Refactor control flow stack handling.</li>
334 <li>i965: Increase Sandybridge point size clamp in the clip state.</li>
335 <li>glsl: Use reralloc instead of plain realloc.</li>
336 <li>Revert "i965/fs: Correctly set up gl_FragCoord.w on Sandybridge."</li>
337 </ul>
338
339 <p>Marek Olšák (4):</p>
340 <ul>
341 <li>docs: fix messed up names with special characters in relnotes-7.10</li>
342 <li>docs: fix messed up names with special characters in relnotes-7.9.1</li>
343 <li>mesa: fix texture3D mipmap generation for UNSIGNED_BYTE_3_3_2</li>
344 <li>st/dri: Track drawable context bindings</li>
345 </ul>
346
347 <p>Paulo Zanoni (1):</p>
348 <ul>
349 <li>dri_util: fail driCreateNewScreen if InitScreen is NULL</li>
350 </ul>
351
352 <p>Sam Hocevar (2):</p>
353 <ul>
354 <li>docs: add glsl info</li>
355 <li>docs: fix glsl_compiler name</li>
356 </ul>
357
358 <p>Tom Fogal (1):</p>
359 <ul>
360 <li>Regenerate gl_mangle.h.</li>
361 </ul>
362
363 <p>Tom Stellard (2):</p>
364 <ul>
365 <li>r300/compiler: Disable register rename pass on r500</li>
366 <li>r300/compiler: Don't erase sources when converting RGB-&gt;Alpha</li>
367 </ul>
368
369 <p>Vinson Lee (3):</p>
370 <ul>
371 <li>ralloc: Add missing va_end following va_copy.</li>
372 <li>mesa: Move declaration before code in extensions.c.</li>
373 <li>mesa: Move loop variable declarations outside for loop in extensions.c.</li>
374 </ul>
375
376 <p>nobled (1):</p>
377 <ul>
378 <li>glx: Put null check before use</li>
379 </ul>
380
381 </div>
382 </body>
383 </html>