Commit Graph
111 Commits
Author SHA1 Message Date
baldurk cf867816ab Experimental compressonator compile fix 2020-07-13 20:54:48 +01:00
baldurk bd484d85de Fix bug in Compressonator BC6 options setting 2020-07-12 10:52:10 +01:00
baldurk 6e899b894d Disable warning in tinyexr with latest VS2019 compiler 2020-06-11 22:38:38 +01:00
baldurk d1f4a47cd5 Add a load of MSBuild nonsense to *avoid* targeting a specific Win SDK
* Even though we don't care about the windows SDK version at all, we actively
  need to avoid the default which actively sabotages us.
2020-06-11 20:05:03 +01:00
baldurk 55e1f462ca Disable defines of memset/memcpy that confuse visual assist
* These are only for the opencl build, which we don't care about.
2020-05-28 15:54:36 +01:00
baldurk b0aaae0a8a Update glslang to 8.13.3743. Closes #1851 2020-04-28 18:15:34 +01:00
Arvastra 482114f6f4 Display Thumbnails for dds files. 2020-03-19 17:16:01 +00:00
baldurk 3174ab0db8 Update LZ4 to v1.9.2 2020-03-13 13:06:51 +00:00
baldurk 936e6372cb Remove use of 3rdparty/ prefix from includes
* We instead always have 3rdparty/ in the relevant include search paths and rely
  on that. Each library still has its own unique base dir within 3rdparty to
  clarify where the include is coming from.
2020-03-11 18:00:53 +00:00
baldurk 14d01ff995 Remove support for serialising STL types, remove STL interop 2019-12-16 18:10:32 +00:00
baldurk bd9f4fc389 Remove use of vector/string from core project
* This also affects the drivers via interfaces e.g. IReplayDriver and some
  utility functions.
2019-12-16 18:10:31 +00:00
baldurk c4ca8cb1d1 Reduce reliance on big public headers where possible
* Mostly moving includes from common headers to cpp where possible, and removing
  includes of the whole thing where only enums or rdcstr etc are needed.
2019-12-16 17:06:16 +00:00
baldurk 5f33403849 Switch string_utils to use rdc types 2019-12-16 17:06:15 +00:00
baldurk 8e21b28785 Split basic_types.h into separate independent headers 2019-12-16 17:05:11 +00:00
baldurk ff08748238 Ensure all files have trailing new-lines and enforce with clang warning 2019-12-02 20:28:05 +00:00
baldurk 8db0811678 Don't include ostream in rdcstr.h
* It's only needed for renderdoccmd and catch tests, so define it locally where
  needed.
2019-12-02 11:15:07 +00:00
baldurk 6be0736d24 Update miniz to 2.10 with ZIP64 support 2019-10-14 14:06:42 +01:00
baldurk 420379c50f Update glslang to c11e3156 (release 7.11.3214) 2019-05-20 12:40:56 +01:00
baldurk 699f8753af Convert ToStr, Serialise, and TypeName to use literal strings 2019-05-15 14:12:17 +01:00
baldurk c7bd434024 Don't compile Catch2 into release builds 2019-05-02 13:30:26 +01:00
baldurk a1d1ccea62 Update glslang to a51d3d9f223361165127ded3cd2e59d81e22d91f 2019-02-22 13:56:37 +00:00
baldurk 2ea6174c83 Update glslang to latest tip-of-tree
* This is glslang from commit 9f538c7207b87bd4219a8a9cc95e3c43798793b7
2019-02-18 17:23:20 +00:00
baldurk b178ae800c Add Catch.hpp StringMaker template specialisation for rdcstr
* Otherwise it gets identified as a 'range' with begin() / end() and "foobar"
  gets printed as { 'f', 'o', 'o', 'b', 'a', 'r' }
2019-02-01 18:32:14 +00:00
baldurk 86ff87863e Update copyright years to 2019 2019-02-01 18:32:13 +00:00
baldurk 6eb4289a90 Fix missing override specifiers in Catch appveyor listener 2019-01-09 17:08:31 +00:00
baldurk 7ad3197982 Revamp catch appveyor reporter to report all test results in a batch
* We also only report one test per test-case, as trying to handle sections
  separately is unreliable.
2019-01-09 16:27:15 +00:00
baldurk 7a460fd85e Fix appveyor catch.hpp listener
* Don't completely lose/misappropriate errors in tests that don't have a base
  section
* Change the filename to actually be a filename, and include the base test name
  as the first part of the section stack.
