Bug 71320 - [radeonsi,PIGLIT] spec/EXT_transform_feedback/order arrays triangles: LLVM error
Summary: [radeonsi,PIGLIT] spec/EXT_transform_feedback/order arrays triangles: LLVM error
Status: RESOLVED FIXED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/Gallium/radeonsi (show other bugs)
Version: git
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Default DRI bug account
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-11-06 17:58 UTC by Kai
Modified: 2014-03-22 18:37 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
Output with 600_DEBUG=ps,vs (32.98 KB, text/plain)
2013-11-06 18:37 UTC, Kai
Details
Output with R600_DEBUG=ps,vs (2013-11-19) (30.56 KB, text/plain)
2013-11-19 11:23 UTC, Kai
Details

Description Kai 2013-11-06 17:58:41 UTC
Running "spec/EXT_transform_feedback/order arrays triangles" from Piglit (and some other tests) with the stack specified below, I'm getting the following LLVM error:
> LLVM ERROR: Cannot select: 0x8bee90: i1 = truncate 0x8c06b0 [ORD=40] [ID=16]
>  0x8c06b0: i32 = bitcast 0x8be170 [ORD=36] [ID=15]
>     0x8be170: f32,ch = CopyFromReg 0x87b500, 0x8c0ab0 [ORD=36] [ID=13]
>       0x8c0ab0: f32 = Register %vreg10 [ID=1]
> In function: main

Stack:
GPU: "PITCAIRN" (ChipID = 0x6819)
Linux: 3.12
libdrm: 2.4.47
LLVM: SVN:trunk/r194068
libclc: Git:master/4c18120c1a
Mesa: Git:master/67b8f4c569
GLAMOR: Git:master/ba209eeef2
DDX: Git:master/f1dc677e79

Let me know if you need further information.
Comment 1 Tom Stellard 2013-11-06 18:24:40 UTC
Can you post the output of R600_DEBUG=ps,vs
Comment 2 Kai 2013-11-06 18:37:32 UTC
Created attachment 88774 [details]
Output with 600_DEBUG=ps,vs

(In reply to comment #1)
> Can you post the output of R600_DEBUG=ps,vs

Sure. See the attached file.
Comment 3 Kai 2013-11-19 11:23:11 UTC
Created attachment 89457 [details]
Output with R600_DEBUG=ps,vs (2013-11-19)

This is still an issue with Mesa Git:master/21ae5135dd and LLVM SVN:trunk/r195051. But since there are some minor changes in the shader dump (besides the formatting changes), I'm attaching a new version of it.
Comment 4 Kai 2014-03-22 18:37:23 UTC
This test passes with my current stack:
GPU: "PITCAIRN" (ChipID = 0x6819)
Linux: 3.13.6
libdrm: 2.4.52-1
LLVM: SVN:trunk/r204517
libclc: Git:master/1e278a7b04
Mesa: Git:master/4c79f088c0
GLAMOR: Git:master/a4fbc7732a (Standalone)
DDX: Git:master/ea6d0affe5
X: 1.15.0-2


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.