<?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: OGL shaders 64bit vs 32bit in Graphics</title>
    <link>https://community.intel.com/t5/Graphics/OGL-shaders-64bit-vs-32bit/m-p/591118#M68009</link>
    <description>&lt;P&gt;1. your graphics driver is out-of-date&lt;/P&gt;&lt;P&gt;check out &lt;A href="https://downloadcenter.intel.com/product/96551/Intel-HD-Graphics-620"&gt;https://downloadcenter.intel.com/product/96551/Intel-HD-Graphics-620&lt;/A&gt; Downloads for Intel® HD Graphics 620 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. there is a dedicated developer forum at &lt;A href="https://software.intel.com/en-us/forums/developing-games-and-graphics-on-intel"&gt;https://software.intel.com/en-us/forums/developing-games-and-graphics-on-intel&lt;/A&gt; Developing Games &amp;amp; Graphics on Intel &lt;/P&gt;</description>
    <pubDate>Thu, 29 Mar 2018 12:36:48 GMT</pubDate>
    <dc:creator>Stefan3D</dc:creator>
    <dc:date>2018-03-29T12:36:48Z</dc:date>
    <item>
      <title>OGL shaders 64bit vs 32bit</title>
      <link>https://community.intel.com/t5/Graphics/OGL-shaders-64bit-vs-32bit/m-p/591117#M68008</link>
      <description>&lt;P&gt;Don't really know where to ask, so I'm asking here.&lt;/P&gt;&lt;P&gt;I have this strange issue with OpenGL, the output from fragment shader is different when application is built for 64bit Windows, and when it is built 32bit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have framebuffer backed by textures with two color attachments&lt;/P&gt;&lt;P&gt;In fragment shader I do something like this:&lt;/P&gt;&lt;P&gt;==========================================================&lt;/P&gt;&lt;P&gt;# version 330 core&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;layout(location = 0) out vec4 p_color;&lt;/P&gt;&lt;P&gt;layout(location = 1) out vec4 x_info;&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;uniform int i_id;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;void main() {&lt;/P&gt;&lt;P&gt;    p_color = vec4(1.0);&lt;/P&gt;&lt;P&gt;    x_info = vec4(0.0, 0.0, 0.0, intBitsToFloat(i_id));&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;==========================================================&lt;/P&gt;&lt;P&gt;i_id is such that casting it to float is a NaN&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and in application I read second color attachment with OGL.GetTexImage(OGL.TEXTURE_2D, 0, OGL.RGBA, OGL._FLOAT, buf_ptr);&lt;/P&gt;&lt;P&gt;the problem is that in 64bit version the output is correct (as I wanted it to be), and in 32bit output values are set to 0xFFC00000 (so they are converted to floating point indefinite)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and question here, does any one else has this problem? How to fix it, so the output in 32 is the same as in 64? Is it a driver bug?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm running it on HP ProBook with &lt;/P&gt;&lt;P&gt;Intel(R) HD Graphics 620&lt;/P&gt;&lt;P&gt;OpenGL 4.4.0 - Build 21.20.16.4541&lt;/P&gt;</description>
      <pubDate>Thu, 29 Mar 2018 11:34:51 GMT</pubDate>
      <guid>https://community.intel.com/t5/Graphics/OGL-shaders-64bit-vs-32bit/m-p/591117#M68008</guid>
      <dc:creator>AKura</dc:creator>
      <dc:date>2018-03-29T11:34:51Z</dc:date>
    </item>
    <item>
      <title>Re: OGL shaders 64bit vs 32bit</title>
      <link>https://community.intel.com/t5/Graphics/OGL-shaders-64bit-vs-32bit/m-p/591118#M68009</link>
      <description>&lt;P&gt;1. your graphics driver is out-of-date&lt;/P&gt;&lt;P&gt;check out &lt;A href="https://downloadcenter.intel.com/product/96551/Intel-HD-Graphics-620"&gt;https://downloadcenter.intel.com/product/96551/Intel-HD-Graphics-620&lt;/A&gt; Downloads for Intel® HD Graphics 620 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. there is a dedicated developer forum at &lt;A href="https://software.intel.com/en-us/forums/developing-games-and-graphics-on-intel"&gt;https://software.intel.com/en-us/forums/developing-games-and-graphics-on-intel&lt;/A&gt; Developing Games &amp;amp; Graphics on Intel &lt;/P&gt;</description>
      <pubDate>Thu, 29 Mar 2018 12:36:48 GMT</pubDate>
      <guid>https://community.intel.com/t5/Graphics/OGL-shaders-64bit-vs-32bit/m-p/591118#M68009</guid>
      <dc:creator>Stefan3D</dc:creator>
      <dc:date>2018-03-29T12:36:48Z</dc:date>
    </item>
  </channel>
</rss>

