Commit Graph

107 Commits

Author SHA1 Message Date
db7f691624 tools: prefer cast::ffs over reinterpret_cast for alignment warnings 2024-02-21 14:58:43 +10:00
91cc9ea3fe meta/info: split the system info printing into a unit 2019-06-20 11:42:25 +10:00
2ab194cdc0 build: rationalise generated header include paths 2019-06-20 11:38:55 +10:00
bf1d8e20ad cruft/util: use new debug headers 2019-05-17 13:33:30 +10:00
c1b3671f85 spec: avoid parenthetical ambiguities when type casting 2019-04-21 09:11:36 +10:00
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
b09e0c6153 cruft: update for new iterator namespaces 2019-03-18 16:24:01 +11:00
fa6a5e103d tools/spec: prefer pointer to decltype over decltype pointer 2019-03-13 18:16:49 +11:00
baf94e5e9d tools/spec: remove dead code 2019-03-13 18:16:16 +11:00
345b428069 tools/hello: cache the vkCreateDebugReportCallbackEXT lookup 2019-03-13 14:51:47 +11:00
5d2c872596 tools/spec: correct some PEP8 style warnings 2019-03-13 14:51:47 +11:00
80c13529bd tools/spec: avoid c-style casts 2019-03-11 10:43:11 +11:00
222b662995 tools/trace: add initial interposed Vulkan tracing library 2019-03-04 10:51:47 +11:00
114e960810 tools/spec: prefer PhysicalDeviceGetProcAddr 2019-03-04 10:51:12 +11:00
99f8e0ff4d tools/spec: add required iostream header 2019-03-04 10:50:25 +11:00
0a952801b3 tools/hello: avoid needing _vkCreateDebugReportCallbackEXT symbol 2019-03-04 00:20:08 +11:00
e531875ad6 load: remove global i_table 2019-03-03 23:36:14 +11:00
d4ff9cbc7a spec: log all native calls 2019-03-03 23:29:44 +11:00
92a43a10cb tools/spec: use the correct handle for EnumeratePhysicalDevice 2019-03-03 23:29:26 +11:00
253d5414da spec: avoid infinite InstanceProcAddr cycles 2019-03-03 22:12:46 +11:00
96381b0d88 tools/hello: load shaders using the image path as a base 2019-03-03 16:55:53 +11:00
bbdc05eead spec: use shorter line lengths for forwarding implementation 2019-03-03 16:50:04 +11:00
1496e7a340 spec: handle nullptr vkGetInstanceProcAddr 2019-03-03 16:49:31 +11:00
3d6c0f71f7 build: avoid linking to cruft-vk-loader in hello test 2019-03-03 13:19:11 +11:00
2828fd24f3 load: hook vkCreateInstance as a means to setup global vtables 2019-03-03 12:59:51 +11:00
45953b9dcf build: create a dynamic libvulkan.so 2019-03-03 12:18:58 +11:00
154e3b039b rename 'icd' namespace as 'load' 2019-03-03 11:53:31 +11:00
68a9fa1d2e tools/hello: explicitly load the icd provider 2019-03-02 23:01:36 +11:00
ce02f21614 icd: resolve enough to run the info tool 2019-03-02 22:47:03 +11:00
6e813ecc5e tools/spec: Don't construct Feature directly from XML 2019-03-02 16:01:18 +11:00
c3d51883cb tools/spec: don't use xml nodes in the Command constructor 2019-03-02 13:54:48 +11:00
e9cae93e4a tools/info: initialise global_table for instance queries 2019-01-07 11:09:06 +11:00
833d82f818 icd: use global, instance, and device tables 2019-01-05 23:30:52 +11:00
deca2ded59 tools/spec: pass files rather than paths to write_foo functions 2019-01-05 15:29:13 +11:00
336e9632d3 tools/spec: add instance variable type hints for Registry 2019-01-05 15:22:09 +11:00
ad67137abc tools/spec: add forgotten block comment separator 2019-01-05 15:17:41 +11:00
d98785976e tools/spec: remove dead code 2019-01-05 15:16:27 +11:00
916bab6134 tools/spec: use preferred 'not in' syntax for PEP8 2019-01-05 15:14:41 +11:00
82b7bad661 tools/spec: avoid importing object 'as constant' 2019-01-05 15:14:41 +11:00
d288fe9b91 tools/spec: avoid shadowing variable 'type' 2019-01-05 15:14:41 +11:00
401b084306 tools/spec: remove dead code 2019-01-05 15:14:41 +11:00
408f278e29 tools/spec: remove trailing semicolons 2019-01-05 15:14:41 +11:00
a1e15882f6 tools/spec: conform argument spacing to PEP8 2019-01-05 15:14:41 +11:00
7aca56ce9e tools/spec: use more consistent block comment separators 2019-01-05 12:31:33 +11:00
e592afd8e0 tools/spec: don't raise strings as exceptions 2019-01-05 12:29:35 +11:00
babd86aa2b tools/spec: avoid block comment PEP8 warnings for subsections 2019-01-05 12:27:30 +11:00
06e29cb474 tools/spec: make main an actual function
This reduces variable shadowing across the rest of the file
2019-01-05 12:26:28 +11:00
09c9ff741a tools/spec: rename classes in CamelCase for PEP8 conformance 2019-01-05 12:14:15 +11:00
1710d6c8ce tools/spec: remove unused import 2019-01-05 12:13:50 +11:00
d13f684853 tools/spec: update whitespacing to conform to PEP8 2019-01-05 12:04:31 +11:00