Bug 56620 - r600g: ETQW renders garbage with --enable-r600-llvm-compiler
Summary: r600g: ETQW renders garbage with --enable-r600-llvm-compiler
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/Gallium/r600 (show other bugs)
Version: git
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Default DRI bug account
QA Contact:
: 56592 (view as bug list)
Depends on:
Reported: 2012-10-31 16:34 UTC by Laurent carlier
Modified: 2012-11-04 07:52 UTC (History)
3 users (show)

See Also:
i915 platform:
i915 features:

furmark.exe output (1.47 MB, image/png)
2012-10-31 16:34 UTC, Laurent carlier

Description Laurent carlier 2012-10-31 16:34:50 UTC
Created attachment 69356 [details]
furmark.exe output

etqw renders garbage with --enable-r600-llvm. Bisecting gives me:

5ab82e0ccf84855e9311ebfc58d1b57b437ed991 is the first bad commit
commit 5ab82e0ccf84855e9311ebfc58d1b57b437ed991
Author: Vincent Lejeune <vljn@ovi.com>
Date:   Fri Oct 19 15:49:06 2012 +0200

    r600g: tgsi-to-llvm emits right input intrinsics
    Reviewed-by: Tom Stellard <thomas.stellard at amd.com>

:040000 040000 e678b643c10733ff7ef7163f3e21aee0a16ebb6e 4d10bf29f966beb56e12c385529284c53db1f950 M      src
Comment 1 Laurent carlier 2012-10-31 16:36:37 UTC
oups, with --enable-r600-llvm-compiler of course
Comment 2 Laurent carlier 2012-10-31 17:04:44 UTC
OpenGL renderer string: Gallium 0.4 on AMD BARTS
OpenGL version string: 3.0 Mesa 9.1-devel (git-5ab82e0)
OpenGL shading language version string: 1.30

with radeon HD6870
Comment 3 vincent 2012-10-31 17:59:41 UTC
Do you use llvm 3.2-svn from here ? :

If so, can you give the output of either etqw or furmark with the R600_DUMP_SHADERS=1 envvar set, before and after the commit please ?
Comment 4 Alex Deucher 2012-10-31 18:32:13 UTC
*** Bug 56592 has been marked as a duplicate of this bug. ***
Comment 5 Laurent carlier 2012-11-01 08:54:20 UTC
[lordh@archMain ~]$ /usr/bin/llvm-config32 --version
Comment 6 Laurent carlier 2012-11-04 07:52:52 UTC
Fixed with tstellar repo (http://cgit.freedesktop.org/~tstellar/llvm/) and AMDGPU experimental target enabled.

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.