<?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 I had attached files but then in Graphics</title>
    <link>https://community.intel.com/t5/Graphics/Incorrect-results-returned-by-glGetProgramResourceiv-for-buffer/m-p/1101817#M87496</link>
    <description>&lt;P&gt;I had attached files but then a back-button press in browser removed them. &amp;nbsp;Here they are.&lt;/P&gt;</description>
    <pubDate>Mon, 25 Jan 2016 02:13:13 GMT</pubDate>
    <dc:creator>David_Eberly</dc:creator>
    <dc:date>2016-01-25T02:13:13Z</dc:date>
    <item>
      <title>Incorrect results returned by glGetProgramResourceiv for buffer objects in compute shader</title>
      <link>https://community.intel.com/t5/Graphics/Incorrect-results-returned-by-glGetProgramResourceiv-for-buffer/m-p/1101816#M87495</link>
      <description>&lt;P&gt;4th Generation Intel® Core™ Processors with Intel® HD Graphics 5000/4600/4400/4200&lt;BR /&gt;
	System Used: &amp;nbsp;Dell Inc. Precision T1700&lt;BR /&gt;
	CPU SKU: i7&lt;BR /&gt;
	GPU SKU: 4600&lt;BR /&gt;
	Processor Line: N/A&lt;BR /&gt;
	System BIOS Version: A16&lt;BR /&gt;
	CMOS settings: N/A&lt;BR /&gt;
	Graphics Driver Version: 10.18.15.4279 and 10.18.15.4281&lt;BR /&gt;
	GOP/VBIOS Version: N/A&lt;BR /&gt;
	Operating System: Windows 10 Pro 64-bit&lt;BR /&gt;
	OS Version: (10.0, Build 10586) (10586.th2_release.160104-1513)&lt;BR /&gt;
	API: OpenGL 4.3.0&lt;BR /&gt;
	Occurs on non-Intel GPUs?: &amp;nbsp;No (tested on NVIDIA and AMD)&lt;/P&gt;

&lt;P&gt;Steps to Reproduce:&amp;nbsp;I have provided a stand-alone Microsoft Visual Studio 2015&amp;nbsp;project that illustrates the problem. &amp;nbsp;The GLSL file&amp;nbsp;CSFailToReference.glsl is compiled and linked successfully.&amp;nbsp;The file has two buffer objects, each used by the compute&amp;nbsp;shader.&lt;/P&gt;

&lt;P&gt;Expected Results:&amp;nbsp;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;Calls to glGetProgramResourceiv should&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;return results that indicate the two buffer objects are&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;referenced by the compute shader.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;Actual Results: &amp;nbsp;The calls lead to results that indicate the&amp;nbsp;two buffers are NOT referenced by the compute shader.&lt;/P&gt;

&lt;P&gt;Additional Information:&amp;nbsp;In other shaders, sometimes the buffers are referenced and&amp;nbsp;sometimes not. &amp;nbsp;Initial investigations seemed to show that&amp;nbsp;the failure to reference occurred when the buffer has an&amp;nbsp;array of struct-type but references always occurred when the&amp;nbsp;buffer has an array of native-type. However, I created a&amp;nbsp;simple shader with a buffer having an array of struct-type&amp;nbsp;but that buffer was reported as referenced. &amp;nbsp;It is not clear&amp;nbsp;to me what the pattern is.&lt;/P&gt;

