[graphics] reduce the size of fr3 files (#1175)

* first pass

* first pass at shrinking fr3s

* only need to load vertices once

* avx2 detect and switch

* fix build

* another ifx'

* one more

* fix the sky and stupid math bug in size check
This commit is contained in:
water111
2022-02-16 22:13:18 -05:00
committed by GitHub
parent 74d0025974
commit 5135ea9659
20 changed files with 844 additions and 137 deletions
+6
View File
@@ -9,12 +9,17 @@
#include "gtest/gtest.h"
#include "test/all_jak1_symbols.h"
#include "common/util/json_util.h"
#include "common/util/os.h"
#include "common/util/Range.h"
#include "third-party/fmt/core.h"
#include "common/util/print_float.h"
#include "common/util/CopyOnWrite.h"
#include "common/util/SmallVector.h"
TEST(CommonUtil, CpuInfo) {
setup_cpu_info();
}
TEST(CommonUtil, get_file_path) {
std::vector<std::string> test = {"cabbage", "banana", "apple"};
std::string sampleString = file_util::get_file_path(test);
@@ -390,5 +395,6 @@ TEST(SmallVector, Construction) {
TEST(Assert, Death) {
EXPECT_DEATH(private_assert_failed("foo", "bar", 12, "aaa"), "");
}
} // namespace test
} // namespace cu