[Bug 38547] r600g fails shader, tries to run with failed shader, freezes.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

--- Comment #4 from David L. <equinox-freedesktopbugs@xxxxxxxxxx> 2011-06-22 19:56:23 PDT ---
(In reply to comment #3)
> Do you have the original glsl shader ? (env var MESA_GLSL="dump" should dump
> it)

I can't dump the shader due to #38584.

Also, I'm sorry, I misidentified the failing instruction. TGSI 0x09 isn't ADD
but DP3, and my hacked-in instruction counter was not off by one after all...
so the instruction that fails is

2517:   ADD TEMP[161].x, -TEMP[158].xxxx, CONST[0].wwww
2518>>> DP3 TEMP[162].x, TEMP[138].xyzz, -TEMP[153].xyzz
2519:   MOV TEMP[20].w, TEMP[162].xxxx
2520:   ADD TEMP[163].xy, -TEMP[147].yyyy, TEMP[20].xwww

It fails to compile two more shaders before it crashes, those bail out on:

472:   ADD TEMP[150].x, -TEMP[147].xxxx, -CONST[0].wwww
473>>> DP3 TEMP[151].x, TEMP[127].xyzz, -TEMP[142].xyzz
474:   ADD TEMP[152].x, -TEMP[136].yyyy, TEMP[136].xxxx
475:   ADD TEMP[153].x, -TEMP[136].yyyy, TEMP[151].xxxx

and

473:   ADD TEMP[151].x, -TEMP[148].xxxx, -CONST[0].wwww
474>>> DP3 TEMP[152].x, TEMP[128].xyzz, -TEMP[143].xyzz
475:   ADD TEMP[153].x, -TEMP[137].yyyy, TEMP[137].xxxx
476:   ADD TEMP[154].x, -TEMP[137].yyyy, TEMP[152].xxxx

I have, however, also seen it crash on ADDs (opcode 0x08) - can't reproduce
that right now though. Is there a register limit at around 150...160?

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/dri-devel


[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux