<?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 Shaders use more RAM than needed in Graphics</title>
    <link>https://community.intel.com/t5/Graphics/Shaders-use-more-RAM-than-needed/m-p/1134451#M87713</link>
    <description>&lt;P style="margin-bottom: 0px; color: rgb(61, 61, 61); font-family: &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, &amp;quot;Lucida Grande&amp;quot;, sans-serif; font-size: 14px;"&gt;Hi, I am here to report potential bugs where all Intel HD/Iris seams to be impacted.&lt;/P&gt;

&lt;P style="margin-bottom: 0px; color: rgb(61, 61, 61); font-family: &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, &amp;quot;Lucida Grande&amp;quot;, sans-serif; font-size: 14px;"&gt;&amp;nbsp;&lt;/P&gt;

&lt;P style="margin-bottom: 0px; color: rgb(61, 61, 61); font-family: &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, &amp;quot;Lucida Grande&amp;quot;, sans-serif; font-size: 14px;"&gt;&lt;SPAN data-mce-style="font-size: 18pt;" style="font-size: 18pt;"&gt;&lt;STRONG&gt;Test platform&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;

&lt;UL&gt;
	&lt;LI style="margin-bottom: 0px; color: rgb(61, 61, 61); font-family: &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, &amp;quot;Lucida Grande&amp;quot;, sans-serif; font-size: 14px;"&gt;&lt;STRONG&gt;CPU: &lt;/STRONG&gt;i7-6700HQ | m3-7Y30&lt;/LI&gt;
	&lt;LI style="margin-bottom: 0px; color: rgb(61, 61, 61); font-family: &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, &amp;quot;Lucida Grande&amp;quot;, sans-serif; font-size: 14px;"&gt;&lt;STRONG&gt;GPU:&lt;/STRONG&gt; Intel HD 530 | Intel HD 615&lt;/LI&gt;
	&lt;LI style="margin-bottom: 0px; color: rgb(61, 61, 61); font-family: &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, &amp;quot;Lucida Grande&amp;quot;, sans-serif; font-size: 14px;"&gt;&lt;STRONG&gt;OS: &lt;/STRONG&gt;Windows 10&lt;/LI&gt;
	&lt;LI style="margin-bottom: 0px; color: rgb(61, 61, 61); font-family: &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, &amp;quot;Lucida Grande&amp;quot;, sans-serif; font-size: 14px;"&gt;&lt;STRONG&gt;Drivers:&lt;/STRONG&gt;&amp;nbsp;&lt;SPAN style="color: rgb(61, 61, 61); font-family: &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, &amp;quot;Lucida Grande&amp;quot;, sans-serif; font-size: 14px;"&gt;15.60.4901&lt;/SPAN&gt;&lt;/LI&gt;
	&lt;LI style="margin-bottom: 0px; color: rgb(61, 61, 61); font-family: &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, &amp;quot;Lucida Grande&amp;quot;, sans-serif; font-size: 14px;"&gt;&lt;STRONG&gt;Software:&lt;/STRONG&gt;&amp;nbsp;&lt;A data-mce-href="http://cemu.info/" href="http://cemu.info/" style="color: rgb(41, 137, 197);"&gt;CEMU&lt;/A&gt;&lt;/LI&gt;
&lt;/UL&gt;

&lt;P style="margin-bottom: 0px; color: rgb(61, 61, 61); font-family: &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, &amp;quot;Lucida Grande&amp;quot;, sans-serif; font-size: 14px;"&gt;&lt;STRONG style="font-size: 18pt;"&gt;Shaders use more RAM than needed&lt;/STRONG&gt;&lt;/P&gt;

