<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_ASSIGNED "
title="ASSIGNED --- - glxinfo triggers assert in cso_release_all after 3f0627c2ad6"
href="https://bugs.freedesktop.org/show_bug.cgi?id=70212#c4">Comment # 4</a>
on <a class="bz_bug_link
bz_status_ASSIGNED "
title="ASSIGNED --- - glxinfo triggers assert in cso_release_all after 3f0627c2ad6"
href="https://bugs.freedesktop.org/show_bug.cgi?id=70212">bug 70212</a>
from <span class="vcard"><a class="email" href="mailto:exclusive_tm@mail.ru" title="exc <exclusive_tm@mail.ru>"> <span class="fn">exc</span></a>
</span></b>
<pre>It's because value returned by nv50_screen_get_shader_param with
param=PIPE_SHADER_CAP_MAX_TEXTURE_SAMPLERS is greater than PIPE_MAX_SAMPLERS.
Setting either of them to another fixes the problem, dunno which is right.
git blame outputs:
% git blame src/gallium/drivers/nouveau/nv50/nv50_screen.c -L 251,252
f5bfe54a src/gallium/drivers/nv50/nv50_screen.c (Marek Olšák 2011-09-27
22:22:06 +0200 251) case PIPE_SHADER_CAP_MAX_TEXTURE_SAMPLERS:
f5bfe54a src/gallium/drivers/nv50/nv50_screen.c (Marek Olšák 2011-09-27
22:22:06 +0200 252) return 32;
% git blame src/gallium/include/pipe/p_state.h -L 60,60
da893403 (Brian 2008-04-08 21:43:36 -0600 60) #define PIPE_MAX_SAMPLERS
16</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>