mesa, mesa-darwin: free up floating point textures (patents expired)
https://cgit.freedesktop.org/mesa/mesa/commit/?id=66673bef941af344314fe9c91cad8cd330b245eb https://www.phoronix.com/scan.php?page=news_item&px=OpenGL-Texture-Float-Freed
This commit is contained in:
parent
5d3f5bb61e
commit
c56dd53092
@ -50,6 +50,12 @@ let
|
||||
|
||||
configurePhase = ":";
|
||||
|
||||
configureFlags = [
|
||||
# NOTE: Patents expired on June 17 2018.
|
||||
# For details see: https://www.phoronix.com/scan.php?page=news_item&px=OpenGL-Texture-Float-Freed
|
||||
"texture-float"
|
||||
];
|
||||
|
||||
makeFlags = "INSTALL_DIR=\${out} CC=cc CXX=c++";
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
@ -6,9 +6,6 @@
|
||||
, libglvnd
|
||||
, grsecEnabled ? false
|
||||
, enableRadv ? 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
|
||||
@ -115,7 +112,6 @@ let self = stdenv.mkDerivation {
|
||||
("--with-vulkan-drivers=" +
|
||||
builtins.concatStringsSep "," vulkanDrivers))
|
||||
++ [
|
||||
(enableFeature enableTextureFloats "texture-float")
|
||||
(enableFeature grsecEnabled "glx-rts")
|
||||
(enableFeature stdenv.isLinux "dri3")
|
||||
(enableFeature stdenv.isLinux "nine") # Direct3D in Wine
|
||||
|
@ -10962,7 +10962,6 @@ with pkgs;
|
||||
mesa_drivers =
|
||||
let mo = mesa_noglu.override {
|
||||
grsecEnabled = config.grsecurity or false;
|
||||
enableTextureFloats = true;
|
||||
};
|
||||
in mo.drivers;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user