From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 66883] New: [r600 llvm backend] Assert with 32-bit lightsmark, TF2 when shader dump is enabled Date: Sun, 14 Jul 2013 00:27:17 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1792262722==" Return-path: Received: from culpepper.freedesktop.org (unknown [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 8D125E5CB2 for ; Sat, 13 Jul 2013 17:27:17 -0700 (PDT) List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org Errors-To: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============1792262722== Content-Type: multipart/alternative; boundary="1373761637.b5eEA24D0.15346"; charset="us-ascii" --1373761637.b5eEA24D0.15346 Date: Sun, 14 Jul 2013 00:27:17 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=66883 Priority: medium Bug ID: 66883 Assignee: dri-devel@lists.freedesktop.org Summary: [r600 llvm backend] Assert with 32-bit lightsmark, TF2 when shader dump is enabled Severity: normal Classification: Unclassified OS: All Reporter: ptpzz@yandex.ru Hardware: Other Status: NEW Version: git Component: Drivers/Gallium/r600 Product: Mesa I have asserts in the middle of shader dump in llvm backend with 32-bit Team Fortress 2 and Lightsmark, R600_DEBUG=ps,vs. Here is message with Lightsmark: ... ALU_CLAUSE 8; dbg:backend: DebugLoc.cpp:27: llvm::MDNode* llvm::DebugLoc::getScope(const llvm::LLVMContext&) const: Assertion `unsigned(ScopeIdx) <= Ctx.pImpl->ScopeRecords.size() && "Invalid ScopeIdx!"' failed. TF2 message: ... ALU_CLAUSE 32; dbg:hl2_linux: DebugLoc.cpp:33: llvm::MDNode* llvm::DebugLoc::getScope(const llvm::LLVMContext&) const: Assertion `unsigned(-ScopeIdx) <= Ctx.pImpl->ScopeInlinedAtRecords.size() && "Invalid ScopeIdx"' failed. It seems in both cases it happens on ALU clause start in the dump. So far I can't reproduce this issue with 64-bit Lightsmark/mesa/llvm. -- You are receiving this mail because: You are the assignee for the bug. --1373761637.b5eEA24D0.15346 Date: Sun, 14 Jul 2013 00:27:17 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"
Priority medium
Bug ID 66883
Assignee dri-devel@lists.freedesktop.org
Summary [r600 llvm backend] Assert with 32-bit lightsmark, TF2 when shader dump is enabled
Severity normal
Classification Unclassified
OS All
Reporter ptpzz@yandex.ru
Hardware Other
Status NEW
Version git
Component Drivers/Gallium/r600
Product Mesa

I have asserts in the middle of shader dump in llvm backend with 32-bit Team
Fortress 2 and Lightsmark, R600_DEBUG=ps,vs. Here is message with Lightsmark:

...
ALU_CLAUSE 8; dbg:backend: DebugLoc.cpp:27: llvm::MDNode*
llvm::DebugLoc::getScope(const llvm::LLVMContext&) const: Assertion
`unsigned(ScopeIdx) <= Ctx.pImpl->ScopeRecords.size() && "Invalid ScopeIdx!"'
failed.

TF2 message:

...
ALU_CLAUSE 32; dbg:hl2_linux: DebugLoc.cpp:33: llvm::MDNode*
llvm::DebugLoc::getScope(const llvm::LLVMContext&) const: Assertion
`unsigned(-ScopeIdx) <= Ctx.pImpl->ScopeInlinedAtRecords.size() && "Invalid
ScopeIdx"' failed.

It seems in both cases it happens on ALU clause start in the dump.
So far I can't reproduce this issue with 64-bit Lightsmark/mesa/llvm.


You are receiving this mail because:
  • You are the assignee for the bug.
--1373761637.b5eEA24D0.15346-- --===============1792262722== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel --===============1792262722==--