From f8e4792b227544aefd45eb716091adb7409fa843 Mon Sep 17 00:00:00 2001 From: Ilia Mirkin Date: Wed, 23 Jul 2014 22:32:55 -0400 Subject: [PATCH] nvc0: enable double support Signed-off-by: Ilia Mirkin --- docs/GL3.txt | 2 +- docs/relnotes/10.6.0.html | 1 + src/gallium/drivers/nouveau/nvc0/nvc0_screen.c | 4 ++-- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/docs/GL3.txt b/docs/GL3.txt index 86f5e41d245..a5b81754564 100644 --- a/docs/GL3.txt +++ b/docs/GL3.txt @@ -109,7 +109,7 @@ GL 4.0, GLSL 4.00: - Enhanced per-sample shading DONE (r600) - Interpolation functions DONE (r600) - New overload resolution rules DONE - GL_ARB_gpu_shader_fp64 DONE (softpipe) + GL_ARB_gpu_shader_fp64 DONE (nvc0, softpipe) GL_ARB_sample_shading DONE (i965, nv50, nvc0, r600, radeonsi) GL_ARB_shader_subroutine not started GL_ARB_tessellation_shader started (Chris, Ilia) diff --git a/docs/relnotes/10.6.0.html b/docs/relnotes/10.6.0.html index 695f757bca4..056d3b00def 100644 --- a/docs/relnotes/10.6.0.html +++ b/docs/relnotes/10.6.0.html @@ -46,6 +46,7 @@ Note: some of the new features are only available with certain drivers. 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: -- 2.30.2