<?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 This problem can be resolved in Developing Games on Intel Graphics</title>
    <link>https://community.intel.com/t5/Developing-Games-on-Intel/Geometry-Shader-Bug/m-p/1142734#M1569</link>
    <description>&lt;P&gt;This problem can be resolved by changing the order in which the shaders are submitted for compilation.&amp;nbsp; Only the Intel driver seems to complain about this order.&amp;nbsp; Here is a viable workaround; ensure that the compilation order is 1) Vertex 2) Geometry 3) Fragment prior to the glUseProgram() command.&lt;/P&gt;</description>
    <pubDate>Wed, 21 Feb 2018 21:49:08 GMT</pubDate>
    <dc:creator>hzapp</dc:creator>
    <dc:date>2018-02-21T21:49:08Z</dc:date>
    <item>
      <title>Geometry Shader Bug</title>
      <link>https://community.intel.com/t5/Developing-Games-on-Intel/Geometry-Shader-Bug/m-p/1142733#M1568</link>
      <description>&lt;P style="margin-bottom: 0px; border: 0px; font-size: 14px; font-family: intel-clear, arial, helvetica, &amp;quot;helvetica neue&amp;quot;, verdana, sans-serif; vertical-align: baseline; color: rgb(61, 61, 61);"&gt;I have an ongoing problem with the Intel shader compiler for Intel HD Graphics cards (most of the ones I have tested).&lt;/P&gt;

&lt;P style="margin-bottom: 0px; border: 0px; font-size: 14px; font-family: intel-clear, arial, helvetica, &amp;quot;helvetica neue&amp;quot;, verdana, sans-serif; vertical-align: baseline; color: rgb(61, 61, 61);"&gt;The issue is related to utilizing a geometry shader, in which I will receive this message:&lt;/P&gt;

&lt;P style="margin-bottom: 0px; border: 0px; font-size: 14px; font-family: intel-clear, arial, helvetica, &amp;quot;helvetica neue&amp;quot;, verdana, sans-serif; vertical-align: baseline; color: rgb(61, 61, 61);"&gt;'The fragment shader uses varying uv, but previous shader does not write to it.&amp;nbsp; Out of resource error.'&lt;/P&gt;

&lt;P style="margin-bottom: 0px; border: 0px; font-size: 14px; font-family: intel-clear, arial, helvetica, &amp;quot;helvetica neue&amp;quot;, verdana, sans-serif; vertical-align: baseline; color: rgb(61, 61, 61);"&gt;This is a bug, pure and simple, easily described as the fact that the shader compiler does not properly see that there is a geometry shader in the pipeline.&lt;/P&gt;

&lt;P style="margin-bottom: 0px; border: 0px; font-size: 14px; font-family: intel-clear, arial, helvetica, &amp;quot;helvetica neue&amp;quot;, verdana, sans-serif; vertical-align: baseline; color: rgb(61, 61, 61);"&gt;I can elaborate more if the above post is does not provide enough information, but it is actually quite simple:&lt;/P&gt;

&lt;P style="margin-bottom: 0px; border: 0px; font-size: 14px; font-family: intel-clear, arial, helvetica, &amp;quot;helvetica neue&amp;quot;, verdana, sans-serif; vertical-align: baseline; color: rgb(61, 61, 61); min-height: 8pt;"&gt;&amp;nbsp;&lt;/P&gt;

&lt;P style="margin-bottom: 0px; border: 0px; font-size: 14px; font-family: intel-clear, arial, helvetica, &amp;quot;helvetica neue&amp;quot;, verdana, sans-serif; vertical-align: baseline; color: rgb(61, 61, 61);"&gt;My vertex shader uses:&lt;/P&gt;

&lt;P style="margin-bottom: 0px; border: 0px; font-size: 14px; font-family: intel-clear, arial, helvetica, &amp;quot;helvetica neue&amp;quot;, verdana, sans-serif; vertical-align: baseline; color: rgb(61, 61, 61);"&gt;out vData&lt;/P&gt;

&lt;P style="margin-bottom: 0px; border: 0px; font-size: 14px; font-family: intel-clear, arial, helvetica, &amp;quot;helvetica neue&amp;quot;, verdana, sans-serif; vertical-align: baseline; color: rgb(61, 61, 61);"&gt;{&lt;/P&gt;

&lt;P style="margin-bottom: 0px; border: 0px; font-size: 14px; font-family: intel-clear, arial, helvetica, &amp;quot;helvetica neue&amp;quot;, verdana, sans-serif; vertical-align: baseline; color: rgb(61, 61, 61);"&gt;vec2 pos;&lt;/P&gt;

&lt;P style="margin-bottom: 0px; border: 0px; font-size: 14px; font-family: intel-clear, arial, helvetica, &amp;quot;helvetica neue&amp;quot;, verdana, sans-serif; vertical-align: baseline; color: rgb(61, 61, 61);"&gt;} vertex;&lt;/P&gt;