&lt;P style="margin-bottom: 0px; color: rgb(61, 61, 61); font-family: &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, &amp;quot;Lucida Grande&amp;quot;, sans-serif; font-size: 14px;"&gt;In the application (&lt;A href="http://cemu.info"&gt;CEMU&lt;/A&gt;) we generate shaders dynamically and they often end up being quite complex (Example&amp;nbsp;&lt;A data-mce-href="https://pastebin.com/K9PyBuQa" href="https://pastebin.com/K9PyBuQa" style="color: rgb(41, 137, 197);"&gt;Vertex&lt;/A&gt;&amp;nbsp;and&amp;nbsp;&lt;A data-mce-href="https://pastebin.com/K62caHaJ" href="https://pastebin.com/K62caHaJ" style="color: rgb(41, 137, 197);"&gt;Fragment&lt;/A&gt;&amp;nbsp;shader). Furthermore, we deal with large amounts of shaders, in the range of 5k to 20k. The problem we are facing is that the graphics driver allocates up to GBs of RAM just for compiled shaders. The question is, is this intended behavior or a bug? We already double and triple checked to make sure this is not a mistake on our end.&lt;/P&gt;

&lt;P style="margin-bottom: 0px; color: rgb(61, 61, 61); font-family: &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, &amp;quot;Lucida Grande&amp;quot;, sans-serif; font-size: 14px;"&gt;&amp;nbsp;&lt;/P&gt;

&lt;P style="margin-bottom: 0px; color: rgb(61, 61, 61); font-family: &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, &amp;quot;Lucida Grande&amp;quot;, sans-serif; font-size: 14px;"&gt;Here are average results of the shader compile test (available below) on NVIDIA 1060 GTX and Intel HD 615.&lt;/P&gt;

&lt;UL&gt;
	&lt;LI style="margin-bottom: 0px; color: rgb(61, 61, 61); font-family: &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, &amp;quot;Lucida Grande&amp;quot;, sans-serif; font-size: 14px;"&gt;&lt;STRONG&gt;NVIDIA&lt;/STRONG&gt;: &lt;SPAN style="color: rgb(61, 61, 61); font-family: &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, &amp;quot;Lucida Grande&amp;quot;, sans-serif; font-size: 14px;"&gt;~&lt;/SPAN&gt;2.2GB&lt;/LI&gt;
	&lt;LI style="margin-bottom: 0px; color: rgb(61, 61, 61); font-family: &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, &amp;quot;Lucida Grande&amp;quot;, sans-serif; font-size: 14px;"&gt;&lt;STRONG&gt;Intel&lt;/STRONG&gt;: ~5GB&lt;/LI&gt;
&lt;/UL&gt;

&lt;P style="margin-bottom: 0px; color: rgb(61, 61, 61); font-family: &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, &amp;quot;Lucida Grande&amp;quot;, sans-serif; font-size: 14px;"&gt;Here is a test application to demonstrate the issue. &lt;STRONG&gt;&lt;A href="http://cemu.info/uploads/ShaderRAMTest.zip"&gt;Source is available&amp;nbsp;&lt;/A&gt;&lt;A data-mce-href="http://cemu.info/uploads/ShaderCompileTest.zip" href="http://cemu.info/uploads/ShaderCompileTest.zip" style="color: rgb(41, 137, 197);"&gt;here&lt;/A&gt;&lt;A href="http://cemu.info/uploads/ShaderRAMTest.zip"&gt;&amp;nbsp;(VS2015)&lt;/A&gt;&lt;/STRONG&gt;. It links one set of vertex + fragment shader 1000 times and then prints the amount of RAM commited by the application. The application itself does not allocate any extra memory. Additionally, the .zip comes with multiple sets of example shaders taken from our application to see the difference in RAM usage. For more details see main.cpp.&lt;/P&gt;

&lt;P style="margin-bottom: 0px; color: rgb(61, 61, 61); font-family: &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, &amp;quot;Lucida Grande&amp;quot;, sans-serif; font-size: 14px;"&gt;&lt;STRONG&gt;&lt;SPAN style="font-weight: 700;"&gt;Some other observations that has been made:&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;

&lt;UL style="font-size: 13.008px;"&gt;
	&lt;LI style="color: rgb(61, 61, 61); font-family: &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, &amp;quot;Lucida Grande&amp;quot;, sans-serif; font-size: 14px;"&gt;Occurs on all drivers versions and all Windows versions&lt;/LI&gt;
	&lt;LI style="color: rgb(61, 61, 61); font-family: &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, &amp;quot;Lucida Grande&amp;quot;, sans-serif; font-size: 14px;"&gt;RAM usage is proportional to complexity of shader &lt;EM&gt;(no surprise here)&lt;/EM&gt;&lt;/LI&gt;
	&lt;LI style="color: rgb(61, 61, 61); font-family: &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, &amp;quot;Lucida Grande&amp;quot;, sans-serif; font-size: 14px;"&gt;Conditionals (if clauses and '?' operator) seem to massively increase RAM usage and compile times&lt;/LI&gt;
	&lt;LI style="color: rgb(61, 61, 61); font-family: &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, &amp;quot;Lucida Grande&amp;quot;, sans-serif; font-size: 14px;"&gt;The size of uniform buffer arrays only slightly affect RAM usage&lt;/LI&gt;
	&lt;LI style="color: rgb(61, 61, 61); font-family: &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, &amp;quot;Lucida Grande&amp;quot;, sans-serif; font-size: 14px;"&gt;Detaching and deleting shaders (glDetachShader+glDeleteShader) after glLinkProgram helps only a bit&lt;/LI&gt;
	&lt;LI style="color: rgb(61, 61, 61); font-family: &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, &amp;quot;Lucida Grande&amp;quot;, sans-serif; font-size: 14px;"&gt;Calling glDeleteProgram() correctly releases all memory, indicating there is no leak&lt;/LI&gt;
	&lt;LI style="color: rgb(61, 61, 61); font-family: &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, &amp;quot;Lucida Grande&amp;quot;, sans-serif; font-size: 14px;"&gt;Same problem occurs when the shader programs are loaded via glProgramBinary&lt;/LI&gt;
&lt;/UL&gt;

&lt;P style="margin-bottom: 0px; color: rgb(61, 61, 61); font-family: &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, &amp;quot;Lucida Grande&amp;quot;, sans-serif; font-size: 14px;"&gt;&lt;STRONG style="font-size: 24px;"&gt;Shaders get corrupted when stored and reloaded&lt;/STRONG&gt;&lt;/P&gt;

&lt;P style="margin-bottom: 0px; color: rgb(61, 61, 61); font-family: &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, &amp;quot;Lucida Grande&amp;quot;, sans-serif; font-size: 14px;"&gt;On driver branche&amp;nbsp;&lt;STRONG&gt;15.45.xx.xxxx&lt;/STRONG&gt;, in the same application we save compiled shaders for them to be reloaded at next launch with less calculation. It appears OpenGL implementation in Intel drivers is incorrect and shaders get corrupted when storing and reloading it via OpenGL's&amp;nbsp;&lt;STRONG&gt;glGetProgramBinary()&lt;/STRONG&gt;&amp;nbsp;&amp;amp;&amp;nbsp;&lt;STRONG&gt;glProgramBinary()&lt;/STRONG&gt;.&lt;/P&gt;

&lt;P style="margin-bottom: 0px; color: rgb(61, 61, 61); font-family: &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, &amp;quot;Lucida Grande&amp;quot;, sans-serif; font-size: 14px;"&gt;&amp;nbsp;&lt;/P&gt;

&lt;P style="margin-bottom: 0px; color: rgb(61, 61, 61); font-family: &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, &amp;quot;Lucida Grande&amp;quot;, sans-serif; font-size: 14px;"&gt;&lt;STRONG&gt;Thanks in advance!&lt;/STRONG&gt;&lt;/P&gt;</description>
    <pubDate>Sat, 24 Jun 2017 15:08:24 GMT</pubDate>
    <dc:creator>Benjamin_L_Intel</dc:creator>
    <dc:date>2017-06-24T15:08:24Z</dc:date>
    <item>
      <title>Shaders use more RAM than needed</title>
      <link>https://community.intel.com/t5/Graphics/Shaders-use-more-RAM-than-needed/m-p/1134451#M87713</link>
      <description>&lt;P style="margin-bottom: 0px; color: rgb(61, 61, 61); font-family: &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, &amp;quot;Lucida Grande&amp;quot;, sans-serif; font-size: 14px;"&gt;Hi, I am here to report potential bugs where all Intel HD/Iris seams to be impacted.&lt;/P&gt;

&lt;P style="margin-bottom: 0px; color: rgb(61, 61, 61); font-family: &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, &amp;quot;Lucida Grande&amp;quot;, sans-serif; font-size: 14px;"&gt;&amp;nbsp;&lt;/P&gt;

