<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0">
    <channel>
        <title>opengl - Tag - Papalqi</title>
        <link>https://papalqi.cn/tags/opengl/</link>
        <description>opengl - Tag - Papalqi</description>
        <generator>Hugo -- gohugo.io</generator><language>en</language><managingEditor>qihuang1995@outlook.com (Papalqi)</managingEditor>
            <webMaster>qihuang1995@outlook.com (Papalqi)</webMaster><copyright>This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.</copyright><lastBuildDate>Sat, 01 Jun 2024 00:00:00 &#43;0000</lastBuildDate><atom:link href="https://papalqi.cn/tags/opengl/" rel="self" type="application/rss+xml" /><item>
    <title>记录 MTK 驱动opengl 编译问题</title>
    <link>https://papalqi.cn/%E8%AE%B0%E5%BD%95-mtk-%E9%A9%B1%E5%8A%A8opengl-%E7%BC%96%E8%AF%91%E9%97%AE%E9%A2%98/</link>
    <pubDate>Sat, 01 Jun 2024 00:00:00 &#43;0000</pubDate>
    <author>Papalqi</author>
    <guid>https://papalqi.cn/%E8%AE%B0%E5%BD%95-mtk-%E9%A9%B1%E5%8A%A8opengl-%E7%BC%96%E8%AF%91%E9%97%AE%E9%A2%98/</guid>
    <description><![CDATA[<p>崩溃在<code>OpenGL glLinkProgram</code>。集中在libGLESv2_mtk.so这个mtk驱动上面，PowerVR Rogue GE8320/PowerVR Rogue GE8320系列GPU。</p>
<p>驱动支持反馈的触发bug需要同时满足三个条件：</p>
<ol>
<li>sampler2DArray optimisation is possible (.z is directly set from a uniform)</li>
<li>total binding-symbols (uniforms, builtins, driver-internals) become more than 32</li>
<li>the sampler2DArray symbol and the z-uniform both happen to be among the first 32 symbols</li>
</ol>
<div class="highlight"><div class="chroma">
<table class="lntable"><tr><td class="lntd">
<pre tabindex="0" class="chroma"><code><span class="lnt">1
</span></code></pre></td>
<td class="lntd">
<pre tabindex="0" class="chroma"><code class="language-glsl" data-lang="glsl"><span class="line"><span class="cl"><span class="n">gl_FragColor</span> <span class="o">=</span> <span class="k">vec4</span><span class="p">(</span><span class="n">color</span><span class="p">,</span><span class="mf">1.0</span><span class="p">);</span>
</span></span></code></pre></td></tr></table>
</div>
</div>]]></description>
</item>
</channel>
</rss>
