Intel Mesa To Force On S3TC, Floating-Point Textures

Posted by Michael Larabel on October 19, 2012

Two patches from Intel's Ian Romanick for their open-source Mesa DRI driver will now enable S3TC extensions always plus floating-point textures. These two features previously were not enabled by default out of patent fears.

The enabling of S3 Texture Compression extensions always ensures the extensions are exposed whether or not the libtxc_dxtn library is present -- this library is still needed for performing online S3TC compression, but sending of pre-compressed texture data remains fine. The open-source S3TC library isn't being merged to Mesa (unfortunately) nor does it appear the legal status concerning the notorious S3 Texture Compression patent has changed, but Intel is simply always advertising that it's there.
Always enable the use of pre- compressed texture data, and always advertise the ability to do on-line compression. The ability to perform on-line compression still requires the presence of libtxc_dxtn, so sometimes the driver incorrectly over-advertises functionality. This should not impact many (if any) real applications.
The other change is that floating-point textures is now enabled. Floating-point textures were another feature that open-source developers have been careful around due to patent fears. Unlike S3TC where the patent-offending code is in a separate open-source library, with floating-point textures the support had to be integrated into mainline Mesa but hidden behind a non-default --enable-texture-float switch because it otherwise wouldn't fit well into Mesa's architecture. That code has been in Mesa for many months now, but Intel's deciding to now do away with the check and always have the support enabled for their DRI driver. Last year it was thought the S3TC patent was invalid or at least some of its key points, but nothing ended up clearing Intel's legal department nor any other details revealed.

Ian didn't write any commit message for his "Enable floating-point textures always" patch, but it does indeed do away with the checks so that texture-float is always enabled. This means that OpenGL 3.0+ is now advertised by default since previously unless the texture-float switch was set, only GLSL 1.20 / OpenGL 2.1 support was advertised. Floating-point textures are needed for OpenGL 3.0.

I haven't heard of any floating-point texture patents being ruled out or if Intel struck up a legal deal with anyone, but it's nice to see floating-point textures by default and also that the S3TC texture compression extensions are now always shown. The patches can be found here and here.

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. Sumo Lounge Emperor
  2. Gallium3D Continues Improving OpenGL For Older Radeon GPUs
  3. 15-Way Open vs. Closed Source NVIDIA/AMD Linux GPU Comparison
  4. Nouveau vs. NVIDIA Linux Comparison Shows Shortcomings
Latest Software Articles
  1. The Cost Of Ubuntu Disk Encryption
  2. Btrfs vs. EXT4 vs. XFS vs. F2FS On Linux 3.10
  3. AMD Radeon R600 GPU LLVM 3.3 Back-End Testing
  4. F2FS File-System Shows Regressions On Linux 3.10
Latest Linux News
  1. QEMU 1.5 Supports VGA Passthrough, Better USB 3.0
  2. Handbrake 0.9.9 Supports OpenCL Offloading
  3. Freedreno Gallium3D Now Banging The Adreno A3XX
  4. Jolla Announces Their First Phone
  5. Mageia 3 Released, Still Using Legacy GRUB
  6. NetBSD 6.1 Brings In More Features
  7. Using Six Monitors With AMD's Open-Source Linux Driver
  8. Benchmarking The Intel P-State, CPUfreq Changes
  9. FreeBSD Still Working On Next-Gen Package Manager
  10. DNF Still Advancing As Experimental Yum For Fedora
  11. Logitech Begins Supporting Linux Users
Latest Forum Talk
  1. Mageia 3 Released, Still Using Legacy GRUB
  2. Jolla Announces Their First Phone
  3. Ubuntu To Look At Replacing Firefox With Chromium
  4. What Would You Like To See Next?
  5. QEMU 1.5 Supports VGA Passthrough, Better USB 3.0
  6. FreeBSD Still Working On Next-Gen Package Manager
  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