Skip to contentSkip to conversation

vm protection faults in piglit lest: texsubimage cube_map_array pbo

Bug 89957 [email protected] 1 participant 3 messages Apr 8, 2015 – Apr 13, 2015

lore
Share & tools
lore
#0 lore raw

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: [email protected]
Reporter: [email protected]
QA Contact: [email protected]

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.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#1 lore raw

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

--- Comment #1 from Alex Deucher <[email protected]> --- Possibly fixed by this patch:
http://lists.freedesktop.org/archives/mesa-dev/2015-April/081426.html
See also:
http://lists.freedesktop.org/archives/mesa-dev/2015-April/081424.html

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#2 lore raw
In reply to [email protected]

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

Dave Airlie <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED
Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel