gnu: mesa: Enable floating point textures.
authorDavid Thompson <davet@gnu.org>
Sat, 12 Nov 2016 22:59:16 +0000 (17:59 -0500)
committerMark H Weaver <mhw@netris.org>
Wed, 11 Jan 2017 16:23:29 +0000 (11:23 -0500)
* gnu/packages/gl.scm (mesa): Add --enable-texture-float to configure flags.

gnu/packages/gl.scm

index 0e9b5dd..9a484b7 100644 (file)
@@ -5,6 +5,7 @@
 ;;; Copyright © 2014, 2015, 2016 Mark H Weaver <mhw@netris.org>
 ;;; Copyright © 2016 ng0 <ng0@we.make.ritual.n0.is>
 ;;; Copyright © 2016 Ricardo Wurmus <rekado@elephly.net>
+;;; Copyright © 2016 David Thompson <davet@gnu.org>
 ;;;
 ;;; 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