LerpMeshVertexes_altivec still uses the ALIGN16 macro which as I understand it has been removed in favour of ALIGN(x) from q_shared.h. Here's a patch that makes things work again:
Index: code/renderer/tr_surface.c
===================================================================
--- code/renderer/tr_surface.c (revision 419)
+++ code/renderer/tr_surface.c (working copy)
@@ -615,10 +615,10 @@
{
short *oldXyz, *newXyz, *oldNormals, *newNormals;
float *outXyz, *outNormal;
- float oldXyzScale ALIGN16;
- float newXyzScale ALIGN16;
- float oldNormalScale ALIGN16;
- float newNormalScale ALIGN16;
+ float oldXyzScale ALIGN(16);
+ float newXyzScale ALIGN(16);
+ float oldNormalScale ALIGN(16);
+ float newNormalScale ALIGN(16);
int vertNum;
unsigned lat, lng;
int numVerts;
Setting a QA contact on all ioquake3 bugs, even resolved ones. Sorry if you get a flood of email from this, it should only happen once. Apologies for the incovenience.
--ryan.
LerpMeshVertexes_altivec still uses the ALIGN16 macro which as I understand it has been removed in favour of ALIGN(x) from q_shared.h. Here's a patch that makes things work again: Index: code/renderer/tr_surface.c =================================================================== --- code/renderer/tr_surface.c (revision 419) +++ code/renderer/tr_surface.c (working copy) @@ -615,10 +615,10 @@ { short *oldXyz, *newXyz, *oldNormals, *newNormals; float *outXyz, *outNormal; - float oldXyzScale ALIGN16; - float newXyzScale ALIGN16; - float oldNormalScale ALIGN16; - float newNormalScale ALIGN16; + float oldXyzScale ALIGN(16); + float newXyzScale ALIGN(16); + float oldNormalScale ALIGN(16); + float newNormalScale ALIGN(16); int vertNum; unsigned lat, lng; int numVerts;