Commit Graph

1115 Commits

Author SHA1 Message Date
Lioncash 91ff474c44 hecl/hecl: Handle bounded strings within CaseInsensitiveCompare
std::string_view instances aren't guaranteed to be null-terminated, so
we shouldn't be treating them as if they are in these functions, and
should instead use a bounded comparison based off their sizes.

This way we prevent an edge-case from ever becoming a problem and also
remove an ifdef, making the code uniform across all implementations.
2019-08-15 01:21:04 -04:00
Phillip Stephens 9dc1373201 Update boo 2019-08-14 06:52:24 -07:00
Phillip Stephens 78e88679a9 Update boo 2019-08-13 14:40:21 -07:00
Phillip Stephens a7c97b313c Update athena 2019-08-10 17:47:40 -07:00
Jack Andersen 7b05b41d34 Windows build fixes 2019-07-27 15:19:48 -10:00
Jack Andersen 08d15514a9 Update submodules 2019-07-20 22:42:03 -10:00
Jack Andersen 6988f86672 Massive fmtlib refactor 2019-07-19 18:22:58 -10:00
Jack Andersen b483acb8d3 Update submodules 2019-07-06 22:21:39 -10:00
Phillip Stephens efa7463a9a shaderc metal "error" fix 2019-07-01 01:26:42 -07:00
Phillip Stephens cfd365bebe Update boo 2019-06-30 21:03:54 -07:00
Phillip Stephens b251de5fd0 Update boo 2019-06-30 20:40:26 -07:00
Phillip Stephens 385f60cea3 Update boo 2019-06-30 20:15:40 -07:00
Jack Andersen 3256a05a99 Update boo 2019-06-20 20:02:34 -10:00
Jack Andersen 49eb971037 Update boo 2019-06-15 20:25:03 -10:00
Jack Andersen 4fa1a2f3b7 Fixes for ANCS cooking 2019-06-14 14:37:53 -10:00
Jack Andersen 31caec79dd Windows build fixes 2019-06-12 15:29:52 -10:00
Jack Andersen 387f8fa864 Blender Python API updates and better CMake dependency handling 2019-06-11 16:01:19 -10:00
Jack Andersen 7cc157c8b9 Support for per-stage shader hashing 2019-06-05 14:07:29 -10:00
Jack Andersen 82fc24ebe6 Update boo 2019-06-02 21:51:26 -10:00
Jack Andersen 4de7e2c0d6 Update boo 2019-05-31 23:27:44 -10:00
Jack Andersen c8c6936e0c Update boo 2019-05-31 17:40:30 -10:00
Jack Andersen 50ca5553ab Ensure ApplicationReps.hpp is generated in binary directory 2019-05-10 13:08:05 -10:00
Jack Andersen e1b01a0962 Update boo 2019-05-09 18:10:04 -10:00
Jack Andersen f596cbff83 Windows fixes for refactor 2019-05-09 18:07:48 -10:00
Jack Andersen 92e2c03a01 Fix skin binding unordered_map use 2019-05-08 13:38:00 -10:00
Jack Andersen 5c59acddf2 Blender 2.8 refactor 2019-05-07 17:47:34 -10:00
Jack Andersen 8b1b674a7d Ensure uninitialized data is not accessed in normal operation 2019-04-06 18:54:58 -10:00
Jack Andersen 2ab5c1436b Add True and False tests for bitwise enums 2019-04-02 18:29:04 -10:00
Jack Andersen 6816fea5b8 Update athena 2019-03-23 22:05:36 -10:00
Jack Andersen 4bb697cbdf Update boo 2019-03-09 23:14:04 -10:00
Jack Andersen 72b14a78a0 Correct indirect texture sampling swizzle 2019-03-07 17:33:50 -10:00
Jack Andersen 3759bf1b3d Avoid redundant pool destroy/allocs 2019-03-04 22:34:03 -10:00
Jack Andersen f262e59e68 Update boo 2019-03-03 13:03:33 -10:00
Jack Andersen 927be4e839 Proper blending modes for handling alpha test 2019-03-02 20:17:41 -10:00
Jack Andersen 1f04f7ae12 Add closefrom call to RunProcess 2019-02-26 19:13:19 -10:00
Jack Andersen 6626557cc4 TexGen bug fix with diffuse-only pass 2019-02-26 18:50:13 -10:00
Jack Andersen 8e8ecaf4aa Add fallback for diffuse expression 2019-02-24 22:10:34 -10:00
Jack Andersen a9254f6643 Ensure pipes aren't duplicated between blender instances 2019-02-24 00:14:44 -10:00
Jack Andersen 470182de06 Support for diffuse texture identification in IR 2019-02-23 21:14:43 -10:00
Jack Andersen d13bd28281 Update boo 2019-02-17 19:46:29 -10:00
Jack Andersen fc40190933 Implicit switch fallthrough refactor 2019-02-17 19:44:46 -10:00
Jack Andersen fdbfbf74fd Update athena 2019-02-15 15:31:21 -10:00
Jack Andersen f46cd474a6 Update boo 2019-02-11 21:19:02 -10:00
Jack Andersen 3cc65704d3 Disable contiguous surface splitting 2019-02-09 18:41:13 -10:00
Jack Andersen b6af26fa91 addColor term for standard shader model 2019-02-07 21:55:39 -10:00
Jack Andersen d88c9cc21b Debug mode for metal shaders 2019-02-03 15:38:14 -10:00
Jack Andersen 23a6d66a8c Add -j argument for hecl cooking 2019-02-03 14:01:12 -10:00
Jack Andersen f35285b076 Windows fixes 2019-01-28 22:25:51 -10:00
Phillip Stephens 7542cb9650 Minor fixes 2019-01-26 15:21:30 -08:00
Jack Andersen 8cbb1e650f Update boo 2019-01-21 18:23:42 -10:00
Jack Andersen 0178e8b7d6 PATH generation fixes for blender addon 2019-01-15 18:22:30 -10:00
Jack Andersen 6ff366f214 Update boo 2019-01-02 17:47:07 -10:00
Jack Andersen 96895c6150 Update submodules 2018-12-30 19:01:30 -10:00
Jack Andersen 1d95cf9221 Update lzokay 2018-12-26 11:39:49 -10:00
Jack Andersen 206e54210c Switch to lzokay library 2018-12-19 17:44:40 -10:00
Jack Andersen 838afd73ae Update athena 2018-12-16 17:52:24 -10:00
Jack Andersen 0af86ab3c2 Update submodules 2018-12-15 20:30:35 -10:00
Jack Andersen f695aa44d4 Merge branch 'master' of ssh://git.axiodl.com:6431/AxioDL/hecl 2018-12-12 21:39:03 -10:00
Jack Andersen d8da828d12 Update athena 2018-12-12 21:38:40 -10:00
Phillip Stephens f776f89bee Minor Console fixes 2018-12-09 21:12:10 -08:00
Jack Andersen 7a68a5350b Update athena 2018-12-07 20:44:26 -10:00
Jack Andersen 72193079ae New code style refactor 2018-12-07 19:18:42 -10:00
Jack Andersen 54c466276b SIMD refactor 2018-12-07 15:31:11 -10:00
Jack Andersen 1b073abb76 Change cheats CVar key 2018-11-23 22:08:44 -10:00
Phillip Stephens 6695e9596d Fix heclTest build 2018-11-09 15:31:51 -08:00
Jack Andersen e2ec1f69a3 Vertex shaders do rigging computations in object space 2018-11-07 14:53:00 -10:00
Jack Andersen e140b16af8 Update boo 2018-11-04 21:25:18 -10:00
Jack Andersen b2586432c7 Proper CRLF-handling for #define 2018-11-01 14:32:28 -10:00
Jack Andersen 344148e3b3 Add direct SDNA parser for blend files 2018-10-21 22:14:32 -10:00
Jack Andersen a230eeb3b1 Macros for shader extensions to determine blend factors 2018-10-20 18:13:25 -10:00
Jack Andersen 808e46a4ef Update boo 2018-10-18 16:19:17 -10:00
Jack Andersen 561bdac1c4 macOS build fixes 2018-10-18 14:57:16 -10:00
Jack Andersen 3698199403 Reflection sampler fixes 2018-10-18 13:55:42 -10:00
Jack Andersen 2e824b6bb5 Update boo 2018-10-16 17:26:21 -10:00
Jack Andersen ba6e920034 Generate ApplicationReps.hpp in binary directory 2018-10-16 15:01:33 -10:00
Jack Andersen 46a6fc67ed Update submodules 2018-10-15 21:26:26 -10:00
Jack Andersen d395f4a79e macOS build fixes 2018-10-15 17:15:05 -10:00
Jack Andersen 61a50aa57e Windows sync fixes for API changes 2018-10-14 10:09:15 -10:00
Jack Andersen aef455e1ab Attachment model support in blender addon 2018-10-11 10:48:13 -10:00
Jack Andersen d1f0450401 Convert to pragma once 2018-10-06 17:38:44 -10:00
Jack Andersen 0c3dece31d Update logvisor 2018-10-06 16:57:55 -10:00
Jack Andersen 0ee18025dd Huge shader infrastructure refactor 2018-10-06 16:53:57 -10:00
Jack Andersen 170ff23843 Ensure bintoc creates output directory 2018-09-08 11:34:37 -10:00
Jack Andersen 31e3ee4d34 Update boo 2018-09-03 14:15:16 -10:00
Jack Andersen 808f227b8d Update boo 2018-09-02 20:33:02 -10:00
Jack Andersen e16ef9709d Update submodules 2018-09-02 14:45:32 -10:00
Jack Andersen be1184f822 Update boo 2018-08-27 19:42:14 -10:00
Jack Andersen ddc415b668 Update submodules 2018-08-27 17:47:39 -10:00
Jack Andersen a53748aff8 Update submodules 2018-08-25 21:57:25 -10:00
Jack Andersen 7ab391ccee Update submodules 2018-08-24 22:38:48 -10:00
Jack Andersen 4da4b76434 Update submodules 2018-08-19 10:07:47 -10:00
Jack Andersen 9a0934482e Update boo 2018-08-18 14:28:34 -10:00
Jack Andersen 0d64508ad4 Update submodules 2018-08-18 12:16:53 -10:00
Jack Andersen e41680d467 Update athena 2018-08-09 20:19:07 -10:00
Jack Andersen 66fa8bbf9b Update submodules 2018-07-27 18:33:24 -10:00
Jack Andersen 5b5e8212c3 Update boo 2018-06-27 15:15:57 -10:00
Jack Andersen 3f45710fb2 Fix cook tool crash 2018-06-15 16:26:30 -10:00
Phillip Stephens 61f744e15d Defer values for unregistered CVars 2018-06-12 20:19:08 -07:00
Phillip Stephens 801214d9a8 Add support for string literals in Console::executeString, add implicit get/set for CVars 2018-06-12 19:03:29 -07:00
Jack Andersen eff677ca20 Update boo 2018-06-11 15:16:00 -10:00
Jack Andersen 11f6617c2f Update boo 2018-06-07 14:43:18 -10:00
Jack Andersen 03cb7cf237 Ensure lighting extension is passed vec3 2018-06-06 18:36:46 -10:00
Jack Andersen cded4dfe1d Update boo 2018-06-01 20:06:10 -10:00
Jack Andersen 56a0661d33 Update boo 2018-06-01 14:02:20 -10:00
Jack Andersen 4c974c5275 Update boo 2018-05-31 20:37:40 -10:00
Jack Andersen b50f0d8c10 Update boo 2018-05-28 17:41:13 -10:00
Jack Andersen 37ff06314e Windows fixes 2018-05-28 10:24:16 -10:00
Jack Andersen 13e6bf0274 Update boo 2018-05-27 11:35:49 -10:00
Jack Andersen 1689902af3 Update boo 2018-05-26 19:14:06 -10:00
Jack Andersen ae1c4ce890 Update boo 2018-05-26 18:20:27 -10:00
Jack Andersen c6b979f38e Update boo 2018-05-26 11:29:54 -10:00
Jack Andersen 5bfa33c21f Update boo 2018-05-25 17:42:03 -10:00
Jack Andersen c11557bcff Make SIGINT a bit cleaner for packaging 2018-05-25 17:07:04 -10:00
Jack Andersen ec58e5b35f Use glslang from upstream remote 2018-05-25 12:17:22 -10:00
Jack Andersen e77d62ab15 Update submodules 2018-05-25 12:02:52 -10:00
Jack Andersen 77f814192e Windows build fixes 2018-05-24 20:34:58 -10:00
Jack Andersen 85bab33ae3 Update boo 2018-05-21 21:48:44 -10:00
Jack Andersen 6cadafa764 Update boo 2018-05-20 12:38:06 -10:00
Phillip Stephens 6ac9a1de8a Update boo 2018-05-20 08:37:48 -07:00
Phillip Stephens c5bcd88851 Fix compiling of heclTest 2018-05-20 08:31:59 -07:00
Jack Andersen d0d330062f Resource tracing and memory leak fixes 2018-05-19 20:12:32 -10:00
Jack Andersen 33d9ce1638 Update boo 2018-05-17 18:16:18 -10:00
Jack Andersen 69c08292d2 Update boo 2018-05-14 16:55:50 -10:00
Jack Andersen 9c30a44a65 Fix see through collision material 2018-05-10 21:02:19 -10:00
Jack Andersen fef55d7fc0 Update boo 2018-05-09 21:25:09 -10:00
Jack Andersen b866ab0509 Add sanitizers to executable targets 2018-05-06 13:08:52 -10:00
Jack Andersen 7c69b0f465 Update boo 2018-05-06 12:45:44 -10:00
Jack Andersen f2d9f1328f Update boo 2018-05-05 15:32:36 -10:00
Jack Andersen 421e8d71eb Update boo 2018-05-05 15:29:57 -10:00
Jack Andersen 01994c82e3 Merge branch 'master' of ssh://git.axiodl.com:6431/AxioDL/hecl 2018-05-05 10:56:27 -10:00
Jack Andersen fda615f47e Cook meshes with primitive restart indices 2018-05-05 10:55:59 -10:00
Phillip Stephens 0aac384e60 Fix windows build 2018-05-01 17:41:51 -07:00
Phillip Stephens eae0dbd2bb Add ability to flag commands 2018-04-29 20:11:37 -07:00
Phillip Stephens 031c139e2d Merge commit '13b41ab' 2018-04-26 14:11:49 -07:00
Phillip Stephens 694bc0a888 Add ability to unregister command on the fly 2018-04-26 14:10:32 -07:00
Jack Andersen aa84d7c725 Add emissive cycles shaders 2018-04-14 20:04:08 -10:00
Jack Andersen 2c5a662fec Add adjacent area lightmap cooking 2018-04-08 14:08:33 -10:00
Jack Andersen 396790181a Minimized shader hash generation; more compatible MultiProgressPrinter 2018-04-07 10:52:35 -10:00
Jack Andersen 1eaa57bba2 Merge branch 'master' of ssh://git.axiodl.com:6431/AxioDL/hecl 2018-04-03 22:28:31 -10:00
Jack Andersen b54dedb22b Minor cook fixes 2018-04-03 22:28:13 -10:00
Jack Andersen e32b86f14e Update athena 2018-04-02 14:43:19 -10:00
Jack Andersen 94988eb9e5 GX shader cook fixes; Resource cook passes 2018-04-01 18:26:21 -10:00
Jack Andersen c9f61eb9da Fixes for GameCube targeting 2018-03-27 22:06:34 -10:00
Jack Andersen d1a66e15d4 Add parallel progress printing 2018-03-23 11:40:12 -10:00
Jack Andersen 6180ec82b3 Fix lightmap script 2018-03-06 17:25:20 -10:00
Jack Andersen 905386d5e2 Update athena 2018-03-03 18:24:42 -10:00
Phillip Stephens d40f9ffe30 Update athena 2018-02-27 17:43:34 -08:00
Jack Andersen d83f557f38 Update athena 2018-02-26 20:03:04 -10:00
Jack Andersen f2d6f643c9 PATH cooking bug fix 2018-02-26 00:38:50 -10:00
Jack Andersen 3acb9c9e3d Initial PATH cooking support 2018-02-24 22:23:00 -10:00