From 423f64e83ab5b1ea7de475ae80300a8408522743 Mon Sep 17 00:00:00 2001 From: Ilia Mirkin Date: Thu, 3 Apr 2014 09:43:40 -0400 Subject: nvc0: enable texture query lod Signed-off-by: Ilia Mirkin --- src/gallium/drivers/nouveau/nvc0/nvc0_screen.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/gallium/drivers/nouveau/nvc0') diff --git a/src/gallium/drivers/nouveau/nvc0/nvc0_screen.c b/src/gallium/drivers/nouveau/nvc0/nvc0_screen.c index 794ed3b5a70..fa3145eacde 100644 --- a/src/gallium/drivers/nouveau/nvc0/nvc0_screen.c +++ b/src/gallium/drivers/nouveau/nvc0/nvc0_screen.c @@ -178,10 +178,11 @@ nvc0_screen_get_param(struct pipe_screen *pscreen, enum pipe_cap param) case PIPE_CAP_TEXTURE_GATHER_SM5: case PIPE_CAP_BUFFER_MAP_PERSISTENT_COHERENT: case PIPE_CAP_FAKE_SW_MSAA: - case PIPE_CAP_TEXTURE_QUERY_LOD: return 0; case PIPE_CAP_MAX_VIEWPORTS: return 1; + case PIPE_CAP_TEXTURE_QUERY_LOD: + return 1; default: NOUVEAU_ERR("unknown PIPE_CAP %d\n", param); return 0; -- cgit v1.2.3