Will Floating Point Textures Be Merged Into Mesa?

Posted by Michael Larabel on March 04, 2011

Lucas Stach has brought a proposal to the Mesa mailing list of merging Mesa's floating point textures and render targets code branch into the mainline Mesa repository. Floating point textures have been available in OpenGL for years, but has yet to enter mainline Mesa as it's a patented feature.

The floating point textures and render targets work has lived in a separate Mesa repository due to the IP being protected by external patents. This work has been done by Marek Olšák and occasionally the separate branch is re-based against Mesa master but has never been merged.

This is similar to the S3TC texture compression situation in that its developed externally as it cannot be merged into Mesa due to patents. However, the S3TC work lives as an external library (libtxc_dxtn) where as the floating point textures work is an entire branch of Mesa to be rebuilt.

What Lucas proposes is to merge the code but to have it only built if during the configure process an argument like --enable-patented. However, this option would be disabled by default and is not likely to be flipped on by any of the major distributions, due to legal reasons.

By merging this and other patented features into mainline Mesa but by blocking them with a build-time argument, it places the legal burden on the user or party compiling the code. But by merging this code into mainline Mesa it makes the code easier to maintain as it's no longer living in a third-party repository where the work needs to be occasionally re-based, is easier for interested users to obtain and enable when building Mesa, and is always up-to-date with the latest core Mesa changes, driver improvements, and other features.

The only response so far to the request to merge floating point textures has been from Intel's Eric Anholt. Eric is in support of this merge, but simply says, "I would also like to see it merged to master."

Discuss this article in our forums, IRC channel, or email the author. You can also follow our content via RSS and on social networks like Facebook, Identi.ca, and Twitter (@Phoronix and @MichaelLarabel). Subscribe to Phoronix Premium to view our content without advertisements, view entire articles on a single page, and experience other benefits.
Latest Hardware Reviews
  1. Intel Haswell HD Graphics 4600 vs. AMD Radeon Graphics On Linux
  2. Intel Haswell HD Graphics 4600 Performance On Ubuntu Linux
  3. Intel Core i7 4770K "Haswell" Benchmarks On Ubuntu Linux
  4. The First Experience Of Intel Haswell On Linux
Latest Software Articles
  1. Optimized Binaries Provide Great Benefits For Intel Haswell
  2. 11-Way Linux, BSD Platform Comparison
  3. SNA Acceleration Works Great For Intel Core i7 Haswell
  4. The Linux Evolution For Intel Haswell's Performance
Latest Linux News
  1. KDE's KWin Made Lots Of Progress In 4.11
  2. Ubuntu Announces Carrier Advisory Group
  3. Qt 5.1 Release Candidate 1 Has Arrived
  4. In-Fighting Continues Over Mir On Non-Unity Ubuntu
  5. Subversion 1.8 Presents New Features
  6. LLVM 3.3 Officially Released
  7. LLVM/Clang Now Uses Loop Vectorizer At New Levels
  8. Intel GPU Driver Tries To Rip Out FBDEV Support
  9. Coreboot Doing AMD USB 3.0, Q35 QEMU Emulation
  10. VP9 Codec Now Enabled By Default In Chrome
  11. openSUSE 13.1 M2 Plays On PulseAudio 4.0
Latest Forum Talk
  1. Intel Haswell-Based Apple MacBook Air, HD 5000...
  2. Ubuntu Announces Carrier Advisory Group
  3. Intel GPU Driver Tries To Rip Out FBDEV Support
  4. In-Fighting Continues Over Mir On Non-Unity Ubuntu
  5. Vote for GOG to add Linux versions of games they...
  6. Intel Haswell HD Graphics 4600 vs. AMD Radeon...
  1. Computers
  2. Display Drivers
  3. Graphics Cards
  4. Motherboards
  5. Peripherals
  6. Processors
  7. Software
  8. Operating Systems
  9. All Articles
  1. Linux Benchmarking
  2. OpenBenchmarking.org
  3. Phoronix Test Suite