&lt;P style="margin-bottom: 0px; border: 0px; font-size: 14px; font-family: intel-clear, arial, helvetica, &amp;quot;helvetica neue&amp;quot;, verdana, sans-serif; vertical-align: baseline; color: rgb(61, 61, 61); min-height: 8pt;"&gt;&amp;nbsp;&lt;/P&gt;

&lt;P style="margin-bottom: 0px; border: 0px; font-size: 14px; font-family: intel-clear, arial, helvetica, &amp;quot;helvetica neue&amp;quot;, verdana, sans-serif; vertical-align: baseline; color: rgb(61, 61, 61);"&gt;My geometry shader uses:&lt;/P&gt;

&lt;P style="margin-bottom: 0px; border: 0px; font-size: 14px; font-family: intel-clear, arial, helvetica, &amp;quot;helvetica neue&amp;quot;, verdana, sans-serif; vertical-align: baseline; color: rgb(61, 61, 61);"&gt;in vData&lt;/P&gt;

&lt;P style="margin-bottom: 0px; border: 0px; font-size: 14px; font-family: intel-clear, arial, helvetica, &amp;quot;helvetica neue&amp;quot;, verdana, sans-serif; vertical-align: baseline; color: rgb(61, 61, 61);"&gt;{&lt;/P&gt;

&lt;P style="margin-bottom: 0px; border: 0px; font-size: 14px; font-family: intel-clear, arial, helvetica, &amp;quot;helvetica neue&amp;quot;, verdana, sans-serif; vertical-align: baseline; color: rgb(61, 61, 61);"&gt;vec2 pos;&lt;/P&gt;

&lt;P style="margin-bottom: 0px; border: 0px; font-size: 14px; font-family: intel-clear, arial, helvetica, &amp;quot;helvetica neue&amp;quot;, verdana, sans-serif; vertical-align: baseline; color: rgb(61, 61, 61);"&gt;}vertex[];&lt;/P&gt;

&lt;P style="margin-bottom: 0px; border: 0px; font-size: 14px; font-family: intel-clear, arial, helvetica, &amp;quot;helvetica neue&amp;quot;, verdana, sans-serif; vertical-align: baseline; color: rgb(61, 61, 61); min-height: 8pt;"&gt;&amp;nbsp;&lt;/P&gt;

&lt;P style="margin-bottom: 0px; border: 0px; font-size: 14px; font-family: intel-clear, arial, helvetica, &amp;quot;helvetica neue&amp;quot;, verdana, sans-serif; vertical-align: baseline; color: rgb(61, 61, 61);"&gt;out gData&lt;/P&gt;

&lt;P style="margin-bottom: 0px; border: 0px; font-size: 14px; font-family: intel-clear, arial, helvetica, &amp;quot;helvetica neue&amp;quot;, verdana, sans-serif; vertical-align: baseline; color: rgb(61, 61, 61);"&gt;{&lt;/P&gt;

&lt;P style="margin-bottom: 0px; border: 0px; font-size: 14px; font-family: intel-clear, arial, helvetica, &amp;quot;helvetica neue&amp;quot;, verdana, sans-serif; vertical-align: baseline; color: rgb(61, 61, 61);"&gt;vec2&amp;nbsp; uv;&lt;/P&gt;

&lt;P style="margin-bottom: 0px; border: 0px; font-size: 14px; font-family: intel-clear, arial, helvetica, &amp;quot;helvetica neue&amp;quot;, verdana, sans-serif; vertical-align: baseline; color: rgb(61, 61, 61);"&gt;}frag;&lt;/P&gt;

&lt;P style="margin-bottom: 0px; border: 0px; font-size: 14px; font-family: intel-clear, arial, helvetica, &amp;quot;helvetica neue&amp;quot;, verdana, sans-serif; vertical-align: baseline; color: rgb(61, 61, 61); min-height: 8pt;"&gt;&amp;nbsp;&lt;/P&gt;

&lt;P style="margin-bottom: 0px; border: 0px; font-size: 14px; font-family: intel-clear, arial, helvetica, &amp;quot;helvetica neue&amp;quot;, verdana, sans-serif; vertical-align: baseline; color: rgb(61, 61, 61);"&gt;And my fragment shader uses:&lt;/P&gt;

&lt;P style="margin-bottom: 0px; border: 0px; font-size: 14px; font-family: intel-clear, arial, helvetica, &amp;quot;helvetica neue&amp;quot;, verdana, sans-serif; vertical-align: baseline; color: rgb(61, 61, 61);"&gt;in gData&lt;/P&gt;

