freedreno: add missing PIPE_CAP_RESOURCE_FROM_USER_MEMORY to switch
authorIlia Mirkin <imirkin@alum.mit.edu>
Thu, 19 Feb 2015 03:36:13 +0000 (22:36 -0500)
committerIlia Mirkin <imirkin@alum.mit.edu>
Thu, 19 Feb 2015 05:25:03 +0000 (00:25 -0500)
Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
src/gallium/drivers/freedreno/freedreno_screen.c

index b0bdfd9fb72e90cd10d37e1a09d704eb988138f9..45293e4d208810f4d2a8fe1bf730d14ac0902caa 100644 (file)
@@ -233,6 +233,7 @@ fd_screen_get_param(struct pipe_screen *pscreen, enum pipe_cap param)
        case PIPE_CAP_CLIP_HALFZ:
        case PIPE_CAP_POLYGON_OFFSET_CLAMP:
        case PIPE_CAP_MULTISAMPLE_Z_RESOLVE:
+       case PIPE_CAP_RESOURCE_FROM_USER_MEMORY:
                return 0;
 
        case PIPE_CAP_MAX_VIEWPORTS: