Timo Aaltonen pushed to branch debian-unstable at X Strike Force / lib / mesa


Commits:
330d31f6 by Lionel Landwerlin at 2019-11-13T18:34:47Z
mesa: check framebuffer completeness only after state update

The change made in 88d665830f27 ("mesa: check draw buffer completeness
on glClearBufferfi/glClearBufferiv") correctly updated the state prior
to checking the framebuffer completeness on glClearBufferiv but not in
glClearBufferfi.

Signed-off-by: Lionel Landwerlin <[email protected]>
Reviewed-by: Anuj Phogat <[email protected]>
Fixes: 88d665830f27 ("mesa: check draw buffer completeness on 
glClearBufferfi/glClearBufferiv")
Closes: https://gitlab.freedesktop.org/mesa/mesa/issues/2072
(cherry picked from commit f93bb903020bac21a36e240b2c19a4733c2405ee)

- - - - -
cebe2b12 by Dylan Baker at 2019-11-13T18:38:40Z
docs: Add release notes for 19.2.4

- - - - -
6f1b8e55 by Dylan Baker at 2019-11-13T18:38:55Z
VERSION: bump to 19.2.4

- - - - -
3b37d5ec by Timo Aaltonen at 2019-11-18T12:45:40Z
Merge branch 'upstream-unstable' into debian-unstable

- - - - -
7026b0bf by Timo Aaltonen at 2019-11-18T12:47:23Z
bump the version

- - - - -
71d0c36f by Timo Aaltonen at 2019-11-18T13:25:36Z
release to sid

- - - - -


4 changed files:

- VERSION
- debian/changelog
- + docs/relnotes/19.2.4.html
- src/mesa/main/clear.c


Changes:

=====================================
VERSION
=====================================
@@ -1 +1 @@
-19.2.3
+19.2.4


=====================================
debian/changelog
=====================================
@@ -1,3 +1,9 @@
+mesa (19.2.4-1) unstable; urgency=medium
+
+  * New upstream release. (Closes: #944880)
+
+ -- Timo Aaltonen <[email protected]>  Mon, 18 Nov 2019 15:25:12 +0200
+
 mesa (19.2.3-1) unstable; urgency=medium
 
   * New upstream release.


=====================================
docs/relnotes/19.2.4.html
=====================================
@@ -0,0 +1,65 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" 
"http://www.w3.org/TR/html4/loose.dtd";>
+<html lang="en">
+<head>
+<meta http-equiv="content-type" content="text/html; charset=utf-8">
+<title>Mesa Release Notes</title>
+<link rel="stylesheet" type="text/css" href="../mesa.css">
+</head>
+<body>
+
+<div class="header">
+<h1>The Mesa 3D Graphics Library</h1>
+</div>
+
+<iframe src="../contents.html"></iframe>
+<div class="content">
+
+<h1>Mesa 19.2.4 Release Notes / 2019-11-13</h1>
+
+<p>
+    Mesa 19.2.4 is an emergency bug fix release to fix on ciritcal bug in 
19.2.3.
+</p>
+<p>
+Mesa 19.2.4 implements the OpenGL 4.5 API, but the version reported by
+glGetString(GL_VERSION) or glGetIntegerv(GL_MAJOR_VERSION) /
+glGetIntegerv(GL_MINOR_VERSION) depends on the particular driver being used.
+Some drivers don't support all the features required in OpenGL 4.5. OpenGL
+4.5 is <strong>only</strong> available if requested at context creation.
+Compatibility contexts may report a lower version depending on each driver.
+</p>
+<p>
+Mesa 19.2.4 implements the Vulkan 1.1 API, but the version reported by
+the apiVersion property of the VkPhysicalDeviceProperties struct
+depends on the particular driver being used.
+</p>
+
+<h2>SHA256 checksum</h2>
+<pre>
+TBD.
+</pre>
+
+
+<h2>New features</h2>
+
+<ul>
+    <li>None</li>
+</ul>
+
+<h2>Bug fixes</h2>
+
+<ul>
+    <li>Dirt Rally: Menu system doesn&#x27;t show up with Mesa 19.2.3</li>
+</ul>
+
+<h2>Changes</h2>
+
+<ul>
+    <p>Lionel Landwerlin (1):</p>
+    <li>      mesa: check framebuffer completeness only after state update</li>
+    <p></p>
+    <p></p>
+</ul>
+
+</div>
+</body>
+</html>


=====================================
src/mesa/main/clear.c
=====================================
@@ -692,12 +692,6 @@ clear_bufferfi(struct gl_context *ctx, GLenum buffer, 
GLint drawbuffer,
                      drawbuffer);
          return;
       }
-
-      if (ctx->DrawBuffer->_Status != GL_FRAMEBUFFER_COMPLETE_EXT) {
-         _mesa_error(ctx, GL_INVALID_FRAMEBUFFER_OPERATION_EXT,
-                     "glClearBufferfi(incomplete framebuffer)");
-         return;
-      }
    }
 
    if (ctx->RasterDiscard)
@@ -707,6 +701,12 @@ clear_bufferfi(struct gl_context *ctx, GLenum buffer, 
GLint drawbuffer,
       _mesa_update_state( ctx );
    }
 
+   if (!no_error && ctx->DrawBuffer->_Status != GL_FRAMEBUFFER_COMPLETE_EXT) {
+      _mesa_error(ctx, GL_INVALID_FRAMEBUFFER_OPERATION_EXT,
+                  "glClearBufferfi(incomplete framebuffer)");
+      return;
+   }
+
    if (ctx->DrawBuffer->Attachment[BUFFER_DEPTH].Renderbuffer)
       mask |= BUFFER_BIT_DEPTH;
    if (ctx->DrawBuffer->Attachment[BUFFER_STENCIL].Renderbuffer)



View it on GitLab: 
https://salsa.debian.org/xorg-team/lib/mesa/compare/7a0175de1820b486d2ae1ee81ab4aaf747e91dfb...71d0c36fd4cf2e2f65718ee7a85f2ee4b219759d

-- 
View it on GitLab: 
https://salsa.debian.org/xorg-team/lib/mesa/compare/7a0175de1820b486d2ae1ee81ab4aaf747e91dfb...71d0c36fd4cf2e2f65718ee7a85f2ee4b219759d
You're receiving this email because of your account on salsa.debian.org.


Reply via email to