davexunit pushed a commit to branch staging
in repository guix.

commit 20c50e404974e9d30cefb03f339412824041a7cd
Author: David Thompson <[email protected]>
Date:   Sat Nov 12 17:59:16 2016 -0500

    gnu: mesa: Enable floating point textures.
    
    * gnu/packages/gl.scm (mesa): Add --enable-texture-float to configure flags.
---
 gnu/packages/gl.scm |    4 ++++
 1 file changed, 4 insertions(+)

diff --git a/gnu/packages/gl.scm b/gnu/packages/gl.scm
index 0e9b5dd..9a484b7 100644
--- a/gnu/packages/gl.scm
+++ b/gnu/packages/gl.scm
@@ -5,6 +5,7 @@
 ;;; Copyright © 2014, 2015, 2016 Mark H Weaver <[email protected]>
 ;;; Copyright © 2016 ng0 <[email protected]>
 ;;; Copyright © 2016 Ricardo Wurmus <[email protected]>
+;;; Copyright © 2016 David Thompson <[email protected]>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -249,6 +250,9 @@ also known as DXTn or DXTC) for Mesa.")
          "--enable-gles2"
          "--enable-gbm"
          "--enable-shared-glapi"
+         ;; Without floating point texture support, drivers such as Nouveau
+         ;; are stuck at OpenGL 2.1 instead of OpenGL 3.0+.
+         "--enable-texture-float"
 
          ;; on non-intel systems, drop i915 and i965
          ;; from the default dri drivers

Reply via email to