[Bug 68527] Planetary Annihilation Alpha: translation from TGSI failed !
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Sun Aug 25 14:07:46 PDT 2013
https://bugs.freedesktop.org/show_bug.cgi?id=68527
--- Comment #7 from Vadim Girlin <ptpzz at yandex.ru> ---
(In reply to comment #4)
> I'm also forgot to post full error:
> EE r600_shader.c:158 r600_pipe_shader_create - translation from TGSI failed !
> EE r600_state_common.c:754 r600_shader_select - Failed to build shader
> variant (type=1) -1
Looks like the shader needs too much registers, it's probably the most frequent
reason for such errors. Old backend can't handle it correctly, and I think it's
not going to be fixed. LLVM backend should handle it better, so you might want
to try it in this case.
By the way, there is a check that should print more specific message, but
currently it's performed after the compilation because we don't know exact
numbers of temp registers used by backend itself until we compile the shader.
Probably we might want to implement similar check before the compilation as
well - in most cases we can detect the problem just by checking the number of
TGSI_inputs + TGSI_outputs + TGSI_temps, otherwise the backend often fails due
to register limit in the middle of compilation without providing any
explanation.
--
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/20130825/1d9399b7/attachment.html>
More information about the dri-devel
mailing list