&lt;P style="margin-bottom: 0px; color: rgb(61, 61, 61); font-family: &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, &amp;quot;Lucida Grande&amp;quot;, sans-serif; font-size: 14px;"&gt;&lt;SPAN data-mce-style="font-size: 18pt;" style="font-size: 18pt;"&gt;&lt;STRONG&gt;Test platform&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;

&lt;UL&gt;
	&lt;LI style="margin-bottom: 0px; color: rgb(61, 61, 61); font-family: &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, &amp;quot;Lucida Grande&amp;quot;, sans-serif; font-size: 14px;"&gt;&lt;STRONG&gt;CPU: &lt;/STRONG&gt;i7-6700HQ | m3-7Y30&lt;/LI&gt;
	&lt;LI style="margin-bottom: 0px; color: rgb(61, 61, 61); font-family: &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, &amp;quot;Lucida Grande&amp;quot;, sans-serif; font-size: 14px;"&gt;&lt;STRONG&gt;GPU:&lt;/STRONG&gt; Intel HD 530 | Intel HD 615&lt;/LI&gt;
	&lt;LI style="margin-bottom: 0px; color: rgb(61, 61, 61); font-family: &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, &amp;quot;Lucida Grande&amp;quot;, sans-serif; font-size: 14px;"&gt;&lt;STRONG&gt;OS: &lt;/STRONG&gt;Windows 10&lt;/LI&gt;
	&lt;LI style="margin-bottom: 0px; color: rgb(61, 61, 61); font-family: &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, &amp;quot;Lucida Grande&amp;quot;, sans-serif; font-size: 14px;"&gt;&lt;STRONG&gt;Drivers:&lt;/STRONG&gt;&amp;nbsp;&lt;SPAN style="color: rgb(61, 61, 61); font-family: &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, &amp;quot;Lucida Grande&amp;quot;, sans-serif; font-size: 14px;"&gt;15.60.4901&lt;/SPAN&gt;&lt;/LI&gt;
	&lt;LI style="margin-bottom: 0px; color: rgb(61, 61, 61); font-family: &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, &amp;quot;Lucida Grande&amp;quot;, sans-serif; font-size: 14px;"&gt;&lt;STRONG&gt;Software:&lt;/STRONG&gt;&amp;nbsp;&lt;A data-mce-href="http://cemu.info/" href="http://cemu.info/" style="color: rgb(41, 137, 197);"&gt;CEMU&lt;/A&gt;&lt;/LI&gt;
&lt;/UL&gt;

&lt;P style="margin-bottom: 0px; color: rgb(61, 61, 61); font-family: &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, &amp;quot;Lucida Grande&amp;quot;, sans-serif; font-size: 14px;"&gt;&lt;STRONG style="font-size: 18pt;"&gt;Shaders use more RAM than needed&lt;/STRONG&gt;&lt;/P&gt;

&lt;P style="margin-bottom: 0px; color: rgb(61, 61, 61); font-family: &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, &amp;quot;Lucida Grande&amp;quot;, sans-serif; font-size: 14px;"&gt;In the application (&lt;A href="http://cemu.info"&gt;CEMU&lt;/A&gt;) we generate shaders dynamically and they often end up being quite complex (Example&amp;nbsp;&lt;A data-mce-href="https://pastebin.com/K9PyBuQa" href="https://pastebin.com/K9PyBuQa" style="color: rgb(41, 137, 197);"&gt;Vertex&lt;/A&gt;&amp;nbsp;and&amp;nbsp;&lt;A data-mce-href="https://pastebin.com/K62caHaJ" href="https://pastebin.com/K62caHaJ" style="color: rgb(41, 137, 197);"&gt;Fragment&lt;/A&gt;&amp;nbsp;shader). Furthermore, we deal with large amounts of shaders, in the range of 5k to 20k. The problem we are facing is that the graphics driver allocates up to GBs of RAM just for compiled shaders. The question is, is this intended behavior or a bug? We already double and triple checked to make sure this is not a mistake on our end.&lt;/P&gt;

