nvc0/nir: enable bindless texture
authorKarol Herbst <kherbst@redhat.com>
Sun, 24 Mar 2019 03:23:38 +0000 (04:23 +0100)
committerKarol Herbst <kherbst@redhat.com>
Fri, 12 Apr 2019 07:02:59 +0000 (09:02 +0200)
Signed-off-by: Karol Herbst <kherbst@redhat.com>
src/gallium/drivers/nouveau/nvc0/nvc0_screen.c

index afad48b59204918a7a6ba4a726e5468b3eb67970..2fb2097d731cdf35264d5eeb806b8ba4d89e45da 100644 (file)
@@ -285,7 +285,7 @@ nvc0_screen_get_param(struct pipe_screen *pscreen, enum pipe_cap param)
    case PIPE_CAP_TGSI_BALLOT:
       return class_3d >= NVE4_3D_CLASS;
    case PIPE_CAP_BINDLESS_TEXTURE:
-      return class_3d >= NVE4_3D_CLASS && !screen->prefer_nir;
+      return class_3d >= NVE4_3D_CLASS;
    case PIPE_CAP_TGSI_ATOMFADD:
       return class_3d < GM107_3D_CLASS; /* needs additional lowering */
    case PIPE_CAP_POLYGON_MODE_FILL_RECTANGLE: