aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/nouveau/nvc0/nvc0_screen.c
diff options
context:
space:
mode:
authorKarol Herbst <[email protected]>2020-06-15 14:36:18 +0200
committerMarge Bot <[email protected]>2020-06-18 15:15:17 +0000
commit3af27bb7de600732decd38dbc773112e0ff2fc8b (patch)
tree26c8c68a529d18452c9b780a8f78785095f0f026 /src/gallium/drivers/nouveau/nvc0/nvc0_screen.c
parentfeb83f2f822e71d27e00e7dcf5613b365dc5c552 (diff)
nv50/ir/nir: move away from image_deref intrinsics
v2: fix lod source of image operation correctly Signed-off-by: Karol Herbst <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5480>
Diffstat (limited to 'src/gallium/drivers/nouveau/nvc0/nvc0_screen.c')
-rw-r--r--src/gallium/drivers/nouveau/nvc0/nvc0_screen.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gallium/drivers/nouveau/nvc0/nvc0_screen.c b/src/gallium/drivers/nouveau/nvc0/nvc0_screen.c
index 073b44dc79f..c3233632790 100644
--- a/src/gallium/drivers/nouveau/nvc0/nvc0_screen.c
+++ b/src/gallium/drivers/nouveau/nvc0/nvc0_screen.c
@@ -327,6 +327,10 @@ nvc0_screen_get_param(struct pipe_screen *pscreen, enum pipe_cap param)
case PIPE_CAP_INT64_DIVMOD:
return screen->prefer_nir ? 1 : 0;
+ /* nir related caps */
+ case PIPE_CAP_NIR_IMAGES_AS_DEREF:
+ return 0;
+
/* unsupported caps */
case PIPE_CAP_DEPTH_CLIP_DISABLE_SEPARATE:
case PIPE_CAP_TGSI_FS_COORD_ORIGIN_LOWER_LEFT: