Created attachment 35792 [details]
With latest mesa git Heroes of Newerth crash early in game usually if some effect like when you gain level is rendered. This is a regression introduce by this commit:
f86ac27bf9203fdd9b7110dc843263307f475a99 is the first bad commit
Author: Marek Olšák <firstname.lastname@example.org>
Date: Sat May 15 22:55:17 2010 +0200
r300g: fix psychedelic colors with SWTCL
r300_vertex_shader::outputs was uninitialized.
Also remove the tokens parameter.
Reverting mentioned commit solves this issue.
Created attachment 35793 [details]
BTW when I was bisecting and head was at commit "r300g: fix emission of some non-CSO atoms at the beginning of CS" it also crashed (after longer time) but I did git bisect good, because this crash looks different.
I forgot to mention my video card:
01:00.0 VGA compatible controller: ATI Technologies Inc M56P [Radeon Mobility X1600] (RV530)
There are 2 issues:
1. Dummy vertex shader compilation was broken.
2. SIN and COS instructions haven't been implemented for vertex shaders. I am really surprised because I thought we had them. Nevertheless r300 supports them in HW directly (instructions ME_SIN and ME_COS) so their implementation should be straithforward.
'1' should be fixed. Can you please try current mesa git?
HoN no longer crash with current mesa git. Thank you Marek.