<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: GLSL pow method broken in 20.19.15.4300 driver? in Graphics</title>
    <link>https://community.intel.com/t5/Graphics/GLSL-pow-method-broken-in-20-19-15-4300-driver/m-p/349729#M22469</link>
    <description>&lt;P&gt;Thanks for the heads up. If you have an observation to report, please be sure to fill out this information as complete as possible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Allan. &lt;/P&gt;</description>
    <pubDate>Fri, 16 Oct 2015 18:49:29 GMT</pubDate>
    <dc:creator>Allan_J_Intel1</dc:creator>
    <dc:date>2015-10-16T18:49:29Z</dc:date>
    <item>
      <title>GLSL pow method broken in 20.19.15.4300 driver?</title>
      <link>https://community.intel.com/t5/Graphics/GLSL-pow-method-broken-in-20-19-15-4300-driver/m-p/349728#M22468</link>
      <description>&lt;P&gt;Seems like the pow method in GLSL (version 400 core) is broken in this Intel HD Graphics driver release. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;For instance we had to fix our point light attenuation code using the following expression:&lt;P&gt;&lt;/P&gt;&lt;P&gt;clamp(NoL * pow((1.0 - (length(Delta) / (fRadius))), 3.0), 0.0, 1.0);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;to:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;float distAttenuation = (1.0 - (length(Delta) / (fRadius)));&lt;/P&gt;&lt;P&gt;float Att= clamp(NoL * distAttenuation*distAttenuation*distAttenuation, 0.f, 1.f);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now everything works again as expected, but of course this workaround isn't applicable for situations with variable or higher exponents. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just wanted to give everybody a heads up as this might affect a lot of OpenGL implementations! &lt;/P&gt;</description>
      <pubDate>Thu, 15 Oct 2015 14:58:15 GMT</pubDate>
      <guid>https://community.intel.com/t5/Graphics/GLSL-pow-method-broken-in-20-19-15-4300-driver/m-p/349728#M22468</guid>
      <dc:creator>CMust</dc:creator>
      <dc:date>2015-10-15T14:58:15Z</dc:date>
    </item>
    <item>
      <title>Re: GLSL pow method broken in 20.19.15.4300 driver?</title>
      <link>https://community.intel.com/t5/Graphics/GLSL-pow-method-broken-in-20-19-15-4300-driver/m-p/349729#M22469</link>
      <description>&lt;P&gt;Thanks for the heads up. If you have an observation to report, please be sure to fill out this information as complete as possible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Allan. &lt;/P&gt;</description>
      <pubDate>Fri, 16 Oct 2015 18:49:29 GMT</pubDate>
      <guid>https://community.intel.com/t5/Graphics/GLSL-pow-method-broken-in-20-19-15-4300-driver/m-p/349729#M22469</guid>
      <dc:creator>Allan_J_Intel1</dc:creator>
      <dc:date>2015-10-16T18:49:29Z</dc:date>
    </item>
  </channel>
</rss>