* Don't over-multiply duration by 1000 to convert to milliseconds twice.
2019-01-08 10:04:49 +00:00
baldurk 5e269189b4 Rename catch global variable to prevent clashes 2019-01-03 12:31:27 +00:00
baldurk 90b432b622 Update interceptor-lib LLVM compile instructions to match STL 2018-09-27 14:44:14 +01:00
Alex Smith c51e6f0e79 Update glslang to latest 2018-08-10 12:45:31 +02:00
baldurk 6b6127d965 Update zstd to v1.3.5. Closes #1046 2018-07-25 17:36:30 +01:00
baldurk 78ba839f15 Update glslang to latest, including SPIR-V headers. Remove HLSL support
* glslang's HLSL support now requires spirv-opt for correct functioning
  and may need more in future, so it's disabled. The compilation was not
  externally exposed, and in future this will be handled via
  out-of-process execution of compilers.
* The update to SPIR-V headers also had the knock-on effect of allowing
  SPIR-V 1.3. Closes #976
2018-05-08 16:20:17 +01:00
baldurk 0f3f822597 32-bit compile fix for tinyexr 2018-05-07 19:27:04 +01:00
baldurk 706b258bd4 Remove use of std::to_string in Catch2 for the sake of Android 2018-05-07 19:25:16 +01:00
baldurk 6e57e17f8e Update tinyexr to 9b30f253 - latest as of the time of this commit 2018-05-07 18:42:26 +01:00
baldurk 314393e412 Declare zlib compatible interface in miniz.h so tinyexr.h can use it 2018-05-07 18:42:26 +01:00
baldurk 909d2fae48 #if out wchar versions of miniz functions to only windows 2018-05-07 18:42:25 +01:00
baldurk d602d9d6d2 Update pugixml to v1.9 2018-05-07 18:42:25 +01:00
baldurk e47f2494e4 Update tinyfiledialogs from v2.7.2 to v3.3.5 (Apr 18, 2018) 2018-05-07 18:42:25 +01:00
baldurk 4232736fc2 Make some custom changes to Catch2 for a better experience
* Add CATCH_CONFIG_FORCE_FALLBACK_STRINGIFIER to force use of ToStr in
  all cases. We can handle ints, etc, we don't need ostringstream, and
  this allows us to handle enums that would otherwise just be printed as
  their integer value.
* Add CATCH_CONFIG_INLINE_DEBUG_BREAK which restores the Catch 1.0
  behaviour of debugbreaks happening in macros and so in-line at the
  actual site failure. So the debugger stops on the CHECK() or REQUIRE()
  call instead of inside AssertionHandler::complete()
2018-05-07 18:42:25 +01:00
baldurk 2f0ff69faa Update Catch to v2.2.2
* This allows us to use ToStr as a stringifier
2018-05-07 18:42:25 +01:00
Cody Northrop 577769ecc2 Small updates to interceptor-lib build steps 2018-05-07 18:42:09 +01:00
Baldur Karlsson 3b239dcfa9 Fix non-ASCII issues in 3rd party files. Refs #915
* Each of these have been reported upstream respectively, but changing
  it manually here to avoid a potentially long turnaround time.
2018-03-13 20:21:50 +00:00
baldurk f5aa915f3f Require explicit opt-in for interceptor-lib use, in case of local llvm
* CMake can find the local LLVM even without specifying LLVM_DIR, but
  we don't want to build it for interceptor-lib unless it's exactly the
  one we want, so we ask for explicit opt-in.
2018-02-01 18:25:30 +00:00
baldurk 64c9e93831 Commit interceptor-lib from GAPID @ 9492539f1
* This library will be used to replace the PLT hooking for most core
  functions, and is generally more reliable. It still fails in some
  cases though when the target function is not patchable.
* To build, it requires LLVM. See README.md for instructions on building
  a compatible LLVM for use.
2018-01-31 18:24:12 +00:00
baldurk 969fdaa499 Add the ability to patch android binary XML manifests in-place
* This lets us add the debuggable flag we need, at the cost of needing
  to re-sign the APK. It works in many cases although sometimes it does
  fail - but this is provided just as a 'best effort' and not as a
  recommended workflow.
2018-01-29 22:37:55 +00:00
baldurk e305029ddd Update copyright years to 2018 2018-01-01 17:55:29 +00:00
baldurk 276783b948 Move custom printf & string_utils out of serialise/ folder 2017-11-03 16:07:46 +00:00
baldurk e6c5c03896 Remove rdctype namespace. Rename rdctype::str -> rdcstr, rdcarray, etc
* Since these types are more prevalent than originally designed, it
  makes more sense to remove the namespace for ease of typing/naming.
* Also add a specialised type 'bytebuf' for an array of bytes.
* This makes mapping easier to SWIG since there's no special casing for
  namespaced arrays. Especially so for nested cases like
  rdctype::array<rdctype::str> -> rdcarray<rdcstr>
2017-11-03 16:04:59 +00:00
baldurk 5e59616a8c Update rdctype::array to have a more stl-like mutable interface
* For the most part the interface is stl-compatible, but we have a few
  little changes of our own for convenience.
* This class is still needed after deleting the C# UI, because we don't
  want to pass C++ stl structs over module boundaries and possibly run
  into hard to diagnose incompatibilities.
2017-11-03 16:01:58 +00:00