r600g: Enable ARB_framebuffer_no_attachments
authorEdward O'Callaghan <eocallaghan@alterapraxis.com>
Mon, 1 Feb 2016 01:12:12 +0000 (12:12 +1100)
committerDave Airlie <airlied@redhat.com>
Thu, 7 Apr 2016 02:03:59 +0000 (12:03 +1000)
Signed-off-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/gallium/drivers/r600/r600_pipe.c

index e6eec3bcf70d904edadf6d4f14af65d5d8a63eb4..36b808fbbcae510590a7ff95363ee6089b499106 100644 (file)
@@ -281,6 +281,7 @@ static int r600_get_param(struct pipe_screen* pscreen, enum pipe_cap param)
        case PIPE_CAP_INVALIDATE_BUFFER:
        case PIPE_CAP_SURFACE_REINTERPRET_BLOCKS:
        case PIPE_CAP_QUERY_MEMORY_INFO:
+       case PIPE_CAP_FRAMEBUFFER_NO_ATTACHMENT:
                return 1;
 
        case PIPE_CAP_DEVICE_RESET_STATUS_QUERY:
@@ -364,7 +365,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_FRAMEBUFFER_NO_ATTACHMENT:
                return 0;
 
        case PIPE_CAP_MAX_SHADER_PATCH_VARYINGS: