diff options
author | Ilia Mirkin <[email protected]> | 2014-04-03 09:43:40 -0400 |
---|---|---|
committer | Ilia Mirkin <[email protected]> | 2014-04-07 01:06:18 -0400 |
commit | 423f64e83ab5b1ea7de475ae80300a8408522743 (patch) | |
tree | a549fb783b44dcc7209fd585cae5aa7e329ffbf5 /src/gallium/drivers/nouveau/nvc0 | |
parent | d5faf8e78603a27dbedb2e9e28b58b1b2bc32858 (diff) |
nvc0: enable texture query lod
Signed-off-by: Ilia Mirkin <[email protected]>
Diffstat (limited to 'src/gallium/drivers/nouveau/nvc0')
-rw-r--r-- | src/gallium/drivers/nouveau/nvc0/nvc0_screen.c | 3 |
1 files changed, 2 insertions, 1 deletions
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; |