From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ@public.gmane.org Subject: [Bug 57660] New: nv?? show error nv??_screen_get_param:??? - unknown PIPE_CAP 76 Date: Wed, 28 Nov 2012 20:14:07 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1031681231==" Return-path: 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 --===============1031681231== Content-Type: multipart/alternative; boundary="1354133647.375cD0.16046"; charset="us-ascii" --1354133647.375cD0.16046 Date: Wed, 28 Nov 2012 20:14:07 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=57660 Priority: medium Bug ID: 57660 Assignee: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org Summary: nv?? show error nv??_screen_get_param:??? - unknown PIPE_CAP 76 Severity: normal Classification: Unclassified OS: Linux (All) Reporter: mustrumr97-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org Hardware: All Status: NEW Version: git Component: Drivers/DRI/nouveau Product: Mesa Created attachment 70747 --> https://bugs.freedesktop.org/attachment.cgi?id=70747&action=edit Patch to fix it Unhandled case PIPE_CAP_CUBE_MAP_ARRAY in nv??_screen.c -- You are receiving this mail because: You are the assignee for the bug. --1354133647.375cD0.16046 Date: Wed, 28 Nov 2012 20:14:07 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"
Priority medium
Bug ID 57660
Assignee nouveau@lists.freedesktop.org
Summary nv?? show error nv??_screen_get_param:??? - unknown PIPE_CAP 76
Severity normal
Classification Unclassified
OS Linux (All)
Reporter mustrumr97@gmail.com
Hardware All
Status NEW
Version git
Component Drivers/DRI/nouveau
Product Mesa

Created attachment 70747 [details]
Patch to fix it

Unhandled case PIPE_CAP_CUBE_MAP_ARRAY in nv??_screen.c


You are receiving this mail because:
  • You are the assignee for the bug.
--1354133647.375cD0.16046-- --===============1031681231== 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 --===============1031681231==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ@public.gmane.org Subject: [Bug 57660] nv?? show error nv??_screen_get_param:??? - unknown PIPE_CAP 76 Date: Thu, 29 Nov 2012 15:22:03 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0698665966==" 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 --===============0698665966== Content-Type: multipart/alternative; boundary="1354202522.4A2e21.14502"; charset="us-ascii" --1354202522.4A2e21.14502 Date: Thu, 29 Nov 2012 15:22:02 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=57660 --- Comment #1 from Maarten Lankhorst --- I think nouveau could probably easily get support for it, so I don't know if we should default to false, would be better to leave it open. -- You are receiving this mail because: You are the assignee for the bug. --1354202522.4A2e21.14502 Date: Thu, 29 Nov 2012 15:22:02 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 1 on bug 57660 from
I think nouveau could probably easily get support for it, so I don't know if we
should default to false, would be better to leave it open.


You are receiving this mail because:
  • You are the assignee for the bug.
--1354202522.4A2e21.14502-- --===============0698665966== 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 --===============0698665966==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ@public.gmane.org Subject: [Bug 57660] nv?? show error nv??_screen_get_param:??? - unknown PIPE_CAP 76 Date: Thu, 29 Nov 2012 16:31:32 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0996610068==" 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 --===============0996610068== Content-Type: multipart/alternative; boundary="1354206692.8A24bdB0.24992"; charset="us-ascii" --1354206692.8A24bdB0.24992 Date: Thu, 29 Nov 2012 16:31:32 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=57660 --- Comment #2 from Hristo Venev --- Working on it. -- You are receiving this mail because: You are the assignee for the bug. --1354206692.8A24bdB0.24992 Date: Thu, 29 Nov 2012 16:31:32 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 2 on bug 57660 from
Working on it.


You are receiving this mail because:
  • You are the assignee for the bug.
--1354206692.8A24bdB0.24992-- --===============0996610068== 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 --===============0996610068==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ@public.gmane.org Subject: [Bug 57660] nv?? show error nv??_screen_get_param:??? - unknown PIPE_CAP 76 Date: Thu, 29 Nov 2012 17:27:11 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0966949995==" 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 --===============0966949995== Content-Type: multipart/alternative; boundary="1354210031.4037faFc0.1978"; charset="us-ascii" --1354210031.4037faFc0.1978 Date: Thu, 29 Nov 2012 17:27:11 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=57660 --- Comment #3 from Hristo Venev --- In nv50_ir_lowering_nv50.cpp in handleTEX, arguments to the texture instruction i are (x, y, z, face, something). What do they need to be transformed to? Is it (x, y, 6*z+face, something)? -- You are receiving this mail because: You are the assignee for the bug. --1354210031.4037faFc0.1978 Date: Thu, 29 Nov 2012 17:27:11 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 3 on bug 57660 from
In nv50_ir_lowering_nv50.cpp in handleTEX, arguments to the texture instruction
i are (x, y, z, face, something).
What do they need to be transformed to? Is it (x, y, 6*z+face, something)?


