mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 05:18:08 +02:00
mesa/st: handle renderbuffer with null zsbuf
this matches cbuf handling
Fixes: 2eb45daa9c ("gallium: de-pointerize pipe_surface")
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35941>
This commit is contained in:
parent
3925e53efe
commit
956d3f1562
2 changed files with 3 additions and 6 deletions
|
|
@ -104,11 +104,8 @@ spec@ext_external_objects@vk-semaphores-2,Crash
|
|||
# Value in failed request: 0x1e
|
||||
# Serial number of failed request: 1177
|
||||
# Current serial number in output stream: 1181
|
||||
#glx@glx-visuals-depth -pixmap,Fail
|
||||
#glx@glx-visuals-stencil -pixmap,Fail
|
||||
# undebuggable corner case from !34054
|
||||
glx@glx-visuals-depth -pixmap,Crash
|
||||
glx@glx-visuals-stencil -pixmap,Crash
|
||||
glx@glx-visuals-depth -pixmap,Fail
|
||||
glx@glx-visuals-stencil -pixmap,Fail
|
||||
|
||||
# New failures with GL CTS 4.6.6.0
|
||||
KHR-GL46.direct_state_access.vertex_arrays_vertex_buffers_errors,Fail
|
||||
|
|
|
|||
|
|
@ -187,7 +187,7 @@ st_update_framebuffer_state( struct st_context *st )
|
|||
if (!rb)
|
||||
rb = fb->Attachment[BUFFER_STENCIL].Renderbuffer;
|
||||
|
||||
if (rb) {
|
||||
if (rb && rb->texture) {
|
||||
if (rb->is_rtt) {
|
||||
/* rendering to a GL texture, may have to update surface */
|
||||
_mesa_update_renderbuffer_surface(ctx, rb);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue