[Nouveau] [Bug 70212] glxinfo triggers assert in cso_release_all after 3f0627c2ad6

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun Oct 20 07:52:12 PDT 2013


https://bugs.freedesktop.org/show_bug.cgi?id=70212

--- Comment #4 from exc <exclusive_tm at mail.ru> ---
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

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/nouveau/attachments/20131020/ba2b3bc6/attachment.html>


More information about the Nouveau mailing list