blob: 88299814821d2134eeb4dae8220bac069977f82d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
|
#define UNITY_ASSEMBLER
#include "Configuration/PrefixConfigure.h"
#include "Runtime/Utilities/VFPUtility.h"
#if UNITY_SUPPORTS_VFP
.syntax unified
.set device,0
.set device,__arm__
.if device
//.code32
.globl _s_SkinVertices_VFP
.globl _s_SkinVertices_NoNormals_VFP
.globl _s_SkinVertices_Tangents_VFP
.globl _s_SkinVertices2Bones_VFP
.globl _s_SkinVertices2Bones_NoNormals_VFP
.globl _s_SkinVertices2Bones_Tangents_VFP
.globl _s_SkinVertices4Bones_VFP
.globl _s_SkinVertices4Bones_Copy4Ints_VFP
.globl _s_SkinVertices4Bones_NoNormals_VFP
.globl _s_SkinVertices4Bones_NoNormals_Copy4Ints_VFP
.globl _s_SkinVertices4Bones_Tangents_VFP
.globl _s_SkinVertices4Bones_Tangents_Copy4Ints_VFP
#if UNITY_ANDROID
.hidden _s_SkinVertices_VFP
.hidden _s_SkinVertices_NoNormals_VFP
.hidden _s_SkinVertices_Tangents_VFP
.hidden _s_SkinVertices2Bones_VFP
.hidden _s_SkinVertices2Bones_NoNormals_VFP
.hidden _s_SkinVertices2Bones_Tangents_VFP
.hidden _s_SkinVertices4Bones_VFP
.hidden _s_SkinVertices4Bones_NoNormals_VFP
.hidden _s_SkinVertices4Bones_Tangents_VFP
#endif
//===========================================================================================================================================
#define SKIN_POS 1
#define SKIN_POS_NRM 2
#define SKIN_POS_NRM_TAN 3
#define SKIN_2BONES 0
#define SKIN_4BONES 0
_s_SkinVertices_VFP:
#define SKIN_1BONE SKIN_POS_NRM
#define VERTEX_SZ 24
#define LOOP_NAME _s_SkinVertices_VFP_loop
#include "MeshSkinningVFP_Loop.h"
#undef LOOP_NAME
#undef VERTEX_SZ
#undef SKIN_1BONE
_s_SkinVertices_NoNormals_VFP:
#define SKIN_1BONE SKIN_POS
#define VERTEX_SZ 12
#define LOOP_NAME _s_SkinVertices_NoNormals_VFP_loop
#include "MeshSkinningVFP_Loop.h"
#undef LOOP_NAME
#undef VERTEX_SZ
#undef SKIN_1BONE
_s_SkinVertices_Tangents_VFP:
#define SKIN_1BONE SKIN_POS_NRM_TAN
#define VERTEX_SZ 40
#define LOOP_NAME _s_SkinVertices_Tangents_VFP_loop
#include "MeshSkinningVFP_Loop.h"
#undef LOOP_NAME
#undef VERTEX_SZ
#undef SKIN_1BONE
#undef SKIN_4BONES
#undef SKIN_2BONES
//===========================================================================================================================================
#define SKIN_1BONE 0
#define SKIN_4BONES 0
_s_SkinVertices2Bones_VFP:
#define SKIN_2BONES SKIN_POS_NRM
#define VERTEX_SZ 24
#define LOOP_NAME _s_SkinVertices2Bones_VFP_Loop
#include "MeshSkinningVFP_Loop.h"
#undef LOOP_NAME
#undef VERTEX_SZ
#undef SKIN_2BONES
_s_SkinVertices2Bones_NoNormals_VFP:
#define SKIN_2BONES SKIN_POS
#define VERTEX_SZ 12
#define LOOP_NAME _s_SkinVertices2Bones_NoNormals_VFP_Loop
#include "MeshSkinningVFP_Loop.h"
#undef LOOP_NAME
#undef VERTEX_SZ
#undef SKIN_2BONES
_s_SkinVertices2Bones_Tangents_VFP:
#define SKIN_2BONES SKIN_POS_NRM_TAN
#define VERTEX_SZ 40
#define LOOP_NAME _s_SkinVertices2Bones_Tangents_VFP_loop
#include "MeshSkinningVFP_Loop.h"
#undef LOOP_NAME
#undef VERTEX_SZ
#undef SKIN_2BONES
#undef SKIN_4BONES
#undef SKIN_1BONE
//===========================================================================================================================================
#define SKIN_1BONE 0
#define SKIN_2BONES 0
_s_SkinVertices4Bones_VFP:
#define SKIN_4BONES SKIN_POS_NRM
#define VERTEX_SZ 24
#define LOOP_NAME _s_SkinVertices4Bones_VFP_loop
#include "MeshSkinningVFP_Loop.h"
#undef LOOP_NAME
#undef VERTEX_SZ
#undef SKIN_4BONES
_s_SkinVertices4Bones_NoNormals_VFP:
#define SKIN_4BONES SKIN_POS
#define VERTEX_SZ 12
#define LOOP_NAME _s_SkinVertices4Bones_NoNormals_VFP_loop
#include "MeshSkinningVFP_Loop.h"
#undef LOOP_NAME
#undef VERTEX_SZ
#undef SKIN_4BONES
_s_SkinVertices4Bones_Tangents_VFP:
#define SKIN_4BONES SKIN_POS_NRM_TAN
#define VERTEX_SZ 40
#define LOOP_NAME _s_SkinVertices4Bones_Tangents_VFP_loop
#include "MeshSkinningVFP_Loop.h"
#undef LOOP_NAME
#undef VERTEX_SZ
#undef SKIN_4BONES
#undef SKIN_2BONES
#undef SKIN_1BONE
//===========================================================================================================================================
.endif
#endif
|