vertexfilter: Consolidate Oct8 and Oct12 into a single entrypoint

Since both filters can now handle variable bitrate it no longer makes as
much sense to split them. This change consolidates the two
implementations and uses a single templated scalar implementation as
well. This makes gltfpack code a bit simpler as well.
This commit is contained in:
Arseny Kapoulkine
2020-02-17 15:15:43 -08:00
parent 0c2d03d19c
commit d909650a5c
9 changed files with 111 additions and 115 deletions
+3 -3
View File
@@ -103,15 +103,15 @@ void benchFilters(size_t count)
{
double t0 = timestamp();
meshopt_decodeFilterOct8(&d4[0], count4, 4);
meshopt_decodeFilterOct(&d4[0], count4, 4);
double t1 = timestamp();
meshopt_decodeFilterOct12(&d8[0], count4, 8);
meshopt_decodeFilterOct(&d8[0], count4, 8);
double t2 = timestamp();
meshopt_decodeFilterQuat12(&d8[0], count4, 8);
meshopt_decodeFilterQuat(&d8[0], count4, 8);
double t3 = timestamp();