nvc0: expose robust buffer access
authorIlia Mirkin <imirkin@alum.mit.edu>
Tue, 17 May 2016 05:30:52 +0000 (01:30 -0400)
committerIlia Mirkin <imirkin@alum.mit.edu>
Tue, 24 May 2016 02:22:05 +0000 (22:22 -0400)
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 <imirkin@alum.mit.edu>
docs/GL3.txt
docs/relnotes/11.3.0.html
src/gallium/drivers/nouveau/nvc0/nvc0_screen.c

index ff940ff3f8ecc171f332e44eb7bd9f94df1e2692..aa58e4acba96e3ba3d9df06de9a8963901bd98ff 100644 (file)
@@ -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)
index bbf1a35c4fbccc2a3637007b048dd8ed13e089aa..281b84ce72738dbf60d19d5927d5c76516ea9cec 100644 (file)
@@ -50,7 +50,7 @@ Note: some of the new features are only available with certain drivers.
 <li>GL_ARB_framebuffer_no_attachments on nvc0, r600, radeonsi, softpipe</li>
 <li>GL_ARB_internalformat_query2 on all drivers</li>
 <li>GL_ARB_query_buffer_object on i965/hsw+</li>
-<li>GL_ARB_robust_buffer_access_behavior on radeonsi</li>
+<li>GL_ARB_robust_buffer_access_behavior on i965, nvc0, radeonsi</li>
 <li>GL_ARB_shader_atomic_counters on radeonsi, softpipe</li>
 <li>GL_ARB_shader_atomic_counter_ops on nvc0, radeonsi, softpipe</li>
 <li>GL_ARB_shader_image_load_store on radeonsi, softpipe</li>
index 8c06061c620b7f605713743d6a0d1d491ef70d48..7d692ea3b7234219594bb625d7969c0058f6b76e 100644 (file)
@@ -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: