<?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>i.MX ProcessorsのトピックRe: Issue with floating point textures</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Issue-with-floating-point-textures/m-p/766306#M119020</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Bio_TICFSL,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I dont't know what you mean with GL_TEXTURE_2D, its an constant in gl.h as far as I know. On the other hand, I ensured that data_ptr is valid. The segmentation fault is not when the function was called, but somewhat later.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also ensured that there is no other thread/process involved by using this texture, if that's what you meant in your last sentence.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Michael&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 30 Jan 2018 16:48:36 GMT</pubDate>
    <dc:creator>michaeljope</dc:creator>
    <dc:date>2018-01-30T16:48:36Z</dc:date>
    <item>
      <title>Issue with floating point textures</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Issue-with-floating-point-textures/m-p/766304#M119018</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I try to use an floating point texture using the latest driver 5.0.11.p8.41671 on the GC880 with OpenGL es 3.0 support. Shortly after uploading with&lt;/P&gt;&lt;PRE class="language-c line-numbers"&gt;&lt;CODE&gt;&lt;SPAN class="token function"&gt;glTextureImage2D&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;GL_TEXTURE_2D&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;0&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; GL_RGB32F_EXT&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; width&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; height&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; 
&lt;SPAN class="number token"&gt;0&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; GL_RGB&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; GL_FLOAT&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; dataPtr&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;‍&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;i get an Segmentation Fault. Maybe it went wrong as the texture data is accesed during the shader process.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What am I doing wrong here? If the texture is given as byte array everything wents well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Jan 2018 16:28:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Issue-with-floating-point-textures/m-p/766304#M119018</guid>
      <dc:creator>michaeljope</dc:creator>
      <dc:date>2018-01-29T16:28:56Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with floating point textures</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Issue-with-floating-point-textures/m-p/766305#M119019</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Michael,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your code is right, But&amp;nbsp; you have to check the address where GL_texture_2D and dataptr are, this will create a segmentation fault, I can not see it.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now texture data need to be clear no during shared process.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jan 2018 15:59:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Issue-with-floating-point-textures/m-p/766305#M119019</guid>
      <dc:creator>Bio_TICFSL</dc:creator>
      <dc:date>2018-01-30T15:59:48Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with floating point textures</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Issue-with-floating-point-textures/m-p/766306#M119020</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Bio_TICFSL,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I dont't know what you mean with GL_TEXTURE_2D, its an constant in gl.h as far as I know. On the other hand, I ensured that data_ptr is valid. The segmentation fault is not when the function was called, but somewhat later.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also ensured that there is no other thread/process involved by using this texture, if that's what you meant in your last sentence.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Michael&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jan 2018 16:48:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Issue-with-floating-point-textures/m-p/766306#M119020</guid>
      <dc:creator>michaeljope</dc:creator>
      <dc:date>2018-01-30T16:48:36Z</dc:date>
    </item>
  </channel>
</rss>

