[Bug 68527] Planetary Annihilation Alpha: translation from TGSI failed !

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

 



Comment # 7 on bug 68527 from
(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:
_______________________________________________
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