From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=unavailable autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: Vulkan is here! Date: Thu, 18 Feb 2016 23:21:53 +0000 Organization: A noiseless patient Spider Message-ID: References: <483697966.477441353.121801.laguest-archeia.com@nntp.aioe.org> <644893903.477451006.819824.laguest-archeia.com@nntp.aioe.org> <21d9eacd-1915-4da6-8778-31014be1498f@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: mx02.eternal-september.org; posting-host="76d0af23e4f91faeb8b7e716c028eccc"; logging-data="3905"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+AelaJoJk4xO8mgat9FsjjX4flyqEN318=" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (darwin) Cancel-Lock: sha1:K2CDvD+7N4UlrWDBnpp/IMGclUk= sha1:6RU31wQtUJz6O4ijzYazMn92WWY= Xref: news.eternal-september.org comp.lang.ada:29538 Date: 2016-02-18T23:21:53+00:00 List-Id: Per Sandberg writes: > Well i'd put an hour on the "problem" to get a complete lowlevel > binding and it is correct with all methods and and constants and is > now in github ready to be extended with some highlevel stuff. > > https://github.com/persan/a-vulkan You translate (~0U) as 0, but the ~ operator is bitwise-inversion, so ~0 is all-1s (in whatever length is appropriate). Hope the size indicators are correct; you could generate for instance VK_WHOLE_SIZE : constant Unsigned_64 := not 0;