Commit Graph

137 Commits

Author SHA1 Message Date
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
d18362e542 physical_device: add surface queries 2017-09-07 15:53:05 +10:00
140a94759f object: add destroy method for owned types 2017-09-07 15:52:36 +10:00
8d26b2ac92 except: handle missing error codes 2017-09-07 15:52:27 +10:00
0371fb1fd2 surface: add initial VkSurface wrapper type 2017-09-07 15:51:51 +10:00
c5707ffc27 traits: add support for VkSurface 2017-09-07 15:51:11 +10:00
d0cffd56d3 traits: add DebugReportCallbackCreateInfo 2017-09-07 15:50:49 +10:00
b1972709de build: bump api xml 2017-09-07 15:46:42 +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
15fa664d34 physical_device: add memory_properties query 2017-09-07 12:51:00 +10:00
b1cf5a7c2a except: try_array should use non-zero result array size 2017-09-07 12:50:16 +10:00
acedac53d0 except: automatically detect ValueT for try_value 2017-09-07 12:49:58 +10:00
d2472e229c except: allow void functions in try_func 2017-09-07 12:48:47 +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
9a07fc2496 except: add try_array 2017-09-06 13:41:01 +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
79752421cb ostream: add stub ostream operator for VkQueueFlags 2017-09-04 14:49:38 +10:00
0aca2b3a9b instance: use default brace initialisation for missing param 2017-09-04 14:48:05 +10:00
78a0030c2c ostream: use make_infix for output iterators 2017-09-01 13:36:47 +10:00
2a61e8c4ea ostream: add queue_families to physical_device 2017-09-01 13:12:51 +10:00
7163123b71 physical_device: add queue_families query 2017-09-01 13:12:37 +10:00
0a84a4ebb3 object: briefly comment the enumerate method 2017-09-01 13:12:11 +10:00
b2702d994d instance: add application_info struct stub 2017-09-01 13:11:54 +10:00
d1de7478b3 instance: rename create_info as create_info_t 2017-09-01 12:52:02 +10:00
3d2229ea93 ostream: style and comments 2017-09-01 12:49:49 +10:00
5ef137fda4 info-tool: use the default constructor 2017-09-01 12:34:24 +10:00
3141c27338 instance: add a default constructor 2017-09-01 12:34:09 +10:00
4f7e12951c object: add some top level comments 2017-09-01 12:33:41 +10:00
d88ecaf613 traits: add structure_type trait for native types 2017-09-01 12:33:08 +10:00
4848692016 info-tool: eliminate temporaries 2017-09-01 12:14:36 +10:00
ba3a49eccf instance: add constructor from base info type 2017-09-01 12:14:15 +10:00
1ac4db07ff cmake: bump for warning reduction 2017-06-05 17:07:42 +10:00
e6a4529e59 info-tool: add simple json-like information query 2017-05-26 16:33:29 +10:00
2c0f3f4df4 ostream: add some trivial ostream operators 2017-05-26 16:33:05 +10:00
7850699178 object: fill out object instantiation routines 2017-05-26 16:32:31 +10:00