&lt;P style="margin-bottom: 0px; color: rgb(61, 61, 61); font-family: &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, &amp;quot;Lucida Grande&amp;quot;, sans-serif; font-size: 14px;"&gt;&amp;nbsp;&lt;/P&gt;

&lt;P style="margin-bottom: 0px; color: rgb(61, 61, 61); font-family: &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, &amp;quot;Lucida Grande&amp;quot;, sans-serif; font-size: 14px;"&gt;Here are average results of the shader compile test (available below) on NVIDIA 1060 GTX and Intel HD 615.&lt;/P&gt;

&lt;UL&gt;
	&lt;LI style="margin-bottom: 0px; color: rgb(61, 61, 61); font-family: &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, &amp;quot;Lucida Grande&amp;quot;, sans-serif; font-size: 14px;"&gt;&lt;STRONG&gt;NVIDIA&lt;/STRONG&gt;: &lt;SPAN style="color: rgb(61, 61, 61); font-family: &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, &amp;quot;Lucida Grande&amp;quot;, sans-serif; font-size: 14px;"&gt;~&lt;/SPAN&gt;2.2GB&lt;/LI&gt;
	&lt;LI style="margin-bottom: 0px; color: rgb(61, 61, 61); font-family: &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, &amp;quot;Lucida Grande&amp;quot;, sans-serif; font-size: 14px;"&gt;&lt;STRONG&gt;Intel&lt;/STRONG&gt;: ~5GB&lt;/LI&gt;
&lt;/UL&gt;

&lt;P style="margin-bottom: 0px; color: rgb(61, 61, 61); font-family: &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, &amp;quot;Lucida Grande&amp;quot;, sans-serif; font-size: 14px;"&gt;Here is a test application to demonstrate the issue. &lt;STRONG&gt;&lt;A href="http://cemu.info/uploads/ShaderRAMTest.zip"&gt;Source is available&amp;nbsp;&lt;/A&gt;&lt;A data-mce-href="http://cemu.info/uploads/ShaderCompileTest.zip" href="http://cemu.info/uploads/ShaderCompileTest.zip" style="color: rgb(41, 137, 197);"&gt;here&lt;/A&gt;&lt;A href="http://cemu.info/uploads/ShaderRAMTest.zip"&gt;&amp;nbsp;(VS2015)&lt;/A&gt;&lt;/STRONG&gt;. It links one set of vertex + fragment shader 1000 times and then prints the amount of RAM commited by the application. The application itself does not allocate any extra memory. Additionally, the .zip comes with multiple sets of example shaders taken from our application to see the difference in RAM usage. For more details see main.cpp.&lt;/P&gt;

&lt;P style="margin-bottom: 0px; color: rgb(61, 61, 61); font-family: &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, &amp;quot;Lucida Grande&amp;quot;, sans-serif; font-size: 14px;"&gt;&lt;STRONG&gt;&lt;SPAN style="font-weight: 700;"&gt;Some other observations that has been made:&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;

&lt;UL style="font-size: 13.008px;"&gt;
	&lt;LI style="color: rgb(61, 61, 61); font-family: &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, &amp;quot;Lucida Grande&amp;quot;, sans-serif; font-size: 14px;"&gt;Occurs on all drivers versions and all Windows versions&lt;/LI&gt;
	&lt;LI style="color: rgb(61, 61, 61); font-family: &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, &amp;quot;Lucida Grande&amp;quot;, sans-serif; font-size: 14px;"&gt;RAM usage is proportional to complexity of shader &lt;EM&gt;(no surprise here)&lt;/EM&gt;&lt;/LI&gt;
	&lt;LI style="color: rgb(61, 61, 61); font-family: &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, &amp;quot;Lucida Grande&amp;quot;, sans-serif; font-size: 14px;"&gt;Conditionals (if clauses and '?' operator) seem to massively increase RAM usage and compile times&lt;/LI&gt;
	&lt;LI style="color: rgb(61, 61, 61); font-family: &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, &amp;quot;Lucida Grande&amp;quot;, sans-serif; font-size: 14px;"&gt;The size of uniform buffer arrays only slightly affect RAM usage&lt;/LI&gt;
	&lt;LI style="color: rgb(61, 61, 61); font-family: &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, &amp;quot;Lucida Grande&amp;quot;, sans-serif; font-size: 14px;"&gt;Detaching and deleting shaders (glDetachShader+glDeleteShader) after glLinkProgram helps only a bit&lt;/LI&gt;
	&lt;LI style="color: rgb(61, 61, 61); font-family: &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, &amp;quot;Lucida Grande&amp;quot;, sans-serif; font-size: 14px;"&gt;Calling glDeleteProgram() correctly releases all memory, indicating there is no leak&lt;/LI&gt;
	&lt;LI style="color: rgb(61, 61, 61); font-family: &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, &amp;quot;Lucida Grande&amp;quot;, sans-serif; font-size: 14px;"&gt;Same problem occurs when the shader programs are loaded via glProgramBinary&lt;/LI&gt;
