[Bug 89957] vm protection faults in piglit lest: texsubimage cube_map_array pbo

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Apr 8 10:23:22 PDT 2015


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

            Bug ID: 89957
           Summary: vm protection faults in piglit lest: texsubimage
                    cube_map_array pbo
           Product: Mesa
           Version: git
          Hardware: Other
                OS: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Drivers/Gallium/radeonsi
          Assignee: dri-devel at lists.freedesktop.org
          Reporter: tstellar at gmail.com
        QA Contact: dri-devel at lists.freedesktop.org

To reproduce:  /home/tstellar/piglit/bin/texsubimage cube_map_array pbo -auto
-fbo

I've spent some time debugging this and it appears the result from the
v_cubeid_f32
instruction is causing the shader to access memory outside the bounds of the
texture.

If I replace v_cubeid_f32 $dst, $src0, $src1, $src2 instructions with v_mov_f32
$dst, 0.0 or v_mov_f32 $dst, 1.0
I no longer see vm protection faults.

However, if I replace the v_cubeid_f32 instructions with v_mov_f32 $dst, 2.0
then the vm protection faults return.  So, it seems the bad case is whenever
the face id is computed as >= 2.0f.

-- 
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/dri-devel/attachments/20150408/6acdc1eb/attachment.html>


More information about the dri-devel mailing list