<?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 Crash parsing pragma in Graphics</title>
    <link>https://community.intel.com/t5/Graphics/Crash-parsing-pragma/m-p/1144514#M87751</link>
    <description>&lt;DIV class="forum-post-wrapper1 D8CommentContainer row-with-author-and-content" style="width: 841px; border: none; font-size: 13.008px;"&gt;
	&lt;DIV class="forum-post-panel-main1 clearfix D8Comment content-pane" style="max-width: 760px;"&gt;
		&lt;DIV class="forum-post-content"&gt;
			&lt;DIV class="field field-name-body field-type-text-with-summary field-label-hidden"&gt;
				&lt;DIV class="field-items"&gt;
					&lt;DIV class="field-item even" property="content:encoded"&gt;
						&lt;P style="word-wrap: break-word; margin-bottom: 1.5em;"&gt;System Setup Information:&lt;BR /&gt;
							-----------------------------------------&lt;/P&gt;

						&lt;P style="word-wrap: break-word; margin-bottom: 1.5em;"&gt;System Used: Lenovo ThinkPad T440p&lt;BR /&gt;
							CPU SKU: i7-4710MQ&lt;BR /&gt;
							GPU SKU: &lt;SPAN style="color: rgb(0, 60, 113); font-family: intel-clear, tahoma, Helvetica, helvetica, Arial, sans-serif; font-size: 14px;"&gt;Intel® HD Graphics 4600&lt;/SPAN&gt;&lt;BR /&gt;
							Graphics Driver Version: intel 20.19.15.4474 from 13/6/2016, Nvidia driver 387.92&lt;BR /&gt;
							Operating System: Windows 10 64bits&lt;BR /&gt;
							API: OpenGL 3.2 Core Profile&lt;BR /&gt;
							Occurs on non-Intel GPUs?: No&lt;/P&gt;

						&lt;P style="word-wrap: break-word; margin-bottom: 1.5em;"&gt;Steps to Reproduce:&lt;BR /&gt;
							-------------------------------&lt;BR /&gt;
							1. Disable the integrated graphics card (nvidia) from the Device Manager to force the application to use the intel card&lt;BR /&gt;
							2. Load an OpenGL application with OpenGL 3.2 Core context&lt;/P&gt;

						&lt;P style="word-wrap: break-word; margin-bottom: 1.5em;"&gt;3. Load a shader with:&lt;/P&gt;

						&lt;P style="word-wrap: break-word; margin-bottom: 1.5em;"&gt;#version 150&lt;BR /&gt;
							#pragma import_defines (A, B, C, D)&lt;/P&gt;

						&lt;P style="word-wrap: break-word; margin-bottom: 1.5em;"&gt;...&lt;/P&gt;

						&lt;P style="word-wrap: break-word; margin-bottom: 1.5em;"&gt;Expected Results:&lt;/P&gt;

						&lt;P style="word-wrap: break-word; margin-bottom: 1.5em;"&gt;A warning or a compilation error but not a crash.&lt;BR /&gt;
							-------------------------------&lt;/P&gt;

						&lt;P style="word-wrap: break-word; margin-bottom: 1.5em;"&gt;Actual Results:&lt;/P&gt;

						&lt;P style="word-wrap: break-word; margin-bottom: 1.5em;"&gt;The application crashes in the driver.&amp;nbsp;ig75icd64.dll with a 0xC0000005: Access violation reading location 0xFFFFFFFFFFFFFFFF.&lt;BR /&gt;
							-------------------------------&lt;/P&gt;

						&lt;P style="word-wrap: break-word; margin-bottom: 1.5em;"&gt;Additional Information:&lt;/P&gt;

						&lt;P style="word-wrap: break-word; margin-bottom: 1.5em;"&gt;We are testing our shaders on the intel card on purpose, by disabling the nvidia card we try to emulate a system without the nvidia card.&lt;/P&gt;

						&lt;P style="word-wrap: break-word; margin-bottom: 1.5em;"&gt;The driver used is the latest available from Microsoft servers (device manager -&amp;gt; update driver says it is the latest version). Newer drivers provided by intel or lenovo in their websites fail to install with a message saying that the system is not compatible with the driver.&lt;/P&gt;

						&lt;P style="word-wrap: break-word; margin-bottom: 1.5em;"&gt;We use the OpenSceneGraph framework, which uses the #pragma import_defines() to change shader settings at run-time.&lt;/P&gt;

						&lt;P style="word-wrap: break-word; margin-bottom: 1.5em;"&gt;This shader crashes too:&lt;/P&gt;

						&lt;P style="word-wrap: break-word; margin-bottom: 1.5em;"&gt;&lt;SPAN style="font-size: 12px;"&gt;#version 150&lt;/SPAN&gt;&lt;BR style="font-size: 12px;" /&gt;
							&lt;SPAN style="font-size: 12px;"&gt;#pragma import_defines (A, B)&lt;/SPAN&gt;&lt;BR /&gt;
							#pragma import_defines (C, D)&lt;/P&gt;

						&lt;P style="word-wrap: break-word; margin-bottom: 1.5em;"&gt;...&lt;/P&gt;

						&lt;P style="word-wrap: break-word; margin-bottom: 1.5em;"&gt;But this one does not:&lt;/P&gt;

						&lt;P style="word-wrap: break-word; margin-bottom: 1.5em;"&gt;&lt;SPAN style="font-size: 12px;"&gt;#version 150&lt;/SPAN&gt;&lt;BR style="font-size: 12px;" /&gt;
							&lt;SPAN style="font-size: 12px;"&gt;#pragma import_defines (A)&lt;BR /&gt;
							#pragma import_defines (B)&lt;BR /&gt;
							#pragma import_defines (C)&lt;BR /&gt;
							#pragma import_defines (D)&lt;/SPAN&gt;&lt;/P&gt;

						&lt;P style="word-wrap: break-word; margin-bottom: 1.5em;"&gt;...&lt;/P&gt;

						&lt;P style="word-wrap: break-word; margin-bottom: 1.5em;"&gt;-------------------------------&lt;/P&gt;

						&lt;P style="word-wrap: break-word; margin-bottom: 1.5em;"&gt;&amp;nbsp;&lt;/P&gt;

						&lt;P style="word-wrap: break-word; margin-bottom: 1.5em;"&gt;An acceptable result would be to generate a warning or compilation error but not crash the application. Maybe the issue is already fixed in a newer version of the driver but in reality users cannot upgrade the driver because the installation fails saying that the system is not compatible.&lt;/P&gt;

						&lt;P style="word-wrap: break-word; margin-bottom: 1.5em;"&gt;For the moment we have applied the work-around splitting the lines but we would like to have a proper fix.&lt;/P&gt;
					&lt;/DIV&gt;
				&lt;/DIV&gt;
			&lt;/DIV&gt;
		&lt;/DIV&gt;
	&lt;/DIV&gt;
&lt;/DIV&gt;</description>
    <pubDate>Fri, 20 Oct 2017 14:11:22 GMT</pubDate>
    <dc:creator>David_S_6</dc:creator>
    <dc:date>2017-10-20T14:11:22Z</dc:date>
    <item>
      <title>Crash parsing pragma</title>
      <link>https://community.intel.com/t5/Graphics/Crash-parsing-pragma/m-p/1144514#M87751</link>
      <description>&lt;DIV class="forum-post-wrapper1 D8CommentContainer row-with-author-and-content" style="width: 841px; border: none; font-size: 13.008px;"&gt;
	&lt;DIV class="forum-post-panel-main1 clearfix D8Comment content-pane" style="max-width: 760px;"&gt;
		&lt;DIV class="forum-post-content"&gt;
			&lt;DIV class="field field-name-body field-type-text-with-summary field-label-hidden"&gt;
				&lt;DIV class="field-items"&gt;
					&lt;DIV class="field-item even" property="content:encoded"&gt;
						&lt;P style="word-wrap: break-word; margin-bottom: 1.5em;"&gt;System Setup Information:&lt;BR /&gt;
							-----------------------------------------&lt;/P&gt;

						&lt;P style="word-wrap: break-word; margin-bottom: 1.5em;"&gt;System Used: Lenovo ThinkPad T440p&lt;BR /&gt;
							CPU SKU: i7-4710MQ&lt;BR /&gt;
							GPU SKU: &lt;SPAN style="color: rgb(0, 60, 113); font-family: intel-clear, tahoma, Helvetica, helvetica, Arial, sans-serif; font-size: 14px;"&gt;Intel® HD Graphics 4600&lt;/SPAN&gt;&lt;BR /&gt;
							Graphics Driver Version: intel 20.19.15.4474 from 13/6/2016, Nvidia driver 387.92&lt;BR /&gt;
							Operating System: Windows 10 64bits&lt;BR /&gt;
							API: OpenGL 3.2 Core Profile&lt;BR /&gt;
							Occurs on non-Intel GPUs?: No&lt;/P&gt;

						&lt;P style="word-wrap: break-word; margin-bottom: 1.5em;"&gt;Steps to Reproduce:&lt;BR /&gt;
							-------------------------------&lt;BR /&gt;
							1. Disable the integrated graphics card (nvidia) from the Device Manager to force the application to use the intel card&lt;BR /&gt;
							2. Load an OpenGL application with OpenGL 3.2 Core context&lt;/P&gt;

						&lt;P style="word-wrap: break-word; margin-bottom: 1.5em;"&gt;3. Load a shader with:&lt;/P&gt;

						&lt;P style="word-wrap: break-word; margin-bottom: 1.5em;"&gt;#version 150&lt;BR /&gt;
							#pragma import_defines (A, B, C, D)&lt;/P&gt;

						&lt;P style="word-wrap: break-word; margin-bottom: 1.5em;"&gt;...&lt;/P&gt;

						&lt;P style="word-wrap: break-word; margin-bottom: 1.5em;"&gt;Expected Results:&lt;/P&gt;

						&lt;P style="word-wrap: break-word; margin-bottom: 1.5em;"&gt;A warning or a compilation error but not a crash.&lt;BR /&gt;
							-------------------------------&lt;/P&gt;

						&lt;P style="word-wrap: break-word; margin-bottom: 1.5em;"&gt;Actual Results:&lt;/P&gt;

						&lt;P style="word-wrap: break-word; margin-bottom: 1.5em;"&gt;The application crashes in the driver.&amp;nbsp;ig75icd64.dll with a 0xC0000005: Access violation reading location 0xFFFFFFFFFFFFFFFF.&lt;BR /&gt;
							-------------------------------&lt;/P&gt;

						&lt;P style="word-wrap: break-word; margin-bottom: 1.5em;"&gt;Additional Information:&lt;/P&gt;

						&lt;P style="word-wrap: break-word; margin-bottom: 1.5em;"&gt;We are testing our shaders on the intel card on purpose, by disabling the nvidia card we try to emulate a system without the nvidia card.&lt;/P&gt;

						&lt;P style="word-wrap: break-word; margin-bottom: 1.5em;"&gt;The driver used is the latest available from Microsoft servers (device manager -&amp;gt; update driver says it is the latest version). Newer drivers provided by intel or lenovo in their websites fail to install with a message saying that the system is not compatible with the driver.&lt;/P&gt;

						&lt;P style="word-wrap: break-word; margin-bottom: 1.5em;"&gt;We use the OpenSceneGraph framework, which uses the #pragma import_defines() to change shader settings at run-time.&lt;/P&gt;

						&lt;P style="word-wrap: break-word; margin-bottom: 1.5em;"&gt;This shader crashes too:&lt;/P&gt;

						&lt;P style="word-wrap: break-word; margin-bottom: 1.5em;"&gt;&lt;SPAN style="font-size: 12px;"&gt;#version 150&lt;/SPAN&gt;&lt;BR style="font-size: 12px;" /&gt;
							&lt;SPAN style="font-size: 12px;"&gt;#pragma import_defines (A, B)&lt;/SPAN&gt;&lt;BR /&gt;
							#pragma import_defines (C, D)&lt;/P&gt;

						&lt;P style="word-wrap: break-word; margin-bottom: 1.5em;"&gt;...&lt;/P&gt;

						&lt;P style="word-wrap: break-word; margin-bottom: 1.5em;"&gt;But this one does not:&lt;/P&gt;

						&lt;P style="word-wrap: break-word; margin-bottom: 1.5em;"&gt;&lt;SPAN style="font-size: 12px;"&gt;#version 150&lt;/SPAN&gt;&lt;BR style="font-size: 12px;" /&gt;
							&lt;SPAN style="font-size: 12px;"&gt;#pragma import_defines (A)&lt;BR /&gt;
							#pragma import_defines (B)&lt;BR /&gt;
							#pragma import_defines (C)&lt;BR /&gt;
							#pragma import_defines (D)&lt;/SPAN&gt;&lt;/P&gt;

						&lt;P style="word-wrap: break-word; margin-bottom: 1.5em;"&gt;...&lt;/P&gt;

						&lt;P style="word-wrap: break-word; margin-bottom: 1.5em;"&gt;-------------------------------&lt;/P&gt;

						&lt;P style="word-wrap: break-word; margin-bottom: 1.5em;"&gt;&amp;nbsp;&lt;/P&gt;

						&lt;P style="word-wrap: break-word; margin-bottom: 1.5em;"&gt;An acceptable result would be to generate a warning or compilation error but not crash the application. Maybe the issue is already fixed in a newer version of the driver but in reality users cannot upgrade the driver because the installation fails saying that the system is not compatible.&lt;/P&gt;

						&lt;P style="word-wrap: break-word; margin-bottom: 1.5em;"&gt;For the moment we have applied the work-around splitting the lines but we would like to have a proper fix.&lt;/P&gt;
					&lt;/DIV&gt;
				&lt;/DIV&gt;
			&lt;/DIV&gt;
		&lt;/DIV&gt;
	&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Fri, 20 Oct 2017 14:11:22 GMT</pubDate>
      <guid>https://community.intel.com/t5/Graphics/Crash-parsing-pragma/m-p/1144514#M87751</guid>
      <dc:creator>David_S_6</dc:creator>
      <dc:date>2017-10-20T14:11:22Z</dc:date>
    </item>
  </channel>
</rss>

