zink: ask for flatshade lowering
authorDave Airlie <airlied@redhat.com>
Thu, 24 Jan 2019 03:13:26 +0000 (13:13 +1000)
committerErik Faye-Lund <erik.faye-lund@collabora.com>
Mon, 28 Oct 2019 08:51:43 +0000 (08:51 +0000)
Acked-by: Jordan Justen <jordan.l.justen@intel.com>
src/gallium/drivers/zink/zink_screen.c

index 66cc6ef4490602532d9577ac435050b382e6a969..dd1d304b67bc062ffb2e0280e0c872920f0d1368 100644 (file)
@@ -265,6 +265,9 @@ zink_get_param(struct pipe_screen *pscreen, enum pipe_cap param)
    case PIPE_CAP_BUFFER_MAP_PERSISTENT_COHERENT:
       return 1;
 
+   case PIPE_CAP_FLATSHADE:
+      return 0;
+
    default:
       return u_pipe_screen_get_param_defaults(pscreen, param);
    }