&lt;P&gt;I can provide additional shaders where the problems do (or&amp;nbsp;do not) occur. &amp;nbsp;Also, I attached the DxDiag output for my machine.&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 25 Jan 2016 02:11:50 GMT</pubDate>
      <guid>https://community.intel.com/t5/Graphics/Incorrect-results-returned-by-glGetProgramResourceiv-for-buffer/m-p/1101816#M87495</guid>
      <dc:creator>David_Eberly</dc:creator>
      <dc:date>2016-01-25T02:11:50Z</dc:date>
    </item>
    <item>
      <title>I had attached files but then</title>
      <link>https://community.intel.com/t5/Graphics/Incorrect-results-returned-by-glGetProgramResourceiv-for-buffer/m-p/1101817#M87496</link>
      <description>&lt;P&gt;I had attached files but then a back-button press in browser removed them. &amp;nbsp;Here they are.&lt;/P&gt;</description>
      <pubDate>Mon, 25 Jan 2016 02:13:13 GMT</pubDate>
      <guid>https://community.intel.com/t5/Graphics/Incorrect-results-returned-by-glGetProgramResourceiv-for-buffer/m-p/1101817#M87496</guid>
      <dc:creator>David_Eberly</dc:creator>
      <dc:date>2016-01-25T02:13:13Z</dc:date>
    </item>
    <item>
      <title>Hi Dave,</title>
      <link>https://community.intel.com/t5/Graphics/Incorrect-results-returned-by-glGetProgramResourceiv-for-buffer/m-p/1101818#M87497</link>
      <description>&lt;P&gt;Hi Dave,&lt;/P&gt;

&lt;P&gt;I have got this filed and am talking to our OpenGL driver team about this. I will let update you once our investigation begins.&lt;/P&gt;

&lt;P&gt;-Michael&lt;/P&gt;</description>
      <pubDate>Mon, 25 Jan 2016 20:21:57 GMT</pubDate>
      <guid>https://community.intel.com/t5/Graphics/Incorrect-results-returned-by-glGetProgramResourceiv-for-buffer/m-p/1101818#M87497</guid>
      <dc:creator>Michael_C_Intel2</dc:creator>
      <dc:date>2016-01-25T20:21:57Z</dc:date>
    </item>
    <item>
      <title>Thank you, I appreciate your</title>
      <link>https://community.intel.com/t5/Graphics/Incorrect-results-returned-by-glGetProgramResourceiv-for-buffer/m-p/1101819#M87498</link>
      <description>&lt;P&gt;Thank you, I appreciate your looking into this.&lt;/P&gt;</description>
      <pubDate>Tue, 26 Jan 2016 07:42:14 GMT</pubDate>
      <guid>https://community.intel.com/t5/Graphics/Incorrect-results-returned-by-glGetProgramResourceiv-for-buffer/m-p/1101819#M87498</guid>
      <dc:creator>David_Eberly</dc:creator>
      <dc:date>2016-01-26T07:42:14Z</dc:date>
    </item>
    <item>
      <title>Hi Dave,</title>
      <link>https://community.intel.com/t5/Graphics/Incorrect-results-returned-by-glGetProgramResourceiv-for-buffer/m-p/1101820#M87499</link>
      <description>&lt;P&gt;Hi Dave,&lt;/P&gt;

&lt;P&gt;We fixed the issues in the driver, the next driver release should have the fix in it.&amp;nbsp;&lt;/P&gt;

&lt;P&gt;-Michael&lt;/P&gt;</description>
      <pubDate>Tue, 26 Apr 2016 13:56:15 GMT</pubDate>
      <guid>https://community.intel.com/t5/Graphics/Incorrect-results-returned-by-glGetProgramResourceiv-for-buffer/m-p/1101820#M87499</guid>
      <dc:creator>Michael_C_Intel2</dc:creator>
      <dc:date>2016-04-26T13:56:15Z</dc:date>
    </item>
    <item>
      <title>Hello Michael.  Much</title>
      <link>https://community.intel.com/t5/Graphics/Incorrect-results-returned-by-glGetProgramResourceiv-for-buffer/m-p/1101821#M87500</link>
      <description>&lt;P&gt;Hello Michael. &amp;nbsp;Much appreciated! &amp;nbsp;Thank you for letting me know. &amp;nbsp;Dave&lt;/P&gt;</description>
      <pubDate>Wed, 27 Apr 2016 04:42:49 GMT</pubDate>
      <guid>https://community.intel.com/t5/Graphics/Incorrect-results-returned-by-glGetProgramResourceiv-for-buffer/m-p/1101821#M87500</guid>
      <dc:creator>David_Eberly</dc:creator>
      <dc:date>2016-04-27T04:42:49Z</dc:date>
    </item>
  </channel>
</rss>

