Commit Graph

229 Commits

Author SHA1 Message Date
Danny Robson db7f691624 tools: prefer cast::ffs over reinterpret_cast for alignment warnings 2024-02-21 14:58:43 +10:00
Danny Robson c5d2333cfc build: use Python3 rather than PythonInterp modules 2024-02-21 14:57:08 +10:00
Danny Robson e13af91820 build: remember the suffix for vendor_posix.cpp and friends 2021-04-27 13:20:58 +10:00
Danny Robson 9d75def2b5 build: avoid double underscore header guards 2021-04-14 15:35:52 +10:00
Danny Robson dd9ec6c401 build: prefer REQUIRED in `find_program` 2021-03-17 08:50:20 +10:00
Danny Robson 142b7c3003 build: don't use explicitly relative include paths
GCC has problems canonicalising some paths.
2019-07-15 12:26:01 +10:00
Danny Robson c4b7e2bf72 meta/info: correctly balance some braces in JSON output 2019-06-20 16:32:34 +10:00
Danny Robson 91cc9ea3fe meta/info: split the system info printing into a unit 2019-06-20 11:42:25 +10:00
Danny Robson 2ab194cdc0 build: rationalise generated header include paths 2019-06-20 11:38:55 +10:00
Danny Robson 27d65f8aed gitignore: ignore compiled python for spec.py 2019-06-01 11:13:01 +10:00
Danny Robson bf1d8e20ad cruft/util: use new debug headers 2019-05-17 13:33:30 +10:00
Danny Robson 705196eb03 load/vendor: add missing header for vector 2019-05-04 11:35:21 +10:00
Danny Robson c1b3671f85 spec: avoid parenthetical ambiguities when type casting 2019-04-21 09:11:36 +10:00
Danny Robson 411f85f899 tools/spec: remove an instance of a C-style cast
C casting produces warnings under our preferred clang warnings. We know
what we're doing (more or less), so keep clang quiet
2019-04-01 15:22:39 +11:00
Danny Robson b09e0c6153 cruft: update for new iterator namespaces 2019-03-18 16:24:01 +11:00
Danny Robson fa6a5e103d tools/spec: prefer pointer to decltype over decltype pointer 2019-03-13 18:16:49 +11:00
Danny Robson baf94e5e9d tools/spec: remove dead code 2019-03-13 18:16:16 +11:00
Danny Robson 345b428069 tools/hello: cache the vkCreateDebugReportCallbackEXT lookup 2019-03-13 14:51:47 +11:00
Danny Robson 5d2c872596 tools/spec: correct some PEP8 style warnings 2019-03-13 14:51:47 +11:00
Danny Robson 80c13529bd tools/spec: avoid c-style casts 2019-03-11 10:43:11 +11:00
Danny Robson 222b662995 tools/trace: add initial interposed Vulkan tracing library 2019-03-04 10:51:47 +11:00
Danny Robson 114e960810 tools/spec: prefer PhysicalDeviceGetProcAddr 2019-03-04 10:51:12 +11:00
Danny Robson 99f8e0ff4d tools/spec: add required iostream header 2019-03-04 10:50:25 +11:00
Danny Robson 0a952801b3 tools/hello: avoid needing _vkCreateDebugReportCallbackEXT symbol 2019-03-04 00:20:08 +11:00
Danny Robson e531875ad6 load: remove global i_table 2019-03-03 23:36:14 +11:00
Danny Robson d4ff9cbc7a spec: log all native calls 2019-03-03 23:29:44 +11:00
Danny Robson 92a43a10cb tools/spec: use the correct handle for EnumeratePhysicalDevice 2019-03-03 23:29:26 +11:00
Danny Robson 253d5414da spec: avoid infinite InstanceProcAddr cycles 2019-03-03 22:12:46 +11:00
Danny Robson de9418efe6 traits: Use reference to native DebugReport create/destroy 2019-03-03 22:12:16 +11:00
Danny Robson 46d383e003 load/init: add more initial entrypoint trampolines 2019-03-03 22:11:09 +11:00
Danny Robson 96381b0d88 tools/hello: load shaders using the image path as a base 2019-03-03 16:55:53 +11:00
Danny Robson bbdc05eead spec: use shorter line lengths for forwarding implementation 2019-03-03 16:50:04 +11:00
Danny Robson 1496e7a340 spec: handle nullptr vkGetInstanceProcAddr 2019-03-03 16:49:31 +11:00
Danny Robson 3d6c0f71f7 build: avoid linking to cruft-vk-loader in `hello` test 2019-03-03 13:19:11 +11:00
Danny Robson 2828fd24f3 load: hook vkCreateInstance as a means to setup global vtables 2019-03-03 12:59:51 +11:00
Danny Robson 45953b9dcf build: create a dynamic libvulkan.so 2019-03-03 12:18:58 +11:00
Danny Robson 154e3b039b rename 'icd' namespace as 'load' 2019-03-03 11:53:31 +11:00
Danny Robson 68a9fa1d2e tools/hello: explicitly load the icd provider 2019-03-02 23:01:36 +11:00
Danny Robson 8e115d3c77 ostream: quote more strings 2019-03-02 23:01:28 +11:00
Danny Robson ce02f21614 icd: resolve enough to run the `info` tool 2019-03-02 22:47:03 +11:00
Danny Robson 6e813ecc5e tools/spec: Don't construct Feature directly from XML 2019-03-02 16:01:18 +11:00
Danny Robson c3d51883cb tools/spec: don't use xml nodes in the Command constructor 2019-03-02 13:54:48 +11:00
Danny Robson cfdb2f2bdd specs: bump to v1.1.98 2019-02-21 21:01:57 +11:00
Danny Robson e9cae93e4a tools/info: initialise global_table for instance queries 2019-01-07 11:09:06 +11:00
Danny Robson 065e2f0047 icd: add ostream operators 2019-01-07 11:08:42 +11:00
Danny Robson 833d82f818 icd: use global, instance, and device tables 2019-01-05 23:30:52 +11:00
Danny Robson deca2ded59 tools/spec: pass files rather than paths to write_foo functions 2019-01-05 15:29:13 +11:00
Danny Robson 336e9632d3 tools/spec: add instance variable type hints for Registry 2019-01-05 15:22:09 +11:00
Danny Robson ad67137abc tools/spec: add forgotten block comment separator 2019-01-05 15:17:41 +11:00
Danny Robson d98785976e tools/spec: remove dead code 2019-01-05 15:16:27 +11:00