From cdb6fa91fa79c0c9a796730e9ecae320bebdb825 Mon Sep 17 00:00:00 2001 From: Ilia Mirkin Date: Sat, 23 Jan 2016 08:37:03 -0500 Subject: [PATCH] nvc0: handle the case where there are no framebuffer attachments Signed-off-by: Ilia Mirkin --- docs/GL3.txt | 4 +-- docs/relnotes/11.3.0.html | 2 +- .../drivers/nouveau/nvc0/nvc0_program.c | 7 ++++ .../drivers/nouveau/nvc0/nvc0_screen.c | 8 ++++- .../nouveau/nvc0/nvc0_state_validate.c | 36 +++++++++++++------ .../drivers/nouveau/nvc0/nvc0_surface.c | 4 +++ 6 files changed, 47 insertions(+), 14 deletions(-) diff --git a/docs/GL3.txt b/docs/GL3.txt index c48802a9f7b..81ece662349 100644 --- a/docs/GL3.txt +++ b/docs/GL3.txt @@ -172,7 +172,7 @@ GL 4.3, GLSL 4.30: GL_KHR_debug DONE (all drivers) GL_ARB_explicit_uniform_location DONE (all drivers that support GLSL) GL_ARB_fragment_layer_viewport DONE (i965, nv50, nvc0, r600, radeonsi, llvmpipe) - GL_ARB_framebuffer_no_attachments DONE (i965, r600, radeonsi) + GL_ARB_framebuffer_no_attachments DONE (i965, nvc0, r600, radeonsi) GL_ARB_internalformat_query2 DONE (all drivers) GL_ARB_invalidate_subdata DONE (all drivers) GL_ARB_multi_draw_indirect DONE (i965, nvc0, r600, radeonsi, llvmpipe, softpipe) @@ -228,7 +228,7 @@ GLES3.1, GLSL ES 3.1 GL_ARB_compute_shader DONE (i965) GL_ARB_draw_indirect DONE (i965, nvc0, r600, radeonsi, llvmpipe, softpipe) GL_ARB_explicit_uniform_location DONE (all drivers that support GLSL) - GL_ARB_framebuffer_no_attachments DONE (i965) + GL_ARB_framebuffer_no_attachments DONE (i965, nvc0, r600, radeonsi) GL_ARB_program_interface_query DONE (all drivers) GL_ARB_shader_atomic_counters DONE (i965, nvc0) GL_ARB_shader_image_load_store DONE (i965) diff --git a/docs/relnotes/11.3.0.html b/docs/relnotes/11.3.0.html index d56f6553fe9..971b17af5ab 100644 --- a/docs/relnotes/11.3.0.html +++ b/docs/relnotes/11.3.0.html @@ -44,7 +44,7 @@ Note: some of the new features are only available with certain drivers.