You are receiving this mail because:
  • You are the assignee for the bug.
--1354210031.4037faFc0.1978-- --===============0966949995== 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 --===============0966949995==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ@public.gmane.org Subject: [Bug 57660] nv?? show error nv??_screen_get_param:??? - unknown PIPE_CAP 76 Date: Thu, 29 Nov 2012 18:51:20 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2127681349==" 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 --===============2127681349== Content-Type: multipart/alternative; boundary="1354215080.83CDe0.14639"; charset="us-ascii" --1354215080.83CDe0.14639 Date: Thu, 29 Nov 2012 18:51:20 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=57660 Hristo Venev changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|nouveau-PD4FTy7X32lNgt0PjOBp93rCq3LdnpKM@public.gmane.org |mustrumr97-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org |rg | Attachment #70747|0 |1 is obsolete| | --- Comment #4 from Hristo Venev --- Created attachment 70799 --> https://bugs.freedesktop.org/attachment.cgi?id=70799&action=edit Partial implementation This is a partial implementation. It is probably slow and renders incorrectly for some reason. -- You are receiving this mail because: You are the assignee for the bug. --1354215080.83CDe0.14639 Date: Thu, 29 Nov 2012 18:51:20 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" changed bug 57660
What Removed Added
Assignee nouveau@lists.freedesktop.org mustrumr97@gmail.com
Attachment #70747 is obsolete   1

Comment # 4 on bug 57660 from
Created attachment 70799 [details]
Partial implementation

This is a partial implementation. It is probably slow and renders incorrectly
for some reason.


You are receiving this mail because:
  • You are the assignee for the bug.
--1354215080.83CDe0.14639-- --===============2127681349== 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 --===============2127681349==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ@public.gmane.org Subject: [Bug 57660] [NVA3:NVC0] Turn on support for PIPE_CAP_CUBE_MAP_ARRAY Date: Tue, 20 Aug 2013 06:39:36 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0401829982==" 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 --===============0401829982== Content-Type: multipart/alternative; boundary="1376980776.B81c81.2840"; charset="us-ascii" --1376980776.B81c81.2840 Date: Tue, 20 Aug 2013 06:39:36 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=57660 Ilia Mirkin changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|mustrumr97-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org |nouveau-PD4FTy7X32lNgt0PjOBp93rCq3LdnpKM@public.gmane.org | |rg CC| |mustrumr97-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org -- You are receiving this mail because: You are the assignee for the bug. --1376980776.B81c81.2840 Date: Tue, 20 Aug 2013 06:39:36 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" changed bug 57660
What Removed Added
Assignee mustrumr97@gmail.com nouveau@lists.freedesktop.org
CC   mustrumr97@gmail.com


You are receiving this mail because:
  • You are the assignee for the bug.
