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