[Mesa-dev] [Bug 28169] [Gallium] state_tracker/st_mesa_to_tgsi.c:181: dst_register: Assertion `t->outputMapping[index] < (sizeof(t->outputs)/sizeof(*(t->outputs)))' failed

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Jul 1 23:56:28 PDT 2010


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

--- Comment #6 from Fabio Pedretti <fabio.ped at libero.it> 2010-07-01 23:56:29 PDT ---
(In reply to comment #5)
> Created an attachment (id=36661)
 View: https://bugs.freedesktop.org/attachment.cgi?id=36661
 Review: https://bugs.freedesktop.org/review?bug=28169&attachment=36661

> add num_draw_buffers to texenvprogram state key
> 
> Can you try this patch?
> 
> The problem is the program->OutputsWritten field is 0 when the program clearly
> writes to OUTPUT[1].  AFAICT, this may be coming from a bug in the
> texenvprogram generation code.  On the other hand, if GLSL shaders are being
> used, perhaps the problem is elsewhere...

It's still crashing in the same way, but now also print some:

Warning: CONST[0]: Register never used
0 errors, 1 warnings
Warning: IN[0]: Register never used
0 errors, 1 warnings

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the mesa-dev mailing list