[Mesa-dev] gallium bound checking patch broke r600g in weird way

Jakob Bornecrantz jakob at vmware.com
Fri Jul 30 14:51:21 PDT 2010


On 30 jul 2010, at 14.02, Jakob Bornecrantz wrote:

> On 30 jul 2010, at 13.32, Brian Paul wrote:
>> On 07/30/2010 12:38 PM, Jerome Glisse wrote:
>>> Hi Brian,
>>>
>>> I am facing a strange segfault with r600g on top of lastest git,
>>> git bisect pointed to gallium: implement bounds checking for
>>> constant buffers
>>> My feeling is that it should only affect software pipeline but
>>> somehow r600g seem to take different path now, attached if full
>>> but i can't make much sense out of it, do you have a clue on what
>>> might went wrong ?
>>
>> I took a quick look but didn't find anything.
>>
>> Maybe try a make clean and rebuild just in case?
>
> I'm getting the same with swrastg on in 32bit VM, "git clean -fdx":ed
> even.

Me and Jerome tracked it down to the SSE code generated by the tgsi  
runtime. Exporting GALLIUM_NOSSE avoids the bug. I'm guessing you are  
either using LLVM or 64bit which doesn't have SSE codegen.

Cheers Jakob.


More information about the mesa-dev mailing list