[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[Git][xorg-team/lib/mesa][upstream-unstable] 3 commits: mesa: check framebuffer completeness only after state update



Title: GitLab

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

Commits:

3 changed files:

Changes:

  • VERSION
    1
    -19.2.3
    1
    +19.2.4

  • docs/relnotes/19.2.4.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 19.2.4 Release Notes / 2019-11-13</h1>
    
    18
    +
    
    19
    +<p>
    
    20
    +    Mesa 19.2.4 is an emergency bug fix release to fix on ciritcal bug in 19.2.3.
    
    21
    +</p>
    
    22
    +<p>
    
    23
    +Mesa 19.2.4 implements the OpenGL 4.5 API, but the version reported by
    
    24
    +glGetString(GL_VERSION) or glGetIntegerv(GL_MAJOR_VERSION) /
    
    25
    +glGetIntegerv(GL_MINOR_VERSION) depends on the particular driver being used.
    
    26
    +Some drivers don't support all the features required in OpenGL 4.5. OpenGL
    
    27
    +4.5 is <strong>only</strong> available if requested at context creation.
    
    28
    +Compatibility contexts may report a lower version depending on each driver.
    
    29
    +</p>
    
    30
    +<p>
    
    31
    +Mesa 19.2.4 implements the Vulkan 1.1 API, but the version reported by
    
    32
    +the apiVersion property of the VkPhysicalDeviceProperties struct
    
    33
    +depends on the particular driver being used.
    
    34
    +</p>
    
    35
    +
    
    36
    +<h2>SHA256 checksum</h2>
    
    37
    +<pre>
    
    38
    +TBD.
    
    39
    +</pre>
    
    40
    +
    
    41
    +
    
    42
    +<h2>New features</h2>
    
    43
    +
    
    44
    +<ul>
    
    45
    +    <li>None</li>
    
    46
    +</ul>
    
    47
    +
    
    48
    +<h2>Bug fixes</h2>
    
    49
    +
    
    50
    +<ul>
    
    51
    +    <li>Dirt Rally: Menu system doesn&#x27;t show up with Mesa 19.2.3</li>
    
    52
    +</ul>
    
    53
    +
    
    54
    +<h2>Changes</h2>
    
    55
    +
    
    56
    +<ul>
    
    57
    +    <p>Lionel Landwerlin (1):</p>
    
    58
    +    <li>      mesa: check framebuffer completeness only after state update</li>
    
    59
    +    <p></p>
    
    60
    +    <p></p>
    
    61
    +</ul>
    
    62
    +
    
    63
    +</div>
    
    64
    +</body>
    
    65
    +</html>

  • src/mesa/main/clear.c
    ... ... @@ -692,12 +692,6 @@ clear_bufferfi(struct gl_context *ctx, GLenum buffer, GLint drawbuffer,
    692 692
                          drawbuffer);
    
    693 693
              return;
    
    694 694
           }
    
    695
    -
    
    696
    -      if (ctx->DrawBuffer->_Status != GL_FRAMEBUFFER_COMPLETE_EXT) {
    
    697
    -         _mesa_error(ctx, GL_INVALID_FRAMEBUFFER_OPERATION_EXT,
    
    698
    -                     "glClearBufferfi(incomplete framebuffer)");
    
    699
    -         return;
    
    700
    -      }
    
    701 695
        }
    
    702 696
     
    
    703 697
        if (ctx->RasterDiscard)
    
    ... ... @@ -707,6 +701,12 @@ clear_bufferfi(struct gl_context *ctx, GLenum buffer, GLint drawbuffer,
    707 701
           _mesa_update_state( ctx );
    
    708 702
        }
    
    709 703
     
    
    704
    +   if (!no_error && ctx->DrawBuffer->_Status != GL_FRAMEBUFFER_COMPLETE_EXT) {
    
    705
    +      _mesa_error(ctx, GL_INVALID_FRAMEBUFFER_OPERATION_EXT,
    
    706
    +                  "glClearBufferfi(incomplete framebuffer)");
    
    707
    +      return;
    
    708
    +   }
    
    709
    +
    
    710 710
        if (ctx->DrawBuffer->Attachment[BUFFER_DEPTH].Renderbuffer)
    
    711 711
           mask |= BUFFER_BIT_DEPTH;
    
    712 712
        if (ctx->DrawBuffer->Attachment[BUFFER_STENCIL].Renderbuffer)
    


  • Reply to: