From f236f1f506f06440886450392f01992998fca7af Mon Sep 17 00:00:00 2001 From: Ilia Mirkin Date: Tue, 17 May 2016 01:30:52 -0400 Subject: [PATCH] nvc0: expose robust buffer access We apparently pass all the relevant CTS tests. There are probably some shortcomings, but they can be addressed down the line. Signed-off-by: Ilia Mirkin --- docs/GL3.txt | 2 +- docs/relnotes/11.3.0.html | 2 +- src/gallium/drivers/nouveau/nvc0/nvc0_screen.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/GL3.txt b/docs/GL3.txt index ff940ff3f8e..aa58e4acba9 100644 --- a/docs/GL3.txt +++ b/docs/GL3.txt @@ -177,7 +177,7 @@ GL 4.3, GLSL 4.30: GL_ARB_invalidate_subdata DONE (all drivers) GL_ARB_multi_draw_indirect DONE (i965, nvc0, r600, radeonsi, llvmpipe, softpipe, swr) GL_ARB_program_interface_query DONE (all drivers) - GL_ARB_robust_buffer_access_behavior DONE (i965, radeonsi) + GL_ARB_robust_buffer_access_behavior DONE (i965, nvc0, radeonsi) GL_ARB_shader_image_size DONE (i965, radeonsi, softpipe) GL_ARB_shader_storage_buffer_object DONE (i965, nvc0, radeonsi, softpipe) GL_ARB_stencil_texturing DONE (i965/gen8+, nv50, nvc0, r600, radeonsi, llvmpipe, softpipe, swr) diff --git a/docs/relnotes/11.3.0.html b/docs/relnotes/11.3.0.html index bbf1a35c4fb..281b84ce727 100644 --- a/docs/relnotes/11.3.0.html +++ b/docs/relnotes/11.3.0.html @@ -50,7 +50,7 @@ Note: some of the new features are only available with certain drivers.
  • GL_ARB_framebuffer_no_attachments on nvc0, r600, radeonsi, softpipe
  • GL_ARB_internalformat_query2 on all drivers
  • GL_ARB_query_buffer_object on i965/hsw+
  • -
  • GL_ARB_robust_buffer_access_behavior on radeonsi
  • +
  • GL_ARB_robust_buffer_access_behavior on i965, nvc0, radeonsi
  • GL_ARB_shader_atomic_counters on radeonsi, softpipe
  • GL_ARB_shader_atomic_counter_ops on nvc0, radeonsi, softpipe
  • GL_ARB_shader_image_load_store on radeonsi, softpipe
  • diff --git a/src/gallium/drivers/nouveau/nvc0/nvc0_screen.c b/src/gallium/drivers/nouveau/nvc0/nvc0_screen.c index 8c06061c620..7d692ea3b72 100644 --- a/src/gallium/drivers/nouveau/nvc0/nvc0_screen.c +++ b/src/gallium/drivers/nouveau/nvc0/nvc0_screen.c @@ -229,6 +229,7 @@ nvc0_screen_get_param(struct pipe_screen *pscreen, enum pipe_cap param) case PIPE_CAP_FRAMEBUFFER_NO_ATTACHMENT: case PIPE_CAP_CULL_DISTANCE: case PIPE_CAP_PRIMITIVE_RESTART_FOR_PATCHES: + case PIPE_CAP_ROBUST_BUFFER_ACCESS_BEHAVIOR: return 1; case PIPE_CAP_SEAMLESS_CUBE_MAP_PER_TEXTURE: return (class_3d >= NVE4_3D_CLASS) ? 1 : 0; @@ -260,7 +261,6 @@ nvc0_screen_get_param(struct pipe_screen *pscreen, enum pipe_cap param) case PIPE_CAP_PCI_BUS: case PIPE_CAP_PCI_DEVICE: case PIPE_CAP_PCI_FUNCTION: - case PIPE_CAP_ROBUST_BUFFER_ACCESS_BEHAVIOR: return 0; case PIPE_CAP_VENDOR_ID: -- 2.30.2