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