From: Karol Herbst Date: Sun, 24 Mar 2019 03:23:38 +0000 (+0100) Subject: nvc0/nir: enable bindless texture X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=98934e6aa19795072a353dae6020dafadc76a1e3;p=mesa.git nvc0/nir: enable bindless texture Signed-off-by: Karol Herbst --- diff --git a/src/gallium/drivers/nouveau/nvc0/nvc0_screen.c b/src/gallium/drivers/nouveau/nvc0/nvc0_screen.c index afad48b5920..2fb2097d731 100644 --- a/src/gallium/drivers/nouveau/nvc0/nvc0_screen.c +++ b/src/gallium/drivers/nouveau/nvc0/nvc0_screen.c @@ -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: