summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers
diff options
context:
space:
mode:
authorIlia Mirkin <[email protected]>2014-07-23 22:32:55 -0400
committerIlia Mirkin <[email protected]>2015-02-20 19:51:50 -0500
commitf8e4792b227544aefd45eb716091adb7409fa843 (patch)
tree7f86b515d2378ca73bd25ddf5d585b52d768e6dc /src/gallium/drivers
parent5491458843998e8083baf9b62c14895946de1a3f (diff)
nvc0: enable double support
Signed-off-by: Ilia Mirkin <[email protected]>
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r--src/gallium/drivers/nouveau/nvc0/nvc0_screen.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/nouveau/nvc0/nvc0_screen.c b/src/gallium/drivers/nouveau/nvc0/nvc0_screen.c
index 8546ac8e5c0..686d892d0e5 100644
--- a/src/gallium/drivers/nouveau/nvc0/nvc0_screen.c
+++ b/src/gallium/drivers/nouveau/nvc0/nvc0_screen.c
@@ -291,9 +291,9 @@ nvc0_screen_get_shader_param(struct pipe_screen *pscreen, unsigned shader,
case PIPE_SHADER_CAP_INTEGERS:
return 1;
case PIPE_SHADER_CAP_DOUBLES:
- return 0;
+ return 1;
case PIPE_SHADER_CAP_TGSI_DROUND_SUPPORTED:
- return 0;
+ return 1;
case PIPE_SHADER_CAP_TGSI_DFRACEXP_DLDEXP_SUPPORTED:
return 0;
case PIPE_SHADER_CAP_MAX_TEXTURE_SAMPLERS: