[Bug 66883] New: [r600 llvm backend] Assert with 32-bit lightsmark, TF2 when shader dump is enabled

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sat Jul 13 17:27:17 PDT 2013


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

          Priority: medium
            Bug ID: 66883
          Assignee: dri-devel at 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 at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20130714/96f6e511/attachment.html>


More information about the dri-devel mailing list