Mesa (master): nvc0: enable double support

Ilia Mirkin imirkin at kemper.freedesktop.org
Sat Feb 21 00:59:30 UTC 2015


Module: Mesa
Branch: master
Commit: f8e4792b227544aefd45eb716091adb7409fa843
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=f8e4792b227544aefd45eb716091adb7409fa843

Author: Ilia Mirkin <imirkin at alum.mit.edu>
Date:   Wed Jul 23 22:32:55 2014 -0400

nvc0: enable double support

Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>

---

 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 86f5e41..a5b8175 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 695f757..056d3b0 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.
 <ul>
 <li>GL_AMD_pinned_memory on r600, radeonsi</li>
 <li>GL_ARB_draw_instanced on freedreno</li>
+<li>GL_ARB_gpu_shader_fp64 on nvc0, softpipe</li>
 <li>GL_ARB_instanced_arrays on freedreno</li>
 <li>GL_ARB_pipeline_statistics_query on i965, nv50, nvc0, r600, radeonsi, softpipe</li>
 </ul>
diff --git a/src/gallium/drivers/nouveau/nvc0/nvc0_screen.c b/src/gallium/drivers/nouveau/nvc0/nvc0_screen.c
index 8546ac8..686d892 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:




More information about the mesa-commit mailing list