r600: export robust buffer access
authorDave Airlie <airlied@redhat.com>
Fri, 3 Nov 2017 01:53:36 +0000 (11:53 +1000)
committerDave Airlie <airlied@redhat.com>
Mon, 18 Dec 2017 04:30:11 +0000 (04:30 +0000)
Signed-off-by: Dave Airlie <airlied@redhat.com>
docs/features.txt
src/gallium/drivers/r600/r600_pipe.c

index f5541d0342c7543858abbe27b8d755cff32599a8..407aaf07d7c692a995256447ed3f48446b7d8dde 100644 (file)
@@ -177,7 +177,7 @@ GL 4.3, GLSL 4.30 -- all DONE: i965/gen8+, nvc0, radeonsi
   GL_ARB_invalidate_subdata                             DONE (all drivers)
   GL_ARB_multi_draw_indirect                            DONE (freedreno, i965, r600, llvmpipe, softpipe, swr)
   GL_ARB_program_interface_query                        DONE (all drivers)
-  GL_ARB_robust_buffer_access_behavior                  DONE (i965)
+  GL_ARB_robust_buffer_access_behavior                  DONE (i965, r600)
   GL_ARB_shader_image_size                              DONE (freedreno/a5xx, i965, r600, softpipe)
   GL_ARB_shader_storage_buffer_object                   DONE (freedreno/a5xx, i965, r600, softpipe)
   GL_ARB_stencil_texturing                              DONE (freedreno, i965/hsw+, nv50, r600, llvmpipe, softpipe, swr)
index e285608bc7467aebe75eafbb26bbecd0f349ea79..fa25536a2ffa6d902bf1d12e7b82d555862dc15c 100644 (file)
@@ -301,6 +301,7 @@ static int r600_get_param(struct pipe_screen* pscreen, enum pipe_cap param)
        case PIPE_CAP_TGSI_MUL_ZERO_WINS:
        case PIPE_CAP_CAN_BIND_CONST_BUFFER_AS_VERTEX:
        case PIPE_CAP_ALLOW_MAPPED_BUFFERS_DURING_EXECUTION:
+       case PIPE_CAP_ROBUST_BUFFER_ACCESS_BEHAVIOR:
                return 1;
 
        case PIPE_CAP_DEVICE_RESET_STATUS_QUERY:
@@ -385,7 +386,6 @@ static int r600_get_param(struct pipe_screen* pscreen, enum pipe_cap param)
        case PIPE_CAP_GENERATE_MIPMAP:
        case PIPE_CAP_STRING_MARKER:
        case PIPE_CAP_QUERY_BUFFER_OBJECT:
-       case PIPE_CAP_ROBUST_BUFFER_ACCESS_BEHAVIOR:
        case PIPE_CAP_PRIMITIVE_RESTART_FOR_PATCHES:
        case PIPE_CAP_TGSI_VOTE:
        case PIPE_CAP_MAX_WINDOW_RECTANGLES: