mesa: enable texture floats only for drivers

To be on more safe side. This shouldn't matter theoretically as nothing in core
Mesa depends on them.
This commit is contained in:
Nikolay Amiantov 2017-03-21 21:56:40 +03:00
parent 7299db431a
commit 328bcdae25
2 changed files with 4 additions and 2 deletions

@ -5,8 +5,9 @@
, libelf, libvdpau, python2
, grsecEnabled ? false
, enableRadv ? false
# Texture floats are patented, see docs/patents.txt, but Debian enables them.
, enableTextureFloats ? true
# Texture floats are patented, see docs/patents.txt, so we don't enable them for full Mesa.
# It's overridden for mesa_drivers.
, enableTextureFloats ? false
, galliumDrivers ? null
, driDrivers ? null
, vulkanDrivers ? null

@ -8991,6 +8991,7 @@ with pkgs;
mesa_drivers = mesaDarwinOr (
let mo = mesa_noglu.override {
grsecEnabled = config.grsecurity or false;
enableTextureFloats = true;
};
in mo.drivers
);