[Bug 92609] [BDW, BSW] piglit sampling-2d-array-as-2d-layer fails

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Oct 26 17:11:56 PDT 2015


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

--- Comment #2 from Ben Widawsky <ben at bwidawsk.net> ---
All layers > 0 are failing. The test attempts to create a texture view with a
2d surface from a source texture 2d array. It writes red to all layers, then
sets a green pixel in layer n, and finally creates a texture view of layer n.
It checks if the texture view has the green pixel. I tried to change the test
to not use a texture view to verify the write to the source texture 2d array is
working but failed to make that pass. I am not sure if there is a bug in the
test modification, or that the 2d array writes or sampling is failing - which
is causing the test to fail. I need to dig more here.

I've compared a batch dump to a dump from SKL (which works according to Mark),
and the only substantive I can find is qpitch. That's interesting because
qpitch might impact such a test. Random qpitch hacking hasn't helped yet.

Here is a patch to simplify the test
diff --git a/tests/spec/arb_texture_view/sampling-2d-array-as-2d-layer.c
b/tests/spec/arb_texture_view/sampling-2d-array-as-2d-layer.c
index 8189044..95f3c64 100644
--- a/tests/spec/arb_texture_view/sampling-2d-array-as-2d-layer.c
+++ b/tests/spec/arb_texture_view/sampling-2d-array-as-2d-layer.c
@@ -51,7 +51,8 @@ typedef struct Params {
 /* test a few size combinations that tend to require particular alignment
    requirements by the hardware */
 static const Params testparams[] = {
-       { 8, 1, 1, "1x1" },
+       { 2, 1, 1, "1x1" },
+#if 0
        { 3, 2, 1, "2x1" },
        { 3, 8, 1, "8x1" },
        { 1, 16, 1, "16x1" },
@@ -60,6 +61,7 @@ static const Params testparams[] = {
        { 2, 64, 64, "64x64" },
        { 4, 128, 64, "128x64" },
        { 3, 35, 67, "35x67" }
+#endif
 };

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/intel-3d-bugs/attachments/20151027/b0f88650/attachment.html>


More information about the intel-3d-bugs mailing list