--1376980776.B81c81.2840-- --===============0401829982== 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 --===============0401829982==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ@public.gmane.org Subject: [Bug 57660] [NVA3:NVC0] Turn on support for PIPE_CAP_CUBE_MAP_ARRAY Date: Tue, 20 Aug 2013 15:00:36 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1759292402==" 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 --===============1759292402== Content-Type: multipart/alternative; boundary="1377010836.BF443fB1.6392"; charset="us-ascii" --1377010836.BF443fB1.6392 Date: Tue, 20 Aug 2013 15:00:36 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=57660 --- Comment #8 from Ilia Mirkin --- Sounds like what's left to be done is to test it. Just need to apply the below patch and see if it works (looks like there are a couple of piglit tests... ls bin/*cube_map_array* -- they ought to pass on the nva3+ hardware). --- a/src/gallium/drivers/nv50/nv50_screen.c +++ b/src/gallium/drivers/nv50/nv50_screen.c @@ -114,10 +114,7 @@ nv50_screen_get_param(struct pipe_screen *pscreen, enum pipe_cap param) case PIPE_CAP_SEAMLESS_CUBE_MAP_PER_TEXTURE: return 0; case PIPE_CAP_CUBE_MAP_ARRAY: - return 0; - /* return nv50_screen(pscreen)->tesla->oclass >= NVA3_3D_CLASS; - */ case PIPE_CAP_TWO_SIDED_STENCIL: case PIPE_CAP_DEPTH_CLIP_DISABLE: case PIPE_CAP_POINT_SPRITE: -- You are receiving this mail because: You are the assignee for the bug. --1377010836.BF443fB1.6392 Date: Tue, 20 Aug 2013 15:00:36 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 8 on bug 57660 from
Sounds like what's left to be done is to test it. Just need to apply the below
patch and see if it works (looks like there are a couple of piglit tests... ls
bin/*cube_map_array* -- they ought to pass on the nva3+ hardware).

--- a/src/gallium/drivers/nv50/nv50_screen.c
+++ b/src/gallium/drivers/nv50/nv50_screen.c
@@ -114,10 +114,7 @@ nv50_screen_get_param(struct pipe_screen *pscreen, enum
pipe_cap param)
    case PIPE_CAP_SEAMLESS_CUBE_MAP_PER_TEXTURE:
       return 0;
    case PIPE_CAP_CUBE_MAP_ARRAY:
-      return 0;
-      /*
       return nv50_screen(pscreen)->tesla->oclass >= NVA3_3D_CLASS;
-      */
    case PIPE_CAP_TWO_SIDED_STENCIL:
    case PIPE_CAP_DEPTH_CLIP_DISABLE:
    case PIPE_CAP_POINT_SPRITE:


You are receiving this mail because:
  • You are the assignee for the bug.
--1377010836.BF443fB1.6392-- --===============1759292402== 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 --===============1759292402==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ@public.gmane.org Subject: [Bug 57660] [NVA3:NVC0] Turn on support for PIPE_CAP_CUBE_MAP_ARRAY Date: Tue, 20 Aug 2013 15:00:56 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0244650930==" 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 --===============0244650930== Content-Type: multipart/alternative; boundary="1377010856.bA2ca1f3.6392"; charset="us-ascii" --1377010856.bA2ca1f3.6392 Date: Tue, 20 Aug 2013 15:00:56 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=57660 Ilia Mirkin changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #70799|0 |1 is obsolete| | -- You are receiving this mail because: You are the assignee for the bug. --1377010856.bA2ca1f3.6392 Date: Tue, 20 Aug 2013 15:00:56 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" changed bug 57660
What Removed Added
Attachment #70799 is obsolete   1


You are receiving this mail because:
  • You are the assignee for the bug.
--1377010856.bA2ca1f3.6392-- --===============0244650930== 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 --===============0244650930==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ@public.gmane.org Subject: [Bug 57660] [NVA3:NVC0] Turn on support for PIPE_CAP_CUBE_MAP_ARRAY Date: Sat, 24 Aug 2013 04:06:15 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0965030519==" 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 --===============0965030519== Content-Type: multipart/alternative; boundary="1377317175.8B18C1.8984"; charset="us-ascii" --1377317175.8B18C1.8984 Date: Sat, 24 Aug 2013 04:06:15 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=57660 --- Comment #9 from Martin Peres --- (In reply to comment #8) > Sounds like what's left to be done is to test it. Just need to apply the > below patch and see if it works (looks like there are a couple of piglit > tests... ls bin/*cube_map_array* -- they ought to pass on the nva3+ > hardware). > > --- a/src/gallium/drivers/nv50/nv50_screen.c > +++ b/src/gallium/drivers/nv50/nv50_screen.c > @@ -114,10 +114,7 @@ nv50_screen_get_param(struct pipe_screen *pscreen, enum > pipe_cap param) > case PIPE_CAP_SEAMLESS_CUBE_MAP_PER_TEXTURE: > return 0; > case PIPE_CAP_CUBE_MAP_ARRAY: > - return 0; > - /* > return nv50_screen(pscreen)->tesla->oclass >= NVA3_3D_CLASS; > - */ > case PIPE_CAP_TWO_SIDED_STENCIL: > case PIPE_CAP_DEPTH_CLIP_DISABLE: > case PIPE_CAP_POINT_SPRITE: I tested this patch with piglit, it doesn't look good :D * arb_texture_cube_map_array-get: PASS * arb_texture_cube_map_array-teximage3d-invalid-values: PASS * arb_texture_cube_map_array-cubemap: FAIL (http://codepad.org/sZpx3ajS) * arb_texture_cube_map_array-cubemap-lod: FAIL (http://codepad.org/5E8EPmpx) * arb_texture_cube_map_array-fbo-cubemap-array: FAIL (http://codepad.org/0QqPUEAE) * arb_texture_cube_map_array-sampler-cube-array-shadow: FAIL (http://codepad.org/orzd5RoU) -- You are receiving this mail because: You are the assignee for the bug. --1377317175.8B18C1.8984 Date: Sat, 24 Aug 2013 04:06:15 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 9 on bug 57660 from
(In reply to comment #8)
> Sounds like what's left to be done is to test it. Just need to apply the
> below patch and see if it works (looks like there are a couple of piglit
> tests... ls bin/*cube_map_array* -- they ought to pass on the nva3+
> hardware).
> 
> --- a/src/gallium/drivers/nv50/nv50_screen.c
> +++ b/src/gallium/drivers/nv50/nv50_screen.c
> @@ -114,10 +114,7 @@ nv50_screen_get_param(struct pipe_screen *pscreen, enum
> pipe_cap param)
>     case PIPE_CAP_SEAMLESS_CUBE_MAP_PER_TEXTURE:
>        return 0;
>     case PIPE_CAP_CUBE_MAP_ARRAY:
> -      return 0;
> -      /*
>        return nv50_screen(pscreen)->tesla->oclass >= NVA3_3D_CLASS;
> -      */
>     case PIPE_CAP_TWO_SIDED_STENCIL:
>     case PIPE_CAP_DEPTH_CLIP_DISABLE:
>     case PIPE_CAP_POINT_SPRITE:

I tested this patch with piglit, it doesn't look good :D

* arb_texture_cube_map_array-get: PASS
* arb_texture_cube_map_array-teximage3d-invalid-values: PASS
* arb_texture_cube_map_array-cubemap: FAIL (http://codepad.org/sZpx3ajS)
* arb_texture_cube_map_array-cubemap-lod: FAIL (http://codepad.org/5E8EPmpx)
* arb_texture_cube_map_array-fbo-cubemap-array: FAIL
(http://codepad.org/0QqPUEAE)
* arb_texture_cube_map_array-sampler-cube-array-shadow: FAIL
(http://codepad.org/orzd5RoU)


You are receiving this mail because:
  • You are the assignee for the bug.
--1377317175.8B18C1.8984-- --===============0965030519== 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 --===============0965030519==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ@public.gmane.org Subject: [Bug 57660] [NVA3:NVC0] Turn on support for PIPE_CAP_CUBE_MAP_ARRAY Date: Fri, 07 Feb 2014 21:52:41 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0120152907==" Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: nouveau-bounces-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org Errors-To: nouveau-bounces-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org List-Id: nouveau.vger.kernel.org --===============0120152907== Content-Type: multipart/alternative; boundary="1391809961.AC5DfFD11.25749"; charset="us-ascii" --1391809961.AC5DfFD11.25749 Date: Fri, 7 Feb 2014 21:52:41 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=57660 --- Comment #10 from Ilia Mirkin --- I think there are a bunch of places in the nv50 driver where things check for PIPE_TEXTURE_{1D,2D}_ARRAY but also need to check for PIPE_TEXTURE_CUBE_ARRAY. One such place is nv50_create_texture_view but there are probably a bunch of others. -- You are receiving this mail because: You are the assignee for the bug. --1391809961.AC5DfFD11.25749 Date: Fri, 7 Feb 2014 21:52:41 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 10 on bug 57660 from
I think there are a bunch of places in the nv50 driver where things check for
PIPE_TEXTURE_{1D,2D}_ARRAY but also need to check for PIPE_TEXTURE_CUBE_ARRAY.
One such place is nv50_create_texture_view but there are probably a bunch of
others.


You are receiving this mail because:
  • You are the assignee for the bug.
--1391809961.AC5DfFD11.25749-- --===============0120152907== 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 --===============0120152907==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ@public.gmane.org Subject: [Bug 57660] [NVA3:NVC0] Turn on support for PIPE_CAP_CUBE_MAP_ARRAY Date: Fri, 07 Feb 2014 22:48:43 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0225695162==" Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: nouveau-bounces-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org Errors-To: nouveau-bounces-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org List-Id: nouveau.vger.kernel.org --===============0225695162== Content-Type: multipart/alternative; boundary="1391813323.Db2fEff1.3308"; charset="us-ascii" --1391813323.Db2fEff1.3308 Date: Fri, 7 Feb 2014 22:48:43 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=57660 --- Comment #11 from Ilia Mirkin --- Created attachment 93636 --> https://bugs.freedesktop.org/attachment.cgi?id=93636&action=edit cubemap array patch Well, this fixes the one place I found by copying what nvc0 did. But from Martin's test it seems like this probably won't be sufficient, since this just takes layer offsets into account. -- You are receiving this mail because: You are the assignee for the bug. --1391813323.Db2fEff1.3308 Date: Fri, 7 Feb 2014 22:48:43 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 11 on bug 57660 from
Created attachment 93636 [details] [review]
cubemap array patch

Well, this fixes the one place I found by copying what nvc0 did. But from
Martin's test it seems like this probably won't be sufficient, since this just
takes layer offsets into account.


You are receiving this mail because:
  • You are the assignee for the bug.
--1391813323.Db2fEff1.3308-- --===============0225695162== 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 --===============0225695162==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ@public.gmane.org Subject: [Bug 57660] [NVA3:NVC0] Turn on support for PIPE_CAP_CUBE_MAP_ARRAY Date: Fri, 14 Feb 2014 09:17:35 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1489538829==" Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: nouveau-bounces-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org Errors-To: nouveau-bounces-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org List-Id: nouveau.vger.kernel.org --===============1489538829== Content-Type: multipart/alternative; boundary="1392369455.fA2A261.7725"; charset="us-ascii" --1392369455.fA2A261.7725 Date: Fri, 14 Feb 2014 09:17:35 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=57660 --- Comment #12 from Ilia Mirkin --- (In reply to comment #11) > Created attachment 93636 [details] [review] > cubemap array patch > > Well, this fixes the one place I found by copying what nvc0 did. But from > Martin's test it seems like this probably won't be sufficient, since this > just takes layer offsets into account. In case there was any suspense about it, this doesn't work either. It seems like the texprep instruction doesn't actually adjust for the layer (or we're passing the layer in wrong) -- cubemap works for layer 0 but not layer 1. Will need some traces to figure out what's up. -- You are receiving this mail because: You are the assignee for the bug. --1392369455.fA2A261.7725 Date: Fri, 14 Feb 2014 09:17:35 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 12 on bug 57660 from
(In reply to comment #11)
> Created attachment 93636 [details] [review] [review]
> cubemap array patch
> 
> Well, this fixes the one place I found by copying what nvc0 did. But from
> Martin's test it seems like this probably won't be sufficient, since this
> just takes layer offsets into account.

In case there was any suspense about it, this doesn't work either. It seems
like the texprep instruction doesn't actually adjust for the layer (or we're
passing the layer in wrong) -- cubemap works for layer 0 but not layer 1. Will
need some traces to figure out what's up.


You are receiving this mail because:
  • You are the assignee for the bug.
--1392369455.fA2A261.7725-- --===============1489538829== 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 --===============1489538829==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ@public.gmane.org Subject: [Bug 57660] [NVA3:NVC0] Turn on support for PIPE_CAP_CUBE_MAP_ARRAY Date: Wed, 26 Feb 2014 17:17:19 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1314083892==" Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: nouveau-bounces-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org Errors-To: nouveau-bounces-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org List-Id: nouveau.vger.kernel.org --===============1314083892== Content-Type: multipart/alternative; boundary="1393435039.Be84EC1.7772"; charset="us-ascii" --1393435039.Be84EC1.7772 Date: Wed, 26 Feb 2014 17:17:19 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=57660 Ilia Mirkin changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #13 from Ilia Mirkin --- A working impl is in mesa-git now. http://cgit.freedesktop.org/mesa/mesa/commit/?id=0e71c65db0df86401f2caf26209ff73e3715443a The sampler-cube-array-shadow test fails, but so does sampler-cube-shadow (on nva0+), so I'm guessing those two failures are highly related. -- You are receiving this mail because: You are the assignee for the bug. --1393435039.Be84EC1.7772 Date: Wed, 26 Feb 2014 17:17:19 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" changed bug 57660
What Removed Added
Status NEW RESOLVED
Resolution --- FIXED

Comment # 13 on bug 57660 from
A working impl is in mesa-git now.
http://cgit.freedesktop.org/mesa/mesa/commit/?id=0e71c65db0df86401f2caf26209ff73e3715443a

The sampler-cube-array-shadow test fails, but so does sampler-cube-shadow (on
nva0+), so I'm guessing those two failures are highly related.


You are receiving this mail because:
  • You are the assignee for the bug.
--1393435039.Be84EC1.7772-- --===============1314083892== 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 --===============1314083892==--