&lt;P style="margin-bottom: 0px; border: 0px; font-size: 14px; font-family: intel-clear, arial, helvetica, &amp;quot;helvetica neue&amp;quot;, verdana, sans-serif; vertical-align: baseline; color: rgb(61, 61, 61);"&gt;{&lt;/P&gt;

&lt;P style="margin-bottom: 0px; border: 0px; font-size: 14px; font-family: intel-clear, arial, helvetica, &amp;quot;helvetica neue&amp;quot;, verdana, sans-serif; vertical-align: baseline; color: rgb(61, 61, 61);"&gt;vec2&amp;nbsp; uv;&lt;/P&gt;

&lt;P style="margin-bottom: 0px; border: 0px; font-size: 14px; font-family: intel-clear, arial, helvetica, &amp;quot;helvetica neue&amp;quot;, verdana, sans-serif; vertical-align: baseline; color: rgb(61, 61, 61);"&gt;}frag;&lt;/P&gt;

&lt;P style="margin-bottom: 0px; border: 0px; font-size: 14px; font-family: intel-clear, arial, helvetica, &amp;quot;helvetica neue&amp;quot;, verdana, sans-serif; vertical-align: baseline; color: rgb(61, 61, 61); min-height: 8pt;"&gt;&amp;nbsp;&lt;/P&gt;

&lt;P style="margin-bottom: 0px; border: 0px; font-size: 14px; font-family: intel-clear, arial, helvetica, &amp;quot;helvetica neue&amp;quot;, verdana, sans-serif; vertical-align: baseline; color: rgb(61, 61, 61);"&gt;This is easy to diagnose:&lt;/P&gt;

&lt;P style="margin-bottom: 0px; border: 0px; font-size: 14px; font-family: intel-clear, arial, helvetica, &amp;quot;helvetica neue&amp;quot;, verdana, sans-serif; vertical-align: baseline; color: rgb(61, 61, 61);"&gt;A vertex -&amp;gt; fragment pipeline does not write 'varying uv', but the geometry shader is the true 'previous shader', so this is a bug and therefore Intel HD Graphics does not meet the criterion for OpenGL support.&lt;/P&gt;

&lt;P style="margin-bottom: 0px; border: 0px; font-size: 14px; font-family: intel-clear, arial, helvetica, &amp;quot;helvetica neue&amp;quot;, verdana, sans-serif; vertical-align: baseline; color: rgb(61, 61, 61);"&gt;(It is bad form and likely illegal to claim OpenGL support when the conformant requirements are not met)&lt;/P&gt;

&lt;P style="margin-bottom: 0px; border: 0px; font-size: 14px; font-family: intel-clear, arial, helvetica, &amp;quot;helvetica neue&amp;quot;, verdana, sans-serif; vertical-align: baseline; color: rgb(61, 61, 61);"&gt;&amp;nbsp;&lt;/P&gt;

&lt;P style="margin-bottom: 0px; border: 0px; font-size: 14px; font-family: intel-clear, arial, helvetica, &amp;quot;helvetica neue&amp;quot;, verdana, sans-serif; vertical-align: baseline; color: rgb(61, 61, 61);"&gt;FYI:&amp;nbsp; Nvidia and AMD have no issues whatsoever compiling the same shaders.&lt;/P&gt;

&lt;P style="margin-bottom: 0px; border: 0px; font-size: 14px; font-family: intel-clear, arial, helvetica, &amp;quot;helvetica neue&amp;quot;, verdana, sans-serif; vertical-align: baseline; color: rgb(61, 61, 61); min-height: 8pt;"&gt;&amp;nbsp;&lt;/P&gt;

&lt;P style="margin-bottom: 0px; border: 0px; font-size: 14px; font-family: intel-clear, arial, helvetica, &amp;quot;helvetica neue&amp;quot;, verdana, sans-serif; vertical-align: baseline; color: rgb(61, 61, 61);"&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 21 Feb 2018 21:22:41 GMT</pubDate>
      <guid>https://community.intel.com/t5/Developing-Games-on-Intel/Geometry-Shader-Bug/m-p/1142733#M1568</guid>
      <dc:creator>hzapp</dc:creator>
      <dc:date>2018-02-21T21:22:41Z</dc:date>
    </item>
    <item>
      <title>This problem can be resolved</title>
      <link>https://community.intel.com/t5/Developing-Games-on-Intel/Geometry-Shader-Bug/m-p/1142734#M1569</link>
      <description>&lt;P&gt;This problem can be resolved by changing the order in which the shaders are submitted for compilation.&amp;nbsp; Only the Intel driver seems to complain about this order.&amp;nbsp; Here is a viable workaround; ensure that the compilation order is 1) Vertex 2) Geometry 3) Fragment prior to the glUseProgram() command.&lt;/P&gt;</description>
      <pubDate>Wed, 21 Feb 2018 21:49:08 GMT</pubDate>
      <guid>https://community.intel.com/t5/Developing-Games-on-Intel/Geometry-Shader-Bug/m-p/1142734#M1569</guid>
      <dc:creator>hzapp</dc:creator>
      <dc:date>2018-02-21T21:49:08Z</dc:date>
    </item>
  </channel>
</rss>

