<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - GL_PROGRAM_BINARY_LENGTH always reports 0"
href="https://bugs.freedesktop.org/show_bug.cgi?id=93053#c1">Comment # 1</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - GL_PROGRAM_BINARY_LENGTH always reports 0"
href="https://bugs.freedesktop.org/show_bug.cgi?id=93053">bug 93053</a>
from <span class="vcard"><a class="email" href="mailto:weilercdale@gmail.com" title="Dale Weiler <weilercdale@gmail.com>"> <span class="fn">Dale Weiler</span></a>
</span></b>
<pre>A minor quick fix may look something like this:
<span class="quote">>> size_t size = 0;</span >
<span class="quote">>> case GL_PROGRAM_BINARY_LENGTH:
>> free(mesa_program_serialize(shProg, &size));
>> *params = size;
>> return;</span >
Though to be fair, mesa_program_serialize should have an option to query
just the size without allocating memory (using blob.position())</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>