&lt;/UL&gt;

&lt;P style="margin-bottom: 0px; color: rgb(61, 61, 61); font-family: &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, &amp;quot;Lucida Grande&amp;quot;, sans-serif; font-size: 14px;"&gt;&lt;STRONG style="font-size: 24px;"&gt;Shaders get corrupted when stored and reloaded&lt;/STRONG&gt;&lt;/P&gt;

&lt;P style="margin-bottom: 0px; color: rgb(61, 61, 61); font-family: &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, &amp;quot;Lucida Grande&amp;quot;, sans-serif; font-size: 14px;"&gt;On driver branche&amp;nbsp;&lt;STRONG&gt;15.45.xx.xxxx&lt;/STRONG&gt;, in the same application we save compiled shaders for them to be reloaded at next launch with less calculation. It appears OpenGL implementation in Intel drivers is incorrect and shaders get corrupted when storing and reloading it via OpenGL's&amp;nbsp;&lt;STRONG&gt;glGetProgramBinary()&lt;/STRONG&gt;&amp;nbsp;&amp;amp;&amp;nbsp;&lt;STRONG&gt;glProgramBinary()&lt;/STRONG&gt;.&lt;/P&gt;

&lt;P style="margin-bottom: 0px; color: rgb(61, 61, 61); font-family: &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, &amp;quot;Lucida Grande&amp;quot;, sans-serif; font-size: 14px;"&gt;&amp;nbsp;&lt;/P&gt;

&lt;P style="margin-bottom: 0px; color: rgb(61, 61, 61); font-family: &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, &amp;quot;Lucida Grande&amp;quot;, sans-serif; font-size: 14px;"&gt;&lt;STRONG&gt;Thanks in advance!&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 24 Jun 2017 15:08:24 GMT</pubDate>
      <guid>https://community.intel.com/t5/Graphics/Shaders-use-more-RAM-than-needed/m-p/1134451#M87713</guid>
      <dc:creator>Benjamin_L_Intel</dc:creator>
      <dc:date>2017-06-24T15:08:24Z</dc:date>
    </item>
    <item>
      <title>UP</title>
      <link>https://community.intel.com/t5/Graphics/Shaders-use-more-RAM-than-needed/m-p/1134452#M87714</link>
      <description>&lt;P&gt;&lt;STRONG&gt;UP&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 01 Jan 2018 08:55:50 GMT</pubDate>
      <guid>https://community.intel.com/t5/Graphics/Shaders-use-more-RAM-than-needed/m-p/1134452#M87714</guid>
      <dc:creator>Benjamin_L_Intel</dc:creator>
      <dc:date>2018-01-01T08:55:50Z</dc:date>
    </item>
    <item>
      <title>Bump, this issue is having</title>
      <link>https://community.intel.com/t5/Graphics/Shaders-use-more-RAM-than-needed/m-p/1134453#M87715</link>
      <description>&lt;P&gt;Bump, this issue is having noticeable effects on certain games and programs.&lt;/P&gt;</description>
      <pubDate>Tue, 02 Jan 2018 15:51:44 GMT</pubDate>
      <guid>https://community.intel.com/t5/Graphics/Shaders-use-more-RAM-than-needed/m-p/1134453#M87715</guid>
      <dc:creator>lazyradly</dc:creator>
      <dc:date>2018-01-02T15:51:44Z</dc:date>
    </item>
  </channel>
</rss>

