Merge branch 'arb_sampler_objects'
[mesa.git] / docs / relnotes-7.9.2.html
1 <HTML>
2
3 <head>
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" />
7 </head>
8
9 <BODY>
10
11 <body bgcolor="#eeeeee">
12
13 <H1>Mesa 7.9.2 Release Notes / TBD</H1>
14
15 <p>
16 Mesa 7.9.2 is a bug fix release which fixes bugs found since the 7.9.1 release.
17 </p>
18 <p>
19 Mesa 7.9.2 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.
22 </p>
23 <p>
24 See the <a href="install.html">Compiling/Installing page</a> for prerequisites
25 for DRI hardware acceleration.
26 </p>
27
28
29 <h2>MD5 checksums</h2>
30 <pre>
31 eb4ab8c1a03386def3ea34b1358e9cda MesaLib-7.9.2.tar.gz
32 8f6d1474912787ce13bd35f3bae9938a MesaLib-7.9.2.tar.bz2
33 427a81dd43ac97603768dc5c6af3df26 MesaLib-7.9.2.zip
34 aacb8f4db997e346db40c6066942140a MesaGLUT-7.9.2.tar.gz
35 18abe6cff4fad8ad4752c7b7ab548e5d MesaGLUT-7.9.2.tar.bz2
36 3189e5732d636c71baf3d8bc23ce7b11 MesaGLUT-7.9.2.zip
37 </pre>
38
39
40 <h2>New features</h2>
41 <p>None.</p>
42
43 <h2>Bug fixes</h2>
44 <p>This list is likely incomplete.</p>
45 <ul>
46 <li>Fix an off-by-one bug in a vsplit assertion.</li>
47 <li>Fix incorrect handling of <tt>layout</tt> qualifier
48 with <tt>in</tt>, <tt>out</tt>, <tt>attribute</tt>, and <tt>varying</tt>.</li>
49
50 <li>Fix an i965 GPU hang in GLSL shaders that contain an unconditional <tt>discard</tt> statement.</li>
51
52 <li>Fix an i965 shader bug where the negative absolute value was generated instead of the absolute value of a negation.</li>
53
54 <li>Fix numerous issues handling precision qualifiers in GLSL ES.</li>
55
56 <li>Fixed a few GLX protocol encoder bugs (Julien Cristau)</li>
57
58 <li>Assorted Gallium llvmpipe driver bug fixes</li>
59
60 <li>Assorted Mesa/Gallium state tracker bug fixes</li>
61
62 <li><a href="https://bugs.freedesktop.org/show_bug.cgi?id=26795">Bug 26795</a> - gl_FragCoord off by one in Gallium drivers.</li>
63
64 <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>
65
66 <li><a href="https://bugs.freedesktop.org/show_bug.cgi?id=29823">Bug 29823</a> - GetUniform[if]v busted</li>
67
68 <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>
69
70 <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>
71
72 <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>
73
74 <li><a href="https://bugs.freedesktop.org/show_bug.cgi?id=31925">Bug 31925</a> - [GLSL 1.20] "#pragma STDGL invariant(all)" fail</li>
75
76 <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>
77
78 <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>
79
80 <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>
81
82 <li><a href="https://bugs.freedesktop.org/show_bug.cgi?id=32569">Bug 32569</a> - [gles2] glGetShaderPrecisionFormat not implemented yet</li>
83
84 <li><a href="https://bugs.freedesktop.org/show_bug.cgi?id=32695">Bug 32695</a> - [glsl] SIGSEGV glcpp/glcpp-parse.y:833</li>
85
86 <li><a href="https://bugs.freedesktop.org/show_bug.cgi?id=32831">Bug 32831</a> - [glsl] division by zero crashes GLSL compiler</li>
87
88 <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>
89
90 <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>
91
92 <li><a href="https://bugs.freedesktop.org/show_bug.cgi?id=33306">Bug 33306</a> - GLSL integer division by zero crashes GLSL compiler</li>
93
94 <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>
95
96 <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>
97
98 <li><a href="https://bugs.freedesktop.org/show_bug.cgi?id=33386">Bug 33386</a> - Dubious assembler in read_rgba_span_x86.S</li>
99
100 <li><a href="https://bugs.freedesktop.org/show_bug.cgi?id=33388">Bug 33388</a> - Dubious assembler in xform4.S</li>
101
102 <li><a href="https://bugs.freedesktop.org/show_bug.cgi?id=33433">Bug 33433</a> - Error in x86-64 API dispatch code.</li>
103
104 <li><a href="https://bugs.freedesktop.org/show_bug.cgi?id=33507">Bug 33507</a> - [glsl] GLSL preprocessor modulus by zero crash</li>
105
106 <li><a href="https://bugs.freedesktop.org/show_bug.cgi?id=33508">Bug 33508</a> - [glsl] GLSL compiler modulus by zero crash</li>
107
108 <li><a href="https://bugs.freedesktop.org/show_bug.cgi?id=33916">Bug 33916</a> - Compiler accepts reserved operators % and %=</li>
109
110 <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>
111
112 <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>
113
114 <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>
115
116 <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>
117
118 <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>
119
120 <!-- <li><a href="https://bugs.freedesktop.org/show_bug.cgi?id=">Bug </a> - </li> -->
121
122 </ul>
123
124
125 <h2>Changes</h2>
126 <p>The full set of changes can be viewed by using the following GIT command:</p>
127
128 <pre>
129 git log mesa-7.9.1..mesa-7.9.2
130 </pre>
131
132 <p>Alberto Milone (1):
133 <ul>
134 <li>r600c: add evergreen ARL support.</li>
135 </ul></p>
136
137 <p>Brian Paul (19):
138 <ul>
139 <li>draw: Fix an off-by-one bug in a vsplit assertion.</li>
140 <li>mesa: fix a few format table mistakes, assertions</li>
141 <li>mesa: fix num_draw_buffers==0 in fixed-function fragment program generation</li>
142 <li>mesa: don't assert in GetIntegerIndexed, etc</li>
143 <li>mesa: check for dummy renderbuffer in _mesa_FramebufferRenderbufferEXT()</li>
144 <li>llvmpipe: make sure binning is active when we begin/end a query</li>
145 <li>st/mesa: fix incorrect fragcoord.x translation</li>
146 <li>softpipe: fix off-by-one error in setup_fragcoord_coeff()</li>
147 <li>cso: fix loop bound in cso_set_vertex_samplers()</li>
148 <li>st/mesa: set renderbuffer _BaseFormat in a few places</li>
149 <li>st/mesa: fix the default case in st_format_datatype()</li>
150 <li>st/mesa: need to translate clear color according to surface's base format</li>
151 <li>docs: update 7.9.2 release notes with Brian's cherry-picks</li>
152 <li>docs: add links to 7.9.1 and 7.9.2 release notes</li>
153 <li>mesa: include compiler.h for ASSERT macro</li>
154 <li>glsl: add ir_shader case in switch stmt to silence warning</li>
155 <li>glsl2: fix signed/unsigned comparison warning</li>
156 <li>mesa: implement glGetShaderPrecisionFormat()</li>
157 <li>docs: updated environment variable list</li>
158 </ul></p>
159
160 <p>Bryce Harrington (1):
161 <ul>
162 <li>r300g: Null pointer check for buffer deref in gallium winsys</li>
163 </ul></p>
164
165 <p>Chad Versace (14):
166 <ul>
167 <li>glsl: At link-time, check that globals have matching centroid qualifiers</li>
168 <li>glcpp: Fix segfault when validating macro redefinitions</li>
169 <li>glsl: Fix parser rule for type_specifier</li>
170 <li>glsl: Change default value of ast_type_specifier::precision</li>
171 <li>glsl: Add semantic checks for precision qualifiers</li>
172 <li>glsl: Add support for default precision statements</li>
173 <li>glsl: Remove redundant semantic check in parser</li>
174 <li>glsl: Fix semantic checks on precision qualifiers</li>
175 <li>glsl: Fix segfault due to missing printf argument</li>
176 <li>glsl: Mark 'in' variables at global scope as read-only</li>
177 <li>glcpp: Raise error when modulus is zero</li>
178 <li>glsl: Set operators '%' and '%=' to be reserved when GLSL &lt 1.30</li>
179 <li>glsl: Reinstate constant-folding for division by zero</li>
180 <li>tnl: Add support for datatype GL_FIXED in vertex arrays</li>
181 </ul></p>
182
183 <p>Chia-I Wu (1):
184 <ul>
185 <li>mesa: Add glDepthRangef and glClearDepthf to APIspec.xml.</li>
186 </ul></p>
187
188 <p>Chris Wilson (1):
189 <ul>
190 <li>intel: Check for unsupported texture when finishing using as a render target</li>
191 </ul></p>
192
193 <p>Cyril Brulebois (1):
194 <ul>
195 <li>Point to bugs.freedesktop.org rather than bugzilla.freedesktop.org</li>
196 </ul></p>
197
198 <p>Dave Airlie (2):
199 <ul>
200 <li>radeon/r200: fix fbo-clearmipmap + gen-teximage</li>
201 <li>radeon: avoid segfault on 3D textures.</li>
202 </ul></p>
203
204 <p>Dimitry Andric (4):
205 <ul>
206 <li>mesa: s/movzx/movzbl/</li>
207 <li>mesa: s/movzxw/movzwl/ in read_rgba_span_x86.S</li>
208 <li>glapi: adding @ char before type specifier in glapi_x86.S</li>
209 <li>glapi: add @GOTPCREL relocation type</li>
210 </ul></p>
211
212 <p>Eric Anholt (11):
213 <ul>
214 <li>i965: Avoid double-negation of immediate values in the VS.</li>
215 <li>docs: Add a relnote for the Civ IV on i965.</li>
216 <li>i965/vs: When MOVing to produce ABS, strip negate of the operand.</li>
217 <li>glsl: Fix the lowering of variable array indexing to not lose write_masks.</li>
218 <li>intel: Make renderbuffer tiling choice match texture tiling choice.</li>
219 <li>glapi: Add entrypoints and enums for GL_ARB_ES2_compatibility.</li>
220 <li>mesa: Add extension enable bit for GL_ARB_ES2_compatibility.</li>
221 <li>mesa: Add actual support for glReleaseShaderCompiler from ES2.</li>
222 <li>mesa: Add support for glDepthRangef and glClearDepthf.</li>
223 <li>mesa: Add getters for ARB_ES2_compatibility MAX_*_VECTORS.</li>
224 <li>mesa: Add getter for GL_SHADER_COMPILER with ARB_ES2_compatibility.</li>
225 </ul></p>
226
227 <p>Ian Romanick (42):
228 <ul>
229 <li>docs: Add 7.9.1 md5sums</li>
230 <li>glsl: Support the 'invariant(all)' pragma</li>
231 <li>glcpp: Generate an error for division by zero</li>
232 <li>glsl: Add version_string containing properly formatted GLSL version</li>
233 <li>glsl &amp; glcpp: Refresh autogenerated lexer and parser files.</li>
234 <li>glsl: Disallow 'in' and 'out' on globals in GLSL 1.20</li>
235 <li>glsl: Track variable usage, use that to enforce semantics</li>
236 <li>glsl: Allow 'in' and 'out' when 'layout' is also available</li>
237 <li>docs: Initial set of release notes for 7.9.2</li>
238 <li>mesa: bump version to 7.9.2-devel</li>
239 <li>docs: Update 7.9.2 release notes</li>
240 <li>i965: Make OPCODE_KIL_NV do its work in a temp, not the null reg!</li>
241 <li>glsl: Refresh autogenerated lexer and parser files.</li>
242 <li>glsl: Don't assert when the value returned by a function has no rvalue</li>
243 <li>linker: Set sizes for non-global arrays as well</li>
244 <li>linker: Propagate max_array_access while linking functions</li>
245 <li>docs: Update 7.9.2 release notes</li>
246 <li>Use C-style system headers in C++ code to avoid issues with std:: namespace</li>
247 <li>mesa: glGetUniform only returns a single element of an array</li>
248 <li>linker: Generate link errors when ES shaders are missing stages</li>
249 <li>mesa: Fix error checks in GetVertexAttrib functions</li>
250 <li>docs: Update 7.9.2 release notes</li>
251 <li>mesa: Remove unsupported OES extensions</li>
252 <li>glapi: Regenerate for GL_ARB_ES2_compatibility.</li>
253 <li>mesa: Connect glGetShaderPrecisionFormat into the dispatch table</li>
254 <li>i965: Set correct values for range/precision of fragment shader types</li>
255 <li>i915: Set correct values for range/precision of fragment shader types</li>
256 <li>intel: Fix typeos from 3d028024 and 790ff232</li>
257 <li>glsl: Ensure that all GLSL versions are supported in the stand-alone compiler</li>
258 <li>glsl: Reject shader versions not supported by the implementation</li>
259 <li>mesa: Initial size for secondary color array is 3</li>
260 <li>glcpp: Regenerate files from recent cherry picks</li>
261 <li>glsl: Finish out the reduce/reduce error fixes</li>
262 <li>glsl: Regenerate compiler files from cherry picks</li>
263 <li>linker: Fix off-by-one error implicit array sizing</li>
264 <li>i915: Only mark a register as available if all components are written</li>
265 <li>i915: Calculate partial result to temp register first</li>
266 <li>i915: Force lowering of all types of indirect array accesses in the FS</li>
267 <li>docs: Update 7.9.2 release notes for recent cherry picks</li>
268 <li>docs: Clean up bug fixes list</li>
269 <li>intel: Remove driver date and related bits from renderer string</li>
270 <li>mesa: set version string to 7.9.2 (final)</li>
271 </ul></p>
272
273 <p>Jian Zhao (1):
274 <ul>
275 <li>mesa: fix an error in uniform arrays in row calculating.</li>
276 </ul></p>
277
278 <p>Julien Cristau (3):
279 <ul>
280 <li>glx: fix request lengths</li>
281 <li>glx: fix GLXChangeDrawableAttributesSGIX request</li>
282 <li>glx: fix length of GLXGetFBConfigsSGIX</li>
283 </ul></p>
284
285 <p>Keith Packard (1):
286 <ul>
287 <li>glsl: Eliminate reduce/reduce conflicts in glsl grammar</li>
288 </ul></p>
289
290 <p>Kenneth Graunke (12):
291 <ul>
292 <li>glsl: Expose a public glsl_type::void_type const pointer.</li>
293 <li>glsl: Don't bother unsetting a destructor that was never set.</li>
294 <li>glsl, i965: Remove unnecessary talloc includes.</li>
295 <li>glcpp: Remove use of talloc reference counting.</li>
296 <li>ralloc: Add a fake implementation of ralloc based on talloc.</li>
297 <li>Convert everything from the talloc API to the ralloc API.</li>
298 <li>ralloc: a new MIT-licensed recursive memory allocator.</li>
299 <li>Remove talloc from the make and automake build systems.</li>
300 <li>Remove talloc from the SCons build system.</li>
301 <li>Remove the talloc sources from the Mesa repository.</li>
302 <li>glsl: Fix use of uninitialized values in _mesa_glsl_parse_state ctor.</li>
303 <li>glsl: Use reralloc instead of plain realloc.</li>
304 </ul></p>
305
306 <p>Marek Olšák (3):
307 <ul>
308 <li>docs: fix messed up names with special characters in relnotes-7.9.1</li>
309 <li>mesa: fix texture3D mipmap generation for UNSIGNED_BYTE_3_3_2</li>
310 <li>st/dri: Track drawable context bindings</li>
311 </ul></p>
312
313 <p>Paulo Zanoni (1):
314 <ul>
315 <li>dri_util: fail driCreateNewScreen if InitScreen is NULL</li>
316 </ul></p>
317
318 <p>Sam Hocevar (2):
319 <ul>
320 <li>docs: add glsl info</li>
321 <li>docs: fix glsl_compiler name</li>
322 </ul></p>
323
324 <p>Vinson Lee (1):
325 <ul>
326 <li>ralloc: Add missing va_end following va_copy.</li>
327 </ul></p>
328
329 <p>nobled (1):
330 <ul>
331 <li>glx: Put null check before use</li>
332 </ul></p>
333 </p>
334
335 </body>
336 </html>