From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ@public.gmane.org Subject: [Bug 70212] glxinfo triggers assert in cso_release_all after 3f0627c2ad6 Date: Sun, 20 Oct 2013 14:52:12 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1743858399==" Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: nouveau-bounces+gcfxn-nouveau=m.gmane.org-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org Errors-To: nouveau-bounces+gcfxn-nouveau=m.gmane.org-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org List-Id: nouveau.vger.kernel.org --===============1743858399== Content-Type: multipart/alternative; boundary="1382280732.D8E1Dd03.19271"; charset="us-ascii" --1382280732.D8E1Dd03.19271 Date: Sun, 20 Oct 2013 14:52:12 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable https://bugs.freedesktop.org/show_bug.cgi?id=3D70212 --- Comment #4 from exc --- It's because value returned by nv50_screen_get_shader_param with param=3DPIPE_SHADER_CAP_MAX_TEXTURE_SAMPLERS is greater than PIPE_MAX_SAMPL= ERS. Setting either of them to another fixes the problem, dunno which is right.= =20 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=C5=A1=C3=A1k 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=C5=A1=C3=A1k 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=20= =20=20=20=20=20=20=20 16 --=20 You are receiving this mail because: You are the assignee for the bug. --1382280732.D8E1Dd03.19271 Date: Sun, 20 Oct 2013 14:52:12 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Comment= # 4 on bug 70212<= /a> from <= span class=3D"fn">exc
It's because value returned by nv50_screen_get_shader_param wi=
th
param=3DPIPE_SHADER_CAP_MAX_TEXTURE_SAMPLERS is greater than PIPE_MAX_SAMPL=
ERS.
Setting either of them to another fixes the problem, dunno which is right.=
=20

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=C5=A1=C3=A1k 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=C5=A1=C3=A1k 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=20=
=20=20=20=20=20=20=20
16


You are receiving this mail because: =20=20=20=20=20=20
  • You are the assignee for the bug.
--1382280732.D8E1Dd03.19271-- --===============1743858399== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Nouveau mailing list Nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org http://lists.freedesktop.org/mailman/listinfo/nouveau --===============1743858399==--