Commit Graph

108 Commits

Author SHA1 Message Date
d13f684853 tools/spec: update whitespacing to conform to PEP8 2019-01-05 12:04:31 +11:00
fa2eed7e03 tools/spec: add some comments to the main function 2019-01-05 12:01:08 +11:00
7a5742bb57 tools/spec: add basic type hinting for write_foo functions 2019-01-05 12:00:56 +11:00
44edf5d00e tools/spec: remove unused enqueue_type function 2019-01-05 12:00:31 +11:00
05867df536 tools/spec: split the output code into subsections 2019-01-05 11:53:03 +11:00
d9c33b2d2c tools/spec: labelled unused variables as unused 2018-12-06 16:01:19 +11:00
96c1c53071 build: transition from experimental filesystem 2018-12-05 19:13:50 +11:00
d80fff482b icd/dispatch: add init method to extract proc query function 2018-11-05 15:04:04 +11:00
7e6e5dc1b1 tools/spec: redirect to appended device/instance vtables 2018-09-12 14:10:39 +10:00
b8f405c134 icd: add initial instance and device vtables 2018-09-10 13:21:02 +10:00
26c9c3f70d spec: add initial vtable stubs 2018-09-08 12:32:20 +10:00
11c142f849 icd: add basic posix icd discovery 2018-09-08 12:31:43 +10:00
9dfc951193 tools/spec: override the windows header with our own version 2018-08-27 14:21:44 +10:00
cf6ba5e462 icd: add stub loader definitions 2018-08-24 17:33:09 +10:00
4bd6cc648e tools/spec: specify target platforms via command line argument 2018-08-23 13:56:12 +10:00
18ff505317 rename util namespace to cruft 2018-08-05 14:51:18 +10:00
825cbd8e28 relicense under the MPL-2.0 2018-08-04 15:24:36 +10:00
751967619b spec: rewrite header generator to use Khronos repo directly 2018-06-23 12:41:51 +10:00
7f35915772 build: rename limit to clamp 2018-05-03 21:44:37 +10:00
48c39ce7f6 build: update for gcc-8.1 warnings 2018-05-03 21:25:07 +10:00
41fb2a0284 build: silence type shortening warnings under clang 2018-01-18 11:57:08 +11:00
e56b8573df hello: avoid differing signed comparisons 2017-11-23 17:30:53 +11:00
98d30a560e hello: use new colour coordinate type names 2017-11-23 17:30:36 +11:00
8db4f7f421 build: translate more functionality to c++17 2017-09-19 18:22:40 +10:00
3b1019625e object: use implicit native casting where possible 2017-09-14 13:14:36 +10:00
a303e5615a build: quick tests for vk::native support 2017-09-14 02:14:32 +10:00
c3fc537774 device_memory: add simple map objects 2017-09-14 01:39:38 +10:00
300ac66d16 callback: add debug callback object 2017-09-14 00:31:23 +10:00
93ea18dbdd hello-tool: use vk::pipline<T> 2017-09-13 16:52:46 +10:00
1b293d9a4e object: add more wrapper types 2017-09-10 13:54:27 +10:00
88b76357fc hello-tool: use owned semaphores 2017-09-09 15:46:37 +10:00
f64990d0c2 image_view: add minimal VkImageView wrapper 2017-09-09 15:46:08 +10:00
b3274df3a9 except: split try_array into try_values/try_handles
sometimes we will need to coerce types from try_array into our own
wrapper types and it is a little difficult to express the required types
in the one template function.
2017-09-09 15:30:04 +10:00
b2e1489762 hello-tool: use make_owned for all queues 2017-09-09 13:43:17 +10:00
c44192d5d9 hello-tool: use make_owned for one queue 2017-09-08 17:14:40 +10:00
54e1255f9d object: rename id' as native' 2017-09-08 17:11:35 +10:00
c7302ab423 hello-tool: don't create redundant queues
vulkan prohibits queues with identical ids
2017-09-07 16:35:14 +10:00
1238ae4914 hello-tool: use correct name for colour space constant
apparently the name of this constant changed at some point?...
2017-09-07 15:55:04 +10:00
b13bbdd6f0 hello-tool: request less verbose debug messages 2017-09-07 15:54:31 +10:00
f81e86c23d hello-tool: fix callback sType 2017-09-07 15:54:15 +10:00
1f6f5f642b hello-tool: use surface object 2017-09-07 15:53:38 +10:00
8b31167c7a spec-tool: correctly offset extension enum values 2017-09-07 15:46:21 +10:00
66354ace30 spec-tool: strip comments from pod members 2017-09-07 15:46:07 +10:00
7fd225c0f1 hello-tool: automatically build spir shaders 2017-09-07 12:52:42 +10:00
828f43701a hello-tool: build geometry in buffer rather than shader 2017-09-07 12:52:03 +10:00
8e882fcc5c hello-tool: use try_array where applicable 2017-09-06 15:21:44 +10:00
364659b8af except: prefer fun references to func pointers 2017-09-06 13:46:52 +10:00
83e7621b40 except: add try_func and try_query 2017-09-06 12:12:29 +10:00
dc7fa60e15 spec-tool: add type renaming and strong bitfields 2017-09-06 12:11:54 +10:00
65807dbb41 spec.py: provide a less ambiguous handle definition 2017-09-06 00:14:18 +10:00
4189cf6a66 hello-tool: add debug report stubs 2017-09-06 00:13:58 +10:00
61becdad93 hello-tool: simple triangle tool
Mostly a straight copy-paste job from vulkan-tutorial.com

The code is hideous (my fault, not theirs). Avert your eyes.
2017-09-05 17:20:42 +10:00
2224b781f2 build: expanded API coverage 2017-09-05 17:20:17 +10:00
116ed2044d tools/spec: bump spec.xml 2017-09-05 17:19:51 +10:00
863cdf4a35 spec-tool: add python based xml to hpp converter
XSLT1 is too hard to work with, and Khronos have an annoying tendency to
generate their spec such that it's not in dependency order. So we're
switching to python, and performing basic depedency analysis within a
new tool.

This should allow us to do more extensive type modifications and
annotations.
2017-09-04 15:08:54 +10:00
5ef137fda4 info-tool: use the default constructor 2017-09-01 12:34:24 +10:00
4848692016 info-tool: eliminate temporaries 2017-09-01 12:14:36 +10:00
e6a4529e59 info-tool: add simple json-like information query 2017-05-26 16:33:29 +10:00