Skip to content

Commit

Permalink
mesa: enable texture floats for drivers
Browse files Browse the repository at this point in the history
(cherry-picked from 261d7ca and 328bcda)
  • Loading branch information
abbradar committed Mar 21, 2017
1 parent d648522 commit 0c06c48
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pkgs/development/libraries/mesa/default.nix
Expand Up @@ -5,7 +5,9 @@
, libelf, libvdpau, python2
, grsecEnabled ? false
, enableRadv ? false
, enableTextureFloats ? false # Texture floats are patented, see docs/patents.txt
# 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
}:


Expand Down
1 change: 1 addition & 0 deletions pkgs/top-level/all-packages.nix
Expand Up @@ -8894,6 +8894,7 @@ with pkgs;
mesa_drivers = mesaDarwinOr (
let mo = mesa_noglu.override {
grsecEnabled = config.grsecurity or false;
enableTextureFloats = true;
};
in mo.drivers
);
Expand Down

0 comments on commit 0c06c48

Please sign in to comment.