<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - [NVA3:NVC0] Turn on support for PIPE_CAP_CUBE_MAP_ARRAY"
href="https://bugs.freedesktop.org/show_bug.cgi?id=57660#c9">Comment # 9</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW --- - [NVA3:NVC0] Turn on support for PIPE_CAP_CUBE_MAP_ARRAY"
href="https://bugs.freedesktop.org/show_bug.cgi?id=57660">bug 57660</a>
from <span class="vcard"><a class="email" href="mailto:martin.peres@ensi-bourges.fr" title="Martin Peres <martin.peres@ensi-bourges.fr>"> <span class="fn">Martin Peres</span></a>
</span></b>
<pre>(In reply to <a href="show_bug.cgi?id=57660#c8">comment #8</a>)
<span class="quote">> 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:</span >
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 (<a href="http://codepad.org/sZpx3ajS">http://codepad.org/sZpx3ajS</a>)
* arb_texture_cube_map_array-cubemap-lod: FAIL (<a href="http://codepad.org/5E8EPmpx">http://codepad.org/5E8EPmpx</a>)
* arb_texture_cube_map_array-fbo-cubemap-array: FAIL
(<a href="http://codepad.org/0QqPUEAE">http://codepad.org/0QqPUEAE</a>)
* arb_texture_cube_map_array-sampler-cube-array-shadow: FAIL
(<a href="http://codepad.org/orzd5RoU">http://codepad.org/orzd5RoU</a>)</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>