max_stars_repo_path stringlengths 4 261 | max_stars_repo_name stringlengths 6 106 | max_stars_count int64 0 38.8k | id stringlengths 1 6 | text stringlengths 7 1.05M |
|---|---|---|---|---|
Lab_01/factorial.asm | SadequrRahman/advance-SoC | 0 | 179842 | #
# Copyright (C) 2019 <NAME> <<EMAIL>>
#
# This file is part of Advance SoC Design Lab Soultion.
#
# SoC Design Lab Soultion can not be copied and/or distributed without the express
# permission of <NAME>
#
# File: factorial.asm
# This is an assembly function to calculated
# factorial for TinyRISC-V architecture
#
# factorial function expect two paramenters in register a0 and a1
# and return calculated gcd value in a0 register according
# to register uses convention.
#
.globl factorial
.text
li a0, 10
jal ra, factorial
addi a1, a0, 0
li a0, 1
ecall
li a0, 10
ecall
factorial: # expect paramenter n in register a0
addi sp, sp, -16 # adjust stack for 2 items
sw ra, 8(sp) # push return address to stack
sw a0, 0(sp) # push return a0 to stack
addi t0, a0, -1 # t0 <- n-1
bge t0, zero, L1 # check base condition for recursive function
addi a0, zero, 1 # upload return
addi sp, sp, 16 # adjust stack pointer
jalr zero, 0(ra) # return to caller
L1:
addi a0, a0, -1 # prepare parameter for recursive function call
jal ra, factorial # call factorial recursively
addi t1, a0, 0 # store result to working register
lw a0, 0(sp) # load n from stack
mul a0, a0, t1 # n * factorial(n-1)
lw ra, 8(sp) # load return addres from stack
addi sp, sp, 16 # adjust stack pointer
jalr zero, 0(ra) # return to caller
|
test/RTC4543_WR.asm | kuninet/Z80mon | 0 | 25434 | <reponame>kuninet/Z80mon
;
; RTC4543SA WRITE Test
;
org 5000h
;
; usage : >G 5000 yymmddWhhmmss (W:1 - Sun,2 - Mon...)
;
; 入力パラメーター
; B : パラメーター数
; DE : 入力パラメーターテーブルへのポインタ
NULL EQU 00h
;
PPI_CTL EQU 0Bh
PPI_A EQU 08h
PPI_C EQU 0Ah
;
CE_ON EQU 09h
CE_OFF EQU 08h
WR_ON EQU 0bh
WR_OFF EQU 0ah
CLK_ON EQU 0dh
CLK_OFF EQU 0ch
;
START:
INC DE
INC DE
LD A,(DE)
LD (DATE_STR_PTR),A
INC DE
LD A,(DE)
LD (DATE_STR_PTR+1),A
;
LD HL,(DATE_STR_PTR)
CALL STRLEN
CP 13
JP NZ,PARAM_ERR_OUT
;
; CALL STRCHK
; CALL NC,MAIN ; 文字種が正しければメイン処理へ
CALL MAIN ; 文字種が正しければメイン処理へ
RET
;
;------------------------------------
; 処理メイン
;------------------------------------
MAIN:
CALL INIT8255
CALL WR_ON_SET
CALL CE_ON_SET
;
LD HL,(DATE_STR_PTR)
LD B,13
LD DE,12
ADD HL,DE ; 指定文字列の最後をポイント
;
_MAIN_LOOP:
LD A,(HL)
SUB A,30h ; 数字の文字コードをBCDへ
;
LD C,4 ; 4bit分処理
_OUT_LOOP:
RRC A
JP C,_ON_OUT
PUSH AF
LD A,00h
JR _RTC_OUT
_ON_OUT:
PUSH AF
LD A,01h
_RTC_OUT:
OUT (PPI_A),A
CALL CLK1 ; 1Clock
POP AF
DEC C
JR NZ,_OUT_LOOP
;
DEC HL
DEC B
JR NZ,_MAIN_LOOP
;
CALL CE_OFF_SET
CALL WR_OFF_SET
;
RET
;
;------------------------------------
; 1クロック ON→OFF
;------------------------------------
CLK1:
LD A,CLK_ON
OUT (PPI_CTL),A
LD A,A ; DUMMY
LD A,A ; DUMMY
LD A,A ; DUMMY
LD A,A ; DUMMY
LD A,CLK_OFF
OUT (PPI_CTL),A
RET
;------------------------------------
; WRピン ON
;------------------------------------
WR_ON_SET:
LD A,WR_ON
OUT (PPI_CTL),A
RET
;------------------------------------
; WRピン OFF
;------------------------------------
WR_OFF_SET:
LD A,WR_OFF
OUT (PPI_CTL),A
RET
;------------------------------------
; CEピン ON
;------------------------------------
CE_ON_SET:
LD A,CE_ON
OUT (PPI_CTL),A
RET
;------------------------------------
; WRピン OFF
;------------------------------------
CE_OFF_SET:
LD A,CE_OFF
OUT (PPI_CTL),A
RET
;------------------------------------
; 8255初期化 ポートA OUT、ポートC OUT
;------------------------------------
INIT8255:
LD A,80h
OUT (PPI_CTL),A
LD A,00h
OUT (PPI_A),A
OUT (PPI_C),A
;
RET
;------------------------------------
; 文字種が数字? ERRORだったらキャリーフラグON
;------------------------------------
STRCHK:
PUSH HL
;
LD A,(HL)
OR A ; 文字列終了($00)チェック
RET Z
;
CP '0'
JP M,_STR_CHK_ERR
CP ':'
JP M,_STR_CHK_NORM
;
_STR_CHK_ERR:
CALL PARAM_ERR_OUT
SCF ; キャリーフラグON
_STR_CHK_NORM:
POP HL
RET
;------------------------------------
; (strlen) 文字列長をAレジスタへ返す
;------------------------------------
STRLEN:
PUSH HL
PUSH BC
LD C,0
_STR_LEN_LOOP:
LD A,(HL)
CP NULL
JR Z,_STR_LEN_EXIT
INC HL
INC C
JR _STR_LEN_LOOP
;
_STR_LEN_EXIT:
LD A,C
POP BC
POP HL
RET
;
;------------------------------------
; 文字列 コンソール出力
;------------------------------------
STR_PR:
PUSH HL
LD A,(HL)
OR A
JR Z,_STR_PR_EXIT
RST 08h
INC HL
JR STR_PR
;
_STR_PR_EXIT:
POP HL
RET
;
;------------------------------------
; CRLF コンソール出力
;------------------------------------
CRLF_PR:
PUSH AF
LD A,0Dh
RST 08h
LD A,0Ah
RST 08h
POP AF
RET
;
;------------------------------------
; パラメーターエラー出力
;------------------------------------
PARAM_ERR_OUT:
LD HL,PARAM_ERR_MSG
CALL STR_PR
RET
;
PARAM_ERR_MSG DB "*** PARAMATER ERROR",13,10,0
;
; RAM
DATE_STR_PTR DS 2
|
src/Delay-monad/Bisimilarity/For-all-sizes.agda | nad/delay-monad | 0 | 12273 | <reponame>nad/delay-monad<gh_stars>0
------------------------------------------------------------------------
-- Strong bisimilarity for partially defined values, along with a
-- proof showing that this relation is pointwise isomorphic to path
-- equality
------------------------------------------------------------------------
{-# OPTIONS --cubical --sized-types #-}
module Delay-monad.Bisimilarity.For-all-sizes where
open import Equality.Path hiding (ext)
open import Prelude
open import Prelude.Size
open import Bijection equality-with-J using (_↔_)
open import Delay-monad
private
variable
a : Level
A : Type a
x : A
i : Size
mutual
-- A variant of strong bisimilarity that relates values of any size,
-- not only those of size ∞.
--
-- Note: I have not managed to prove that this relation is pointwise
-- isomorphic to strong bisimilarity as defined in
-- Delay-monad.Bisimilarity (when the relation is restricted to
-- fully defined values).
infix 4 [_]_∼ˢ_ [_]_∼ˢ′_
data [_]_∼ˢ_ {A : Type a} (i : Size) :
Delay A i → Delay A i → Type a where
now : [ i ] now x ∼ˢ now x
later : {x y : Delay′ A i} →
[ i ] x ∼ˢ′ y → [ i ] later x ∼ˢ later y
record [_]_∼ˢ′_ {A : Type a}
(i : Size) (x y : Delay′ A i) : Type a where
coinductive
field
force : {j : Size< i} → [ j ] x .force ∼ˢ y .force
open [_]_∼ˢ′_ public
mutual
-- Strong bisimilarity is reflexive. Note that the proof is
-- size-preserving.
reflexiveˢ : (x : Delay A i) → [ i ] x ∼ˢ x
reflexiveˢ (now x) = now
reflexiveˢ (later x) = later (reflexiveˢ′ x)
reflexiveˢ′ : (x : Delay′ A i) → [ i ] x ∼ˢ′ x
reflexiveˢ′ x .force = reflexiveˢ (x .force)
mutual
-- Extensionality: Strong bisimilarity implies equality.
ext : {x y : Delay A i} →
[ i ] x ∼ˢ y → x ≡ y
ext now = refl
ext (later p) = cong later (ext′ p)
ext′ : {x y : Delay′ A i} →
[ i ] x ∼ˢ′ y → x ≡ y
ext′ p i .force = ext (p .force) i
mutual
-- The extensionality proof maps reflexivity to reflexivity.
ext-reflexiveˢ :
(x : Delay A i) →
ext (reflexiveˢ x) ≡ refl {x = x}
ext-reflexiveˢ (now x) = refl
ext-reflexiveˢ {i = i} (later x) =
ext (reflexiveˢ (later x)) ≡⟨⟩
cong later (ext′ (reflexiveˢ′ x)) ≡⟨ cong (cong later) (ext′-reflexiveˢ′ x) ⟩
cong later refl ≡⟨⟩
refl ∎
ext′-reflexiveˢ′ :
(x : Delay′ A i) →
ext′ (reflexiveˢ′ x) ≡ refl {x = x}
ext′-reflexiveˢ′ x i j .force = ext-reflexiveˢ (x .force) i j
-- Equality implies strong bisimilarity.
≡⇒∼ : {x y : Delay A i} → x ≡ y → [ i ] x ∼ˢ y
≡⇒∼ {x = x} eq = subst ([ _ ] x ∼ˢ_) eq (reflexiveˢ x)
≡⇒∼′ : {x y : Delay′ A i} → x ≡ y → [ i ] x ∼ˢ′ y
≡⇒∼′ eq .force = ≡⇒∼ (cong (λ x → x .force) eq)
private
≡⇒∼″ : {x y : Delay′ A i} → x ≡ y → [ i ] x ∼ˢ′ y
≡⇒∼″ {x = x} eq = subst ([ _ ] x ∼ˢ′_) eq (reflexiveˢ′ x)
-- The three lemmas above map reflexivity to reflexivity.
≡⇒∼-refl :
{x : Delay A i} →
≡⇒∼ (refl {x = x}) ≡ reflexiveˢ x
≡⇒∼-refl {x = x} =
≡⇒∼ refl ≡⟨⟩
subst ([ _ ] x ∼ˢ_) refl (reflexiveˢ x) ≡⟨ subst-refl ([ _ ] x ∼ˢ_) (reflexiveˢ x) ⟩∎
reflexiveˢ x ∎
≡⇒∼′-refl :
{x : Delay′ A i} →
≡⇒∼′ (refl {x = x}) ≡ reflexiveˢ′ x
≡⇒∼′-refl i .force = ≡⇒∼-refl i
private
≡⇒∼″-refl :
{x : Delay′ A i} →
≡⇒∼″ (refl {x = x}) ≡ reflexiveˢ′ x
≡⇒∼″-refl {x = x} =
≡⇒∼″ refl ≡⟨⟩
subst ([ _ ] x ∼ˢ′_) refl (reflexiveˢ′ x) ≡⟨ subst-refl ([ _ ] x ∼ˢ′_) (reflexiveˢ′ x) ⟩∎
reflexiveˢ′ x ∎
-- ≡⇒∼′ and ≡⇒″ are pointwise equal.
≡⇒∼′≡≡⇒∼″ :
{x y : Delay′ A i} {eq : x ≡ y} →
≡⇒∼′ eq ≡ ≡⇒∼″ eq
≡⇒∼′≡≡⇒∼″ = elim
(λ eq → ≡⇒∼′ eq ≡ ≡⇒∼″ eq)
(λ x →
≡⇒∼′ refl ≡⟨ ≡⇒∼′-refl ⟩
reflexiveˢ′ x ≡⟨ sym ≡⇒∼″-refl ⟩∎
≡⇒∼″ refl ∎)
_
private
-- Extensionality and ≡⇒∼/≡⇒∼′ are inverses.
ext∘≡⇒∼ :
{x y : Delay A i}
(eq : x ≡ y) → ext (≡⇒∼ eq) ≡ eq
ext∘≡⇒∼ = elim
(λ eq → ext (≡⇒∼ eq) ≡ eq)
(λ x → ext (≡⇒∼ refl) ≡⟨ cong ext ≡⇒∼-refl ⟩
ext (reflexiveˢ x) ≡⟨ ext-reflexiveˢ x ⟩∎
refl ∎)
ext′∘≡⇒∼′ :
{x y : Delay′ A i}
(eq : x ≡ y) → ext′ (≡⇒∼′ eq) ≡ eq
ext′∘≡⇒∼′ = elim
(λ eq → ext′ (≡⇒∼′ eq) ≡ eq)
(λ x → ext′ (≡⇒∼′ refl) ≡⟨ cong ext′ ≡⇒∼′-refl ⟩
ext′ (reflexiveˢ′ x) ≡⟨ ext′-reflexiveˢ′ x ⟩∎
refl ∎)
mutual
≡⇒∼∘ext :
{x y : Delay A i}
(eq : [ i ] x ∼ˢ y) →
≡⇒∼ (ext eq) ≡ eq
≡⇒∼∘ext now =
≡⇒∼ (ext now) ≡⟨⟩
≡⇒∼ refl ≡⟨ ≡⇒∼-refl ⟩∎
now ∎
≡⇒∼∘ext (later {x = x} {y = y} p) =
≡⇒∼ (ext (later p)) ≡⟨⟩
≡⇒∼ (cong later (ext′ p)) ≡⟨⟩
subst ([ _ ] later x ∼ˢ_) (cong later (ext′ p))
(later (reflexiveˢ′ x)) ≡⟨ sym $ subst-∘ ([ _ ] later x ∼ˢ_) later _ {p = later (reflexiveˢ′ x)} ⟩
subst (λ y → [ _ ] later x ∼ˢ later y) (ext′ p)
(later (reflexiveˢ′ x)) ≡⟨ elim¹
(λ eq → subst (λ y → [ _ ] later x ∼ˢ later y) eq (later (reflexiveˢ′ x)) ≡
later (subst ([ _ ] x ∼ˢ′_) eq (reflexiveˢ′ x))) (
subst (λ y → [ _ ] later x ∼ˢ later y) refl
(later (reflexiveˢ′ x)) ≡⟨ subst-refl (λ y → [ _ ] later x ∼ˢ later y) _ ⟩
later (reflexiveˢ′ x) ≡⟨ cong later $ sym $ subst-refl ([ _ ] x ∼ˢ′_) _ ⟩∎
later (subst ([ _ ] x ∼ˢ′_) refl (reflexiveˢ′ x)) ∎)
(ext′ p) ⟩
later (subst ([ _ ] x ∼ˢ′_) (ext′ p) (reflexiveˢ′ x)) ≡⟨⟩
later (≡⇒∼″ (ext′ p)) ≡⟨ cong later $ sym ≡⇒∼′≡≡⇒∼″ ⟩
later (≡⇒∼′ (ext′ p)) ≡⟨ cong later (≡⇒∼′∘ext′ p) ⟩∎
later p ∎
≡⇒∼′∘ext′ :
{x y : Delay′ A i}
(eq : [ i ] x ∼ˢ′ y) →
≡⇒∼′ (ext′ eq) ≡ eq
≡⇒∼′∘ext′ eq i .force = ≡⇒∼∘ext (eq .force) i
-- Strong bisimilarity and equality are pointwise isomorphic.
∼↔≡ : {x y : Delay A i} → [ i ] x ∼ˢ y ↔ x ≡ y
∼↔≡ = record
{ surjection = record
{ logical-equivalence = record
{ to = ext
; from = ≡⇒∼
}
; right-inverse-of = ext∘≡⇒∼
}
; left-inverse-of = ≡⇒∼∘ext
}
∼′↔≡ : {x y : Delay′ A i} → [ i ] x ∼ˢ′ y ↔ x ≡ y
∼′↔≡ = record
{ surjection = record
{ logical-equivalence = record
{ to = ext′
; from = ≡⇒∼′
}
; right-inverse-of = ext′∘≡⇒∼′
}
; left-inverse-of = ≡⇒∼′∘ext′
}
|
Transynther/x86/_processed/NONE/_xt_/i7-8650U_0xd2_notsx.log_1848_108.asm | ljhsiun2/medusa | 9 | 172527 | <filename>Transynther/x86/_processed/NONE/_xt_/i7-8650U_0xd2_notsx.log_1848_108.asm
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r13
push %r15
push %r8
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0x95e8, %rsi
lea addresses_normal_ht+0xf0ac, %rdi
nop
nop
nop
dec %r8
mov $71, %rcx
rep movsb
and %r11, %r11
lea addresses_WC_ht+0xeac, %r15
nop
nop
nop
nop
nop
xor %r11, %r11
movups (%r15), %xmm0
vpextrq $1, %xmm0, %rdi
nop
nop
add $36814, %rdi
lea addresses_normal_ht+0x3dac, %rcx
nop
nop
nop
xor $7710, %r12
movb (%rcx), %r15b
nop
nop
nop
nop
sub %rcx, %rcx
lea addresses_WC_ht+0x16bac, %r8
nop
dec %r15
mov (%r8), %r12w
nop
nop
nop
cmp %r15, %r15
lea addresses_WT_ht+0x44ac, %rsi
nop
nop
nop
nop
nop
xor $22168, %rcx
movl $0x61626364, (%rsi)
nop
nop
nop
nop
nop
dec %r15
lea addresses_D_ht+0x54ac, %rdi
nop
nop
add %rsi, %rsi
movw $0x6162, (%rdi)
nop
nop
nop
nop
nop
and %r8, %r8
lea addresses_WC_ht+0x1a09c, %r12
xor $44884, %r15
movb $0x61, (%r12)
nop
nop
nop
nop
nop
xor %r11, %r11
lea addresses_WC_ht+0xc17c, %r12
nop
nop
nop
nop
nop
xor $28221, %r15
mov (%r12), %edi
nop
nop
dec %r15
lea addresses_A_ht+0x4aac, %rdi
clflush (%rdi)
nop
nop
nop
nop
nop
sub $9344, %r15
mov (%rdi), %r11w
nop
nop
nop
nop
cmp $57944, %r8
lea addresses_D_ht+0x17f99, %rsi
lea addresses_normal_ht+0x1906c, %rdi
nop
nop
xor $21234, %r13
mov $119, %rcx
rep movsl
nop
nop
nop
xor %r12, %r12
lea addresses_A_ht+0xf4c8, %r13
inc %r12
movb (%r13), %cl
nop
nop
xor $12270, %r12
lea addresses_WT_ht+0x1b0ac, %r12
nop
nop
nop
nop
nop
sub %r15, %r15
movw $0x6162, (%r12)
nop
cmp $15518, %rsi
lea addresses_A_ht+0x182ac, %rsi
lea addresses_WC_ht+0x16ac, %rdi
clflush (%rsi)
nop
nop
nop
nop
and %r11, %r11
mov $124, %rcx
rep movsq
nop
nop
nop
add $51369, %r11
lea addresses_WC_ht+0x1304c, %rsi
lea addresses_normal_ht+0xd9fc, %rdi
nop
nop
nop
nop
nop
sub $9841, %r15
mov $16, %rcx
rep movsl
nop
and %r8, %r8
pop %rsi
pop %rdi
pop %rcx
pop %r8
pop %r15
pop %r13
pop %r12
pop %r11
ret
.global s_faulty_load
s_faulty_load:
push %r11
push %r13
push %r9
push %rax
push %rdi
push %rsi
// Faulty Load
lea addresses_D+0x172ac, %rdi
cmp $40280, %r9
mov (%rdi), %ax
lea oracles, %rdi
and $0xff, %rax
shlq $12, %rax
mov (%rdi,%rax,1), %rax
pop %rsi
pop %rdi
pop %rax
pop %r9
pop %r13
pop %r11
ret
/*
<gen_faulty_load>
[REF]
{'OP': 'LOAD', 'src': {'type': 'addresses_D', 'size': 16, 'AVXalign': False, 'NT': False, 'congruent': 0, 'same': False}}
[Faulty Load]
{'OP': 'LOAD', 'src': {'type': 'addresses_D', 'size': 2, 'AVXalign': False, 'NT': False, 'congruent': 0, 'same': True}}
<gen_prepare_buffer>
{'OP': 'REPM', 'src': {'type': 'addresses_A_ht', 'congruent': 1, 'same': False}, 'dst': {'type': 'addresses_normal_ht', 'congruent': 9, 'same': False}}
{'OP': 'LOAD', 'src': {'type': 'addresses_WC_ht', 'size': 16, 'AVXalign': False, 'NT': False, 'congruent': 8, 'same': False}}
{'OP': 'LOAD', 'src': {'type': 'addresses_normal_ht', 'size': 1, 'AVXalign': True, 'NT': False, 'congruent': 0, 'same': False}}
{'OP': 'LOAD', 'src': {'type': 'addresses_WC_ht', 'size': 2, 'AVXalign': False, 'NT': False, 'congruent': 8, 'same': False}}
{'OP': 'STOR', 'dst': {'type': 'addresses_WT_ht', 'size': 4, 'AVXalign': False, 'NT': False, 'congruent': 9, 'same': False}}
{'OP': 'STOR', 'dst': {'type': 'addresses_D_ht', 'size': 2, 'AVXalign': False, 'NT': False, 'congruent': 8, 'same': False}}
{'OP': 'STOR', 'dst': {'type': 'addresses_WC_ht', 'size': 1, 'AVXalign': False, 'NT': False, 'congruent': 4, 'same': False}}
{'OP': 'LOAD', 'src': {'type': 'addresses_WC_ht', 'size': 4, 'AVXalign': False, 'NT': False, 'congruent': 4, 'same': False}}
{'OP': 'LOAD', 'src': {'type': 'addresses_A_ht', 'size': 2, 'AVXalign': True, 'NT': False, 'congruent': 11, 'same': False}}
{'OP': 'REPM', 'src': {'type': 'addresses_D_ht', 'congruent': 0, 'same': True}, 'dst': {'type': 'addresses_normal_ht', 'congruent': 3, 'same': False}}
{'OP': 'LOAD', 'src': {'type': 'addresses_A_ht', 'size': 1, 'AVXalign': False, 'NT': False, 'congruent': 2, 'same': False}}
{'OP': 'STOR', 'dst': {'type': 'addresses_WT_ht', 'size': 2, 'AVXalign': False, 'NT': False, 'congruent': 8, 'same': False}}
{'OP': 'REPM', 'src': {'type': 'addresses_A_ht', 'congruent': 10, 'same': True}, 'dst': {'type': 'addresses_WC_ht', 'congruent': 9, 'same': False}}
{'OP': 'REPM', 'src': {'type': 'addresses_WC_ht', 'congruent': 5, 'same': False}, 'dst': {'type': 'addresses_normal_ht', 'congruent': 4, 'same': False}}
{'36': 1848}
36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36
*/
|
programs/oeis/081/A081016.asm | neoneye/loda | 22 | 18833 | <gh_stars>10-100
; A081016: a(n) = (Lucas(4*n+3) + 1)/5, or Fibonacci(2*n+1)*Fibonacci(2*n+2), or A081015(n)/5.
; 1,6,40,273,1870,12816,87841,602070,4126648,28284465,193864606,1328767776,9107509825,62423800998,427859097160,2932589879121,20100270056686,137769300517680,944284833567073,6472224534451830,44361286907595736,304056783818718321,2084036199823432510,14284196614945309248,97905340104793732225,671053184118610816326,4599466948725481982056,31525215456959763058065,216077041249992859424398,1481014073292990252912720,10151021471800938910964641,69576136229313582123839766,476881932133394135955913720,3268597388704445369567556273,22403299788797723451016980190,153554501132879618787551305056,1052478208141359608061842155201,7213792955856637637645343781350,49444072482855103855455564314248,338894714424129089350543606418385,2322818928486048521598349680614446,15920837784978210561837904157882736,109123045566361425411266979424564705,747940481179551767317030951814070198
lpb $0
sub $0,1
add $1,1
add $2,$1
add $1,$2
add $2,$1
add $1,$2
lpe
add $1,1
mov $0,$1
|
programs/oeis/267/A267708.asm | neoneye/loda | 22 | 3772 | ; A267708: Triangle read by rows giving successive states of cellular automaton generated by "Rule 206" initiated with a single ON (black) cell.
; 1,1,1,0,1,1,1,0,0,1,1,1,1,0,0,0,1,1,1,1,1,0,0,0,0,1,1,1,1,1,1,0,0,0,0,0,1,1,1,1,1,1,1,0,0,0,0,0,0,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0
mov $1,1
lpb $0
sub $0,$2
mov $1,$0
trn $0,1
trn $1,$0
add $2,1
trn $0,$2
lpe
mov $0,$1
|
alloy4fun_models/trashltl/models/4/r6dpW8EtDNLnad6FL.als | Kaixi26/org.alloytools.alloy | 0 | 1523 | <reponame>Kaixi26/org.alloytools.alloy
open main
pred idr6dpW8EtDNLnad6FL_prop5 {
eventually File in Trash
}
pred __repair { idr6dpW8EtDNLnad6FL_prop5 }
check __repair { idr6dpW8EtDNLnad6FL_prop5 <=> prop5o } |
onnxruntime/core/mlas/lib/amd64/ConvSymKernelAvx512Core.asm | lchang20/onnxruntime | 6,036 | 240425 | <reponame>lchang20/onnxruntime
;++
;
; Copyright (c) Microsoft Corporation. All rights reserved.
;
; Licensed under the MIT License.
;
; Module Name:
;
; ConvSymKernelAvx512Core.asm
;
; Abstract:
;
; This module implements the kernels for the symmetric quantized integer
; convolution operation.
;
; This implementation uses AVX512 core (BW/DQ/VL) and AVX512 VNNI instructions.
;
;--
.xlist
INCLUDE mlasi.inc
INCLUDE ConvSymKernelCommon.inc
INCLUDE AssembleAvx512Vnni.inc
.list
;
; Macro Description:
;
; This macro generates code to setup registers that is common between
; convolution kernel types.
;
; Arguments:
;
; Isa - Supplies the instruction set architecture string.
;
; KernelFrame - Supplies the symbol name to access the convolution kernel
; stack.
;
; Implicit Arguments:
;
; rcx - Supplies the address of the input buffer.
;
; r9 - Supplies the size of the kernel.
;
; Output:
;
; rbx - Supplies the address of the input buffer.
;
; rdi - Supplies the input indirection buffer stride.
;
IFIDNI <Isa>, <Avx512Core>
; zmm7 - Supplies a 512-bit with the broadcasted word value 0x0001.
ENDIF
;
; zmm8-zmm31 - Supplies the zeroed block accumulators.
;
; k1-k4 - Supplies the opmask registers loaded with a 64-bit channel bitmask
; for KernelFrame.ChannelCount.
;
SetupRegistersCommon MACRO Isa, KernelFrame
mov rbx,rcx ; preserve base input address
lea rdi,[r9*8] ; indirection buffer offset to next output
IFIDNI <Isa>, <Avx512Core>
mov esi,1
vpbroadcastw zmm7,esi ; generate 512-bit word vector [0x0001]
ENDIF
EmitForEachRegister <zmm8,zmm9,zmm10,zmm11>,<vpxord RegItem,RegItem,RegItem>
mov ecx,DWORD PTR KernelFrame.ChannelCount[rsp]
EmitForEachRegister <zmm12,zmm13,zmm14,zmm15>,<vpxord RegItem,RegItem,RegItem>
dec ecx ; convert shift count to 0..63
mov eax,2
shl rax,cl ; compute 2 << ChannelShiftCount
dec rax ; convert to 64-bit channel bitmask
EmitForEachRegister <zmm16,zmm17,zmm18,zmm19>,<vpxord RegItem,RegItem,RegItem>
kmovw k1,eax ; k1 = channel bitmask[0..15]
shr rax,16
EmitForEachRegister <zmm20,zmm21,zmm22,zmm23>,<vpxord RegItem,RegItem,RegItem>
kmovw k2,eax ; k2 = channel bitmask[16..31]
shr rax,16
EmitForEachRegister <zmm24,zmm25,zmm26,zmm27>,<vpxord RegItem,RegItem,RegItem>
kmovw k3,eax ; k3 = channel bitmask[32..47]
shr eax,16
EmitForEachRegister <zmm28,zmm29,zmm30,zmm31>,<vpxord RegItem,RegItem,RegItem>
kmovw k4,eax ; k4 = channel bitmask[48..63]
ENDM
;
; Macro Description:
;
; This macro generates code to multiply and accumulate a single cell of the
; output block.
;
; Arguments:
;
; AccumReg - Supplies the register to accumulate into.
;
; Mult1Reg - Supplies the first multiplication operand register.
;
; Mult2Reg - Supplies the second multiplication operand register.
;
; Implicit Arguments:
;
; zmm5 - Supplies a scratch register for intermediate results.
;
; zmm7 - Supplies a 512-bit with the broadcasted word value 0x0001.
;
MultiplyAccumulateCellAvx512Core MACRO AccumReg, Mult1Reg, Mult2Reg
vpmaddubsw zmm5,Mult1Reg,Mult2Reg
vpmaddwd zmm5,zmm5,zmm7
vpaddd AccumReg,AccumReg,zmm5
ENDM
MultiplyAccumulateCellAvx512Vnni MACRO AccumReg, Mult1Reg, Mult2Reg
VpdpbusdsZmmZmmZmm AccumReg,Mult1Reg,Mult2Reg
ENDM
;
; Macro Description:
;
; This macro generates code to multiply and accumulate each row of the output
; block.
;
; Arguments:
;
; Isa - Supplies the instruction set architecture string.
;
; ColumnCount - Supplies the number of columns to produce.
;
; VectorOffset - Supplies the byte offset from the filter to fetch elements.
;
; BroadcastOffset - Supplies the byte offset from the input to fetch elements.
;
; Implicit Arguments:
;
; rdx - Supplies the address of the filter buffer.
;
; rsi - Supplies the filter stride to access the packed data for the next 16
; output channels.
;
; rbp - Supplies three times the above filter stride.
;
; r10 - Supplies the address of the base of the input buffer.
;
; r11-r15 - Supplies the relative byte offsets from the base of the input
; buffer to access the second through sixth rows.
;
; zmm8-zmm31 - Supplies the block accumulators.
;
ComputeBlock MACRO Isa, ColumnCount, VectorOffset, BroadcastOffset
EmitIfCountGE ColumnCount,16,<vmovdqu32 zmm0,ZMMWORD PTR [rdx+VectorOffset]>
EmitIfCountGE ColumnCount,32,<vmovdqu32 zmm1,ZMMWORD PTR [rdx+rsi+VectorOffset]>
EmitIfCountGE ColumnCount,48,<vmovdqu32 zmm2,ZMMWORD PTR [rdx+rsi*2+VectorOffset]>
EmitIfCountGE ColumnCount,64,<vmovdqu32 zmm3,ZMMWORD PTR [rdx+rbp+VectorOffset]>
vpbroadcastd zmm4,DWORD PTR [r10+BroadcastOffset]
EmitIfCountGE ColumnCount,16,<MultiplyAccumulateCell&Isa& zmm8,zmm4,zmm0>
EmitIfCountGE ColumnCount,32,<MultiplyAccumulateCell&Isa& zmm9,zmm4,zmm1>
EmitIfCountGE ColumnCount,48,<MultiplyAccumulateCell&Isa& zmm10,zmm4,zmm2>
EmitIfCountGE ColumnCount,64,<MultiplyAccumulateCell&Isa& zmm11,zmm4,zmm3>
vpbroadcastd zmm4,DWORD PTR [r10+r11+BroadcastOffset]
EmitIfCountGE ColumnCount,16,<MultiplyAccumulateCell&Isa& zmm12,zmm4,zmm0>
EmitIfCountGE ColumnCount,32,<MultiplyAccumulateCell&Isa& zmm13,zmm4,zmm1>
EmitIfCountGE ColumnCount,48,<MultiplyAccumulateCell&Isa& zmm14,zmm4,zmm2>
EmitIfCountGE ColumnCount,64,<MultiplyAccumulateCell&Isa& zmm15,zmm4,zmm3>
vpbroadcastd zmm4,DWORD PTR [r10+r12+BroadcastOffset]
EmitIfCountGE ColumnCount,16,<MultiplyAccumulateCell&Isa& zmm16,zmm4,zmm0>
EmitIfCountGE ColumnCount,32,<MultiplyAccumulateCell&Isa& zmm17,zmm4,zmm1>
EmitIfCountGE ColumnCount,48,<MultiplyAccumulateCell&Isa& zmm18,zmm4,zmm2>
EmitIfCountGE ColumnCount,64,<MultiplyAccumulateCell&Isa& zmm19,zmm4,zmm3>
vpbroadcastd zmm4,DWORD PTR [r10+r13+BroadcastOffset]
EmitIfCountGE ColumnCount,16,<MultiplyAccumulateCell&Isa& zmm20,zmm4,zmm0>
EmitIfCountGE ColumnCount,32,<MultiplyAccumulateCell&Isa& zmm21,zmm4,zmm1>
EmitIfCountGE ColumnCount,48,<MultiplyAccumulateCell&Isa& zmm22,zmm4,zmm2>
EmitIfCountGE ColumnCount,64,<MultiplyAccumulateCell&Isa& zmm23,zmm4,zmm3>
vpbroadcastd zmm4,DWORD PTR [r10+r14+BroadcastOffset]
EmitIfCountGE ColumnCount,16,<MultiplyAccumulateCell&Isa& zmm24,zmm4,zmm0>
EmitIfCountGE ColumnCount,32,<MultiplyAccumulateCell&Isa& zmm25,zmm4,zmm1>
EmitIfCountGE ColumnCount,48,<MultiplyAccumulateCell&Isa& zmm26,zmm4,zmm2>
EmitIfCountGE ColumnCount,64,<MultiplyAccumulateCell&Isa& zmm27,zmm4,zmm3>
vpbroadcastd zmm4,DWORD PTR [r10+r15+BroadcastOffset]
EmitIfCountGE ColumnCount,16,<MultiplyAccumulateCell&Isa& zmm28,zmm4,zmm0>
EmitIfCountGE ColumnCount,32,<MultiplyAccumulateCell&Isa& zmm29,zmm4,zmm1>
EmitIfCountGE ColumnCount,48,<MultiplyAccumulateCell&Isa& zmm30,zmm4,zmm2>
EmitIfCountGE ColumnCount,64,<MultiplyAccumulateCell&Isa& zmm31,zmm4,zmm3>
ENDM
;
; Macro Description:
;
; This macro generates code to execute the block compute macro multiple times
; and advancing the input and filter data pointers.
;
; Arguments:
;
; Isa - Supplies the instruction set architecture string.
;
; ColumnCount - Supplies the number of columns to produce.
;
; Implicit Arguments:
;
; rax - Supplies the number of byte elements to process (multiple of 4).
;
; rdx - Supplies the address of the filter buffer.
;
; rsi - Supplies the filter stride to access the packed data for the next 16
; output channels.
;
; rbp - Supplies three times the above filter stride.
;
; r10 - Supplies the address of the base of the input buffer.
;
; r11-r15 - Supplies the relative byte offsets from the base of the input
; buffer to access the second through sixth rows.
;
; zmm8-zmm31 - Supplies the block accumulators.
;
ComputeBlockLoop MACRO Isa, ColumnCount
LOCAL ComputeBlockBy1Loop
ComputeBlockBy1Loop:
ComputeBlock Isa,ColumnCount,0*64,0
add r10,4 ; advance input base address
add rdx,16*4 ; advance filter address
sub rax,4 ; decrement elements remaining
jnz ComputeBlockBy1Loop
ENDM
;
; Macro Description:
;
; This macro generates code for the inner kernel to compute a convolution
; for the elements of an output row for a set of filter rows.
;
; Arguments:
;
; Isa - Supplies the instruction set architecture string.
;
ConvSymKernelFunction MACRO Isa
;++
;
; Routine Description:
;
; This routine is the inner kernel to compute a convolution for the elements
; of an output row for a set of filter rows.
;
; Arguments:
;
; Input (rcx) - Supplies the address of the input buffer.
;
; If MLAS_CONV_SYM_FLAG_INPUT_DIRECT is set, then the input buffer points
; directly at the input tensor.
;
; If MLAS_CONV_SYM_FLAG_INPUT_DIRECT is clear, then the input buffer is an
; indirection buffer. Every pointer in the indirection buffer points at a
; InputChannels length vector (either from the input tensor or a vector of
; padding values). These are grouped in batches of length KernelSize.
; These batches are then repeated OutputCount times.
;
; Filter (rdx) - Supplies the address of the filter buffer.
;
; Output (r8) - Supplies the address of the output buffer.
;
; KernelSize (r9) - Supplies the size of the kernel.
;
; If MLAS_CONV_SYM_FLAG_INPUT_DIRECT is set, then kernel size should be 1.
;
; InputChannels - Supplies the number of input channels.
;
; This implementation requires the count to be a multiple of 4.
;
; OutputChannels - Supplies the number of output channels.
;
; ChannelCount - Supplies the number of channels this iteration produces.
;
; This implementation requires the count to be in the range 1 to 64.
;
; OutputCount - Supplies the number of output elements this iteration produces.
;
; This implementation requires the count to be in the range 1 to 6.
;
; PostProcessParams - Supplies the address of the post process parameter block.
;
; KernelFlags - Supplies additional flags controlling the operation.
;
; Return Value:
;
; None.
;
;--
NESTED_ENTRY MlasConvSymKernel&Isa&, _TEXT
rex_push_reg rbp
push_reg rbx
push_reg rsi
push_reg rdi
push_reg r12
push_reg r13
push_reg r14
push_reg r15
alloc_stack (ConvSymKernelFrame.SavedR15)
save_xmm128 xmm6,ConvSymKernelFrame.SavedXmm6
save_xmm128 xmm7,ConvSymKernelFrame.SavedXmm7
save_xmm128 xmm8,ConvSymKernelFrame.SavedXmm8
save_xmm128 xmm9,ConvSymKernelFrame.SavedXmm9
save_xmm128 xmm10,ConvSymKernelFrame.SavedXmm10
save_xmm128 xmm11,ConvSymKernelFrame.SavedXmm11
save_xmm128 xmm12,ConvSymKernelFrame.SavedXmm12
save_xmm128 xmm13,ConvSymKernelFrame.SavedXmm13
save_xmm128 xmm14,ConvSymKernelFrame.SavedXmm14
save_xmm128 xmm15,ConvSymKernelFrame.SavedXmm15
END_PROLOGUE
SetupRegistersCommon Isa,ConvSymKernelFrame
mov rsi,ConvSymKernelFrame.InputChannels[rsp]
mov ecx,DWORD PTR ConvSymKernelFrame.ChannelCount[rsp]
shl rsi,4 ; 16 output channels per filter block
imul rsi,r9 ; compute filter stride
lea rbp,[rsi*2+rsi]
;
; Process an input block of length InputChannels for each element of the kernel.
;
; To keep code size small, this kernel always computes a fixed number of output
; rows. If the output count is less than this fixed number, then the first row
; is duplicated into the unused slots and the results are discarded.
;
ProcessNextInputBlock:
mov eax,DWORD PTR ConvSymKernelFrame.OutputCount[rsp]
test BYTE PTR ConvSymKernelFrame.KernelFlags[rsp],MLAS_CONV_SYM_FLAG_INPUT_DIRECT
jz InputIndirection
;
; The input buffer points directly at the input data and this is effectively a
; GEMM operation (such as a pointwise convolution or an Im2Col transform).
;
InputDirect:
xor r10,r10
mov r11,ConvSymKernelFrame.InputChannels[rsp]
lea r12,[r11+r11]
lea r13,[r12+r11]
lea r14,[r13+r11]
lea r15,[r14+r11]
cmp eax,2
cmovb r11,r10 ; use first row if output count is small
cmovbe r12,r10
cmp eax,4
cmovb r13,r10
cmovbe r14,r10
cmp eax,6
cmovb r15,r10
mov r10,rbx
jmp ComputeBlockLoopStart
InputIndirection:
lea r11,[rbx+rdi]
lea r12,[rbx+rdi*2]
lea r13,[r11+rdi*2]
lea r14,[r12+rdi*2]
lea r15,[r13+rdi*2]
cmp eax,2
cmovb r11,rbx ; use first row if output count is small
cmovbe r12,rbx
cmp eax,4
cmovb r13,rbx
cmovbe r14,rbx
cmp eax,6
cmovb r15,rbx
mov r10,QWORD PTR [rbx]
mov r11,QWORD PTR [r11]
mov r12,QWORD PTR [r12]
mov r13,QWORD PTR [r13]
mov r14,QWORD PTR [r14]
mov r15,QWORD PTR [r15]
add rbx,8 ; advance indirection buffer address
sub r11,r10 ; compute deltas from base address
sub r12,r10
sub r13,r10
sub r14,r10
sub r15,r10
ComputeBlockLoopStart:
mov rax,ConvSymKernelFrame.InputChannels[rsp]
cmp ecx,16
jbe ComputeBlockLoopBy16
cmp ecx,32
jbe ComputeBlockLoopBy32
cmp ecx,48
jbe ComputeBlockLoopBy48
ComputeBlockLoopBy64:
ComputeBlockLoop Isa,64
jmp ComputeBlockLoopDone
ComputeBlockLoopBy48:
ComputeBlockLoop Isa,48
jmp ComputeBlockLoopDone
ComputeBlockLoopBy32:
ComputeBlockLoop Isa,32
jmp ComputeBlockLoopDone
ComputeBlockLoopBy16:
ComputeBlockLoop Isa,16
ComputeBlockLoopDone:
dec r9 ; decrement input blocks remaining
jnz ProcessNextInputBlock
;
; Post-process the block accumulators.
;
mov ebx,DWORD PTR ConvSymKernelFrame.OutputCount[rsp]
mov rsi,ConvSymKernelFrame.OutputChannels[rsp]
mov rdx,ConvSymKernelFrame.PostProcessParams[rsp]
mov ebp,DWORD PTR ConvSymKernelFrame.KernelFlags[rsp]
call MlasConvSymPostProcessAvx512Core
;
; Restore non-volatile registers and return.
;
ExitKernel:
vzeroupper
movaps xmm6,ConvSymKernelFrame.SavedXmm6[rsp]
movaps xmm7,ConvSymKernelFrame.SavedXmm7[rsp]
movaps xmm8,ConvSymKernelFrame.SavedXmm8[rsp]
movaps xmm9,ConvSymKernelFrame.SavedXmm9[rsp]
movaps xmm10,ConvSymKernelFrame.SavedXmm10[rsp]
movaps xmm11,ConvSymKernelFrame.SavedXmm11[rsp]
movaps xmm12,ConvSymKernelFrame.SavedXmm12[rsp]
movaps xmm13,ConvSymKernelFrame.SavedXmm13[rsp]
movaps xmm14,ConvSymKernelFrame.SavedXmm14[rsp]
movaps xmm15,ConvSymKernelFrame.SavedXmm15[rsp]
add rsp,(ConvSymKernelFrame.SavedR15)
BEGIN_EPILOGUE
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
NESTED_END MlasConvSymKernel&Isa&, _TEXT
ENDM
;
; Macro Description:
;
; This macro generates code for the inner kernel to compute a depthwise
; convolution for the elements of an output row for a set of filter rows.
;
; Arguments:
;
; Isa - Supplies the instruction set architecture string.
;
ConvSymDepthwiseKernelFunction MACRO Isa
;++
;
; Routine Description:
;
; This routine is the inner kernel to compute a depthwise convolution for the
; elements of an output row for a set of filter rows.
;
; Arguments:
;
; Input (rcx) - Supplies the address of the input indirection buffer.
;
; Filter (rdx) - Supplies the address of the filter buffer.
;
; Output (r8) - Supplies the address of the output buffer.
;
; KernelSize (r9) - Supplies the size of the kernel.
;
; Channels - Supplies the number of input and output channels.
;
; ChannelOffset - Supplies the byte offset from the indirection buffer base
; address for this iteration.
;
; ChannelCount - Supplies the number of channels this iteration produces.
;
; This implementation requires the count to be in the range 1 to 64.
;
; OutputCount - Supplies the number of output elements this iteration produces.
;
; This implementation requires the count to be in the range 1 to 6.
;
; PostProcessParams - Supplies the address of the post process parameter block.
;
; KernelFlags - Supplies additional flags controlling the operation.
;
; Return Value:
;
; None.
;
;--
NESTED_ENTRY MlasConvSymDepthwiseKernel&Isa&, _TEXT
rex_push_reg rbp
push_reg rbx
push_reg rsi
push_reg rdi
push_reg r12
push_reg r13
push_reg r14
push_reg r15
alloc_stack (ConvSymDepthwiseKernelFrame.SavedR15)
save_xmm128 xmm6,ConvSymDepthwiseKernelFrame.SavedXmm6
save_xmm128 xmm7,ConvSymDepthwiseKernelFrame.SavedXmm7
save_xmm128 xmm8,ConvSymDepthwiseKernelFrame.SavedXmm8
save_xmm128 xmm9,ConvSymDepthwiseKernelFrame.SavedXmm9
save_xmm128 xmm10,ConvSymDepthwiseKernelFrame.SavedXmm10
save_xmm128 xmm11,ConvSymDepthwiseKernelFrame.SavedXmm11
save_xmm128 xmm12,ConvSymDepthwiseKernelFrame.SavedXmm12
save_xmm128 xmm13,ConvSymDepthwiseKernelFrame.SavedXmm13
save_xmm128 xmm14,ConvSymDepthwiseKernelFrame.SavedXmm14
save_xmm128 xmm15,ConvSymDepthwiseKernelFrame.SavedXmm15
END_PROLOGUE
SetupRegistersCommon Isa,ConvSymDepthwiseKernelFrame
mov rsi,ConvSymDepthwiseKernelFrame.Channels[rsp]
mov ebp,DWORD PTR ConvSymDepthwiseKernelFrame.OutputCount[rsp]
mov rax,ConvSymDepthwiseKernelFrame.ChannelOffset[rsp]
mov ecx,DWORD PTR ConvSymDepthwiseKernelFrame.ChannelCount[rsp]
;
; Process an input block of length Channels for each element of the kernel.
;
; To keep code size small, this kernel always computes a fixed number of output
; rows. If the output count is less than this fixed number, then the first row
; is duplicated into the unused slots and the results are discarded.
;
ProcessNextInputBlock:
lea r11,[rbx+rdi]
lea r12,[rbx+rdi*2]
lea r13,[r11+rdi*2]
lea r14,[r12+rdi*2]
lea r15,[r13+rdi*2]
cmp ebp,2
cmovb r11,rbx ; use first row if output count is small
cmovbe r12,rbx
cmp ebp,4
cmovb r13,rbx
cmovbe r14,rbx
cmp ebp,6
cmovb r15,rbx
mov r10,QWORD PTR [rbx]
mov r11,QWORD PTR [r11]
mov r12,QWORD PTR [r12]
mov r13,QWORD PTR [r13]
mov r14,QWORD PTR [r14]
mov r15,QWORD PTR [r15]
add rbx,8
cmp ecx,16
jbe ComputeDepthwiseBlockBy16
cmp ecx,32
jbe ComputeDepthwiseBlockBy32
cmp ecx,48
jbe ComputeDepthwiseBlockBy48
ComputeDepthwiseBlockBy64:
vpmovzxbd zmm2{k4}{z},XMMWORD PTR [rdx+3*16]
vpmovzxbd zmm0{k4}{z},XMMWORD PTR [r10+rax+3*16]
vpmovzxbd zmm1{k4}{z},XMMWORD PTR [r11+rax+3*16]
MultiplyAccumulateCell&Isa& zmm11,zmm0,zmm2
MultiplyAccumulateCell&Isa& zmm15,zmm1,zmm2
vpmovzxbd zmm0{k4}{z},XMMWORD PTR [r12+rax+3*16]
vpmovzxbd zmm1{k4}{z},XMMWORD PTR [r13+rax+3*16]
MultiplyAccumulateCell&Isa& zmm19,zmm0,zmm2
MultiplyAccumulateCell&Isa& zmm23,zmm1,zmm2
vpmovzxbd zmm0{k4}{z},XMMWORD PTR [r14+rax+3*16]
vpmovzxbd zmm1{k4}{z},XMMWORD PTR [r15+rax+3*16]
MultiplyAccumulateCell&Isa& zmm27,zmm0,zmm2
MultiplyAccumulateCell&Isa& zmm31,zmm1,zmm2
ComputeDepthwiseBlockBy48:
vpmovzxbd zmm2{k3}{z},XMMWORD PTR [rdx+2*16]
vpmovzxbd zmm0{k3}{z},XMMWORD PTR [r10+rax+2*16]
vpmovzxbd zmm1{k3}{z},XMMWORD PTR [r11+rax+2*16]
MultiplyAccumulateCell&Isa& zmm10,zmm0,zmm2
MultiplyAccumulateCell&Isa& zmm14,zmm1,zmm2
vpmovzxbd zmm0{k3}{z},XMMWORD PTR [r12+rax+2*16]
vpmovzxbd zmm1{k3}{z},XMMWORD PTR [r13+rax+2*16]
MultiplyAccumulateCell&Isa& zmm18,zmm0,zmm2
MultiplyAccumulateCell&Isa& zmm22,zmm1,zmm2
vpmovzxbd zmm0{k3}{z},XMMWORD PTR [r14+rax+2*16]
vpmovzxbd zmm1{k3}{z},XMMWORD PTR [r15+rax+2*16]
MultiplyAccumulateCell&Isa& zmm26,zmm0,zmm2
MultiplyAccumulateCell&Isa& zmm30,zmm1,zmm2
ComputeDepthwiseBlockBy32:
vpmovzxbd zmm2{k2}{z},XMMWORD PTR [rdx+1*16]
vpmovzxbd zmm0{k2}{z},XMMWORD PTR [r10+rax+1*16]
vpmovzxbd zmm1{k2}{z},XMMWORD PTR [r11+rax+1*16]
MultiplyAccumulateCell&Isa& zmm9,zmm0,zmm2
MultiplyAccumulateCell&Isa& zmm13,zmm1,zmm2
vpmovzxbd zmm0{k2}{z},XMMWORD PTR [r12+rax+1*16]
vpmovzxbd zmm1{k2}{z},XMMWORD PTR [r13+rax+1*16]
MultiplyAccumulateCell&Isa& zmm17,zmm0,zmm2
MultiplyAccumulateCell&Isa& zmm21,zmm1,zmm2
vpmovzxbd zmm0{k2}{z},XMMWORD PTR [r14+rax+1*16]
vpmovzxbd zmm1{k2}{z},XMMWORD PTR [r15+rax+1*16]
MultiplyAccumulateCell&Isa& zmm25,zmm0,zmm2
MultiplyAccumulateCell&Isa& zmm29,zmm1,zmm2
ComputeDepthwiseBlockBy16:
vpmovzxbd zmm2{k1}{z},XMMWORD PTR [rdx]
vpmovzxbd zmm0{k1}{z},XMMWORD PTR [r10+rax]
vpmovzxbd zmm1{k1}{z},XMMWORD PTR [r11+rax]
MultiplyAccumulateCell&Isa& zmm8,zmm0,zmm2
MultiplyAccumulateCell&Isa& zmm12,zmm1,zmm2
vpmovzxbd zmm0{k1}{z},XMMWORD PTR [r12+rax]
vpmovzxbd zmm1{k1}{z},XMMWORD PTR [r13+rax]
MultiplyAccumulateCell&Isa& zmm16,zmm0,zmm2
MultiplyAccumulateCell&Isa& zmm20,zmm1,zmm2
vpmovzxbd zmm0{k1}{z},XMMWORD PTR [r14+rax]
vpmovzxbd zmm1{k1}{z},XMMWORD PTR [r15+rax]
MultiplyAccumulateCell&Isa& zmm24,zmm0,zmm2
MultiplyAccumulateCell&Isa& zmm28,zmm1,zmm2
add rdx,rsi ; advance filter to next kernel
dec r9 ; decrement input blocks remaining
jnz ProcessNextInputBlock
;
; Post-process the block accumulators.
;
mov ebx,ebp
mov rdx,ConvSymDepthwiseKernelFrame.PostProcessParams[rsp]
mov ebp,DWORD PTR ConvSymDepthwiseKernelFrame.KernelFlags[rsp]
call MlasConvSymPostProcessAvx512Core
;
; Restore non-volatile registers and return.
;
ExitKernel:
vzeroupper
movaps xmm6,ConvSymDepthwiseKernelFrame.SavedXmm6[rsp]
movaps xmm7,ConvSymDepthwiseKernelFrame.SavedXmm7[rsp]
movaps xmm8,ConvSymDepthwiseKernelFrame.SavedXmm8[rsp]
movaps xmm9,ConvSymDepthwiseKernelFrame.SavedXmm9[rsp]
movaps xmm10,ConvSymDepthwiseKernelFrame.SavedXmm10[rsp]
movaps xmm11,ConvSymDepthwiseKernelFrame.SavedXmm11[rsp]
movaps xmm12,ConvSymDepthwiseKernelFrame.SavedXmm12[rsp]
movaps xmm13,ConvSymDepthwiseKernelFrame.SavedXmm13[rsp]
movaps xmm14,ConvSymDepthwiseKernelFrame.SavedXmm14[rsp]
movaps xmm15,ConvSymDepthwiseKernelFrame.SavedXmm15[rsp]
add rsp,(ConvSymDepthwiseKernelFrame.SavedR15)
BEGIN_EPILOGUE
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
NESTED_END MlasConvSymDepthwiseKernel&Isa&, _TEXT
ENDM
;
; Macro Description:
;
; This macro generates code to convert the block accumulators from the matrix
; multiply loop to float values.
;
; Arguments:
;
; RegList - Supplies the list of vector registers to operate on.
;
; ScaleReg - Supplies the output scale vector.
;
; Implicit Arguments:
;
; zmm4 - Supplies the integer bias vector.
;
ConvertAccumulatorToFloatRegList MACRO RegList, ScaleReg
;
; Offset each value by the per-channel bias value, convert to floating point,
; and apply the output scale.
;
EmitForEachRegister <RegList>,<vpaddd RegItem,RegItem,zmm4>
EmitForEachRegister <RegList>,<vcvtdq2ps RegItem,RegItem>
EmitForEachRegister <RegList>,<vmulps RegItem,RegItem,ScaleReg>
ENDM
;
; Macro Description:
;
; This macro generates code to convert float values to 32-bit integers in the
; range 0 to 255.
;
; Arguments:
;
; RegList - Supplies the list of vector registers to operate on.
;
; Implicit Arguments:
;
; zmm0 - Supplies the broadcasted minimum clip float value.
;
; This is set to static_cast<float>(0 - ZeroPointValue).
;
; zmm1 - Supplies the broadcasted maximum clip float value.
;
; This is set to static_cast<float>(255 - ZeroPointValue).
;
; zmm2 - Supplies the broadcasted zero point integer value.
;
ConvertFloatToIntegerRegList MACRO RegList
;
; Clip the float values to the integer range covered by the output zero point.
; This also keeps values outside the range INT_MIN to INT_MAX from converting
; to INT_MIN.
;
EmitForEachRegister <RegList>,<vmaxps RegItem,RegItem,zmm0>
EmitForEachRegister <RegList>,<vminps RegItem,RegItem,zmm1>
;
; Convert the float value to integer and add the zero point offset.
;
EmitForEachRegister <RegList>,<vcvtps2dq RegItem,RegItem>
EmitForEachRegister <RegList>,<vpaddd RegItem,RegItem,zmm2>
ENDM
;++
;
; Routine Description:
;
; This routine post processes the block accumulators produced by the convolution
; kernels, including type conversion, requantization, and storing to the output
; buffer.
;
; Arguments:
;
; Return Value:
;
; None.
;
;--
LEAF_ENTRY MlasConvSymPostProcessAvx512Core, _TEXT
;
; Apply the bias and convert the block accumulators to intermediate float values.
;
mov r10,ConvSymPostProcessParams.Bias[rdx]
mov r11,ConvSymPostProcessParams.Scale[rdx]
test bpl,MLAS_CONV_SYM_FLAG_PER_CHANNEL_SCALE
jz BroadcastScaleValue
vmovups zmm0{k1}{z},ZMMWORD PTR [r11]
vmovups zmm1{k2}{z},ZMMWORD PTR [r11+16*4]
vmovups zmm2{k3}{z},ZMMWORD PTR [r11+32*4]
vmovups zmm3{k4}{z},ZMMWORD PTR [r11+48*4]
jmp ConvertAccumulatorsToFloat
BroadcastScaleValue:
vbroadcastss zmm0,DWORD PTR [r11]
vmovups zmm1,zmm0
vmovups zmm2,zmm0
vmovups zmm3,zmm0
ConvertAccumulatorsToFloat:
cmp ecx,16
jbe ConvertAccumulatorsToFloatBy16
cmp ecx,32
jbe ConvertAccumulatorsToFloatBy32
cmp ecx,48
jbe ConvertAccumulatorsToFloatBy48
ConvertAccumulatorsToFloatBy64:
vmovdqu32 zmm4{k4}{z},ZMMWORD PTR [r10+48*4]
ConvertAccumulatorToFloatRegList <zmm11,zmm15,zmm19,zmm23,zmm27,zmm31>,zmm3
ConvertAccumulatorsToFloatBy48:
vmovdqu32 zmm4{k3}{z},ZMMWORD PTR [r10+32*4]
ConvertAccumulatorToFloatRegList <zmm10,zmm14,zmm18,zmm22,zmm26,zmm30>,zmm2
ConvertAccumulatorsToFloatBy32:
vmovdqu32 zmm4{k2}{z},ZMMWORD PTR [r10+16*4]
ConvertAccumulatorToFloatRegList <zmm9,zmm13,zmm17,zmm21,zmm25,zmm29>,zmm1
ConvertAccumulatorsToFloatBy16:
vmovdqu32 zmm4{k1}{z},ZMMWORD PTR [r10]
ConvertAccumulatorToFloatRegList <zmm8,zmm12,zmm16,zmm20,zmm24,zmm28>,zmm0
;
; Convert the intermediate float values to 32-bit integers in the range 0 to 255.
;
vbroadcastss zmm0,DWORD PTR ConvSymPostProcessParams.MinimumValue[rdx]
vbroadcastss zmm1,DWORD PTR ConvSymPostProcessParams.MaximumValue[rdx]
vpbroadcastd zmm2,DWORD PTR ConvSymPostProcessParams.OutputZeroPoint[rdx]
cmp ecx,16
jbe ConvertFloatsToIntegerBy16
cmp ecx,32
jbe ConvertFloatsToIntegerBy32
cmp ecx,48
jbe ConvertFloatsToIntegerBy48
ConvertFloatsToIntegerBy64:
ConvertFloatToIntegerRegList <zmm11,zmm15,zmm19,zmm23,zmm27,zmm31>
ConvertFloatsToIntegerBy48:
ConvertFloatToIntegerRegList <zmm10,zmm14,zmm18,zmm22,zmm26,zmm30>
ConvertFloatsToIntegerBy32:
ConvertFloatToIntegerRegList <zmm9,zmm13,zmm17,zmm21,zmm25,zmm29>
ConvertFloatsToIntegerBy16:
ConvertFloatToIntegerRegList <zmm8,zmm12,zmm16,zmm20,zmm24,zmm28>
;
; Pack with saturation and store 1 to 64 bytes to the output buffer.
;
StoreQuantizedOutput:
lea r9,[rsi*2+rsi]
add r9,r8
cmp ebx,5
ja StoreQuantizedOutput6
je StoreQuantizedOutput5
cmp ebx,3
ja StoreQuantizedOutput4
je StoreQuantizedOutput3
cmp ebx,1
ja StoreQuantizedOutput2
jmp StoreQuantizedOutput1
StoreQuantizedOutput6:
vpmovusdb XMMWORD PTR [r9+rsi*2]{k1},zmm28
vpmovusdb XMMWORD PTR [r9+rsi*2+16]{k2},zmm29
vpmovusdb XMMWORD PTR [r9+rsi*2+32]{k3},zmm30
vpmovusdb XMMWORD PTR [r9+rsi*2+48]{k4},zmm31
StoreQuantizedOutput5:
vpmovusdb XMMWORD PTR [r9+rsi]{k1},zmm24
vpmovusdb XMMWORD PTR [r9+rsi+16]{k2},zmm25
vpmovusdb XMMWORD PTR [r9+rsi+32]{k3},zmm26
vpmovusdb XMMWORD PTR [r9+rsi+48]{k4},zmm27
StoreQuantizedOutput4:
vpmovusdb XMMWORD PTR [r9]{k1},zmm20
vpmovusdb XMMWORD PTR [r9+16]{k2},zmm21
vpmovusdb XMMWORD PTR [r9+32]{k3},zmm22
vpmovusdb XMMWORD PTR [r9+48]{k4},zmm23
StoreQuantizedOutput3:
vpmovusdb XMMWORD PTR [r8+rsi*2]{k1},zmm16
vpmovusdb XMMWORD PTR [r8+rsi*2+16]{k2},zmm17
vpmovusdb XMMWORD PTR [r8+rsi*2+32]{k3},zmm18
vpmovusdb XMMWORD PTR [r8+rsi*2+48]{k4},zmm19
StoreQuantizedOutput2:
vpmovusdb XMMWORD PTR [r8+rsi]{k1},zmm12
vpmovusdb XMMWORD PTR [r8+rsi+16]{k2},zmm13
vpmovusdb XMMWORD PTR [r8+rsi+32]{k3},zmm14
vpmovusdb XMMWORD PTR [r8+rsi+48]{k4},zmm15
StoreQuantizedOutput1:
vpmovusdb XMMWORD PTR [r8]{k1},zmm8
vpmovusdb XMMWORD PTR [r8+16]{k2},zmm9
vpmovusdb XMMWORD PTR [r8+32]{k3},zmm10
vpmovusdb XMMWORD PTR [r8+48]{k4},zmm11
ret
LEAF_END MlasConvSymPostProcessAvx512Core, _TEXT
;
; Generate the convolution kernels.
;
ConvSymKernelFunction Avx512Core
ConvSymDepthwiseKernelFunction Avx512Core
ConvSymKernelFunction Avx512Vnni
ConvSymDepthwiseKernelFunction Avx512Vnni
END
|
Transynther/x86/_processed/US/_zr_/i7-7700_9_0x48.log_74_2036.asm | ljhsiun2/medusa | 9 | 25131 | <gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r15
push %r9
push %rbp
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_UC_ht+0xf14a, %rsi
nop
nop
nop
nop
lfence
mov $0x6162636465666768, %r15
movq %r15, %xmm5
movups %xmm5, (%rsi)
nop
nop
nop
nop
xor $35117, %r10
lea addresses_A_ht+0xdc1a, %r9
dec %rdi
movb (%r9), %r15b
sub %r9, %r9
lea addresses_WC_ht+0xa97a, %rbx
nop
nop
nop
nop
cmp %rcx, %rcx
movl $0x61626364, (%rbx)
nop
cmp %r15, %r15
lea addresses_WC_ht+0x1574a, %rdi
nop
inc %rsi
mov (%rdi), %rbx
nop
nop
sub %rbx, %rbx
lea addresses_normal_ht+0x4c22, %rdi
nop
nop
nop
nop
nop
xor %rbx, %rbx
movw $0x6162, (%rdi)
nop
xor %rsi, %rsi
lea addresses_WC_ht+0x2b4a, %rdi
nop
nop
nop
cmp %r9, %r9
mov (%rdi), %r15
nop
nop
sub $63426, %rcx
lea addresses_UC_ht+0x15eca, %rbx
nop
xor $59107, %rcx
movw $0x6162, (%rbx)
sub %rdi, %rdi
lea addresses_D_ht+0x1b76a, %rcx
cmp $7483, %rdi
and $0xffffffffffffffc0, %rcx
movaps (%rcx), %xmm7
vpextrq $1, %xmm7, %r9
nop
nop
nop
nop
sub $11377, %r9
lea addresses_WC_ht+0x147e, %rsi
lea addresses_WC_ht+0x10b06, %rdi
nop
nop
nop
sub $23764, %rbp
mov $27, %rcx
rep movsb
nop
nop
and %r9, %r9
lea addresses_A_ht+0x15f4a, %r10
nop
sub $23792, %r15
movl $0x61626364, (%r10)
nop
nop
nop
nop
nop
and %r15, %r15
lea addresses_D_ht+0x1044a, %rdi
nop
nop
nop
nop
cmp $15600, %rbp
mov (%rdi), %r15
nop
inc %r9
pop %rsi
pop %rdi
pop %rcx
pop %rbx
pop %rbp
pop %r9
pop %r15
pop %r10
ret
.global s_faulty_load
s_faulty_load:
push %r10
push %r13
push %r8
push %r9
push %rax
push %rbp
push %rsi
// Store
mov $0xd84, %rax
nop
nop
nop
sub $5833, %rbp
movb $0x51, (%rax)
xor $44092, %r13
// Load
lea addresses_US+0xab4a, %r13
nop
nop
nop
nop
cmp $38721, %r9
vmovaps (%r13), %ymm7
vextracti128 $1, %ymm7, %xmm7
vpextrq $1, %xmm7, %r10
nop
add %rbp, %rbp
// Store
lea addresses_normal+0xfa9a, %rsi
nop
nop
cmp $13276, %rax
mov $0x5152535455565758, %r8
movq %r8, %xmm5
vmovups %ymm5, (%rsi)
nop
nop
nop
add $43569, %r10
// Load
lea addresses_WT+0xe34a, %r10
nop
nop
nop
nop
nop
add %rax, %rax
mov (%r10), %r9
nop
nop
nop
add $15696, %r10
// Faulty Load
lea addresses_US+0x1b4a, %r9
nop
nop
nop
nop
nop
sub %r10, %r10
vmovups (%r9), %ymm1
vextracti128 $0, %ymm1, %xmm1
vpextrq $0, %xmm1, %r8
lea oracles, %r10
and $0xff, %r8
shlq $12, %r8
mov (%r10,%r8,1), %r8
pop %rsi
pop %rbp
pop %rax
pop %r9
pop %r8
pop %r13
pop %r10
ret
/*
<gen_faulty_load>
[REF]
{'OP': 'LOAD', 'src': {'type': 'addresses_US', 'AVXalign': False, 'congruent': 0, 'size': 8, 'same': False, 'NT': False}}
{'OP': 'STOR', 'dst': {'type': 'addresses_P', 'AVXalign': True, 'congruent': 0, 'size': 1, 'same': False, 'NT': False}}
{'OP': 'LOAD', 'src': {'type': 'addresses_US', 'AVXalign': True, 'congruent': 11, 'size': 32, 'same': False, 'NT': False}}
{'OP': 'STOR', 'dst': {'type': 'addresses_normal', 'AVXalign': False, 'congruent': 3, 'size': 32, 'same': False, 'NT': False}}
{'OP': 'LOAD', 'src': {'type': 'addresses_WT', 'AVXalign': False, 'congruent': 10, 'size': 8, 'same': False, 'NT': False}}
[Faulty Load]
{'OP': 'LOAD', 'src': {'type': 'addresses_US', 'AVXalign': False, 'congruent': 0, 'size': 32, 'same': True, 'NT': False}}
<gen_prepare_buffer>
{'OP': 'STOR', 'dst': {'type': 'addresses_UC_ht', 'AVXalign': False, 'congruent': 9, 'size': 16, 'same': False, 'NT': False}}
{'OP': 'LOAD', 'src': {'type': 'addresses_A_ht', 'AVXalign': False, 'congruent': 3, 'size': 1, 'same': False, 'NT': False}}
{'OP': 'STOR', 'dst': {'type': 'addresses_WC_ht', 'AVXalign': False, 'congruent': 4, 'size': 4, 'same': False, 'NT': False}}
{'OP': 'LOAD', 'src': {'type': 'addresses_WC_ht', 'AVXalign': False, 'congruent': 10, 'size': 8, 'same': False, 'NT': False}}
{'OP': 'STOR', 'dst': {'type': 'addresses_normal_ht', 'AVXalign': False, 'congruent': 3, 'size': 2, 'same': False, 'NT': False}}
{'OP': 'LOAD', 'src': {'type': 'addresses_WC_ht', 'AVXalign': True, 'congruent': 11, 'size': 8, 'same': False, 'NT': False}}
{'OP': 'STOR', 'dst': {'type': 'addresses_UC_ht', 'AVXalign': False, 'congruent': 6, 'size': 2, 'same': False, 'NT': False}}
{'OP': 'LOAD', 'src': {'type': 'addresses_D_ht', 'AVXalign': True, 'congruent': 5, 'size': 16, 'same': False, 'NT': False}}
{'OP': 'REPM', 'src': {'type': 'addresses_WC_ht', 'congruent': 2, 'same': False}, 'dst': {'type': 'addresses_WC_ht', 'congruent': 1, 'same': False}}
{'OP': 'STOR', 'dst': {'type': 'addresses_A_ht', 'AVXalign': False, 'congruent': 9, 'size': 4, 'same': False, 'NT': True}}
{'OP': 'LOAD', 'src': {'type': 'addresses_D_ht', 'AVXalign': False, 'congruent': 8, 'size': 8, 'same': False, 'NT': False}}
{'00': 74}
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
*/
|
thumb/thumb.asm | michelhe/gba-suite | 0 | 93004 | format binary as 'gba'
macro failed test {
mov r7, test
bl loop
}
header:
include '../lib/header.asm'
main:
adr r0, main_thumb + 1
bx r0
code16
align 2
main_thumb:
; Setup DISPCNT
mov r0, 1
lsl r0, 10
mov r1, 4
orr r0, r1
mov r2, 4
lsl r2, 24
strh r0, [r2]
; Setup red color
mov r0, 0x1F
mov r1, 5
lsl r1, 24
strh r0, [r1]
; Reset test register
mov r7, 0
; Tests start at 1
include 'logical.asm'
; Tests start at 50
include 'shifts.asm'
; Tests start at 100
include 'arithmetic.asm'
; Tests start at 150
include 'branches.asm'
; Tests start at 200
include 'memory.asm'
passed:
; Setup green color
mov r0, 0x1F
lsl r0, 5
mov r1, 5
lsl r1, 24
strh r0, [r1]
loop:
b loop
|
programs/oeis/028/A028860.asm | neoneye/loda | 22 | 247609 | ; A028860: a(n+2) = 2*a(n+1) + 2*a(n); a(0) = -1, a(1) = 1.
; -1,1,0,2,4,12,32,88,240,656,1792,4896,13376,36544,99840,272768,745216,2035968,5562368,15196672,41518080,113429504,309895168,846649344,2313089024,6319476736,17265131520,47169216512,128868696064,352075825152,961889042432,2627929735168,7179637555200,19615134580736,53589544271872,146409357705216,399997803954176,1092814323318784,2985624254545920,8156877155729408,22285002820550656,60883759952560128,166337525546221568,454442570997563392,1241560193087569920,3392005528170266624,9267131442515673088,25318273941371879424,69170810767775105024,188978169418293968896,516297960372138147840,1410552259580864233472,3853700439906004762624,10528505398973737992192,28764411677759485509632,78585834153466447003648,214700491662451865026560,586572651631836624060416,1602546286588576978173952,4378237876440827204468736,11961568326058808365285376,32679612404999271139508224,89282361462116159009587200,243923947734230860298190848,666412618392694038615556096,1820673132253849797827493888,4974171501293087672886099968,13589689267093874941427187712,37127721536773925228626575360,101434821607735600340107526144,277125086289019051137468203008,757119815793509302955151458304,2068489804165056708185239322624,5651219239917132022280781561856,15439418088164377460932041768960,42181274656163018966425646661632,115241385488654792854715376861184,314845320289635623642282047045632,860173411556580832993994847813632,2350037463692432913272553789718528,6420421750498027492533097275064320,17540918428380920811611302129565696,47922680357757896608288798809260032,130927197572277634839800201877651456,357699755860071062896178001373822976,977253906864697395471956406502948864
mov $2,-8
mov $3,8
lpb $0
sub $0,1
mov $1,$3
add $3,$2
mov $2,$1
mul $3,2
lpe
mul $2,2
add $0,$2
div $0,16
|
gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c3/c37005a.ada | best08618/asylo | 7 | 10213 | <reponame>best08618/asylo<filename>gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c3/c37005a.ada<gh_stars>1-10
-- C37005A.ADA
-- Grant of Unlimited Rights
--
-- Under contracts F33600-87-D-0337, F33600-84-D-0280, MDA903-79-C-0687,
-- F08630-91-C-0015, and DCA100-97-D-0025, the U.S. Government obtained
-- unlimited rights in the software and documentation contained herein.
-- Unlimited rights are defined in DFAR 252.227-7013(a)(19). By making
-- this public release, the Government intends to confer upon all
-- recipients unlimited rights equal to those held by the Government.
-- These rights include rights to use, duplicate, release or disclose the
-- released technical data and computer software in whole or in part, in
-- any manner and for any purpose whatsoever, and to have or permit others
-- to do so.
--
-- DISCLAIMER
--
-- ALL MATERIALS OR INFORMATION HEREIN RELEASED, MADE AVAILABLE OR
-- DISCLOSED ARE AS IS. THE GOVERNMENT MAKES NO EXPRESS OR IMPLIED
-- WARRANTY AS TO ANY MATTER WHATSOEVER, INCLUDING THE CONDITIONS OF THE
-- SOFTWARE, DOCUMENTATION OR OTHER INFORMATION RELEASED, MADE AVAILABLE
-- OR DISCLOSED, OR THE OWNERSHIP, MERCHANTABILITY, OR FITNESS FOR A
-- PARTICULAR PURPOSE OF SAID MATERIAL.
--*
-- CHECK THAT SCALAR RECORD COMPONENTS MAY HAVE NON-STATIC
-- RANGE CONSTRAINTS OR DEFAULT INITIAL VALUES.
-- DAT 3/6/81
-- JWC 6/28/85 RENAMED TO -AB
-- EDS 7/16/98 AVOID OPTIMIZATION
WITH REPORT;
PROCEDURE C37005A IS
USE REPORT;
BEGIN
TEST ("C37005A", "SCALAR RECORD COMPONENTS MAY HAVE NON-STATIC"
& " RANGE CONSTRAINTS OR DEFAULT INITIAL VALUES");
DECLARE
SUBTYPE DT IS INTEGER RANGE IDENT_INT (1) .. IDENT_INT (5);
L : INTEGER := IDENT_INT (DT'FIRST);
R : INTEGER := IDENT_INT (DT'LAST);
SUBTYPE DT2 IS INTEGER RANGE L .. R;
M : INTEGER := (L + R) / 2;
TYPE REC IS
RECORD
C1 : INTEGER := M;
C2 : DT2 := (L + R) / 2;
C3 : BOOLEAN RANGE (L < M) .. (R > M)
:= IDENT_BOOL (TRUE);
C4 : INTEGER RANGE L .. R := DT'FIRST;
END RECORD;
R1, R2 : REC := ((L+R)/2, M, M IN DT, L);
R3 : REC;
BEGIN
IF R3 /= R1
THEN
FAILED ("INCORRECT RECORD VALUES");
END IF;
R3 := (R2.C2, R2.C1, R3.C3, R); -- CONSTRAINTS CHECKED BY :=
IF EQUAL(IDENT_INT(1), 2) THEN
FAILED("IMPOSSIBLE " & INTEGER'IMAGE(R3.C1)); --USE R3
END IF;
BEGIN
R3 := (M, M, IDENT_BOOL (FALSE), M); -- RAISES CON_ERR.
FAILED ("CONSTRAINT ERROR NOT RAISED " & INTEGER'IMAGE(R3.C1));
EXCEPTION
WHEN CONSTRAINT_ERROR => NULL;
WHEN OTHERS => FAILED ("WRONG EXCEPTION");
END;
FOR I IN DT LOOP
R3 := (I, I, I /= 100, I);
R1.C2 := I;
IF EQUAL(IDENT_INT(1), 2) THEN
FAILED("IMPOSSIBLE " &
INTEGER'IMAGE(R3.C1 + R1.C2)); --USE R3, R1
END IF;
END LOOP;
EXCEPTION
WHEN OTHERS => FAILED ("INVALID EXCEPTION");
END;
RESULT;
END C37005A;
|
src/com/branegy/populito/parser/Populito.g4 | branegy/populito | 0 | 6903 | <reponame>branegy/populito<gh_stars>0
grammar Populito;
@header {
package com.branegy.populito.parser;
}
mathExpression
: plusOrMinus
| expression
;
plusOrMinus
: v_left=plusOrMinus v_operation=PLUS v_right=multOrDiv
| v_left=plusOrMinus v_operation=MINUS v_right=multOrDiv
| v_right=multOrDiv
;
multOrDiv
: v_left=multOrDiv v_operation=MULT v_right=pow
| v_left=multOrDiv v_operation=DIV v_right=pow
| v_right=pow
;
pow
: unaryMinus (POWER pow)?
;
unaryMinus
: v_operation=MINUS unaryMinus
| expression
;
expression
: v_list=list
| v_field=field
| v_constant=constant
| v_function=function
| v_ifthenelse=if_then_else
| v_null=NULL
;
conditional_expression
: conditional_or;
conditional_or
: conditional_and (OR conditional_and)*;
conditional_and
: term (AND term)*;
term
: v_left=expression (v_operator=operator v_right=expression)?
| LPAREN v_center=conditional_expression RPAREN
;
if_then_else
: IF v_codition=conditional_expression THEN v_then=mathExpression ELSE v_else=mathExpression END;
list
: OPEN_SB mathExpression (COMMA mathExpression )* CLOSE_SB;
parameters
: ID EQ mathExpression (COMMA ID EQ mathExpression)*;
function
: name=ID '(' parameters? ')';
constant
: v_number= NUMBER
| v_string= STRING
;
field
: DOLLAR (v_parent=ID DOT)? v_name=ID;
operator
: GT | GE | LT | LE | EQ;
binary : AND | OR;
IF : 'if';
THEN : 'then';
ELSE : 'else';
END : 'end';
OPEN_SB : '[';
CLOSE_SB : ']';
EQ : '=';
COMMA : ',';
DOLLAR : '$';
DOT : '.';
GT : '>';
GE : '>=';
LT : '<';
LE : '<=';
AND : 'and';
OR : 'or';
NOT : 'not';
TRUE : 'true';
FALSE : 'false';
LPAREN : '(' ;
RPAREN : ')' ;
NULL : 'null';
PLUS : '+';
MINUS : '-';
MULT : '*';
DIV : '/';
POWER : '^';
ID : ('a'..'z' | 'A'..'Z') ('0'..'9'|'a'..'z'|'A'..'Z'| '_')*;
WS : (' '|'\t')+ {skip();} ;
NUMBER : '-'? ('0'..'9')+ ('.' ('0'..'9')+ )?;
STRING : '"' (ESC|~('"'|'\\'|'\n'|'\r'))* '"';
ESC : '\\'
( 'n'
| 'r'
| 't'
| 'b'
| 'f'
| '"'
| '\''
| '\\'
);
|
src/common/keccak-generic_xof.ads | damaki/libkeccak | 26 | 8512 | -------------------------------------------------------------------------------
-- Copyright (c) 2019, <NAME>
-- All rights reserved.
--
-- Redistribution and use in source and binary forms, with or without
-- modification, are permitted provided that the following conditions are met:
-- * Redistributions of source code must retain the above copyright
-- notice, this list of conditions and the following disclaimer.
-- * Redistributions in binary form must reproduce the above copyright
-- notice, this list of conditions and the following disclaimer in the
-- documentation and/or other materials provided with the distribution.
-- * The name of the copyright holder may not be used to endorse or promote
-- Products derived from this software without specific prior written
-- permission.
--
-- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-- AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-- IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-- ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE FOR ANY
-- DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
-- (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
-- LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
-- ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-- (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
-- THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-------------------------------------------------------------------------------
-------------------------------------------------------------------------------
-- This package provides a generic implementation for the SHAKE XOF.
-- It is the basis for each of the two SHAKE XOF algorithms
-- described in Section 6.2 of NIST FIPS-202 (August 2015).
--
-- The package provides three main procedures:
-- * Init to initialize the XOF state
-- * Update to append data to the XOF algorithm
-- * Extract to get an arbitrary amount of output bytes from the XOF.
-------------------------------------------------------------------------------
with Keccak.Generic_Sponge;
with Keccak.Types;
-- @summary
-- Generic eXtendable Output Function (XOF).
--
-- @group XOF
generic
with package XOF_Sponge is new Keccak.Generic_Sponge (<>);
Capacity : Positive;
-- Sponge capacity in bits.
--
-- This must be a multiple of 8, and must be smaller than the state size.
Suffix : Keccak.Types.Byte;
Suffix_Size : Natural;
Permutation_Initial_Value : Keccak.Types.Byte_Array := Keccak.Types.Null_Byte_Array;
-- An optional inital value for the permutation state.
--
-- If non-empty, this data block will be written to the permutation state
-- and then the permutation function will be applied. Otherwise, the
-- permutation state will be zero-initialised.
--
-- The length of this parameter cannot exceed the permutation state size.
package Keccak.Generic_XOF
is
-- Import common types from Keccak.Types to avoid users of the
-- package to be dependent on Keccak.Types.
subtype Byte is Keccak.Types.Byte;
subtype Index_Number is Keccak.Types.Index_Number;
subtype Byte_Array is Keccak.Types.Byte_Array;
subtype Rate_Bits_Number is XOF_Sponge.Rate_Bits_Number;
type States is (Updating, Ready_To_Extract, Extracting);
type Context is private;
----------------------
-- XOF procedures --
----------------------
procedure Init (Ctx : out Context)
with Global => null,
Depends => (Ctx => null),
Post => State_Of (Ctx) = Updating;
-- Initializes the XOF.
--
-- Initially, the XOF is in the Updating state; data can be input into the
-- XOF by calling the Update procedure.
--
-- @param Ctx The context to initialize.
procedure Update (Ctx : in out Context;
Message : in Byte_Array;
Bit_Length : in Natural)
with Global => null,
Depends => (Ctx =>+ (Message, Bit_Length)),
Pre => (State_Of (Ctx) = Updating
and then (Message'Length < Natural'Last / 8)
and then Bit_Length <= Message'Length * 8),
Contract_Cases => (Bit_Length mod 8 = 0 => State_Of (Ctx) = Updating,
others => State_Of (Ctx) = Ready_To_Extract);
-- Input bit-oriented data into the XOF.
--
-- This function can be called multiple times to input large amounts of
-- data.
--
-- The XOF must be in the 'Updating' state when this procedure is called.
-- Note that if Update is called where Bit_Length is not a multiple of 8
-- bits then the XOF moves to the 'Ready_To_Extract' state and no additional
-- bytes can be input into the XOF. Otherwise, if Bit_Length is a multiple of
-- 8 bits then Update can be called again to input additional data.
--
-- @param Ctx The XOF object into which the data is input.
--
-- @param Message Contains the data to input into the XOF object.
--
-- @param Bit_Length The number of bits from the 'Message' array to input
-- into the XOF. Any additional bits in 'Message' after this number of
-- bits are ignored. All calls to Update before the last call must have
-- Bit_Length as a multiple of 8 bits. The last call to Update can have
-- Bit_Length with any value.
procedure Update (Ctx : in out Context;
Message : in Byte_Array)
with Global => null,
Depends => (Ctx =>+ Message),
Pre => State_Of (Ctx) = Updating,
Post => State_Of (Ctx) = Updating;
-- Input byte-oriented data into the XOF.
--
-- This procedure can be called multiple times to process large amounts
-- of data in chunks.
--
-- @param Ctx The hash context to update.
-- @param Message The bytes to input into the XOF.
procedure Extract (Ctx : in out Context;
Digest : out Byte_Array)
with Global => null,
Depends => ((Digest, Ctx) => (Ctx, Digest)),
Post => State_Of (Ctx) = Extracting;
-- Extract bytes from the XOF.
--
-- Each call to Extract can read an arbitrary number of bytes from the XOF.
-- Additionally, Extract can be called any number of times.
--
-- @param Ctx The XOF context object
--
-- @param Digest The bytes from the XOF are output into this array. The
-- length of the array determines the number of bytes that are extracted.
function State_Of (Ctx : in Context) return States
with Global => null;
-- @return The current state of the XOF context.
function Rate return Positive
with Global => null,
Post => Rate'Result mod 8 = 0;
-- @return The rate of the XOF (in bits).
private
use type XOF_Sponge.States;
type Context is record
Sponge_Ctx : XOF_Sponge.Context;
Update_Complete : Boolean;
end record;
function Rate return Positive
is (XOF_Sponge.Block_Size_Bits - Capacity);
function Can_Absorb (Ctx : in Context) return Boolean
is (XOF_Sponge.In_Queue_Bit_Length (Ctx.Sponge_Ctx) mod 8 = 0
and (XOF_Sponge.In_Queue_Bit_Length (Ctx.Sponge_Ctx) <
XOF_Sponge.Rate_Of (Ctx.Sponge_Ctx)));
function State_Of (Ctx : in Context) return States
is (if XOF_Sponge.State_Of (Ctx.Sponge_Ctx) = XOF_Sponge.Squeezing then Extracting
elsif Ctx.Update_Complete or (not Can_Absorb (Ctx)) then Ready_To_Extract
else Updating);
end Keccak.Generic_XOF;
|
src/installer/corehost/cli/ijwhost/AMD64/asmhelpers.asm | abock/runtime | 6 | 164884 | ; Licensed to the .NET Foundation under one or more agreements.
; The .NET Foundation licenses this file to you under the MIT license.
; See the LICENSE file in the project root for more information.
include AsmMacros.inc
extern start_runtime_and_get_target_address:proc
; Stack setup at time of call to start_runtime_and_get_target_address
; 32-byte scratch space
; xmm0 (saved incoming arg)
; xmm1 (saved incoming arg)
; xmm2 (saved incoming arg)
; xmm3 (saved incoming arg)
; 8-byte padding
; return address
; rcx (saved incoming arg) <- 16-byte aligned scratch space of caller
; rdx (saved incoming arg)
; r8 (saved incoming arg)
; r9 (saved incoming arg)
SIZEOF_SCRATCH_SPACE equ 20h
SIZEOF_FP_ARG_SPILL equ 10h*4 ; == 40h
SIZEOF_PADDING equ 8h
SIZEOF_ALLOC_STACK equ SIZEOF_SCRATCH_SPACE + SIZEOF_FP_ARG_SPILL + SIZEOF_PADDING
SIZEOF_RET_ADDR equ 8h
; rcx, rdx, r8, r9 need preserving, in the scratch area
SIZEOF_INCOMING_ARG_SPILL equ 8h*4 ; == 20h
; xmm0 - xmm3 need preserving.
OFFSETOF_SCRATCH_SPACE equ 0h
OFFSETOF_FP_ARG_SPILL equ OFFSETOF_SCRATCH_SPACE + SIZEOF_SCRATCH_SPACE
OFFSETOF_PADDING equ OFFSETOF_FP_ARG_SPILL + SIZEOF_FP_ARG_SPILL
OFFSETOF_RET_ADDR equ OFFSETOF_PADDING + SIZEOF_PADDING
OFFSETOF_INCOMING_ARG_SPILL equ OFFSETOF_RET_ADDR + SIZEOF_RET_ADDR
NESTED_ENTRY start_runtime_thunk_stub, _TEXT
; Allocate the stack space
alloc_stack SIZEOF_ALLOC_STACK
; Save the incoming floating point arguments
save_xmm128 xmm0, 0h + OFFSETOF_FP_ARG_SPILL
save_xmm128 xmm1, 10h + OFFSETOF_FP_ARG_SPILL
save_xmm128 xmm2, 20h + OFFSETOF_FP_ARG_SPILL
save_xmm128 xmm3, 30h + OFFSETOF_FP_ARG_SPILL
; Save the incoming arguments into the scratch area
save_reg rcx, 0h + OFFSETOF_INCOMING_ARG_SPILL
save_reg rdx, 8h + OFFSETOF_INCOMING_ARG_SPILL
save_reg r8, 10h + OFFSETOF_INCOMING_ARG_SPILL
save_reg r9, 18h + OFFSETOF_INCOMING_ARG_SPILL
END_PROLOGUE
; Secret arg is in r10.
mov rcx, r10
; Call helper func.
call start_runtime_and_get_target_address
; Restore the incoming floating point arguments
movdqa xmm0, [rsp + 0h + OFFSETOF_FP_ARG_SPILL]
movdqa xmm1, [rsp + 10h + OFFSETOF_FP_ARG_SPILL]
movdqa xmm2, [rsp + 20h + OFFSETOF_FP_ARG_SPILL]
movdqa xmm3, [rsp + 30h + OFFSETOF_FP_ARG_SPILL]
; Restore the incoming arguments
mov rcx, [rsp + 0h + OFFSETOF_INCOMING_ARG_SPILL]
mov rdx, [rsp + 8h + OFFSETOF_INCOMING_ARG_SPILL]
mov r8, [rsp + 10h + OFFSETOF_INCOMING_ARG_SPILL]
mov r9, [rsp + 18h + OFFSETOF_INCOMING_ARG_SPILL]
; Restore the stack
add rsp, SIZEOF_ALLOC_STACK
; Jump to the target
TAILJMP_RAX
NESTED_END start_runtime_thunk_stub, _TEXT
;LEAF_ENTRY start_runtime_thunk_stubSample, _TEXT
; mov r10, 1234567812345678h
; mov r11, 1234123412341234h
; jmp r11
;LEAF_END start_runtime_thunk_stubSample, _TEXT
end
|
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0x84_notsx.log_21829_714.asm | ljhsiun2/medusa | 9 | 13247 | <filename>Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0x84_notsx.log_21829_714.asm
.global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r13
push %r15
push %r8
push %rbx
push %rdi
push %rsi
lea addresses_normal_ht+0x297b, %r15
nop
nop
nop
nop
nop
xor $14992, %rbx
mov (%r15), %r8d
nop
nop
and %rsi, %rsi
lea addresses_UC_ht+0x7ee1, %rdi
nop
nop
xor $47635, %rsi
mov (%rdi), %r13w
inc %r13
lea addresses_WT_ht+0x2061, %r13
nop
nop
nop
nop
xor %r12, %r12
mov (%r13), %si
nop
and $55205, %rdi
pop %rsi
pop %rdi
pop %rbx
pop %r8
pop %r15
pop %r13
pop %r12
ret
.global s_faulty_load
s_faulty_load:
push %r12
push %r13
push %r14
push %r8
push %rbp
push %rdi
push %rsi
// Store
lea addresses_A+0x1bf61, %r12
nop
nop
nop
sub %rbp, %rbp
mov $0x5152535455565758, %r13
movq %r13, (%r12)
xor $62409, %rbp
// Faulty Load
lea addresses_WC+0x1d061, %r8
nop
nop
nop
nop
and $10568, %rsi
mov (%r8), %di
lea oracles, %rbp
and $0xff, %rdi
shlq $12, %rdi
mov (%rbp,%rdi,1), %rdi
pop %rsi
pop %rdi
pop %rbp
pop %r8
pop %r14
pop %r13
pop %r12
ret
/*
<gen_faulty_load>
[REF]
{'src': {'type': 'addresses_WC', 'same': False, 'size': 32, 'congruent': 0, 'NT': False, 'AVXalign': False}, 'OP': 'LOAD'}
{'dst': {'type': 'addresses_A', 'same': False, 'size': 8, 'congruent': 7, 'NT': False, 'AVXalign': False}, 'OP': 'STOR'}
[Faulty Load]
{'src': {'type': 'addresses_WC', 'same': True, 'size': 2, 'congruent': 0, 'NT': False, 'AVXalign': False}, 'OP': 'LOAD'}
<gen_prepare_buffer>
{'src': {'type': 'addresses_normal_ht', 'same': False, 'size': 4, 'congruent': 0, 'NT': False, 'AVXalign': False}, 'OP': 'LOAD'}
{'src': {'type': 'addresses_UC_ht', 'same': False, 'size': 2, 'congruent': 6, 'NT': False, 'AVXalign': False}, 'OP': 'LOAD'}
{'src': {'type': 'addresses_WT_ht', 'same': False, 'size': 2, 'congruent': 11, 'NT': True, 'AVXalign': False}, 'OP': 'LOAD'}
{'38': 21829}
38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38
*/
|
FormalAnalyzer/models/apps/SprayerController2.als | Mohannadcse/IoTCOM_BehavioralRuleExtractor | 0 | 269 | module app_SprayerController2
open IoTBottomUp as base
open cap_runIn
open cap_now
one sig app_SprayerController2 extends IoTApp {
state : one cap_state,
} {
rules = r
//capabilities = state
}
one sig cap_state extends cap_runIn {} {
attributes = cap_state_attr + cap_runIn_attr
}
abstract sig cap_state_attr extends Attribute {}
abstract sig r extends Rule {}
one sig r0 extends r {}{
no triggers
conditions = r0_cond
commands = r0_comm
}
abstract sig r0_cond extends Condition {}
abstract sig r0_comm extends Command {}
one sig r0_comm0 extends r0_comm {} {
capability = app_SprayerController2.state
attribute = cap_runIn_attr_runIn
value = cap_runIn_attr_runIn_val_on
}
|
alloy4fun_models/trashltl/models/4/SZWDrDPqEt7DSbfnQ.als | Kaixi26/org.alloytools.alloy | 0 | 5278 | open main
pred idSZWDrDPqEt7DSbfnQ_prop5 {
eventually some (File & Trash)
}
pred __repair { idSZWDrDPqEt7DSbfnQ_prop5 }
check __repair { idSZWDrDPqEt7DSbfnQ_prop5 <=> prop5o } |
Appl/Preferences/PrefMgr/customSpin.asm | steakknife/pcgeos | 504 | 12287 | COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) GeoWorks 1989 -- All Rights Reserved
PROJECT: PC GEOS
MODULE: calendar
FILE: customSpin.asm
AUTHOR: <NAME>, February 7, 1990
ROUTINES:
Name Description
---- -----------
REVISION HISTORY:
Name Date Description
---- ---- -----------
Don 2/7/90 Initial revision
Chris 7/22/92 Rewritten to use GenValue
Chris 1/28/93 Rewritten to use a popup list.
DESCRIPTION:
Implements the custom spin gadget, used to display "n" monikers
using a GenSpinGadget.
If an ActionDescriptor is provided (by setting the "action" field
in the .UI file, then the current index value is reported in CX
every time it is changed. No check for duplicity is made.
This version is slightly different from Calendar's -- it allows a
minimum offset, so you can display only monikers 10-18 in the list,
say.
$Id: customSpin.asm,v 1.1 97/04/04 16:27:20 newdeal Exp $
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@
|
programs/oeis/014/A014306.asm | neoneye/loda | 22 | 246702 | <reponame>neoneye/loda
; A014306: a(n) = 0 if n of form m(m+1)(m+2)/6, otherwise 1.
; 0,0,1,1,0,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1
seq $0,332663 ; Even bisection of A332662: the x-coordinates of an enumeration of N X N.
min $0,1
|
programs/oeis/167/A167993.asm | neoneye/loda | 22 | 179797 | ; A167993: Expansion of x^2/((3*x-1)*(3*x^2-1)).
; 0,0,1,3,12,36,117,351,1080,3240,9801,29403,88452,265356,796797,2390391,7173360,21520080,64566801,193700403,581120892,1743362676,5230147077,15690441231,47071500840,141214502520,423644039001,1270932117003,3812797945332,11438393835996,34315186290957,102945558872871,308836690967520,926510072902560,2779530261754401,8338590785263203,25015772484929772,75047317454789316,225141952751788437,675425858255365311,2026277575928357400,6078832727785072200,18236498186842001001,54709494560526003003,164128483692038362212,492385451076115086636,1477156353259726319517,4431469059779178958551,13294407179431680054480,39883221538295040163440,119649664615167550026801,358948993845502650080403,1076846981537355238850652,3230540944612065716551956,9691622833838739015484197,29074868501516217046452591,87224605504556276736842760,261673816513668830210528280,785021449541029367424039801,2355064348623088102272119403,7065193045869332937193723092,21195579137607998811581169276,63586737412824202325875602477,190760212238472606977626807431,572280636715418438606276706240,1716841910146255315818830118720,5150525730438767800476679208001,15451577191316303401430037624003,46354731573948915763350679427532,139064194721846747290052038282596,417192584165540258547337814514357,1251577752496620775642013443543071,3754733257489862376957585429628920,11264199772469587130872756288886760,33792599317408761542712904163659401,101377797952226284628138712490978203,304133393856678854334700043363931972,912400181570036563004100130091795916
seq $0,297619 ; a(n) = 2*a(n-1) + 2*a(n-2) - 4*a(n-3), a(1) = 0, a(2) = 0, a(3) = 8.
div $0,4
mov $2,$0
div $0,2
seq $0,240400 ; Numbers n having a partition into distinct parts of form 3^k-2^k.
add $0,$2
div $0,3
|
Transynther/x86/_processed/NC/_zr_/i7-7700_9_0x48_notsx.log_21829_1681.asm | ljhsiun2/medusa | 9 | 99347 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %r8
push %r9
push %rax
push %rcx
push %rdi
push %rsi
lea addresses_WT_ht+0x16ea9, %rsi
lea addresses_D_ht+0x1e0d6, %rdi
nop
nop
nop
sub %rax, %rax
mov $107, %rcx
rep movsb
nop
nop
cmp %r10, %r10
lea addresses_UC_ht+0x1b73e, %rsi
nop
nop
nop
nop
and $8796, %r12
movups (%rsi), %xmm4
vpextrq $1, %xmm4, %rcx
nop
nop
nop
nop
nop
and %rax, %rax
lea addresses_normal_ht+0x87b6, %rax
xor $64437, %r8
mov $0x6162636465666768, %r12
movq %r12, %xmm0
movups %xmm0, (%rax)
nop
nop
nop
xor %rdi, %rdi
lea addresses_UC_ht+0x1af56, %rsi
lea addresses_D_ht+0xb516, %rdi
nop
nop
cmp $19575, %r9
mov $70, %rcx
rep movsq
nop
add $52774, %r8
lea addresses_UC_ht+0x1568e, %rdi
nop
nop
add $39600, %r8
mov (%rdi), %r10w
nop
nop
add %rcx, %rcx
lea addresses_UC_ht+0xdcb6, %rsi
lea addresses_WT_ht+0x1b1b6, %rdi
nop
nop
cmp %r12, %r12
mov $32, %rcx
rep movsw
nop
nop
nop
nop
cmp %rdi, %rdi
lea addresses_A_ht+0xcd70, %r9
nop
nop
nop
nop
xor $6391, %r12
movb $0x61, (%r9)
nop
nop
sub $26006, %rdi
lea addresses_D_ht+0x84b6, %rdi
nop
lfence
mov (%rdi), %rcx
nop
nop
xor %r10, %r10
lea addresses_A_ht+0x19036, %r12
sub $7882, %r9
mov (%r12), %di
nop
nop
nop
sub $15917, %r9
pop %rsi
pop %rdi
pop %rcx
pop %rax
pop %r9
pop %r8
pop %r12
pop %r10
ret
.global s_faulty_load
s_faulty_load:
push %r10
push %r14
push %r8
push %rbp
push %rcx
push %rdi
push %rsi
// Store
lea addresses_UC+0x1d40f, %r14
nop
nop
nop
dec %rcx
movw $0x5152, (%r14)
nop
nop
nop
cmp $22245, %r14
// Store
lea addresses_D+0x167b6, %rdi
nop
nop
nop
nop
cmp $31561, %rbp
mov $0x5152535455565758, %r10
movq %r10, %xmm2
vmovups %ymm2, (%rdi)
nop
nop
and %rsi, %rsi
// Store
lea addresses_D+0x1bc24, %rdi
clflush (%rdi)
inc %rsi
mov $0x5152535455565758, %rbp
movq %rbp, %xmm1
and $0xffffffffffffffc0, %rdi
movaps %xmm1, (%rdi)
nop
nop
sub $43490, %r10
// Faulty Load
mov $0x2986ac00000006b6, %rdi
nop
nop
nop
add %rsi, %rsi
mov (%rdi), %bp
lea oracles, %rdi
and $0xff, %rbp
shlq $12, %rbp
mov (%rdi,%rbp,1), %rbp
pop %rsi
pop %rdi
pop %rcx
pop %rbp
pop %r8
pop %r14
pop %r10
ret
/*
<gen_faulty_load>
[REF]
{'OP': 'LOAD', 'src': {'same': False, 'NT': False, 'AVXalign': False, 'size': 8, 'type': 'addresses_NC', 'congruent': 0}}
{'dst': {'same': False, 'NT': False, 'AVXalign': False, 'size': 2, 'type': 'addresses_UC', 'congruent': 0}, 'OP': 'STOR'}
{'dst': {'same': False, 'NT': False, 'AVXalign': False, 'size': 32, 'type': 'addresses_D', 'congruent': 6}, 'OP': 'STOR'}
{'dst': {'same': False, 'NT': False, 'AVXalign': True, 'size': 16, 'type': 'addresses_D', 'congruent': 1}, 'OP': 'STOR'}
[Faulty Load]
{'OP': 'LOAD', 'src': {'same': True, 'NT': False, 'AVXalign': False, 'size': 2, 'type': 'addresses_NC', 'congruent': 0}}
<gen_prepare_buffer>
{'dst': {'same': False, 'congruent': 5, 'type': 'addresses_D_ht'}, 'OP': 'REPM', 'src': {'same': False, 'congruent': 0, 'type': 'addresses_WT_ht'}}
{'OP': 'LOAD', 'src': {'same': False, 'NT': False, 'AVXalign': False, 'size': 16, 'type': 'addresses_UC_ht', 'congruent': 3}}
{'dst': {'same': False, 'NT': False, 'AVXalign': False, 'size': 16, 'type': 'addresses_normal_ht', 'congruent': 8}, 'OP': 'STOR'}
{'dst': {'same': False, 'congruent': 3, 'type': 'addresses_D_ht'}, 'OP': 'REPM', 'src': {'same': False, 'congruent': 4, 'type': 'addresses_UC_ht'}}
{'OP': 'LOAD', 'src': {'same': False, 'NT': False, 'AVXalign': False, 'size': 2, 'type': 'addresses_UC_ht', 'congruent': 1}}
{'dst': {'same': False, 'congruent': 6, 'type': 'addresses_WT_ht'}, 'OP': 'REPM', 'src': {'same': False, 'congruent': 6, 'type': 'addresses_UC_ht'}}
{'dst': {'same': False, 'NT': False, 'AVXalign': False, 'size': 1, 'type': 'addresses_A_ht', 'congruent': 1}, 'OP': 'STOR'}
{'OP': 'LOAD', 'src': {'same': False, 'NT': True, 'AVXalign': False, 'size': 8, 'type': 'addresses_D_ht', 'congruent': 9}}
{'OP': 'LOAD', 'src': {'same': False, 'NT': False, 'AVXalign': False, 'size': 2, 'type': 'addresses_A_ht', 'congruent': 6}}
{'00': 21829}
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
*/
|
source/amf/uml/amf-uml-classifier_template_parameters.ads | svn2github/matreshka | 24 | 1348 | <filename>source/amf/uml/amf-uml-classifier_template_parameters.ads<gh_stars>10-100
------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- Ada Modeling Framework --
-- --
-- Runtime Library Component --
-- --
------------------------------------------------------------------------------
-- --
-- Copyright © 2011-2012, <NAME> <<EMAIL>> --
-- All rights reserved. --
-- --
-- Redistribution and use in source and binary forms, with or without --
-- modification, are permitted provided that the following conditions --
-- are met: --
-- --
-- * Redistributions of source code must retain the above copyright --
-- notice, this list of conditions and the following disclaimer. --
-- --
-- * Redistributions in binary form must reproduce the above copyright --
-- notice, this list of conditions and the following disclaimer in the --
-- documentation and/or other materials provided with the distribution. --
-- --
-- * Neither the name of the Vadim Godunko, IE nor the names of its --
-- contributors may be used to endorse or promote products derived from --
-- this software without specific prior written permission. --
-- --
-- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS --
-- "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT --
-- LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR --
-- A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT --
-- HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, --
-- SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED --
-- TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR --
-- PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF --
-- LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING --
-- NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS --
-- SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. --
-- --
------------------------------------------------------------------------------
-- $Revision$ $Date$
------------------------------------------------------------------------------
-- This file is generated, don't edit it.
------------------------------------------------------------------------------
-- A classifier template parameter exposes a classifier as a formal template
-- parameter.
------------------------------------------------------------------------------
limited with AMF.UML.Classifiers.Collections;
with AMF.UML.Template_Parameters;
package AMF.UML.Classifier_Template_Parameters is
pragma Preelaborate;
type UML_Classifier_Template_Parameter is limited interface
and AMF.UML.Template_Parameters.UML_Template_Parameter;
type UML_Classifier_Template_Parameter_Access is
access all UML_Classifier_Template_Parameter'Class;
for UML_Classifier_Template_Parameter_Access'Storage_Size use 0;
not overriding function Get_Allow_Substitutable
(Self : not null access constant UML_Classifier_Template_Parameter)
return Boolean is abstract;
-- Getter of ClassifierTemplateParameter::allowSubstitutable.
--
-- Constrains the required relationship between an actual parameter and
-- the parameteredElement for this formal parameter.
not overriding procedure Set_Allow_Substitutable
(Self : not null access UML_Classifier_Template_Parameter;
To : Boolean) is abstract;
-- Setter of ClassifierTemplateParameter::allowSubstitutable.
--
-- Constrains the required relationship between an actual parameter and
-- the parameteredElement for this formal parameter.
not overriding function Get_Constraining_Classifier
(Self : not null access constant UML_Classifier_Template_Parameter)
return AMF.UML.Classifiers.Collections.Set_Of_UML_Classifier is abstract;
-- Getter of ClassifierTemplateParameter::constrainingClassifier.
--
-- The classifiers that constrain the argument that can be used for the
-- parameter. If the allowSubstitutable attribute is true, then any
-- classifier that is compatible with this constraining classifier can be
-- substituted; otherwise, it must be either this classifier or one of its
-- subclasses. If this property is empty, there are no constraints on the
-- classifier that can be used as an argument.
not overriding function Get_Parametered_Element
(Self : not null access constant UML_Classifier_Template_Parameter)
return AMF.UML.Classifiers.UML_Classifier_Access is abstract;
-- Getter of ClassifierTemplateParameter::parameteredElement.
--
-- The parameterable classifier for this template parameter.
not overriding procedure Set_Parametered_Element
(Self : not null access UML_Classifier_Template_Parameter;
To : AMF.UML.Classifiers.UML_Classifier_Access) is abstract;
-- Setter of ClassifierTemplateParameter::parameteredElement.
--
-- The parameterable classifier for this template parameter.
end AMF.UML.Classifier_Template_Parameters;
|
test/Succeed/fol-theorems/Eta3.agda | asr/apia | 10 | 6513 | <reponame>asr/apia
------------------------------------------------------------------------------
-- Testing the η-expansion
------------------------------------------------------------------------------
{-# OPTIONS --exact-split #-}
{-# OPTIONS --no-sized-types #-}
{-# OPTIONS --no-universe-polymorphism #-}
{-# OPTIONS --without-K #-}
module Eta3 where
postulate
D : Set
P² : D → D → Set
data ∃ (A : D → Set) : Set where
_,_ : (t : D) → A t → ∃ A
-- Because Agda η-reduces the equations, the internal representation
-- of P corresponds to the predicate
--
-- P xs = ∃ (P² xs)
--
-- We η-expand the definition of P before the translation to FOL.
P : D → Set
P xs = ∃ λ ys → P² xs ys
{-# ATP definition P #-}
postulate bar : ∀ {xs} → P xs → (∃ λ ys → P² xs ys)
{-# ATP prove bar #-}
|
src/parser.agda | xoltar/cedille | 0 | 14055 | <filename>src/parser.agda
module parser where
open import lib
open import cedille-types
{-# FOREIGN GHC import qualified CedilleParser #-}
data Either (A : Set)(B : Set) : Set where
Left : A → Either A B
Right : B → Either A B
{-# COMPILE GHC Either = data Either (Left | Right) #-}
postulate
parseStart : string → Either (Either string string) start
parseTerm : string → Either string term
parseType : string → Either string type
parseKind : string → Either string kind
parseLiftingType : string → Either string liftingType
parseDefTermOrType : string → Either string defTermOrType
{-# COMPILE GHC parseStart = CedilleParser.parseTxt #-}
{-# COMPILE GHC parseTerm = CedilleParser.parseTerm #-}
{-# COMPILE GHC parseType = CedilleParser.parseType #-}
{-# COMPILE GHC parseKind = CedilleParser.parseKind #-}
{-# COMPILE GHC parseLiftingType = CedilleParser.parseLiftingType #-}
{-# COMPILE GHC parseDefTermOrType = CedilleParser.parseDefTermOrType #-}
|
sources/ippcp/asm_ia32/pcpmd5w7as.asm | idesai/ipp-crypto | 1 | 17829 | <gh_stars>1-10
;===============================================================================
; Copyright 2014-2018 Intel Corporation
; All Rights Reserved.
;
; If this software was obtained under the Intel Simplified Software License,
; the following terms apply:
;
; The source code, information and material ("Material") contained herein is
; owned by Intel Corporation or its suppliers or licensors, and title to such
; Material remains with Intel Corporation or its suppliers or licensors. The
; Material contains proprietary information of Intel or its suppliers and
; licensors. The Material is protected by worldwide copyright laws and treaty
; provisions. No part of the Material may be used, copied, reproduced,
; modified, published, uploaded, posted, transmitted, distributed or disclosed
; in any way without Intel's prior express written permission. No license under
; any patent, copyright or other intellectual property rights in the Material
; is granted to or conferred upon you, either expressly, by implication,
; inducement, estoppel or otherwise. Any license under such intellectual
; property rights must be express and approved by Intel in writing.
;
; Unless otherwise agreed by Intel in writing, you may not remove or alter this
; notice or any other notice embedded in Materials by Intel or Intel's
; suppliers or licensors in any way.
;
;
; If this software was obtained under the Apache License, Version 2.0 (the
; "License"), the following terms apply:
;
; You may not use this file except in compliance with the License. You may
; obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
;
;
; Unless required by applicable law or agreed to in writing, software
; distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
; WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
;
; See the License for the specific language governing permissions and
; limitations under the License.
;===============================================================================
;
;
; Purpose: Cryptography Primitive.
; Message block processing according to MD5
; (derived from the RSA Data Security, Inc. MD5 Message-Digest Algorithm)
;
; Content:
; UpdateMD5
;
;
.686P
.XMM
.MODEL FLAT,C
INCLUDE asmdefs.inc
INCLUDE ia_emm.inc
INCLUDE pcpvariant.inc
IF (_ENABLE_ALG_MD5_)
IF _IPP GE _IPP_M5
;;
;; Magic functions defined in RFC 1321
;;
MAGIC_F MACRO F:REQ, X:REQ,Y:REQ,Z:REQ ;; ((Z) ^ ((X) & ((Y) ^ (Z))))
mov F,Z
xor F,Y
and F,X
xor F,Z
ENDM
MAGIC_G MACRO F:REQ, X:REQ,Y:REQ,Z:REQ ;; F((Z),(X),(Y))
MAGIC_F F,Z,X,Y
ENDM
MAGIC_H MACRO F:REQ, X:REQ,Y:REQ,Z:REQ ;; ((X) ^ (Y) ^ (Z))
mov F,Z
xor F,Y
xor F,X
ENDM
MAGIC_I MACRO F:REQ, X:REQ,Y:REQ,Z:REQ ;; ((Y) ^ ((X) | ~(Z)))
mov F,Z
not F
or F,X
xor F,Y
ENDM
;;
;; single MD5 step
;;
;; A = B +ROL32((A +MAGIC(B,C,D) +data +const), nrot)
;;
MD5_STEP MACRO MAGIC_FUN:REQ, A:REQ,B:REQ,C:REQ,D:REQ, FUN:REQ, data:REQ, MD5const:REQ, nrot:REQ
add A,MD5const
add A,[data]
MAGIC_FUN FUN, B,C,D
add A,FUN
rol A,nrot
add A,B
ENDM
MD5_RND MACRO MAGIC_FUN:REQ, A:REQ,B:REQ,C:REQ,D:REQ, FUN:REQ, MD5const:REQ, nrot:REQ, nextdata
MAGIC_FUN FUN, B,C,D
lea A,[A+ebp+MD5const]
ifnb <nextdata>
mov ebp,[nextdata]
endif
; MAGIC_FUN FUN, B,C,D
add A,FUN
rol A,nrot
add A,B
ENDM
IPPCODE SEGMENT 'CODE' ALIGN (IPP_ALIGN_FACTOR)
;*****************************************************************************************
;* Purpose: Update internal digest according to message block
;*
;* void UpdateMD5(DigestMD5digest, const Ipp32u* mblk, int mlen, const void* pParam)
;*
;*****************************************************************************************
;;
;; MD5 left rotations (number of bits)
;;
rot11 = 7
rot12 = 12
rot13 = 17
rot14 = 22
rot21 = 5
rot22 = 9
rot23 = 14
rot24 = 20
rot31 = 4
rot32 = 11
rot33 = 16
rot34 = 23
rot41 = 6
rot42 = 10
rot43 = 15
rot44 = 21
;;
;; Lib = W7
;;
;; Caller = ippsSHA1Update
;; Caller = ippsSHA1Final
;; Caller = ippsSHA1MessageDigest
;;
;; Caller = ippsHMACSHA1Update
;; Caller = ippsHMACSHA1Final
;; Caller = ippsHMACSHA1MessageDigest
;;
ALIGN IPP_ALIGN_FACTOR
IPPASM UpdateMD5 PROC NEAR C PUBLIC \
USES esi edi ebx ebp,\
digest: PTR DWORD,\ ; digest address
mblk: PTR BYTE,\ ; buffer address
mlen: DWORD,\ ; buffer length
pParam: PTR DWORD ; dummy parameter
MBS_MD5 equ (64)
mov eax, pParam ; due to bug in ml12 - dummy instruction
mov edi,digest ; digest address
mov esi,mblk ; source data address
mov eax,mlen ; data length
sub esp,2*sizeof(dword)
mov [esp+0*sizeof(dword)],edi ; save digest address
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;
;; process next data block
;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
md5_block_loop:
mov [esp+1*sizeof(dword)],eax ; save data length
mov ebp,[esi+ 0*4] ; preload data
;;
;; init A, B, C, D by the internal digest
;;
mov eax,[edi+0*4] ; eax = digest[0] (A)
mov ebx,[edi+1*4] ; ebx = digest[1] (B)
mov ecx,[edi+2*4] ; ecx = digest[2] (C)
mov edx,[edi+3*4] ; edx = digest[3] (D)
;;
;; perform 0-63 steps
;;
;; MAGIC A, B, C, D, FUN, cnt, nrot, pNextData (ebp)
;; ------------------------------------------------------------
MD5_RND MAGIC_F, eax,ebx,ecx,edx, edi, 0d76aa478h, rot11, <esi+ 1*4>
MD5_RND MAGIC_F, edx,eax,ebx,ecx, edi, 0e8c7b756h, rot12, <esi+ 2*4>
MD5_RND MAGIC_F, ecx,edx,eax,ebx, edi, 0242070dbh, rot13, <esi+ 3*4>
MD5_RND MAGIC_F, ebx,ecx,edx,eax, edi, 0c1bdceeeh, rot14, <esi+ 4*4>
MD5_RND MAGIC_F, eax,ebx,ecx,edx, edi, 0f57c0fafh, rot11, <esi+ 5*4>
MD5_RND MAGIC_F, edx,eax,ebx,ecx, edi, 04787c62ah, rot12, <esi+ 6*4>
MD5_RND MAGIC_F, ecx,edx,eax,ebx, edi, 0a8304613h, rot13, <esi+ 7*4>
MD5_RND MAGIC_F, ebx,ecx,edx,eax, edi, 0fd469501h, rot14, <esi+ 8*4>
MD5_RND MAGIC_F, eax,ebx,ecx,edx, edi, 0698098d8h, rot11, <esi+ 9*4>
MD5_RND MAGIC_F, edx,eax,ebx,ecx, edi, 08b44f7afh, rot12, <esi+10*4>
MD5_RND MAGIC_F, ecx,edx,eax,ebx, edi, 0ffff5bb1h, rot13, <esi+11*4>
MD5_RND MAGIC_F, ebx,ecx,edx,eax, edi, 0895cd7beh, rot14, <esi+12*4>
MD5_RND MAGIC_F, eax,ebx,ecx,edx, edi, 06b901122h, rot11, <esi+13*4>
MD5_RND MAGIC_F, edx,eax,ebx,ecx, edi, 0fd987193h, rot12, <esi+14*4>
MD5_RND MAGIC_F, ecx,edx,eax,ebx, edi, 0a679438eh, rot13, <esi+15*4>
MD5_RND MAGIC_F, ebx,ecx,edx,eax, edi, 049b40821h, rot14, <esi+ 1*4>
MD5_RND MAGIC_G, eax,ebx,ecx,edx, edi, 0f61e2562h, rot21, <esi+ 6*4>
MD5_RND MAGIC_G, edx,eax,ebx,ecx, edi, 0c040b340h, rot22, <esi+11*4>
MD5_RND MAGIC_G, ecx,edx,eax,ebx, edi, 0265e5a51h, rot23, <esi+ 0*4>
MD5_RND MAGIC_G, ebx,ecx,edx,eax, edi, 0e9b6c7aah, rot24, <esi+ 5*4>
MD5_RND MAGIC_G, eax,ebx,ecx,edx, edi, 0d62f105dh, rot21, <esi+10*4>
MD5_RND MAGIC_G, edx,eax,ebx,ecx, edi, 002441453h, rot22, <esi+15*4>
MD5_RND MAGIC_G, ecx,edx,eax,ebx, edi, 0d8a1e681h, rot23, <esi+ 4*4>
MD5_RND MAGIC_G, ebx,ecx,edx,eax, edi, 0e7d3fbc8h, rot24, <esi+ 9*4>
MD5_RND MAGIC_G, eax,ebx,ecx,edx, edi, 021e1cde6h, rot21, <esi+14*4>
MD5_RND MAGIC_G, edx,eax,ebx,ecx, edi, 0c33707d6h, rot22, <esi+ 3*4>
MD5_RND MAGIC_G, ecx,edx,eax,ebx, edi, 0f4d50d87h, rot23, <esi+ 8*4>
MD5_RND MAGIC_G, ebx,ecx,edx,eax, edi, 0455a14edh, rot24, <esi+13*4>
MD5_RND MAGIC_G, eax,ebx,ecx,edx, edi, 0a9e3e905h, rot21, <esi+ 2*4>
MD5_RND MAGIC_G, edx,eax,ebx,ecx, edi, 0fcefa3f8h, rot22, <esi+ 7*4>
MD5_RND MAGIC_G, ecx,edx,eax,ebx, edi, 0676f02d9h, rot23, <esi+12*4>
MD5_RND MAGIC_G, ebx,ecx,edx,eax, edi, 08d2a4c8ah, rot24, <esi+ 5*4>
MD5_RND MAGIC_H, eax,ebx,ecx,edx, edi, 0fffa3942h, rot31, <esi+ 8*4>
MD5_RND MAGIC_H, edx,eax,ebx,ecx, edi, 08771f681h, rot32, <esi+11*4>
MD5_RND MAGIC_H, ecx,edx,eax,ebx, edi, 06d9d6122h, rot33, <esi+14*4>
MD5_RND MAGIC_H, ebx,ecx,edx,eax, edi, 0fde5380ch, rot34, <esi+ 1*4>
MD5_RND MAGIC_H, eax,ebx,ecx,edx, edi, 0a4beea44h, rot31, <esi+ 4*4>
MD5_RND MAGIC_H, edx,eax,ebx,ecx, edi, 04bdecfa9h, rot32, <esi+ 7*4>
MD5_RND MAGIC_H, ecx,edx,eax,ebx, edi, 0f6bb4b60h, rot33, <esi+10*4>
MD5_RND MAGIC_H, ebx,ecx,edx,eax, edi, 0bebfbc70h, rot34, <esi+13*4>
MD5_RND MAGIC_H, eax,ebx,ecx,edx, edi, 0289b7ec6h, rot31, <esi+ 0*4>
MD5_RND MAGIC_H, edx,eax,ebx,ecx, edi, 0eaa127fah, rot32, <esi+ 3*4>
MD5_RND MAGIC_H, ecx,edx,eax,ebx, edi, 0d4ef3085h, rot33, <esi+ 6*4>
MD5_RND MAGIC_H, ebx,ecx,edx,eax, edi, 004881d05h, rot34, <esi+ 9*4>
MD5_RND MAGIC_H, eax,ebx,ecx,edx, edi, 0d9d4d039h, rot31, <esi+12*4>
MD5_RND MAGIC_H, edx,eax,ebx,ecx, edi, 0e6db99e5h, rot32, <esi+15*4>
MD5_RND MAGIC_H, ecx,edx,eax,ebx, edi, 01fa27cf8h, rot33, <esi+ 2*4>
MD5_RND MAGIC_H, ebx,ecx,edx,eax, edi, 0c4ac5665h, rot34, <esi+ 0*4>
MD5_RND MAGIC_I, eax,ebx,ecx,edx, edi, 0f4292244h, rot41, <esi+ 7*4>
MD5_RND MAGIC_I, edx,eax,ebx,ecx, edi, 0432aff97h, rot42, <esi+14*4>
MD5_RND MAGIC_I, ecx,edx,eax,ebx, edi, 0ab9423a7h, rot43, <esi+ 5*4>
MD5_RND MAGIC_I, ebx,ecx,edx,eax, edi, 0fc93a039h, rot44, <esi+12*4>
MD5_RND MAGIC_I, eax,ebx,ecx,edx, edi, 0655b59c3h, rot41, <esi+ 3*4>
MD5_RND MAGIC_I, edx,eax,ebx,ecx, edi, 08f0ccc92h, rot42, <esi+10*4>
MD5_RND MAGIC_I, ecx,edx,eax,ebx, edi, 0ffeff47dh, rot43, <esi+ 1*4>
MD5_RND MAGIC_I, ebx,ecx,edx,eax, edi, 085845dd1h, rot44, <esi+ 8*4>
MD5_RND MAGIC_I, eax,ebx,ecx,edx, edi, 06fa87e4fh, rot41, <esi+15*4>
MD5_RND MAGIC_I, edx,eax,ebx,ecx, edi, 0fe2ce6e0h, rot42, <esi+ 6*4>
MD5_RND MAGIC_I, ecx,edx,eax,ebx, edi, 0a3014314h, rot43, <esi+13*4>
MD5_RND MAGIC_I, ebx,ecx,edx,eax, edi, 04e0811a1h, rot44, <esi+ 4*4>
MD5_RND MAGIC_I, eax,ebx,ecx,edx, edi, 0f7537e82h, rot41, <esi+11*4>
MD5_RND MAGIC_I, edx,eax,ebx,ecx, edi, 0bd3af235h, rot42, <esi+ 2*4>
MD5_RND MAGIC_I, ecx,edx,eax,ebx, edi, 02ad7d2bbh, rot43, <esi+ 9*4>
MD5_RND MAGIC_I, ebx,ecx,edx,eax, edi, 0eb86d391h, rot44, <esp>
;;
;; update digest
;;
add [ebp+0*4],eax ; advance digest
mov eax, dword ptr[esp+1*sizeof(dword)]
add [ebp+1*4],ebx
add [ebp+2*4],ecx
add [ebp+3*4],edx
mov edi, ebp ; restore hash address
add esi, MBS_MD5
sub eax, MBS_MD5
jg md5_block_loop
add esp,2*sizeof(dword)
ret
IPPASM UpdateMD5 ENDP
ENDIF
ENDIF
END
|
orka/src/orka/interface/orka-jobs-workers.ads | onox/orka | 52 | 17980 | -- SPDX-License-Identifier: Apache-2.0
--
-- Copyright (c) 2017 onox <<EMAIL>>
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compliance with the License.
-- You may obtain a copy of the License at
--
-- http://www.apache.org/licenses/LICENSE-2.0
--
-- Unless required by applicable law or agreed to in writing, software
-- distributed under the License is distributed on an "AS IS" BASIS,
-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-- See the License for the specific language governing permissions and
-- limitations under the License.
with System.Multiprocessors;
with Orka.Jobs.Executors;
generic
with package Executors is new Orka.Jobs.Executors (<>);
Queue : Executors.Queues.Queue_Ptr;
Task_Name : String;
-- Name of a worker task in system's process viewer
Count : System.Multiprocessors.CPU;
-- Number of workers to spawn
package Orka.Jobs.Workers is
procedure Shutdown;
-- Ask all workers to stop dequeuing jobs and terminate
private
type Worker;
task type Worker_Task (Data : not null access constant Worker);
type Worker is limited record
ID : Positive;
T : Worker_Task (Worker'Access);
end record;
type Worker_Array is array (Positive range <>) of Worker;
function Make_Workers return Worker_Array;
end Orka.Jobs.Workers;
|
programs/oeis/026/A026353.asm | neoneye/loda | 22 | 98270 | <filename>programs/oeis/026/A026353.asm
; A026353: a(n) = sum of the numbers between the two n's in A026350.
; 0,4,8,17,29,38,55,67,89,114,131,161,194,216,254,279,322,368,398,449,482,538,597,635,699,766,809,881,927,1004,1084,1135,1220,1308,1364,1457,1516,1614,1715,1779,1885,1952,2063,2177,2249
mov $2,$0
seq $0,75317 ; Pair the odd numbers such that the k-th pair is (r, r+2k) where r is the smallest odd number not included earlier: (1,3),(5,9),(7,13),(11,19),(15,25),(17,29),(21,35),(23,39),(27,45),... This is the sequence of the first member of pairs.
add $0,2
add $2,1
sub $0,$2
mul $0,$2
sub $0,2
div $0,2
|
ffight/lcs/1p/97.asm | zengfr/arcade_game_romhacking_sourcecode_top_secret_data | 6 | 26188 | <filename>ffight/lcs/1p/97.asm
copyright zengfr site:http://github.com/zengfr/romhack
00A364 clr.b ($97,A4)
00A368 clr.b ($96,A4)
copyright zengfr site:http://github.com/zengfr/romhack
|
Cubical/Algebra/DirectSum/DirectSumHIT/PseudoNormalForm.agda | thomas-lamiaux/cubical | 0 | 15803 | {-# OPTIONS --safe #-}
module Cubical.Algebra.DirectSum.DirectSumHIT.PseudoNormalForm where
open import Cubical.Foundations.Prelude
open import Cubical.Foundations.HLevels
open import Cubical.Data.Nat renaming (_+_ to _+n_ ; _·_ to _·n_)
open import Cubical.Data.Sigma
open import Cubical.Data.List
open import Cubical.Data.Vec.DepVec
open import Cubical.HITs.PropositionalTruncation as PT
open import Cubical.Algebra.AbGroup
open import Cubical.Algebra.AbGroup.Instances.DirectSumHIT
open import Cubical.Algebra.DirectSum.DirectSumHIT.Base
private variable
ℓ : Level
open AbGroupStr
open AbGroupTheory
-----------------------------------------------------------------------------
-- Notation
module DefPNF
(G : (n : ℕ) → Type ℓ)
(Gstr : (n : ℕ) → AbGroupStr (G n))
where
open AbGroupStr (snd (⊕HIT-AbGr ℕ G Gstr)) using ()
renaming
( 0g to 0⊕HIT
; _+_ to _+⊕HIT_
; -_ to -⊕HIT_
; +Assoc to +⊕HIT-Assoc
; +IdR to +⊕HIT-IdR
; +IdL to +⊕HIT-IdL
; +InvR to +⊕HIT-InvR
; +InvL to +⊕HIT-InvL
; +Comm to +⊕HIT-Comm
; is-set to isSet⊕HIT)
-----------------------------------------------------------------------------
-- Lemma
-- def pseudo normal form
sumHIT : {n : ℕ} → depVec G n → ⊕HIT ℕ G Gstr
sumHIT {0} ⋆ = 0⊕HIT
sumHIT {suc n} (a □ dv) = (base n a) +⊕HIT (sumHIT dv)
-- 0 and sum
replicate0g : (n : ℕ) → depVec G n
replicate0g (zero) = ⋆
replicate0g (suc n) = (0g (Gstr n)) □ (replicate0g n)
sumHIT0g : (n : ℕ) → sumHIT (replicate0g n) ≡ 0⊕HIT
sumHIT0g (zero) = refl
sumHIT0g (suc n) = cong₂ _+⊕HIT_ (base-neutral n) (sumHIT0g n)
∙ +⊕HIT-IdL _
-- extension and sum
extendDVL : (k l : ℕ) → (dv : depVec G l) → depVec G (k +n l)
extendDVL zero l dv = dv
extendDVL (suc k) l dv = (0g (Gstr (k +n l))) □ (extendDVL k l dv)
extendDVLeq : (k l : ℕ) → (dv : depVec G l) → sumHIT (extendDVL k l dv) ≡ sumHIT dv
extendDVLeq (zero) l dv = refl
extendDVLeq (suc k) l dv = cong (λ X → X +⊕HIT sumHIT (extendDVL k l dv)) (base-neutral (k +n l))
∙ +⊕HIT-IdL _
∙ extendDVLeq k l dv
extendDVR : (k l : ℕ) → (dv : depVec G k) → depVec G (k +n l)
extendDVR k l dv = subst (λ X → depVec G X) (+-comm l k) (extendDVL l k dv)
extendDVReq : (k l : ℕ) → (dv : depVec G k) → sumHIT (extendDVR k l dv) ≡ sumHIT dv
extendDVReq k l dv = J (λ m p → sumHIT (subst (λ X → depVec G X) p (extendDVL l k dv)) ≡ sumHIT dv)
(sumHIT (subst (λ X → depVec G X) refl (extendDVL l k dv))
≡⟨ cong sumHIT (transportRefl (extendDVL l k dv)) ⟩
sumHIT (extendDVL l k dv)
≡⟨ extendDVLeq l k dv ⟩
sumHIT dv ∎)
(+-comm l k)
-- pointwise add
_pt+DV_ : {n : ℕ} → (dva dvb : depVec G n) → depVec G n
_pt+DV_ {0} ⋆ ⋆ = ⋆
_pt+DV_ {suc n} (a □ dva) (b □ dvb) = Gstr n ._+_ a b □ (dva pt+DV dvb)
sumHIT+ : {n : ℕ} → (dva dvb : depVec G n) → sumHIT (dva pt+DV dvb) ≡ sumHIT dva +⊕HIT sumHIT dvb
sumHIT+ {0} ⋆ ⋆ = sym (+⊕HIT-IdR _)
sumHIT+ {suc n} (a □ dva) (b □ dvb) = cong₂ _+⊕HIT_ (sym (base-add _ _ _)) (sumHIT+ dva dvb)
∙ comm-4 (⊕HIT-AbGr ℕ G Gstr) _ _ _ _
-----------------------------------------------------------------------------
-- Case Traduction
{- WARNING :
The pseudo normal form is not unique.
It is actually not unique enough so that it is not possible to raise one from ⊕HIT.
Hence we actually need to make it a prop to be able to eliminate.
-}
untruncatedPNF : (x : ⊕HIT ℕ G Gstr) → Type ℓ
untruncatedPNF x = Σ[ m ∈ ℕ ] Σ[ dv ∈ depVec G m ] x ≡ sumHIT dv
PNF : (x : ⊕HIT ℕ G Gstr) → Type ℓ
PNF x = ∥ untruncatedPNF x ∥₁
untruncatedPNF2 : (x y : ⊕HIT ℕ G Gstr) → Type ℓ
untruncatedPNF2 x y = Σ[ m ∈ ℕ ] Σ[ a ∈ depVec G m ] Σ[ b ∈ depVec G m ] (x ≡ sumHIT a) × (y ≡ sumHIT b)
PNF2 : (x y : ⊕HIT ℕ G Gstr) → Type ℓ
PNF2 x y = ∥ untruncatedPNF2 x y ∥₁
-----------------------------------------------------------------------------
-- Translation
⊕HIT→PNF : (x : ⊕HIT ℕ G Gstr) → ∥ Σ[ m ∈ ℕ ] Σ[ a ∈ depVec G m ] x ≡ sumHIT a ∥₁
⊕HIT→PNF = DS-Ind-Prop.f _ _ _ _
(λ _ → squash₁)
∣ (0 , (⋆ , refl)) ∣₁
base→PNF
add→PNF
where
base→PNF : (n : ℕ) → (a : G n) → PNF (base n a)
base→PNF n a = ∣ (suc n) , ((a □ replicate0g n) , sym (cong (λ X → base n a +⊕HIT X) (sumHIT0g n)
∙ +⊕HIT-IdR _)) ∣₁
add→PNF : {U V : ⊕HIT ℕ G Gstr} → (ind-U : PNF U) → (ind-V : PNF V) → PNF (U +⊕HIT V)
add→PNF {U} {V} = elim2 (λ _ _ → squash₁)
(λ { (k , dva , p) →
λ { (l , dvb , q) →
∣ ((k +n l)
, (((extendDVR k l dva) pt+DV (extendDVL k l dvb))
, cong₂ _+⊕HIT_ p q
∙ cong₂ _+⊕HIT_ (sym (extendDVReq k l dva)) (sym (extendDVLeq k l dvb))
∙ sym (sumHIT+ (extendDVR k l dva) (extendDVL k l dvb)) )) ∣₁}})
⊕HIT→PNF2 : (x y : ⊕HIT ℕ G Gstr) → ∥ Σ[ m ∈ ℕ ] Σ[ a ∈ depVec G m ] Σ[ b ∈ depVec G m ] (x ≡ sumHIT a) × (y ≡ sumHIT b) ∥₁
⊕HIT→PNF2 x y = helper (⊕HIT→PNF x) (⊕HIT→PNF y)
where
helper : PNF x → PNF y →
∥ Σ[ m ∈ ℕ ] Σ[ a ∈ depVec G m ] Σ[ b ∈ depVec G m ] (x ≡ sumHIT a) × (y ≡ sumHIT b) ∥₁
helper = elim2 (λ _ _ → squash₁)
(λ { (k , dva , p) →
λ { (l , dvb , q) →
∣ ((k +n l)
, ((extendDVR k l dva)
, (extendDVL k l dvb
, p ∙ sym (extendDVReq k l dva)
, q ∙ sym (extendDVLeq k l dvb)))) ∣₁}})
-----------------------------------------------------------------------------
-- Some idea
{-
This file should be generalizable to a general decidable index by adding a second vector
-}
{-
It maybe possible to give a normal for without need the prop truncation.
The issue with the current one is that we rely on a underline data type depVec
which forces us to give an explict length. That's what forces the ∥_∥₁.
Hence by getting rid of it and be rewrittinf the term it might be possible
to get a normal form without the PT.
Indeed this basically about pemuting and summing them by G n
∑ base (σ i) a (σ i) -> ∑[i ∈ ℕ] ∑[j ∈ I] base i (b i j) -> ∑ base i (c i)
where a b c are informal "sequences"
Then prove that if we extract the integer, we get an inceasing list
with no coefficient being present twice.
-}
|
Transynther/x86/_processed/NONE/_xt_/i7-8650U_0xd2_notsx.log_1_1515.asm | ljhsiun2/medusa | 9 | 29692 | <reponame>ljhsiun2/medusa<filename>Transynther/x86/_processed/NONE/_xt_/i7-8650U_0xd2_notsx.log_1_1515.asm<gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r15
push %r9
push %rax
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_A_ht+0x46f8, %rdx
clflush (%rdx)
nop
nop
nop
nop
nop
xor %rax, %rax
mov $0x6162636465666768, %r9
movq %r9, %xmm3
movups %xmm3, (%rdx)
nop
nop
nop
nop
sub $28211, %r15
lea addresses_WT_ht+0x1691c, %rsi
lea addresses_UC_ht+0xc718, %rdi
nop
nop
nop
nop
nop
xor %r12, %r12
mov $71, %rcx
rep movsb
and %rdx, %rdx
lea addresses_normal_ht+0xe19b, %r9
nop
nop
nop
nop
nop
add $53185, %rdx
mov $0x6162636465666768, %r15
movq %r15, %xmm3
and $0xffffffffffffffc0, %r9
movntdq %xmm3, (%r9)
nop
sub $55999, %r12
lea addresses_UC_ht+0x4438, %rsi
lea addresses_D_ht+0x1b988, %rdi
nop
nop
nop
nop
add $41558, %r15
mov $119, %rcx
rep movsb
nop
nop
cmp %rdx, %rdx
lea addresses_normal_ht+0x9e38, %rsi
lea addresses_UC_ht+0x4df8, %rdi
nop
nop
nop
sub $3911, %rdx
mov $55, %rcx
rep movsw
nop
nop
and $32166, %rdi
lea addresses_UC_ht+0xe58, %rsi
lea addresses_normal_ht+0x1d4c0, %rdi
clflush (%rdi)
nop
nop
nop
nop
nop
cmp %r9, %r9
mov $76, %rcx
rep movsb
sub $38459, %rcx
lea addresses_A_ht+0x5e38, %rcx
and $16816, %r12
vmovups (%rcx), %ymm5
vextracti128 $0, %ymm5, %xmm5
vpextrq $0, %xmm5, %rax
and %rsi, %rsi
lea addresses_normal_ht+0x1e238, %rsi
lea addresses_UC_ht+0xb638, %rdi
clflush (%rsi)
nop
nop
nop
nop
nop
add %rax, %rax
mov $118, %rcx
rep movsw
nop
nop
nop
nop
nop
add %r12, %r12
lea addresses_normal_ht+0xaa38, %r15
nop
nop
nop
nop
nop
cmp $46255, %r9
mov $0x6162636465666768, %rdi
movq %rdi, %xmm2
and $0xffffffffffffffc0, %r15
movntdq %xmm2, (%r15)
nop
nop
cmp $42693, %rax
lea addresses_D_ht+0x1b638, %rsi
lea addresses_normal_ht+0xa238, %rdi
nop
add %r12, %r12
mov $6, %rcx
rep movsb
nop
nop
nop
xor %rcx, %rcx
pop %rsi
pop %rdx
pop %rdi
pop %rcx
pop %rax
pop %r9
pop %r15
pop %r12
ret
.global s_faulty_load
s_faulty_load:
push %r11
push %r12
push %r13
push %r8
push %r9
push %rax
push %rbp
// Load
lea addresses_RW+0x6128, %rbp
nop
nop
and %r12, %r12
movb (%rbp), %al
nop
nop
nop
nop
dec %rbp
// Store
lea addresses_RW+0x4738, %rax
xor $32495, %rbp
mov $0x5152535455565758, %r12
movq %r12, %xmm6
vmovups %ymm6, (%rax)
and $55411, %r12
// Store
lea addresses_A+0x12fc8, %rax
nop
nop
nop
nop
add %r11, %r11
movw $0x5152, (%rax)
nop
nop
nop
nop
nop
xor $29675, %r9
// Store
lea addresses_D+0x19658, %rbp
nop
nop
nop
nop
nop
xor %r8, %r8
movw $0x5152, (%rbp)
nop
nop
nop
nop
add $56643, %r13
// Store
mov $0x2aa21a00000007a0, %r12
clflush (%r12)
nop
xor %r11, %r11
movl $0x51525354, (%r12)
nop
and $28400, %r13
// Store
lea addresses_normal+0x24f9, %r13
nop
nop
and $51801, %r11
movb $0x51, (%r13)
nop
nop
nop
nop
and %r13, %r13
// Faulty Load
lea addresses_WT+0x1ee38, %r12
nop
and $20640, %r13
movups (%r12), %xmm3
vpextrq $0, %xmm3, %r8
lea oracles, %rbp
and $0xff, %r8
shlq $12, %r8
mov (%rbp,%r8,1), %r8
pop %rbp
pop %rax
pop %r9
pop %r8
pop %r13
pop %r12
pop %r11
ret
/*
<gen_faulty_load>
[REF]
{'OP': 'LOAD', 'src': {'type': 'addresses_WT', 'size': 16, 'AVXalign': False, 'NT': False, 'congruent': 0, 'same': False}}
{'OP': 'LOAD', 'src': {'type': 'addresses_RW', 'size': 1, 'AVXalign': False, 'NT': False, 'congruent': 4, 'same': False}}
{'OP': 'STOR', 'dst': {'type': 'addresses_RW', 'size': 32, 'AVXalign': False, 'NT': False, 'congruent': 8, 'same': False}}
{'OP': 'STOR', 'dst': {'type': 'addresses_A', 'size': 2, 'AVXalign': False, 'NT': False, 'congruent': 3, 'same': False}}
{'OP': 'STOR', 'dst': {'type': 'addresses_D', 'size': 2, 'AVXalign': False, 'NT': False, 'congruent': 3, 'same': False}}
{'OP': 'STOR', 'dst': {'type': 'addresses_NC', 'size': 4, 'AVXalign': False, 'NT': False, 'congruent': 2, 'same': False}}
{'OP': 'STOR', 'dst': {'type': 'addresses_normal', 'size': 1, 'AVXalign': False, 'NT': False, 'congruent': 0, 'same': False}}
[Faulty Load]
{'OP': 'LOAD', 'src': {'type': 'addresses_WT', 'size': 16, 'AVXalign': False, 'NT': False, 'congruent': 0, 'same': True}}
<gen_prepare_buffer>
{'OP': 'STOR', 'dst': {'type': 'addresses_A_ht', 'size': 16, 'AVXalign': False, 'NT': False, 'congruent': 2, 'same': False}}
{'OP': 'REPM', 'src': {'type': 'addresses_WT_ht', 'congruent': 1, 'same': False}, 'dst': {'type': 'addresses_UC_ht', 'congruent': 5, 'same': False}}
{'OP': 'STOR', 'dst': {'type': 'addresses_normal_ht', 'size': 16, 'AVXalign': False, 'NT': True, 'congruent': 0, 'same': False}}
{'OP': 'REPM', 'src': {'type': 'addresses_UC_ht', 'congruent': 7, 'same': False}, 'dst': {'type': 'addresses_D_ht', 'congruent': 4, 'same': False}}
{'OP': 'REPM', 'src': {'type': 'addresses_normal_ht', 'congruent': 10, 'same': False}, 'dst': {'type': 'addresses_UC_ht', 'congruent': 6, 'same': False}}
{'OP': 'REPM', 'src': {'type': 'addresses_UC_ht', 'congruent': 5, 'same': False}, 'dst': {'type': 'addresses_normal_ht', 'congruent': 2, 'same': True}}
{'OP': 'LOAD', 'src': {'type': 'addresses_A_ht', 'size': 32, 'AVXalign': False, 'NT': False, 'congruent': 11, 'same': False}}
{'OP': 'REPM', 'src': {'type': 'addresses_normal_ht', 'congruent': 6, 'same': False}, 'dst': {'type': 'addresses_UC_ht', 'congruent': 11, 'same': False}}
{'OP': 'STOR', 'dst': {'type': 'addresses_normal_ht', 'size': 16, 'AVXalign': False, 'NT': True, 'congruent': 8, 'same': False}}
{'OP': 'REPM', 'src': {'type': 'addresses_D_ht', 'congruent': 8, 'same': False}, 'dst': {'type': 'addresses_normal_ht', 'congruent': 10, 'same': True}}
{'39': 1}
39
*/
|
src/aco-utils-generic_alarms.adb | jonashaggstrom/ada-canopen | 6 | 13167 | <filename>src/aco-utils-generic_alarms.adb
package body ACO.Utils.Generic_Alarms is
function Get_Next_Up
(This : Alarm_Manager;
T_Now : Ada.Real_Time.Time)
return Alarm_Access
is
use type Ada.Real_Time.Time;
begin
if not This.Alarm_List.Is_Empty then
declare
Next : constant Alarm_Data := This.Alarm_List.First;
begin
if Next.Alarm_Ref /= No_Alarm and then
Next.Signal_Time <= T_Now
then
return Next.Alarm_Ref;
end if;
end;
end if;
return No_Alarm;
end Get_Next_Up;
procedure Process
(This : in out Alarm_Manager;
T_Now : in Ada.Real_Time.Time)
is
Next : Alarm_Access := This.Get_Next_Up (T_Now);
begin
while Next /= No_Alarm loop
This.Cancel (Next);
Next.Signal (T_Now);
Next := This.Get_Next_Up (T_Now);
end loop;
end Process;
procedure Set
(This : in out Alarm_Manager;
Alarm : in Alarm_Access;
Signal_Time : in Ada.Real_Time.Time)
is
begin
This.Alarm_List.Append ((Alarm, Signal_Time));
end Set;
function Is_Pending
(This : in out Alarm_Manager;
Alarm : in Alarm_Access)
return Boolean
is
begin
return This.Alarm_List.Location
((Alarm_Ref => Alarm,
Signal_Time => Ada.Real_Time.Time_Last)) /= Collection_Pack.No_Index;
end Is_Pending;
procedure Cancel
(This : in out Alarm_Manager;
Alarm : in Alarm_Access)
is
I : constant Natural := This.Alarm_List.Location
((Alarm_Ref => Alarm,
Signal_Time => Ada.Real_Time.Time_Last));
begin
if I /= Collection_Pack.No_Index then
This.Alarm_List.Remove (I);
end if;
end Cancel;
function "<" (Left, Right : Alarm_Data) return Boolean
is
use Ada.Real_Time;
begin
return Left.Signal_Time < Right.Signal_Time;
end "<";
function "=" (Left, Right : Alarm_Data) return Boolean
is
begin
return Left.Alarm_Ref = Right.Alarm_Ref;
end "=";
end ACO.Utils.Generic_Alarms;
|
3-mid/impact/source/3d/collision/dispatch/impact-d3-collision-algorithm-activating-convex_convex.adb | charlie5/lace | 20 | 5212 | <reponame>charlie5/lace
with impact.d3.collision.convex_Raycast.gjk;
with impact.d3.collision.simplex_Solver.voronoi;
with impact.d3.collision.convex_Raycast;
with impact.d3.Shape.convex.internal.sphere;
with impact.d3.collision.polyhedral_contact_Clipping;
with impact.d3.Quaternions;
with impact.d3.Shape.convex.internal.polyhedral.triangle;
with impact.d3.Shape.convex.internal.polyhedral;
with impact.d3.collision.Detector.discrete.gjk_pair;
with impact.d3.Vector,
impact.d3.Matrix;
with impact.d3.Shape.convex;
with impact.d3.Transform;
with impact.d3.Scalar;
with impact.d3.collision.Detector.discrete;
with impact.d3.collision.Proxy;
package body impact.d3.collision.Algorithm.activating.convex_convex
--
-- Specialized capsule-capsule collision algorithm has been added for Bullet 2.75 release to increase ragdoll performance.
--
-- If you experience problems with capsule-capsule collision, try to define BT_DISABLE_CAPSULE_CAPSULE_COLLIDER and report it in the Bullet forums
-- with reproduction case.
--
is
-- //define BT_DISABLE_CAPSULE_CAPSULE_COLLIDER 1
-- //#define ZERO_MARGIN
--
------------
--- Globals
--
disableCcd : constant Boolean := False;
gContactBreakingThreshold : math.Real;
---------------
--- CreateFunc
--
function to_CreateFunc (simplexSolver : access impact.d3.collision.simplex_Solver.item'Class;
pdSolver : access impact.d3.collision.convex_penetration_depth_Solver.item'Class) return CreateFunc
is
Self : CreateFunc;
begin
self.m_numPerturbationIterations := 0;
self.m_minimumPointsPerturbationThreshold := 3;
self.m_simplexSolver := simplexSolver;
self.m_pdSolver := pdSolver;
return Self;
end to_CreateFunc;
function new_CreateFunc (simplexSolver : access impact.d3.collision.simplex_Solver.item'Class;
pdSolver : access impact.d3.collision.convex_penetration_depth_Solver.item'Class) return access CreateFunc'Class
is
begin
return new CreateFunc'(to_CreateFunc (simplexSolver, pdSolver));
end new_CreateFunc;
overriding procedure destruct (Self : in out CreateFunc)
is
begin
null;
end destruct;
overriding function CreateCollisionAlgorithm (Self : in CreateFunc; info : in AlgorithmConstructionInfo;
body0,
body1 : access impact.d3.Object.item'Class) return impact.d3.Dispatcher.Algorithm_view
is
begin
return new impact.d3.collision.Algorithm.activating.convex_convex.item'
(to_convex_convex_Algorithm
(info.m_manifold, info,
body0, body1,
Self.m_simplexSolver, Self.m_pdSolver,
Self.m_numPerturbationIterations, Self.m_minimumPointsPerturbationThreshold));
end CreateCollisionAlgorithm;
------------
--- Utility
--
procedure segmentsClosestPoints (ptsVector,
offsetA, offsetB : in out math.Vector_3;
tA, tB : in out math.Real;
translation,
dirA, dirB : in math.Vector_3;
hlenA, hlenB : in math.Real)
is
use impact.d3.Vector;
dirA_dot_dirB : constant math.Real := dot (dirA, dirB);
dirA_dot_trans : constant math.Real := dot (dirA, translation);
dirB_dot_trans : constant math.Real := dot (dirB, translation);
denom : constant math.Real := 1.0 - dirA_dot_dirB * dirA_dot_dirB;
begin
-- Compute the parameters of the closest points on each line segment.
--
if denom = 0.0 then
tA := 0.0;
else
tA := (dirA_dot_trans - dirB_dot_trans * dirA_dot_dirB) / denom;
if tA < -hlenA then tA := -hlenA;
elsif tA > hlenA then tA := hlenA;
end if;
end if;
tB := tA * dirA_dot_dirB - dirB_dot_trans;
if tB < -hlenB then
tB := -hlenB;
tA := tB * dirA_dot_dirB + dirA_dot_trans;
if tA < -hlenA then tA := -hlenA;
elsif tA > hlenA then tA := hlenA;
end if;
elsif tB > hlenB then
tB := hlenB;
tA := tB * dirA_dot_dirB + dirA_dot_trans;
if tA < -hlenA then tA := -hlenA;
elsif tA > hlenA then tA := hlenA;
end if;
end if;
-- compute the closest points relative to segment centers.
--
offsetA := dirA * tA;
offsetB := dirB * tB;
ptsVector := translation - offsetA + offsetB;
end segmentsClosestPoints;
function capsuleCapsuleDistance (normalOnB, pointOnB : in out math.Vector_3;
capsuleLengthA, capsuleRadiusA,
capsuleLengthB, capsuleRadiusB : in math.Real;
capsuleAxisA, capsuleAxisB : in Integer;
transformA, transformB : in Transform_3d;
distanceThreshold : in math.Real) return math.Real
is
use impact.d3.Vector, impact.d3.Transform, impact.d3.Matrix;
directionA : constant math.Vector_3 := getColumn (getBasis (transformA), capsuleAxisA);
directionB : constant math.Vector_3 := getColumn (getBasis (transformB), capsuleAxisB);
translationA : constant math.Vector_3 := getOrigin (transformA);
translationB : constant math.Vector_3 := getOrigin (transformB);
translation : constant math.Vector_3 := translationB - translationA; -- translation between centers
ptsVector : math.Vector_3; -- the vector between the closest points
offsetA,
offsetB : math.Vector_3; -- offsets from segment centers to their closest points
tA, tB : math.Real; -- parameters on line segment
distance,
lenSqr : math.Real;
q : math.Vector_3;
begin
-- Compute the closest points of the capsule line segments.
--
segmentsClosestPoints (ptsVector,
offsetA, offsetB,
tA, tB,
translation,
directionA, directionB,
capsuleLengthA, capsuleLengthB);
distance := length (ptsVector) - capsuleRadiusA - capsuleRadiusB;
if distance > distanceThreshold then
return distance;
end if;
lenSqr := length2 (ptsVector);
if lenSqr <= impact.d3.Scalar.SIMD_EPSILON * impact.d3.Scalar.SIMD_EPSILON then -- degenerate case where 2 capsules are likely at the same location: take a vector tangential to 'directionA'
btPlaneSpace1 (directionA, normalOnB, q);
else -- compute the contact normal
normalOnB := ptsVector * (-impact.d3.Scalar.btRecipSqrt (lenSqr));
end if;
pointOnB := getOrigin (transformB) + offsetB + normalOnB * capsuleRadiusB;
return distance;
end capsuleCapsuleDistance;
-----------------------------
--- btPerturbedContactResult
--
type btPerturbedContactResult is new impact.d3.collision.manifold_Result.item with
record
m_originalManifoldResult : access impact.d3.collision.manifold_Result.item;
m_transformA,
m_transformB,
m_unPerturbedTransform : Transform_3d;
m_perturbA : Boolean;
end record;
overriding procedure destruct (Self : in out btPerturbedContactResult);
overriding procedure addContactPoint (Self : in out btPerturbedContactResult; normalOnBInWorld : in math.Vector_3;
pointInWorld : in math.Vector_3;
orgDepth : in math.Real);
function to_btPerturbedContactResult (originalResult : access impact.d3.collision.manifold_Result.item;
transformA, transformB : in Transform_3d;
unPerturbedTransform : in Transform_3d;
perturbA : in Boolean) return btPerturbedContactResult
is
Self : constant btPerturbedContactResult := (impact.d3.collision.manifold_Result.item with
m_originalManifoldResult => originalResult,
m_transformA => transformA,
m_transformB => transformB,
m_unPerturbedTransform => unPerturbedTransform,
m_perturbA => perturbA);
begin
return Self;
end to_btPerturbedContactResult;
overriding procedure destruct (Self : in out btPerturbedContactResult)
is
begin
null;
end destruct;
overriding procedure addContactPoint (Self : in out btPerturbedContactResult; normalOnBInWorld : in math.Vector_3;
pointInWorld : in math.Vector_3;
orgDepth : in math.Real)
is
use linear_Algebra_3d, impact.d3.Transform, impact.d3.Vector;
endPt,
startPt : math.Vector_3;
newDepth : math.Real;
-- newNormal : math.Vector_3;
endPtOrg : math.Vector_3;
begin
if Self.m_perturbA then
endPtOrg := pointInWorld + normalOnBInWorld * orgDepth;
endPt := (Self.m_unPerturbedTransform * inverse (Self.m_transformA)) * endPtOrg;
newDepth := dot (endPt - pointInWorld, normalOnBInWorld);
startPt := endPt + normalOnBInWorld * newDepth;
else
endPt := pointInWorld + normalOnBInWorld*orgDepth;
startPt := (Self.m_unPerturbedTransform * inverse (Self.m_transformB)) * pointInWorld;
newDepth := dot (endPt - startPt, normalOnBInWorld);
end if;
Self.m_originalManifoldResult.addContactPoint (normalOnBInWorld, startPt, newDepth);
end addContactPoint;
----------------------------
--- impact.d3.collision.Algorithm.activating.convex_convex
--
function to_convex_convex_Algorithm (mf : access impact.d3.Manifold.item'Class;
ci : in AlgorithmConstructionInfo;
body0, body1 : access impact.d3.Object.item'Class;
simplexSolver : access impact.d3.collision.simplex_Solver.item'Class;
pdSolver : access impact.d3.collision.convex_penetration_depth_Solver.item'Class;
numPerturbationIterations : in Integer;
minimumPointsPerturbationThreshold : in Integer) return impact.d3.collision.Algorithm.activating.convex_convex.item
is
Self : Item := (Algorithm.activating.item with -- impact.d3.collision.Algorithm.activating.Forge.to_activating_Algorithm (ci, body0, body1) with
m_simplexSolver => simplexSolver,
m_pdSolver => pdSolver,
m_ownManifold => False,
m_manifoldPtr => mf,
m_lowLevelOfDetail => False,
m_sepDistance => to_btConvexSeparatingDistanceUtil (impact.d3.Shape.convex.view (body0.getCollisionShape).getAngularMotionDisc,
impact.d3.Shape.convex.view (body1.getCollisionShape).getAngularMotionDisc),
m_numPerturbationIterations => numPerturbationIterations,
m_minimumPointsPerturbationThreshold => minimumPointsPerturbationThreshold);
begin
Self.define (ci, body0, body1);
return Self;
end to_convex_convex_Algorithm;
overriding procedure destruct (Self : in out Item)
is
begin
if Self.m_ownManifold then
if Self.m_manifoldPtr /= null then
Self.get_m_dispatcher.releaseManifold (Self.m_manifoldPtr);
end if;
end if;
end destruct;
overriding procedure processCollision (Self : in out Item; body0, body1 : access impact.d3.Object.item'Class;
dispatchInfo : in impact.d3.Dispatcher.DispatcherInfo;
resultOut : out impact.d3.collision.manifold_Result.item)
is
use impact.d3.Vector, math.Vectors;
min0,
min1 : access impact.d3.Shape.convex.item'Class;
-- normalOnB,
-- pointOnBWorld : math.Vector_3;
input : impact.d3.collision.Detector.discrete.ClosestPointInput;
gjkPairDetector : impact.d3.collision.Detector.discrete.gjk_pair.Item;
sepDist : math.Real;
begin
if Self.m_manifoldPtr = null then
-- swapped?
Self.m_manifoldPtr := Self.get_m_dispatcher.getNewManifold (body0, body1);
Self.m_ownManifold := True;
end if;
resultOut.setPersistentManifold (Self.m_manifoldPtr);
-- comment-out next line to test multi-contact generation
-- resultOut->getPersistentManifold()->clearManifold();
min0 := impact.d3.Shape.convex.View (body0.getCollisionShape);
min1 := impact.d3.Shape.convex.View (body1.getCollisionShape);
-- #ifndef BT_DISABLE_CAPSULE_CAPSULE_COLLIDER
-- if ((min0->getShapeType() == CAPSULE_SHAPE_PROXYTYPE) && (min1->getShapeType() == CAPSULE_SHAPE_PROXYTYPE))
-- {
-- btCapsuleShape* capsuleA = (btCapsuleShape*) min0;
-- btCapsuleShape* capsuleB = (btCapsuleShape*) min1;
-- impact.d3.Vector localScalingA = capsuleA->getLocalScaling();
-- impact.d3.Vector localScalingB = capsuleB->getLocalScaling();
--
-- impact.d3.Scalar threshold = m_manifoldPtr->getContactBreakingThreshold();
--
-- impact.d3.Scalar dist = capsuleCapsuleDistance(normalOnB, pointOnBWorld,capsuleA->getHalfHeight(),capsuleA->getRadius(),
-- capsuleB->getHalfHeight(),capsuleB->getRadius(),capsuleA->getUpAxis(),capsuleB->getUpAxis(),
-- body0->getWorldTransform(),body1->getWorldTransform(),threshold);
--
-- if (dist<threshold)
-- {
-- btAssert(normalOnB.length2()>=(SIMD_EPSILON*SIMD_EPSILON));
-- resultOut->addContactPoint(normalOnB,pointOnBWorld,dist);
-- }
-- resultOut->refreshContactPoints();
-- return;
-- }
-- #endif //BT_DISABLE_CAPSULE_CAPSULE_COLLIDER
if dispatchInfo.m_useConvexConservativeDistanceUtil then
Self.m_sepDistance.updateSeparatingDistance (body0.getWorldTransform.all,
body1.getWorldTransform.all);
end if;
if not dispatchInfo.m_useConvexConservativeDistanceUtil
or else Self.m_sepDistance.getConservativeSeparatingDistance <= 0.0
then
gjkPairDetector := impact.d3.collision.Detector.discrete.gjk_pair.to_gjk_pair_Detector (min0, min1, Self.m_simplexSolver, Self.m_pdSolver);
-- TODO: if (dispatchInfo.m_useContinuous)
gjkPairDetector.setMinkowskiA (min0);
gjkPairDetector.setMinkowskiB (min1);
if dispatchInfo.m_useConvexConservativeDistanceUtil then
input.m_maximumDistanceSquared := BT_LARGE_FLOAT;
else
input.m_maximumDistanceSquared := min0.getMargin + min1.getMargin + Self.m_manifoldPtr.getContactBreakingThreshold;
input.m_maximumDistanceSquared := input.m_maximumDistanceSquared * input.m_maximumDistanceSquared;
end if;
input.m_transformA := body0.getWorldTransform.all;
input.m_transformB := body1.getWorldTransform.all;
sepDist := 0.0;
if dispatchInfo.m_useConvexConservativeDistanceUtil then
sepDist := gjkPairDetector.getCachedSeparatingDistance;
if sepDist > impact.d3.Scalar.SIMD_EPSILON then
sepDist := sepDist + dispatchInfo.m_convexConservativeDistanceThreshold;
-- now perturbe directions to get multiple contact points
end if;
end if;
if min0.isPolyhedral
and then min1.isPolyhedral
then
declare
use type impact.d3.collision.Proxy.BroadphaseNativeTypes;
type btDummyResult is new impact.d3.collision.Detector.discrete.Result with null record;
overriding procedure addContactPoint (Self : in out btDummyResult; normalOnBInWorld : in math.Vector_3;
pointInWorld : in math.Vector_3;
depth : in math.Real ) is null;
-- struct btDummyResult : public impact.d3.collision.Detector.discrete::Result
-- {
-- virtual void setShapeIdentifiersA(int partId0,int index0){}
-- virtual void setShapeIdentifiersB(int partId1,int index1){}
-- virtual void addContactPoint(const impact.d3.Vector& normalOnBInWorld,const impact.d3.Vector& pointInWorld,impact.d3.Scalar depth)
-- {
-- }
-- };
dummy : btDummyResult;
polyhedronA : constant impact.d3.Shape.convex.internal.polyhedral.view := impact.d3.Shape.convex.internal.polyhedral.view (min0);
polyhedronB : constant impact.d3.Shape.convex.internal.polyhedral.view := impact.d3.Shape.convex.internal.polyhedral.view (min1);
begin
if polyhedronA.getConvexPolyhedron /= null
and then polyhedronB.getConvexPolyhedron /= null
then
declare
threshold : math.Real := Self.m_manifoldPtr.getContactBreakingThreshold;
minDist : math.Real := -1.0e30;
sepNormalWorldSpace : math.Vector_3;
foundSepAxis : Boolean := True;
l2 : math.Real;
begin
if dispatchInfo.m_enableSatConvex then
foundSepAxis := impact.d3.collision.polyhedral_contact_Clipping.findSeparatingAxis (polyhedronA.getConvexPolyhedron.all, polyhedronB.getConvexPolyhedron.all,
body0.getWorldTransform.all,
body1.getWorldTransform.all,
sepNormalWorldSpace);
else
gjkPairDetector.getClosestPoints (input, dummy);
l2 := length2 (gjkPairDetector.getCachedSeparatingAxis);
if l2 > impact.d3.Scalar.SIMD_EPSILON then
sepNormalWorldSpace := gjkPairDetector.getCachedSeparatingAxis * (1.0 / l2);
minDist := gjkPairDetector.getCachedSeparatingDistance - min0.getMargin - min1.getMargin;
foundSepAxis := gjkPairDetector.getCachedSeparatingDistance < min0.getMargin + min1.getMargin;
end if;
end if;
if foundSepAxis then
impact.d3.collision.polyhedral_contact_Clipping.clipHullAgainstHull (sepNormalWorldSpace, polyhedronA.getConvexPolyhedron.all,
polyhedronB.getConvexPolyhedron.all,
body0.getWorldTransform.all,
body1.getWorldTransform.all,
minDist - threshold,
threshold,
resultOut);
end if;
if Self.m_ownManifold then
resultOut.refreshContactPoints;
end if;
return;
end;
else
-- we can also deal with convex versus triangle (without connectivity data)
if polyhedronA.getConvexPolyhedron /= null
and then polyhedronB.getShapeType = impact.d3.collision.Proxy.TRIANGLE_SHAPE_PROXYTYPE
then
declare
use linear_Algebra_3d, impact.d3.Transform;
vertices : impact.d3.collision.polyhedral_contact_Clipping.btVertexArray;
tri : constant impact.d3.Shape.convex.internal.polyhedral.triangle.view := impact.d3.Shape.convex.internal.polyhedral.triangle.view (polyhedronB);
threshold : math.Real;
sepNormalWorldSpace : math.Vector_3;
minDist,
maxDist : math.Real;
foundSepAxis : Boolean;
l2 : math.Real;
begin
vertices.append (body1.getWorldTransform.all * tri.m_vertices1 (1));
vertices.append (body1.getWorldTransform.all * tri.m_vertices1 (2));
vertices.append (body1.getWorldTransform.all * tri.m_vertices1 (3));
-- tri->initializePolyhedralFeatures();
threshold := Self.m_manifoldPtr.getContactBreakingThreshold;
minDist := -1.0e30;
maxDist := threshold;
foundSepAxis := False;
gjkPairDetector.getClosestPoints (input, dummy);
l2 := length2 (gjkPairDetector.getCachedSeparatingAxis);
if l2 > impact.d3.Scalar.SIMD_EPSILON then
sepNormalWorldSpace := gjkPairDetector.getCachedSeparatingAxis * (1.0 / l2);
minDist := gjkPairDetector.getCachedSeparatingDistance - min0.getMargin - min1.getMargin;
foundSepAxis := True;
end if;
if foundSepAxis then
impact.d3.collision.polyhedral_contact_Clipping.clipFaceAgainstHull (sepNormalWorldSpace, polyhedronA.getConvexPolyhedron.all,
body0.getWorldTransform.all, vertices, minDist - threshold, maxDist, resultOut);
end if;
if Self.m_ownManifold then
resultOut.refreshContactPoints;
end if;
return;
end;
end if;
end if;
end;
end if;
gjkPairDetector.getClosestPoints (input, resultOut);
-- now perform 'm_numPerturbationIterations' collision queries with the perturbated collision objects
-- perform perturbation when more then 'm_minimumPointsPerturbationThreshold' points
--
if Self.m_numPerturbationIterations /= 0
and then resultOut.getPersistentManifold.getNumContacts < Self.m_minimumPointsPerturbationThreshold
then
declare
v0, v1 : math.Vector_3;
sepNormalWorldSpace : math.Vector_3;
l2 : constant math.Real := length2 (gjkPairDetector.getCachedSeparatingAxis);
begin
if l2 > impact.d3.Scalar.SIMD_EPSILON then
sepNormalWorldSpace := gjkPairDetector.getCachedSeparatingAxis * (1.0 / l2);
btPlaneSpace1 (sepNormalWorldSpace, v0, v1);
declare
perturbeA : Boolean := True;
angleLimit : constant math.Real := 0.125 * impact.d3.Scalar.SIMD_PI;
perturbeAngle : math.Real;
radiusA : math.Real := min0.getAngularMotionDisc;
radiusB : constant math.Real := min1.getAngularMotionDisc;
unPerturbedTransform : Transform_3d;
begin
if radiusA < radiusB then
perturbeAngle := gContactBreakingThreshold / radiusA;
perturbeA := True;
else
perturbeAngle := gContactBreakingThreshold / radiusB;
perturbeA := False;
end if;
if perturbeAngle > angleLimit then
perturbeAngle := angleLimit;
end if;
if perturbeA then
unPerturbedTransform := input.m_transformA;
else
unPerturbedTransform := input.m_transformB;
end if;
for i in 1 .. Self.m_numPerturbationIterations
loop
if length2 (v0) > impact.d3.Scalar.SIMD_EPSILON then
declare
use impact.d3.Quaternions, impact.d3.Transform;
perturbeRot : constant math.Quaternion := to_Quaternion (v0, perturbeAngle);
iterationAngle : constant math.Real := math.Real (i - 1) * (impact.d3.Scalar.SIMD_2_PI / math.Real (Self.m_numPerturbationIterations));
rotq : constant math.Quaternion := to_Quaternion (sepNormalWorldSpace, iterationAngle);
perturbedResultOut : btPerturbedContactResult;
begin
if perturbeA then
setBasis (input.m_transformA, linear_Algebra_3d.to_Matrix (multiply (inverse (rotq),
multiply (perturbeRot, rotq)))
* getBasis (body0.getWorldTransform).all);
input.m_transformB := body1.getWorldTransform.all;
else
input.m_transformA := body0.getWorldTransform.all;
setBasis (input.m_transformB, linear_Algebra_3d.to_Matrix (multiply (inverse (rotq),
multiply (perturbeRot, rotq)))
* getBasis (body1.getWorldTransform).all);
end if;
perturbedResultOut := to_btPerturbedContactResult (resultOut'Access, input.m_transformA, input.m_transformB,
unPerturbedTransform, perturbeA);
gjkPairDetector.getClosestPoints (input, perturbedResultOut);
end;
end if;
end loop;
end;
end if;
end;
end if;
if dispatchInfo.m_useConvexConservativeDistanceUtil
and then sepDist > impact.d3.Scalar.SIMD_EPSILON
then
Self.m_sepDistance.initSeparatingDistance (gjkPairDetector.getCachedSeparatingAxis,
sepDist,
body0.getWorldTransform.all,
body1.getWorldTransform.all);
end if;
end if;
if Self.m_ownManifold then
resultOut.refreshContactPoints;
end if;
end processCollision;
overriding function calculateTimeOfImpact (Self : in Item; body0, body1 : access impact.d3.Object.item'Class;
dispatchInfo : in impact.d3.Dispatcher.DispatcherInfo;
resultOut : access impact.d3.collision.manifold_Result.item) return math.Real
is
pragma Unreferenced (Self, dispatchInfo, resultOut);
use impact.d3.Vector, impact.d3.Transform;
col0 : access impact.d3.Object.item'Class renames body0;
col1 : access impact.d3.Object.item'Class renames body1;
resultFraction : math.Real := 1.0;
squareMot0 : math.Real := length2 (getOrigin (col0.getInterpolationWorldTransform).all - getOrigin (col0.getWorldTransform).all);
squareMot1 : math.Real := length2 (getOrigin (col1.getInterpolationWorldTransform).all - getOrigin (col1.getWorldTransform).all);
begin
-- Rather then checking ALL pairs, only calculate TOI when motion exceeds threshold
-- Linear motion for one of objects needs to exceed m_ccdSquareMotionThreshold
-- col0->m_worldTransform,
if squareMot0 < col0.getCcdSquareMotionThreshold
and then squareMot1 < col1.getCcdSquareMotionThreshold
then
return resultFraction;
end if;
if disableCcd then
return 1.0;
end if;
-- An adhoc way of testing the Continuous Collision Detection algorithms
-- One object is approximated as a sphere, to simplify things
-- Starting in penetration should report no time of impact
-- For proper CCD, better accuracy and handling of 'allowed' penetration should be added
-- also the mainloop of the physics should have a kind of toi queue (something like <NAME>'s application of Timewarp for Rigidbodies)
-- Convex0 against sphere for Convex1
--
declare
convex0 : constant impact.d3.Shape.convex.view := impact.d3.Shape.convex.view (col0.getCollisionShape);
sphere1 : aliased impact.d3.Shape.convex.internal.sphere.item := impact.d3.Shape.convex.internal.sphere.to_sphere_Shape (col1.getCcdSweptSphereRadius); -- todo: allow non-zero sphere sizes, for better approximation
result : aliased impact.d3.collision.convex_Raycast.CastResult;
voronoiSimplex : aliased impact.d3.collision.simplex_Solver.voronoi.item;
-- SubsimplexConvexCast ccd0(&sphere,min0,&voronoiSimplex);
-- Simplification, one object is simplified as a sphere
ccd1 : aliased impact.d3.collision.convex_Raycast.gjk.item := impact.d3.collision.convex_Raycast.gjk.to_gjk_convex_Raycast (convex0, sphere1'Access, voronoiSimplex'Access);
-- ContinuousConvexCollision ccd(min0,min1,&voronoiSimplex,0);
begin
if ccd1.calcTimeOfImpact (col0.getWorldTransform.all, col0.getInterpolationWorldTransform,
col1.getWorldTransform.all, col1.getInterpolationWorldTransform, result'Access)
then -- store result.m_fraction in both bodies
if col0.getHitFraction > result.m_fraction then
col0.setHitFraction (result.m_fraction);
end if;
if col1.getHitFraction > result.m_fraction then
col1.setHitFraction (result.m_fraction);
end if;
if resultFraction > result.m_fraction then
resultFraction := result.m_fraction;
end if;
end if;
end;
-- Sphere (for convex0) against Convex1
--
declare
convex1 : constant impact.d3.Shape.convex.view := impact.d3.Shape.convex.view (col1.getCollisionShape);
sphere0 : aliased impact.d3.Shape.convex.internal.sphere.item := impact.d3.Shape.convex.internal.sphere.to_sphere_Shape (col0.getCcdSweptSphereRadius); -- todo: allow non-zero sphere sizes, for better approximation
result : aliased impact.d3.collision.convex_Raycast.CastResult;
voronoiSimplex : aliased impact.d3.collision.simplex_Solver.voronoi.item;
-- SubsimplexConvexCast ccd0(&sphere,min0,&voronoiSimplex);
-- Simplification, one object is simplified as a sphere
ccd1 : aliased impact.d3.collision.convex_Raycast.gjk.item := impact.d3.collision.convex_Raycast.gjk.to_gjk_convex_Raycast (sphere0'Access, convex1, voronoiSimplex'Access);
-- ContinuousConvexCollision ccd(min0,min1,&voronoiSimplex,0);
begin
if ccd1.calcTimeOfImpact (col0.getWorldTransform.all, col0.getInterpolationWorldTransform,
col1.getWorldTransform.all, col1.getInterpolationWorldTransform, result'Access)
then
-- store result.m_fraction in both bodies
if col0.getHitFraction > result.m_fraction then
col0.setHitFraction (result.m_fraction);
end if;
if col1.getHitFraction > result.m_fraction then
col1.setHitFraction (result.m_fraction);
end if;
if resultFraction > result.m_fraction then
resultFraction := result.m_fraction;
end if;
end if;
end;
return resultFraction;
end calculateTimeOfImpact;
overriding procedure getAllContactManifolds (Self : in out Item; manifoldArray : out impact.d3.collision.Algorithm.btManifoldArray)
is
begin
-- Should we use m_ownManifold to avoid adding duplicates ?
if Self.m_manifoldPtr /= null
and then Self.m_ownManifold
then
manifoldArray.append (Self.m_manifoldPtr);
end if;
end getAllContactManifolds;
procedure setLowLevelOfDetail (Self : in out Item; useLowLevel : in Boolean)
is
begin
Self.m_lowLevelOfDetail := useLowLevel;
end setLowLevelOfDetail;
function getManifold (Self : in Item) return access impact.d3.Manifold.item'Class
is
begin
return Self.m_manifoldPtr;
end getManifold;
end impact.d3.collision.Algorithm.activating.convex_convex;
-- impact.d3.Scalar impact.d3.collision.Algorithm.activating.convex_convex::calculateTimeOfImpact(impact.d3.Object* col0,impact.d3.Object* col1,const impact.d3.DispatcherInfo& dispatchInfo,impact.d3.collision.manifold_Result* resultOut)
-- {
-- (void)resultOut;
-- (void)dispatchInfo;
-- ///Rather then checking ALL pairs, only calculate TOI when motion exceeds threshold
--
-- ///Linear motion for one of objects needs to exceed m_ccdSquareMotionThreshold
-- ///col0->m_worldTransform,
-- impact.d3.Scalar resultFraction = impact.d3.Scalar(1.);
--
--
-- impact.d3.Scalar squareMot0 = (col0->getInterpolationWorldTransform().getOrigin() - col0->getWorldTransform().getOrigin()).length2();
-- impact.d3.Scalar squareMot1 = (col1->getInterpolationWorldTransform().getOrigin() - col1->getWorldTransform().getOrigin()).length2();
--
-- if (squareMot0 < col0->getCcdSquareMotionThreshold() &&
-- squareMot1 < col1->getCcdSquareMotionThreshold())
-- return resultFraction;
--
-- if (disableCcd)
-- return impact.d3.Scalar(1.);
--
--
-- //An adhoc way of testing the Continuous Collision Detection algorithms
-- //One object is approximated as a sphere, to simplify things
-- //Starting in penetration should report no time of impact
-- //For proper CCD, better accuracy and handling of 'allowed' penetration should be added
-- //also the mainloop of the physics should have a kind of toi queue (something like Brian Mirtich's application of Timewarp for Rigidbodies)
--
--
-- /// Convex0 against sphere for Convex1
-- {
-- impact.d3.Shape.convex* convex0 = static_cast<impact.d3.Shape.convex*>(col0->getCollisionShape());
--
-- impact.d3.Shape.convex.internal.sphere sphere1(col1->getCcdSweptSphereRadius()); //todo: allow non-zero sphere sizes, for better approximation
-- impact.d3.collision.convex_Raycast::CastResult result;
-- impact.d3.collision.simplex_Solver.voronoi voronoiSimplex;
-- //SubsimplexConvexCast ccd0(&sphere,min0,&voronoiSimplex);
-- ///Simplification, one object is simplified as a sphere
-- impact.d3.collision.convex_Raycast.gjk ccd1( convex0 ,&sphere1,&voronoiSimplex);
-- //ContinuousConvexCollision ccd(min0,min1,&voronoiSimplex,0);
-- if (ccd1.calcTimeOfImpact(col0->getWorldTransform(),col0->getInterpolationWorldTransform(),
-- col1->getWorldTransform(),col1->getInterpolationWorldTransform(),result))
-- {
--
-- //store result.m_fraction in both bodies
--
-- if (col0->getHitFraction()> result.m_fraction)
-- col0->setHitFraction( result.m_fraction );
--
-- if (col1->getHitFraction() > result.m_fraction)
-- col1->setHitFraction( result.m_fraction);
--
-- if (resultFraction > result.m_fraction)
-- resultFraction = result.m_fraction;
--
-- }
--
--
--
--
-- }
--
-- /// Sphere (for convex0) against Convex1
-- {
-- impact.d3.Shape.convex* convex1 = static_cast<impact.d3.Shape.convex*>(col1->getCollisionShape());
--
-- impact.d3.Shape.convex.internal.sphere sphere0(col0->getCcdSweptSphereRadius()); //todo: allow non-zero sphere sizes, for better approximation
-- impact.d3.collision.convex_Raycast::CastResult result;
-- impact.d3.collision.simplex_Solver.voronoi voronoiSimplex;
-- //SubsimplexConvexCast ccd0(&sphere,min0,&voronoiSimplex);
-- ///Simplification, one object is simplified as a sphere
-- impact.d3.collision.convex_Raycast.gjk ccd1(&sphere0,convex1,&voronoiSimplex);
-- //ContinuousConvexCollision ccd(min0,min1,&voronoiSimplex,0);
-- if (ccd1.calcTimeOfImpact(col0->getWorldTransform(),col0->getInterpolationWorldTransform(),
-- col1->getWorldTransform(),col1->getInterpolationWorldTransform(),result))
-- {
--
-- //store result.m_fraction in both bodies
--
-- if (col0->getHitFraction() > result.m_fraction)
-- col0->setHitFraction( result.m_fraction);
--
-- if (col1->getHitFraction() > result.m_fraction)
-- col1->setHitFraction( result.m_fraction);
--
-- if (resultFraction > result.m_fraction)
-- resultFraction = result.m_fraction;
--
-- }
-- }
--
-- return resultFraction;
--
-- }
|
agda/Data/Maybe/Properties.agda | oisdk/combinatorics-paper | 4 | 11515 | <reponame>oisdk/combinatorics-paper<filename>agda/Data/Maybe/Properties.agda
{-# OPTIONS --cubical --safe #-}
module Data.Maybe.Properties where
open import Data.Maybe.Base
open import Prelude
fromMaybe : A → Maybe A → A
fromMaybe x = maybe x id
just-inj : ∀ {x y : A} → just x ≡ just y → x ≡ y
just-inj {x = x} = cong (fromMaybe x)
just≢nothing : {x : A} → just x ≢ nothing
just≢nothing p = subst (maybe ⊥ (const ⊤)) p tt
nothing≢just : {x : A} → nothing ≢ just x
nothing≢just p = subst (maybe ⊤ (const ⊥)) p tt
discreteMaybe : Discrete A → Discrete (Maybe A)
discreteMaybe _≟_ nothing nothing = yes refl
discreteMaybe _≟_ nothing (just x) = no nothing≢just
discreteMaybe _≟_ (just x) nothing = no just≢nothing
discreteMaybe _≟_ (just x) (just y) = ⟦yes cong just ,no just-inj ⟧ (x ≟ y)
|
src/gen/vulkan-low_level-vulkan_core_h.ads | persan/a-vulkan | 0 | 8880 | <filename>src/gen/vulkan-low_level-vulkan_core_h.ads
pragma Ada_2012;
pragma Style_Checks (Off);
with Interfaces.C; use Interfaces.C;
with System;
with Interfaces.C.Strings;
package Vulkan.Low_Level.vulkan_core_h is
VULKAN_CORE_H_u : constant := 1; -- vulkan_core.h:2
VK_VERSION_1_0 : constant := 1; -- vulkan_core.h:32
-- arg-macro: function VK_MAKE_VERSION (major, minor, patch)
-- return ((major) << 22) or ((minor) << 12) or (patch);
-- unsupported macro: VK_API_VERSION_1_0 VK_MAKE_VERSION(1, 0, 0)
-- arg-macro: function VK_VERSION_MAJOR (version)
-- return (uint32_t)(version) >> 22;
-- arg-macro: function VK_VERSION_MINOR (version)
-- return ((uint32_t)(version) >> 12) and 16#3ff#;
-- arg-macro: function VK_VERSION_PATCH (version)
-- return (uint32_t)(version) and 16#fff#;
VK_HEADER_VERSION : constant := 131; -- vulkan_core.h:47
VK_NULL_HANDLE : constant := 0; -- vulkan_core.h:50
-- unsupported macro: VK_DEFINE_HANDLE(object) typedef struct object ##_T* object;
-- unsupported macro: VK_DEFINE_NON_DISPATCHABLE_HANDLE(object) typedef struct object ##_T *object;
VK_LOD_CLAMP_NONE : constant := 1000.0; -- vulkan_core.h:93
function VK_REMAINING_MIP_LEVELS return Interfaces.Unsigned_64 is (not 0);
function VK_REMAINING_MIP_LEVELS return Interfaces.Unsigned_32 is (not 0);
function VK_REMAINING_MIP_LEVELS return Interfaces.Unsigned_16 is (not 0);
function VK_REMAINING_MIP_LEVELS return Interfaces.Unsigned_8 is (not 0);
function VK_REMAINING_ARRAY_LAYERS return Interfaces.Unsigned_64 is (not 0);
function VK_REMAINING_ARRAY_LAYERS return Interfaces.Unsigned_32 is (not 0);
function VK_REMAINING_ARRAY_LAYERS return Interfaces.Unsigned_16 is (not 0);
function VK_REMAINING_ARRAY_LAYERS return Interfaces.Unsigned_8 is (not 0);
function VK_WHOLE_SIZE return Interfaces.Unsigned_64 is (not 0);
function VK_WHOLE_SIZE return Interfaces.Unsigned_32 is (not 0);
function VK_WHOLE_SIZE return Interfaces.Unsigned_16 is (not 0);
function VK_WHOLE_SIZE return Interfaces.Unsigned_8 is (not 0);
function VK_ATTACHMENT_UNUSED return Interfaces.Unsigned_64 is (not 0);
function VK_ATTACHMENT_UNUSED return Interfaces.Unsigned_32 is (not 0);
function VK_ATTACHMENT_UNUSED return Interfaces.Unsigned_16 is (not 0);
function VK_ATTACHMENT_UNUSED return Interfaces.Unsigned_8 is (not 0);
VK_TRUE : constant := 1; -- vulkan_core.h:98
VK_FALSE : constant := 0; -- vulkan_core.h:99
function VK_QUEUE_FAMILY_IGNORED return Interfaces.Unsigned_64 is (not 0);
function VK_QUEUE_FAMILY_IGNORED return Interfaces.Unsigned_32 is (not 0);
function VK_QUEUE_FAMILY_IGNORED return Interfaces.Unsigned_16 is (not 0);
function VK_QUEUE_FAMILY_IGNORED return Interfaces.Unsigned_8 is (not 0);
function VK_SUBPASS_EXTERNAL return Interfaces.Unsigned_64 is (not 0);
function VK_SUBPASS_EXTERNAL return Interfaces.Unsigned_32 is (not 0);
function VK_SUBPASS_EXTERNAL return Interfaces.Unsigned_16 is (not 0);
function VK_SUBPASS_EXTERNAL return Interfaces.Unsigned_8 is (not 0);
VK_MAX_PHYSICAL_DEVICE_NAME_SIZE : constant := 256; -- vulkan_core.h:102
VK_UUID_SIZE : constant := 16; -- vulkan_core.h:103
VK_MAX_MEMORY_TYPES : constant := 32; -- vulkan_core.h:104
VK_MAX_MEMORY_HEAPS : constant := 16; -- vulkan_core.h:105
VK_MAX_EXTENSION_NAME_SIZE : constant := 256; -- vulkan_core.h:106
VK_MAX_DESCRIPTION_SIZE : constant := 256; -- vulkan_core.h:107
VK_VERSION_1_1 : constant := 1; -- vulkan_core.h:4025
-- unsupported macro: VK_API_VERSION_1_1 VK_MAKE_VERSION(1, 1, 0)
VK_MAX_DEVICE_GROUP_SIZE : constant := 32; -- vulkan_core.h:4031
VK_LUID_SIZE : constant := 8; -- vulkan_core.h:4032
-- unsupported macro: VK_QUEUE_FAMILY_EXTERNAL (~0U-1)
VK_VERSION_1_2 : constant := 1; -- vulkan_core.h:4906
-- unsupported macro: VK_API_VERSION_1_2 VK_MAKE_VERSION(1, 2, 0)
VK_MAX_DRIVER_NAME_SIZE : constant := 256; -- vulkan_core.h:4911
VK_MAX_DRIVER_INFO_SIZE : constant := 256; -- vulkan_core.h:4912
VK_KHR_surface : constant := 1; -- vulkan_core.h:5660
VK_KHR_SURFACE_SPEC_VERSION : constant := 25; -- vulkan_core.h:5662
VK_KHR_SURFACE_EXTENSION_NAME : aliased constant String := "VK_KHR_surface" & ASCII.NUL; -- vulkan_core.h:5663
VK_KHR_swapchain : constant := 1; -- vulkan_core.h:5780
VK_KHR_SWAPCHAIN_SPEC_VERSION : constant := 70; -- vulkan_core.h:5782
VK_KHR_SWAPCHAIN_EXTENSION_NAME : aliased constant String := "VK_KHR_swapchain" & ASCII.NUL; -- vulkan_core.h:5783
VK_KHR_display : constant := 1; -- vulkan_core.h:5939
VK_KHR_DISPLAY_SPEC_VERSION : constant := 23; -- vulkan_core.h:5942
VK_KHR_DISPLAY_EXTENSION_NAME : aliased constant String := "VK_KHR_display" & ASCII.NUL; -- vulkan_core.h:5943
VK_KHR_display_swapchain : constant := 1; -- vulkan_core.h:6064
VK_KHR_DISPLAY_SWAPCHAIN_SPEC_VERSION : constant := 10; -- vulkan_core.h:6065
VK_KHR_DISPLAY_SWAPCHAIN_EXTENSION_NAME : aliased constant String := "VK_KHR_display_swapchain" & ASCII.NUL; -- vulkan_core.h:6066
VK_KHR_sampler_mirror_clamp_to_edge : constant := 1; -- vulkan_core.h:6087
VK_KHR_SAMPLER_MIRROR_CLAMP_TO_EDGE_SPEC_VERSION : constant := 3; -- vulkan_core.h:6088
VK_KHR_SAMPLER_MIRROR_CLAMP_TO_EDGE_EXTENSION_NAME : aliased constant String := "VK_KHR_sampler_mirror_clamp_to_edge" & ASCII.NUL; -- vulkan_core.h:6089
VK_KHR_multiview : constant := 1; -- vulkan_core.h:6092
VK_KHR_MULTIVIEW_SPEC_VERSION : constant := 1; -- vulkan_core.h:6093
VK_KHR_MULTIVIEW_EXTENSION_NAME : aliased constant String := "VK_KHR_multiview" & ASCII.NUL; -- vulkan_core.h:6094
VK_KHR_get_physical_device_properties2 : constant := 1; -- vulkan_core.h:6103
VK_KHR_GET_PHYSICAL_DEVICE_PROPERTIES_2_SPEC_VERSION : constant := 2; -- vulkan_core.h:6104
VK_KHR_GET_PHYSICAL_DEVICE_PROPERTIES_2_EXTENSION_NAME : aliased constant String := "VK_KHR_get_physical_device_properties2" & ASCII.NUL; -- vulkan_core.h:6105
VK_KHR_device_group : constant := 1; -- vulkan_core.h:6168
VK_KHR_DEVICE_GROUP_SPEC_VERSION : constant := 4; -- vulkan_core.h:6169
VK_KHR_DEVICE_GROUP_EXTENSION_NAME : aliased constant String := "VK_KHR_device_group" & ASCII.NUL; -- vulkan_core.h:6170
VK_KHR_shader_draw_parameters : constant := 1; -- vulkan_core.h:6220
VK_KHR_SHADER_DRAW_PARAMETERS_SPEC_VERSION : constant := 1; -- vulkan_core.h:6221
VK_KHR_SHADER_DRAW_PARAMETERS_EXTENSION_NAME : aliased constant String := "VK_KHR_shader_draw_parameters" & ASCII.NUL; -- vulkan_core.h:6222
VK_KHR_maintenance1 : constant := 1; -- vulkan_core.h:6225
VK_KHR_MAINTENANCE1_SPEC_VERSION : constant := 2; -- vulkan_core.h:6226
VK_KHR_MAINTENANCE1_EXTENSION_NAME : aliased constant String := "VK_KHR_maintenance1" & ASCII.NUL; -- vulkan_core.h:6227
VK_KHR_device_group_creation : constant := 1; -- vulkan_core.h:6240
VK_KHR_DEVICE_GROUP_CREATION_SPEC_VERSION : constant := 1; -- vulkan_core.h:6241
VK_KHR_DEVICE_GROUP_CREATION_EXTENSION_NAME : aliased constant String := "VK_KHR_device_group_creation" & ASCII.NUL; -- vulkan_core.h:6242
-- unsupported macro: VK_MAX_DEVICE_GROUP_SIZE_KHR VK_MAX_DEVICE_GROUP_SIZE
VK_KHR_external_memory_capabilities : constant := 1; -- vulkan_core.h:6258
VK_KHR_EXTERNAL_MEMORY_CAPABILITIES_SPEC_VERSION : constant := 1; -- vulkan_core.h:6259
VK_KHR_EXTERNAL_MEMORY_CAPABILITIES_EXTENSION_NAME : aliased constant String := "VK_KHR_external_memory_capabilities" & ASCII.NUL; -- vulkan_core.h:6260
-- unsupported macro: VK_LUID_SIZE_KHR VK_LUID_SIZE
VK_KHR_external_memory : constant := 1; -- vulkan_core.h:6292
VK_KHR_EXTERNAL_MEMORY_SPEC_VERSION : constant := 1; -- vulkan_core.h:6293
VK_KHR_EXTERNAL_MEMORY_EXTENSION_NAME : aliased constant String := "VK_KHR_external_memory" & ASCII.NUL; -- vulkan_core.h:6294
-- unsupported macro: VK_QUEUE_FAMILY_EXTERNAL_KHR VK_QUEUE_FAMILY_EXTERNAL
VK_KHR_external_memory_fd : constant := 1; -- vulkan_core.h:6304
VK_KHR_EXTERNAL_MEMORY_FD_SPEC_VERSION : constant := 1; -- vulkan_core.h:6305
VK_KHR_EXTERNAL_MEMORY_FD_EXTENSION_NAME : aliased constant String := "VK_KHR_external_memory_fd" & ASCII.NUL; -- vulkan_core.h:6306
VK_KHR_external_semaphore_capabilities : constant := 1; -- vulkan_core.h:6344
VK_KHR_EXTERNAL_SEMAPHORE_CAPABILITIES_SPEC_VERSION : constant := 1; -- vulkan_core.h:6345
VK_KHR_EXTERNAL_SEMAPHORE_CAPABILITIES_EXTENSION_NAME : aliased constant String := "VK_KHR_external_semaphore_capabilities" & ASCII.NUL; -- vulkan_core.h:6346
VK_KHR_external_semaphore : constant := 1; -- vulkan_core.h:6369
VK_KHR_EXTERNAL_SEMAPHORE_SPEC_VERSION : constant := 1; -- vulkan_core.h:6370
VK_KHR_EXTERNAL_SEMAPHORE_EXTENSION_NAME : aliased constant String := "VK_KHR_external_semaphore" & ASCII.NUL; -- vulkan_core.h:6371
VK_KHR_external_semaphore_fd : constant := 1; -- vulkan_core.h:6380
VK_KHR_EXTERNAL_SEMAPHORE_FD_SPEC_VERSION : constant := 1; -- vulkan_core.h:6381
VK_KHR_EXTERNAL_SEMAPHORE_FD_EXTENSION_NAME : aliased constant String := "VK_KHR_external_semaphore_fd" & ASCII.NUL; -- vulkan_core.h:6382
VK_KHR_push_descriptor : constant := 1; -- vulkan_core.h:6414
VK_KHR_PUSH_DESCRIPTOR_SPEC_VERSION : constant := 2; -- vulkan_core.h:6415
VK_KHR_PUSH_DESCRIPTOR_EXTENSION_NAME : aliased constant String := "VK_KHR_push_descriptor" & ASCII.NUL; -- vulkan_core.h:6416
VK_KHR_shader_float16_int8 : constant := 1; -- vulkan_core.h:6444
VK_KHR_SHADER_FLOAT16_INT8_SPEC_VERSION : constant := 1; -- vulkan_core.h:6445
VK_KHR_SHADER_FLOAT16_INT8_EXTENSION_NAME : aliased constant String := "VK_KHR_shader_float16_int8" & ASCII.NUL; -- vulkan_core.h:6446
VK_KHR_16bit_storage : constant := 1; -- vulkan_core.h:6453
VK_KHR_16BIT_STORAGE_SPEC_VERSION : constant := 1; -- vulkan_core.h:6454
VK_KHR_16BIT_STORAGE_EXTENSION_NAME : aliased constant String := "VK_KHR_16bit_storage" & ASCII.NUL; -- vulkan_core.h:6455
VK_KHR_incremental_present : constant := 1; -- vulkan_core.h:6460
VK_KHR_INCREMENTAL_PRESENT_SPEC_VERSION : constant := 1; -- vulkan_core.h:6461
VK_KHR_INCREMENTAL_PRESENT_EXTENSION_NAME : aliased constant String := "VK_KHR_incremental_present" & ASCII.NUL; -- vulkan_core.h:6462
VK_KHR_descriptor_update_template : constant := 1; -- vulkan_core.h:6483
VK_KHR_DESCRIPTOR_UPDATE_TEMPLATE_SPEC_VERSION : constant := 1; -- vulkan_core.h:6486
VK_KHR_DESCRIPTOR_UPDATE_TEMPLATE_EXTENSION_NAME : aliased constant String := "VK_KHR_descriptor_update_template" & ASCII.NUL; -- vulkan_core.h:6487
VK_KHR_imageless_framebuffer : constant := 1; -- vulkan_core.h:6520
VK_KHR_IMAGELESS_FRAMEBUFFER_SPEC_VERSION : constant := 1; -- vulkan_core.h:6521
VK_KHR_IMAGELESS_FRAMEBUFFER_EXTENSION_NAME : aliased constant String := "VK_KHR_imageless_framebuffer" & ASCII.NUL; -- vulkan_core.h:6522
VK_KHR_create_renderpass2 : constant := 1; -- vulkan_core.h:6533
VK_KHR_CREATE_RENDERPASS_2_SPEC_VERSION : constant := 1; -- vulkan_core.h:6534
VK_KHR_CREATE_RENDERPASS_2_EXTENSION_NAME : aliased constant String := "VK_KHR_create_renderpass2" & ASCII.NUL; -- vulkan_core.h:6535
VK_KHR_shared_presentable_image : constant := 1; -- vulkan_core.h:6578
VK_KHR_SHARED_PRESENTABLE_IMAGE_SPEC_VERSION : constant := 1; -- vulkan_core.h:6579
VK_KHR_SHARED_PRESENTABLE_IMAGE_EXTENSION_NAME : aliased constant String := "VK_KHR_shared_presentable_image" & ASCII.NUL; -- vulkan_core.h:6580
VK_KHR_external_fence_capabilities : constant := 1; -- vulkan_core.h:6596
VK_KHR_EXTERNAL_FENCE_CAPABILITIES_SPEC_VERSION : constant := 1; -- vulkan_core.h:6597
VK_KHR_EXTERNAL_FENCE_CAPABILITIES_EXTENSION_NAME : aliased constant String := "VK_KHR_external_fence_capabilities" & ASCII.NUL; -- vulkan_core.h:6598
VK_KHR_external_fence : constant := 1; -- vulkan_core.h:6621
VK_KHR_EXTERNAL_FENCE_SPEC_VERSION : constant := 1; -- vulkan_core.h:6622
VK_KHR_EXTERNAL_FENCE_EXTENSION_NAME : aliased constant String := "VK_KHR_external_fence" & ASCII.NUL; -- vulkan_core.h:6623
VK_KHR_external_fence_fd : constant := 1; -- vulkan_core.h:6632
VK_KHR_EXTERNAL_FENCE_FD_SPEC_VERSION : constant := 1; -- vulkan_core.h:6633
VK_KHR_EXTERNAL_FENCE_FD_EXTENSION_NAME : aliased constant String := "VK_KHR_external_fence_fd" & ASCII.NUL; -- vulkan_core.h:6634
VK_KHR_performance_query : constant := 1; -- vulkan_core.h:6666
VK_KHR_PERFORMANCE_QUERY_SPEC_VERSION : constant := 1; -- vulkan_core.h:6667
VK_KHR_PERFORMANCE_QUERY_EXTENSION_NAME : aliased constant String := "VK_KHR_performance_query" & ASCII.NUL; -- vulkan_core.h:6668
VK_KHR_maintenance2 : constant := 1; -- vulkan_core.h:6813
VK_KHR_MAINTENANCE2_SPEC_VERSION : constant := 1; -- vulkan_core.h:6814
VK_KHR_MAINTENANCE2_EXTENSION_NAME : aliased constant String := "VK_KHR_maintenance2" & ASCII.NUL; -- vulkan_core.h:6815
VK_KHR_get_surface_capabilities2 : constant := 1; -- vulkan_core.h:6832
VK_KHR_GET_SURFACE_CAPABILITIES_2_SPEC_VERSION : constant := 1; -- vulkan_core.h:6833
VK_KHR_GET_SURFACE_CAPABILITIES_2_EXTENSION_NAME : aliased constant String := "VK_KHR_get_surface_capabilities2" & ASCII.NUL; -- vulkan_core.h:6834
VK_KHR_variable_pointers : constant := 1; -- vulkan_core.h:6870
VK_KHR_VARIABLE_POINTERS_SPEC_VERSION : constant := 1; -- vulkan_core.h:6871
VK_KHR_VARIABLE_POINTERS_EXTENSION_NAME : aliased constant String := "VK_KHR_variable_pointers" & ASCII.NUL; -- vulkan_core.h:6872
VK_KHR_get_display_properties2 : constant := 1; -- vulkan_core.h:6879
VK_KHR_GET_DISPLAY_PROPERTIES_2_SPEC_VERSION : constant := 1; -- vulkan_core.h:6880
VK_KHR_GET_DISPLAY_PROPERTIES_2_EXTENSION_NAME : aliased constant String := "VK_KHR_get_display_properties2" & ASCII.NUL; -- vulkan_core.h:6881
VK_KHR_dedicated_allocation : constant := 1; -- vulkan_core.h:6942
VK_KHR_DEDICATED_ALLOCATION_SPEC_VERSION : constant := 3; -- vulkan_core.h:6943
VK_KHR_DEDICATED_ALLOCATION_EXTENSION_NAME : aliased constant String := "VK_KHR_dedicated_allocation" & ASCII.NUL; -- vulkan_core.h:6944
VK_KHR_storage_buffer_storage_class : constant := 1; -- vulkan_core.h:6951
VK_KHR_STORAGE_BUFFER_STORAGE_CLASS_SPEC_VERSION : constant := 1; -- vulkan_core.h:6952
VK_KHR_STORAGE_BUFFER_STORAGE_CLASS_EXTENSION_NAME : aliased constant String := "VK_KHR_storage_buffer_storage_class" & ASCII.NUL; -- vulkan_core.h:6953
VK_KHR_relaxed_block_layout : constant := 1; -- vulkan_core.h:6956
VK_KHR_RELAXED_BLOCK_LAYOUT_SPEC_VERSION : constant := 1; -- vulkan_core.h:6957
VK_KHR_RELAXED_BLOCK_LAYOUT_EXTENSION_NAME : aliased constant String := "VK_KHR_relaxed_block_layout" & ASCII.NUL; -- vulkan_core.h:6958
VK_KHR_get_memory_requirements2 : constant := 1; -- vulkan_core.h:6961
VK_KHR_GET_MEMORY_REQUIREMENTS_2_SPEC_VERSION : constant := 1; -- vulkan_core.h:6962
VK_KHR_GET_MEMORY_REQUIREMENTS_2_EXTENSION_NAME : aliased constant String := "VK_KHR_get_memory_requirements2" & ASCII.NUL; -- vulkan_core.h:6963
VK_KHR_image_format_list : constant := 1; -- vulkan_core.h:6995
VK_KHR_IMAGE_FORMAT_LIST_SPEC_VERSION : constant := 1; -- vulkan_core.h:6996
VK_KHR_IMAGE_FORMAT_LIST_EXTENSION_NAME : aliased constant String := "VK_KHR_image_format_list" & ASCII.NUL; -- vulkan_core.h:6997
VK_KHR_sampler_ycbcr_conversion : constant := 1; -- vulkan_core.h:7002
VK_KHR_SAMPLER_YCBCR_CONVERSION_SPEC_VERSION : constant := 14; -- vulkan_core.h:7005
VK_KHR_SAMPLER_YCBCR_CONVERSION_EXTENSION_NAME : aliased constant String := "VK_KHR_sampler_ycbcr_conversion" & ASCII.NUL; -- vulkan_core.h:7006
VK_KHR_bind_memory2 : constant := 1; -- vulkan_core.h:7042
VK_KHR_BIND_MEMORY_2_SPEC_VERSION : constant := 1; -- vulkan_core.h:7043
VK_KHR_BIND_MEMORY_2_EXTENSION_NAME : aliased constant String := "VK_KHR_bind_memory2" & ASCII.NUL; -- vulkan_core.h:7044
VK_KHR_maintenance3 : constant := 1; -- vulkan_core.h:7065
VK_KHR_MAINTENANCE3_SPEC_VERSION : constant := 1; -- vulkan_core.h:7066
VK_KHR_MAINTENANCE3_EXTENSION_NAME : aliased constant String := "VK_KHR_maintenance3" & ASCII.NUL; -- vulkan_core.h:7067
VK_KHR_draw_indirect_count : constant := 1; -- vulkan_core.h:7082
VK_KHR_DRAW_INDIRECT_COUNT_SPEC_VERSION : constant := 1; -- vulkan_core.h:7083
VK_KHR_DRAW_INDIRECT_COUNT_EXTENSION_NAME : aliased constant String := "VK_KHR_draw_indirect_count" & ASCII.NUL; -- vulkan_core.h:7084
VK_KHR_shader_subgroup_extended_types : constant := 1; -- vulkan_core.h:7109
VK_KHR_SHADER_SUBGROUP_EXTENDED_TYPES_SPEC_VERSION : constant := 1; -- vulkan_core.h:7110
VK_KHR_SHADER_SUBGROUP_EXTENDED_TYPES_EXTENSION_NAME : aliased constant String := "VK_KHR_shader_subgroup_extended_types" & ASCII.NUL; -- vulkan_core.h:7111
VK_KHR_8bit_storage : constant := 1; -- vulkan_core.h:7116
VK_KHR_8BIT_STORAGE_SPEC_VERSION : constant := 1; -- vulkan_core.h:7117
VK_KHR_8BIT_STORAGE_EXTENSION_NAME : aliased constant String := "VK_KHR_8bit_storage" & ASCII.NUL; -- vulkan_core.h:7118
VK_KHR_shader_atomic_int64 : constant := 1; -- vulkan_core.h:7123
VK_KHR_SHADER_ATOMIC_INT64_SPEC_VERSION : constant := 1; -- vulkan_core.h:7124
VK_KHR_SHADER_ATOMIC_INT64_EXTENSION_NAME : aliased constant String := "VK_KHR_shader_atomic_int64" & ASCII.NUL; -- vulkan_core.h:7125
VK_KHR_shader_clock : constant := 1; -- vulkan_core.h:7130
VK_KHR_SHADER_CLOCK_SPEC_VERSION : constant := 1; -- vulkan_core.h:7131
VK_KHR_SHADER_CLOCK_EXTENSION_NAME : aliased constant String := "VK_KHR_shader_clock" & ASCII.NUL; -- vulkan_core.h:7132
VK_KHR_driver_properties : constant := 1; -- vulkan_core.h:7142
VK_KHR_DRIVER_PROPERTIES_SPEC_VERSION : constant := 1; -- vulkan_core.h:7143
VK_KHR_DRIVER_PROPERTIES_EXTENSION_NAME : aliased constant String := "VK_KHR_driver_properties" & ASCII.NUL; -- vulkan_core.h:7144
-- unsupported macro: VK_MAX_DRIVER_NAME_SIZE_KHR VK_MAX_DRIVER_NAME_SIZE
-- unsupported macro: VK_MAX_DRIVER_INFO_SIZE_KHR VK_MAX_DRIVER_INFO_SIZE
VK_KHR_shader_float_controls : constant := 1; -- vulkan_core.h:7155
VK_KHR_SHADER_FLOAT_CONTROLS_SPEC_VERSION : constant := 4; -- vulkan_core.h:7156
VK_KHR_SHADER_FLOAT_CONTROLS_EXTENSION_NAME : aliased constant String := "VK_KHR_shader_float_controls" & ASCII.NUL; -- vulkan_core.h:7157
VK_KHR_depth_stencil_resolve : constant := 1; -- vulkan_core.h:7164
VK_KHR_DEPTH_STENCIL_RESOLVE_SPEC_VERSION : constant := 1; -- vulkan_core.h:7165
VK_KHR_DEPTH_STENCIL_RESOLVE_EXTENSION_NAME : aliased constant String := "VK_KHR_depth_stencil_resolve" & ASCII.NUL; -- vulkan_core.h:7166
VK_KHR_swapchain_mutable_format : constant := 1; -- vulkan_core.h:7177
VK_KHR_SWAPCHAIN_MUTABLE_FORMAT_SPEC_VERSION : constant := 1; -- vulkan_core.h:7178
VK_KHR_SWAPCHAIN_MUTABLE_FORMAT_EXTENSION_NAME : aliased constant String := "VK_KHR_swapchain_mutable_format" & ASCII.NUL; -- vulkan_core.h:7179
VK_KHR_timeline_semaphore : constant := 1; -- vulkan_core.h:7182
VK_KHR_TIMELINE_SEMAPHORE_SPEC_VERSION : constant := 2; -- vulkan_core.h:7183
VK_KHR_TIMELINE_SEMAPHORE_EXTENSION_NAME : aliased constant String := "VK_KHR_timeline_semaphore" & ASCII.NUL; -- vulkan_core.h:7184
VK_KHR_vulkan_memory_model : constant := 1; -- vulkan_core.h:7224
VK_KHR_VULKAN_MEMORY_MODEL_SPEC_VERSION : constant := 3; -- vulkan_core.h:7225
VK_KHR_VULKAN_MEMORY_MODEL_EXTENSION_NAME : aliased constant String := "VK_KHR_vulkan_memory_model" & ASCII.NUL; -- vulkan_core.h:7226
VK_KHR_spirv_1_4 : constant := 1; -- vulkan_core.h:7231
VK_KHR_SPIRV_1_4_SPEC_VERSION : constant := 1; -- vulkan_core.h:7232
VK_KHR_SPIRV_1_4_EXTENSION_NAME : aliased constant String := "VK_KHR_spirv_1_4" & ASCII.NUL; -- vulkan_core.h:7233
VK_KHR_surface_protected_capabilities : constant := 1; -- vulkan_core.h:7236
VK_KHR_SURFACE_PROTECTED_CAPABILITIES_SPEC_VERSION : constant := 1; -- vulkan_core.h:7237
VK_KHR_SURFACE_PROTECTED_CAPABILITIES_EXTENSION_NAME : aliased constant String := "VK_KHR_surface_protected_capabilities" & ASCII.NUL; -- vulkan_core.h:7238
VK_KHR_separate_depth_stencil_layouts : constant := 1; -- vulkan_core.h:7247
VK_KHR_SEPARATE_DEPTH_STENCIL_LAYOUTS_SPEC_VERSION : constant := 1; -- vulkan_core.h:7248
VK_KHR_SEPARATE_DEPTH_STENCIL_LAYOUTS_EXTENSION_NAME : aliased constant String := "VK_KHR_separate_depth_stencil_layouts" & ASCII.NUL; -- vulkan_core.h:7249
VK_KHR_uniform_buffer_standard_layout : constant := 1; -- vulkan_core.h:7258
VK_KHR_UNIFORM_BUFFER_STANDARD_LAYOUT_SPEC_VERSION : constant := 1; -- vulkan_core.h:7259
VK_KHR_UNIFORM_BUFFER_STANDARD_LAYOUT_EXTENSION_NAME : aliased constant String := "VK_KHR_uniform_buffer_standard_layout" & ASCII.NUL; -- vulkan_core.h:7260
VK_KHR_buffer_device_address : constant := 1; -- vulkan_core.h:7265
VK_KHR_BUFFER_DEVICE_ADDRESS_SPEC_VERSION : constant := 1; -- vulkan_core.h:7266
VK_KHR_BUFFER_DEVICE_ADDRESS_EXTENSION_NAME : aliased constant String := "VK_KHR_buffer_device_address" & ASCII.NUL; -- vulkan_core.h:7267
VK_KHR_pipeline_executable_properties : constant := 1; -- vulkan_core.h:7297
VK_KHR_PIPELINE_EXECUTABLE_PROPERTIES_SPEC_VERSION : constant := 1; -- vulkan_core.h:7298
VK_KHR_PIPELINE_EXECUTABLE_PROPERTIES_EXTENSION_NAME : aliased constant String := "VK_KHR_pipeline_executable_properties" & ASCII.NUL; -- vulkan_core.h:7299
VK_EXT_debug_report : constant := 1; -- vulkan_core.h:7390
VK_EXT_DEBUG_REPORT_SPEC_VERSION : constant := 9; -- vulkan_core.h:7392
VK_EXT_DEBUG_REPORT_EXTENSION_NAME : aliased constant String := "VK_EXT_debug_report" & ASCII.NUL; -- vulkan_core.h:7393
VK_NV_glsl_shader : constant := 1; -- vulkan_core.h:7498
VK_NV_GLSL_SHADER_SPEC_VERSION : constant := 1; -- vulkan_core.h:7499
VK_NV_GLSL_SHADER_EXTENSION_NAME : aliased constant String := "VK_NV_glsl_shader" & ASCII.NUL; -- vulkan_core.h:7500
VK_EXT_depth_range_unrestricted : constant := 1; -- vulkan_core.h:7503
VK_EXT_DEPTH_RANGE_UNRESTRICTED_SPEC_VERSION : constant := 1; -- vulkan_core.h:7504
VK_EXT_DEPTH_RANGE_UNRESTRICTED_EXTENSION_NAME : aliased constant String := "VK_EXT_depth_range_unrestricted" & ASCII.NUL; -- vulkan_core.h:7505
VK_IMG_filter_cubic : constant := 1; -- vulkan_core.h:7508
VK_IMG_FILTER_CUBIC_SPEC_VERSION : constant := 1; -- vulkan_core.h:7509
VK_IMG_FILTER_CUBIC_EXTENSION_NAME : aliased constant String := "VK_IMG_filter_cubic" & ASCII.NUL; -- vulkan_core.h:7510
VK_AMD_rasterization_order : constant := 1; -- vulkan_core.h:7513
VK_AMD_RASTERIZATION_ORDER_SPEC_VERSION : constant := 1; -- vulkan_core.h:7514
VK_AMD_RASTERIZATION_ORDER_EXTENSION_NAME : aliased constant String := "VK_AMD_rasterization_order" & ASCII.NUL; -- vulkan_core.h:7515
VK_AMD_shader_trinary_minmax : constant := 1; -- vulkan_core.h:7533
VK_AMD_SHADER_TRINARY_MINMAX_SPEC_VERSION : constant := 1; -- vulkan_core.h:7534
VK_AMD_SHADER_TRINARY_MINMAX_EXTENSION_NAME : aliased constant String := "VK_AMD_shader_trinary_minmax" & ASCII.NUL; -- vulkan_core.h:7535
VK_AMD_shader_explicit_vertex_parameter : constant := 1; -- vulkan_core.h:7538
VK_AMD_SHADER_EXPLICIT_VERTEX_PARAMETER_SPEC_VERSION : constant := 1; -- vulkan_core.h:7539
VK_AMD_SHADER_EXPLICIT_VERTEX_PARAMETER_EXTENSION_NAME : aliased constant String := "VK_AMD_shader_explicit_vertex_parameter" & ASCII.NUL; -- vulkan_core.h:7540
VK_EXT_debug_marker : constant := 1; -- vulkan_core.h:7543
VK_EXT_DEBUG_MARKER_SPEC_VERSION : constant := 4; -- vulkan_core.h:7544
VK_EXT_DEBUG_MARKER_EXTENSION_NAME : aliased constant String := "VK_EXT_debug_marker" & ASCII.NUL; -- vulkan_core.h:7545
VK_AMD_gcn_shader : constant := 1; -- vulkan_core.h:7599
VK_AMD_GCN_SHADER_SPEC_VERSION : constant := 1; -- vulkan_core.h:7600
VK_AMD_GCN_SHADER_EXTENSION_NAME : aliased constant String := "VK_AMD_gcn_shader" & ASCII.NUL; -- vulkan_core.h:7601
VK_NV_dedicated_allocation : constant := 1; -- vulkan_core.h:7604
VK_NV_DEDICATED_ALLOCATION_SPEC_VERSION : constant := 1; -- vulkan_core.h:7605
VK_NV_DEDICATED_ALLOCATION_EXTENSION_NAME : aliased constant String := "VK_NV_dedicated_allocation" & ASCII.NUL; -- vulkan_core.h:7606
VK_EXT_transform_feedback : constant := 1; -- vulkan_core.h:7628
VK_EXT_TRANSFORM_FEEDBACK_SPEC_VERSION : constant := 1; -- vulkan_core.h:7629
VK_EXT_TRANSFORM_FEEDBACK_EXTENSION_NAME : aliased constant String := "VK_EXT_transform_feedback" & ASCII.NUL; -- vulkan_core.h:7630
VK_NVX_image_view_handle : constant := 1; -- vulkan_core.h:7715
VK_NVX_IMAGE_VIEW_HANDLE_SPEC_VERSION : constant := 1; -- vulkan_core.h:7716
VK_NVX_IMAGE_VIEW_HANDLE_EXTENSION_NAME : aliased constant String := "VK_NVX_image_view_handle" & ASCII.NUL; -- vulkan_core.h:7717
VK_AMD_draw_indirect_count : constant := 1; -- vulkan_core.h:7735
VK_AMD_DRAW_INDIRECT_COUNT_SPEC_VERSION : constant := 2; -- vulkan_core.h:7736
VK_AMD_DRAW_INDIRECT_COUNT_EXTENSION_NAME : aliased constant String := "VK_AMD_draw_indirect_count" & ASCII.NUL; -- vulkan_core.h:7737
VK_AMD_negative_viewport_height : constant := 1; -- vulkan_core.h:7762
VK_AMD_NEGATIVE_VIEWPORT_HEIGHT_SPEC_VERSION : constant := 1; -- vulkan_core.h:7763
VK_AMD_NEGATIVE_VIEWPORT_HEIGHT_EXTENSION_NAME : aliased constant String := "VK_AMD_negative_viewport_height" & ASCII.NUL; -- vulkan_core.h:7764
VK_AMD_gpu_shader_half_float : constant := 1; -- vulkan_core.h:7767
VK_AMD_GPU_SHADER_HALF_FLOAT_SPEC_VERSION : constant := 2; -- vulkan_core.h:7768
VK_AMD_GPU_SHADER_HALF_FLOAT_EXTENSION_NAME : aliased constant String := "VK_AMD_gpu_shader_half_float" & ASCII.NUL; -- vulkan_core.h:7769
VK_AMD_shader_ballot : constant := 1; -- vulkan_core.h:7772
VK_AMD_SHADER_BALLOT_SPEC_VERSION : constant := 1; -- vulkan_core.h:7773
VK_AMD_SHADER_BALLOT_EXTENSION_NAME : aliased constant String := "VK_AMD_shader_ballot" & ASCII.NUL; -- vulkan_core.h:7774
VK_AMD_texture_gather_bias_lod : constant := 1; -- vulkan_core.h:7777
VK_AMD_TEXTURE_GATHER_BIAS_LOD_SPEC_VERSION : constant := 1; -- vulkan_core.h:7778
VK_AMD_TEXTURE_GATHER_BIAS_LOD_EXTENSION_NAME : aliased constant String := "VK_AMD_texture_gather_bias_lod" & ASCII.NUL; -- vulkan_core.h:7779
VK_AMD_shader_info : constant := 1; -- vulkan_core.h:7788
VK_AMD_SHADER_INFO_SPEC_VERSION : constant := 1; -- vulkan_core.h:7789
VK_AMD_SHADER_INFO_EXTENSION_NAME : aliased constant String := "VK_AMD_shader_info" & ASCII.NUL; -- vulkan_core.h:7790
VK_AMD_shader_image_load_store_lod : constant := 1; -- vulkan_core.h:7832
VK_AMD_SHADER_IMAGE_LOAD_STORE_LOD_SPEC_VERSION : constant := 1; -- vulkan_core.h:7833
VK_AMD_SHADER_IMAGE_LOAD_STORE_LOD_EXTENSION_NAME : aliased constant String := "VK_AMD_shader_image_load_store_lod" & ASCII.NUL; -- vulkan_core.h:7834
VK_NV_corner_sampled_image : constant := 1; -- vulkan_core.h:7837
VK_NV_CORNER_SAMPLED_IMAGE_SPEC_VERSION : constant := 2; -- vulkan_core.h:7838
VK_NV_CORNER_SAMPLED_IMAGE_EXTENSION_NAME : aliased constant String := "VK_NV_corner_sampled_image" & ASCII.NUL; -- vulkan_core.h:7839
VK_IMG_format_pvrtc : constant := 1; -- vulkan_core.h:7848
VK_IMG_FORMAT_PVRTC_SPEC_VERSION : constant := 1; -- vulkan_core.h:7849
VK_IMG_FORMAT_PVRTC_EXTENSION_NAME : aliased constant String := "VK_IMG_format_pvrtc" & ASCII.NUL; -- vulkan_core.h:7850
VK_NV_external_memory_capabilities : constant := 1; -- vulkan_core.h:7853
VK_NV_EXTERNAL_MEMORY_CAPABILITIES_SPEC_VERSION : constant := 1; -- vulkan_core.h:7854
VK_NV_EXTERNAL_MEMORY_CAPABILITIES_EXTENSION_NAME : aliased constant String := "VK_NV_external_memory_capabilities" & ASCII.NUL; -- vulkan_core.h:7855
VK_NV_external_memory : constant := 1; -- vulkan_core.h:7895
VK_NV_EXTERNAL_MEMORY_SPEC_VERSION : constant := 1; -- vulkan_core.h:7896
VK_NV_EXTERNAL_MEMORY_EXTENSION_NAME : aliased constant String := "VK_NV_external_memory" & ASCII.NUL; -- vulkan_core.h:7897
VK_EXT_validation_flags : constant := 1; -- vulkan_core.h:7912
VK_EXT_VALIDATION_FLAGS_SPEC_VERSION : constant := 2; -- vulkan_core.h:7913
VK_EXT_VALIDATION_FLAGS_EXTENSION_NAME : aliased constant String := "VK_EXT_validation_flags" & ASCII.NUL; -- vulkan_core.h:7914
VK_EXT_shader_subgroup_ballot : constant := 1; -- vulkan_core.h:7933
VK_EXT_SHADER_SUBGROUP_BALLOT_SPEC_VERSION : constant := 1; -- vulkan_core.h:7934
VK_EXT_SHADER_SUBGROUP_BALLOT_EXTENSION_NAME : aliased constant String := "VK_EXT_shader_subgroup_ballot" & ASCII.NUL; -- vulkan_core.h:7935
VK_EXT_shader_subgroup_vote : constant := 1; -- vulkan_core.h:7938
VK_EXT_SHADER_SUBGROUP_VOTE_SPEC_VERSION : constant := 1; -- vulkan_core.h:7939
VK_EXT_SHADER_SUBGROUP_VOTE_EXTENSION_NAME : aliased constant String := "VK_EXT_shader_subgroup_vote" & ASCII.NUL; -- vulkan_core.h:7940
VK_EXT_texture_compression_astc_hdr : constant := 1; -- vulkan_core.h:7943
VK_EXT_TEXTURE_COMPRESSION_ASTC_HDR_SPEC_VERSION : constant := 1; -- vulkan_core.h:7944
VK_EXT_TEXTURE_COMPRESSION_ASTC_HDR_EXTENSION_NAME : aliased constant String := "VK_EXT_texture_compression_astc_hdr" & ASCII.NUL; -- vulkan_core.h:7945
VK_EXT_astc_decode_mode : constant := 1; -- vulkan_core.h:7954
VK_EXT_ASTC_DECODE_MODE_SPEC_VERSION : constant := 1; -- vulkan_core.h:7955
VK_EXT_ASTC_DECODE_MODE_EXTENSION_NAME : aliased constant String := "VK_EXT_astc_decode_mode" & ASCII.NUL; -- vulkan_core.h:7956
VK_EXT_conditional_rendering : constant := 1; -- vulkan_core.h:7971
VK_EXT_CONDITIONAL_RENDERING_SPEC_VERSION : constant := 2; -- vulkan_core.h:7972
VK_EXT_CONDITIONAL_RENDERING_EXTENSION_NAME : aliased constant String := "VK_EXT_conditional_rendering" & ASCII.NUL; -- vulkan_core.h:7973
VK_NVX_device_generated_commands : constant := 1; -- vulkan_core.h:8014
VK_NVX_DEVICE_GENERATED_COMMANDS_SPEC_VERSION : constant := 3; -- vulkan_core.h:8017
VK_NVX_DEVICE_GENERATED_COMMANDS_EXTENSION_NAME : aliased constant String := "VK_NVX_device_generated_commands" & ASCII.NUL; -- vulkan_core.h:8018
VK_NV_clip_space_w_scaling : constant := 1; -- vulkan_core.h:8237
VK_NV_CLIP_SPACE_W_SCALING_SPEC_VERSION : constant := 1; -- vulkan_core.h:8238
VK_NV_CLIP_SPACE_W_SCALING_EXTENSION_NAME : aliased constant String := "VK_NV_clip_space_w_scaling" & ASCII.NUL; -- vulkan_core.h:8239
VK_EXT_direct_mode_display : constant := 1; -- vulkan_core.h:8264
VK_EXT_DIRECT_MODE_DISPLAY_SPEC_VERSION : constant := 1; -- vulkan_core.h:8265
VK_EXT_DIRECT_MODE_DISPLAY_EXTENSION_NAME : aliased constant String := "VK_EXT_direct_mode_display" & ASCII.NUL; -- vulkan_core.h:8266
VK_EXT_display_surface_counter : constant := 1; -- vulkan_core.h:8276
VK_EXT_DISPLAY_SURFACE_COUNTER_SPEC_VERSION : constant := 1; -- vulkan_core.h:8277
VK_EXT_DISPLAY_SURFACE_COUNTER_EXTENSION_NAME : aliased constant String := "VK_EXT_display_surface_counter" & ASCII.NUL; -- vulkan_core.h:8278
VK_EXT_display_control : constant := 1; -- vulkan_core.h:8311
VK_EXT_DISPLAY_CONTROL_SPEC_VERSION : constant := 1; -- vulkan_core.h:8312
VK_EXT_DISPLAY_CONTROL_EXTENSION_NAME : aliased constant String := "VK_EXT_display_control" & ASCII.NUL; -- vulkan_core.h:8313
VK_GOOGLE_display_timing : constant := 1; -- vulkan_core.h:8396
VK_GOOGLE_DISPLAY_TIMING_SPEC_VERSION : constant := 1; -- vulkan_core.h:8397
VK_GOOGLE_DISPLAY_TIMING_EXTENSION_NAME : aliased constant String := "VK_GOOGLE_display_timing" & ASCII.NUL; -- vulkan_core.h:8398
VK_NV_sample_mask_override_coverage : constant := 1; -- vulkan_core.h:8440
VK_NV_SAMPLE_MASK_OVERRIDE_COVERAGE_SPEC_VERSION : constant := 1; -- vulkan_core.h:8441
VK_NV_SAMPLE_MASK_OVERRIDE_COVERAGE_EXTENSION_NAME : aliased constant String := "VK_NV_sample_mask_override_coverage" & ASCII.NUL; -- vulkan_core.h:8442
VK_NV_geometry_shader_passthrough : constant := 1; -- vulkan_core.h:8445
VK_NV_GEOMETRY_SHADER_PASSTHROUGH_SPEC_VERSION : constant := 1; -- vulkan_core.h:8446
VK_NV_GEOMETRY_SHADER_PASSTHROUGH_EXTENSION_NAME : aliased constant String := "VK_NV_geometry_shader_passthrough" & ASCII.NUL; -- vulkan_core.h:8447
VK_NV_viewport_array2 : constant := 1; -- vulkan_core.h:8450
VK_NV_VIEWPORT_ARRAY2_SPEC_VERSION : constant := 1; -- vulkan_core.h:8451
VK_NV_VIEWPORT_ARRAY2_EXTENSION_NAME : aliased constant String := "VK_NV_viewport_array2" & ASCII.NUL; -- vulkan_core.h:8452
VK_NVX_multiview_per_view_attributes : constant := 1; -- vulkan_core.h:8455
VK_NVX_MULTIVIEW_PER_VIEW_ATTRIBUTES_SPEC_VERSION : constant := 1; -- vulkan_core.h:8456
VK_NVX_MULTIVIEW_PER_VIEW_ATTRIBUTES_EXTENSION_NAME : aliased constant String := "VK_NVX_multiview_per_view_attributes" & ASCII.NUL; -- vulkan_core.h:8457
VK_NV_viewport_swizzle : constant := 1; -- vulkan_core.h:8466
VK_NV_VIEWPORT_SWIZZLE_SPEC_VERSION : constant := 1; -- vulkan_core.h:8467
VK_NV_VIEWPORT_SWIZZLE_EXTENSION_NAME : aliased constant String := "VK_NV_viewport_swizzle" & ASCII.NUL; -- vulkan_core.h:8468
VK_EXT_discard_rectangles : constant := 1; -- vulkan_core.h:8502
VK_EXT_DISCARD_RECTANGLES_SPEC_VERSION : constant := 1; -- vulkan_core.h:8503
VK_EXT_DISCARD_RECTANGLES_EXTENSION_NAME : aliased constant String := "VK_EXT_discard_rectangles" & ASCII.NUL; -- vulkan_core.h:8504
VK_EXT_conservative_rasterization : constant := 1; -- vulkan_core.h:8541
VK_EXT_CONSERVATIVE_RASTERIZATION_SPEC_VERSION : constant := 1; -- vulkan_core.h:8542
VK_EXT_CONSERVATIVE_RASTERIZATION_EXTENSION_NAME : aliased constant String := "VK_EXT_conservative_rasterization" & ASCII.NUL; -- vulkan_core.h:8543
VK_EXT_depth_clip_enable : constant := 1; -- vulkan_core.h:8579
VK_EXT_DEPTH_CLIP_ENABLE_SPEC_VERSION : constant := 1; -- vulkan_core.h:8580
VK_EXT_DEPTH_CLIP_ENABLE_EXTENSION_NAME : aliased constant String := "VK_EXT_depth_clip_enable" & ASCII.NUL; -- vulkan_core.h:8581
VK_EXT_swapchain_colorspace : constant := 1; -- vulkan_core.h:8598
VK_EXT_SWAPCHAIN_COLOR_SPACE_SPEC_VERSION : constant := 4; -- vulkan_core.h:8599
VK_EXT_SWAPCHAIN_COLOR_SPACE_EXTENSION_NAME : aliased constant String := "VK_EXT_swapchain_colorspace" & ASCII.NUL; -- vulkan_core.h:8600
VK_EXT_hdr_metadata : constant := 1; -- vulkan_core.h:8603
VK_EXT_HDR_METADATA_SPEC_VERSION : constant := 2; -- vulkan_core.h:8604
VK_EXT_HDR_METADATA_EXTENSION_NAME : aliased constant String := "VK_EXT_hdr_metadata" & ASCII.NUL; -- vulkan_core.h:8605
VK_EXT_external_memory_dma_buf : constant := 1; -- vulkan_core.h:8635
VK_EXT_EXTERNAL_MEMORY_DMA_BUF_SPEC_VERSION : constant := 1; -- vulkan_core.h:8636
VK_EXT_EXTERNAL_MEMORY_DMA_BUF_EXTENSION_NAME : aliased constant String := "VK_EXT_external_memory_dma_buf" & ASCII.NUL; -- vulkan_core.h:8637
VK_EXT_queue_family_foreign : constant := 1; -- vulkan_core.h:8640
VK_EXT_QUEUE_FAMILY_FOREIGN_SPEC_VERSION : constant := 1; -- vulkan_core.h:8641
VK_EXT_QUEUE_FAMILY_FOREIGN_EXTENSION_NAME : aliased constant String := "VK_EXT_queue_family_foreign" & ASCII.NUL; -- vulkan_core.h:8642
-- unsupported macro: VK_QUEUE_FAMILY_FOREIGN_EXT (~0U-2)
VK_EXT_debug_utils : constant := 1; -- vulkan_core.h:8646
VK_EXT_DEBUG_UTILS_SPEC_VERSION : constant := 1; -- vulkan_core.h:8648
VK_EXT_DEBUG_UTILS_EXTENSION_NAME : aliased constant String := "VK_EXT_debug_utils" & ASCII.NUL; -- vulkan_core.h:8649
VK_EXT_sampler_filter_minmax : constant := 1; -- vulkan_core.h:8787
VK_EXT_SAMPLER_FILTER_MINMAX_SPEC_VERSION : constant := 2; -- vulkan_core.h:8788
VK_EXT_SAMPLER_FILTER_MINMAX_EXTENSION_NAME : aliased constant String := "VK_EXT_sampler_filter_minmax" & ASCII.NUL; -- vulkan_core.h:8789
VK_AMD_gpu_shader_int16 : constant := 1; -- vulkan_core.h:8798
VK_AMD_GPU_SHADER_INT16_SPEC_VERSION : constant := 2; -- vulkan_core.h:8799
VK_AMD_GPU_SHADER_INT16_EXTENSION_NAME : aliased constant String := "VK_AMD_gpu_shader_int16" & ASCII.NUL; -- vulkan_core.h:8800
VK_AMD_mixed_attachment_samples : constant := 1; -- vulkan_core.h:8803
VK_AMD_MIXED_ATTACHMENT_SAMPLES_SPEC_VERSION : constant := 1; -- vulkan_core.h:8804
VK_AMD_MIXED_ATTACHMENT_SAMPLES_EXTENSION_NAME : aliased constant String := "VK_AMD_mixed_attachment_samples" & ASCII.NUL; -- vulkan_core.h:8805
VK_AMD_shader_fragment_mask : constant := 1; -- vulkan_core.h:8808
VK_AMD_SHADER_FRAGMENT_MASK_SPEC_VERSION : constant := 1; -- vulkan_core.h:8809
VK_AMD_SHADER_FRAGMENT_MASK_EXTENSION_NAME : aliased constant String := "VK_AMD_shader_fragment_mask" & ASCII.NUL; -- vulkan_core.h:8810
VK_EXT_inline_uniform_block : constant := 1; -- vulkan_core.h:8813
VK_EXT_INLINE_UNIFORM_BLOCK_SPEC_VERSION : constant := 1; -- vulkan_core.h:8814
VK_EXT_INLINE_UNIFORM_BLOCK_EXTENSION_NAME : aliased constant String := "VK_EXT_inline_uniform_block" & ASCII.NUL; -- vulkan_core.h:8815
VK_EXT_shader_stencil_export : constant := 1; -- vulkan_core.h:8848
VK_EXT_SHADER_STENCIL_EXPORT_SPEC_VERSION : constant := 1; -- vulkan_core.h:8849
VK_EXT_SHADER_STENCIL_EXPORT_EXTENSION_NAME : aliased constant String := "VK_EXT_shader_stencil_export" & ASCII.NUL; -- vulkan_core.h:8850
VK_EXT_sample_locations : constant := 1; -- vulkan_core.h:8853
VK_EXT_SAMPLE_LOCATIONS_SPEC_VERSION : constant := 1; -- vulkan_core.h:8854
VK_EXT_SAMPLE_LOCATIONS_EXTENSION_NAME : aliased constant String := "VK_EXT_sample_locations" & ASCII.NUL; -- vulkan_core.h:8855
VK_EXT_blend_operation_advanced : constant := 1; -- vulkan_core.h:8927
VK_EXT_BLEND_OPERATION_ADVANCED_SPEC_VERSION : constant := 2; -- vulkan_core.h:8928
VK_EXT_BLEND_OPERATION_ADVANCED_EXTENSION_NAME : aliased constant String := "VK_EXT_blend_operation_advanced" & ASCII.NUL; -- vulkan_core.h:8929
VK_NV_fragment_coverage_to_color : constant := 1; -- vulkan_core.h:8967
VK_NV_FRAGMENT_COVERAGE_TO_COLOR_SPEC_VERSION : constant := 1; -- vulkan_core.h:8968
VK_NV_FRAGMENT_COVERAGE_TO_COLOR_EXTENSION_NAME : aliased constant String := "VK_NV_fragment_coverage_to_color" & ASCII.NUL; -- vulkan_core.h:8969
VK_NV_framebuffer_mixed_samples : constant := 1; -- vulkan_core.h:8981
VK_NV_FRAMEBUFFER_MIXED_SAMPLES_SPEC_VERSION : constant := 1; -- vulkan_core.h:8982
VK_NV_FRAMEBUFFER_MIXED_SAMPLES_EXTENSION_NAME : aliased constant String := "VK_NV_framebuffer_mixed_samples" & ASCII.NUL; -- vulkan_core.h:8983
VK_NV_fill_rectangle : constant := 1; -- vulkan_core.h:9008
VK_NV_FILL_RECTANGLE_SPEC_VERSION : constant := 1; -- vulkan_core.h:9009
VK_NV_FILL_RECTANGLE_EXTENSION_NAME : aliased constant String := "VK_NV_fill_rectangle" & ASCII.NUL; -- vulkan_core.h:9010
VK_NV_shader_sm_builtins : constant := 1; -- vulkan_core.h:9013
VK_NV_SHADER_SM_BUILTINS_SPEC_VERSION : constant := 1; -- vulkan_core.h:9014
VK_NV_SHADER_SM_BUILTINS_EXTENSION_NAME : aliased constant String := "VK_NV_shader_sm_builtins" & ASCII.NUL; -- vulkan_core.h:9015
VK_EXT_post_depth_coverage : constant := 1; -- vulkan_core.h:9031
VK_EXT_POST_DEPTH_COVERAGE_SPEC_VERSION : constant := 1; -- vulkan_core.h:9032
VK_EXT_POST_DEPTH_COVERAGE_EXTENSION_NAME : aliased constant String := "VK_EXT_post_depth_coverage" & ASCII.NUL; -- vulkan_core.h:9033
VK_EXT_image_drm_format_modifier : constant := 1; -- vulkan_core.h:9036
VK_EXT_IMAGE_DRM_FORMAT_MODIFIER_SPEC_VERSION : constant := 1; -- vulkan_core.h:9037
VK_EXT_IMAGE_DRM_FORMAT_MODIFIER_EXTENSION_NAME : aliased constant String := "VK_EXT_image_drm_format_modifier" & ASCII.NUL; -- vulkan_core.h:9038
VK_EXT_validation_cache : constant := 1; -- vulkan_core.h:9092
VK_EXT_VALIDATION_CACHE_SPEC_VERSION : constant := 1; -- vulkan_core.h:9094
VK_EXT_VALIDATION_CACHE_EXTENSION_NAME : aliased constant String := "VK_EXT_validation_cache" & ASCII.NUL; -- vulkan_core.h:9095
VK_EXT_descriptor_indexing : constant := 1; -- vulkan_core.h:9150
VK_EXT_DESCRIPTOR_INDEXING_SPEC_VERSION : constant := 2; -- vulkan_core.h:9151
VK_EXT_DESCRIPTOR_INDEXING_EXTENSION_NAME : aliased constant String := "VK_EXT_descriptor_indexing" & ASCII.NUL; -- vulkan_core.h:9152
VK_EXT_shader_viewport_index_layer : constant := 1; -- vulkan_core.h:9169
VK_EXT_SHADER_VIEWPORT_INDEX_LAYER_SPEC_VERSION : constant := 1; -- vulkan_core.h:9170
VK_EXT_SHADER_VIEWPORT_INDEX_LAYER_EXTENSION_NAME : aliased constant String := "VK_EXT_shader_viewport_index_layer" & ASCII.NUL; -- vulkan_core.h:9171
VK_NV_shading_rate_image : constant := 1; -- vulkan_core.h:9174
VK_NV_SHADING_RATE_IMAGE_SPEC_VERSION : constant := 3; -- vulkan_core.h:9175
VK_NV_SHADING_RATE_IMAGE_EXTENSION_NAME : aliased constant String := "VK_NV_shading_rate_image" & ASCII.NUL; -- vulkan_core.h:9176
VK_NV_ray_tracing : constant := 1; -- vulkan_core.h:9280
VK_NV_RAY_TRACING_SPEC_VERSION : constant := 3; -- vulkan_core.h:9282
VK_NV_RAY_TRACING_EXTENSION_NAME : aliased constant String := "VK_NV_ray_tracing" & ASCII.NUL; -- vulkan_core.h:9283
-- unsupported macro: VK_SHADER_UNUSED_NV (~0U)
VK_NV_representative_fragment_test : constant := 1; -- vulkan_core.h:9580
VK_NV_REPRESENTATIVE_FRAGMENT_TEST_SPEC_VERSION : constant := 2; -- vulkan_core.h:9581
VK_NV_REPRESENTATIVE_FRAGMENT_TEST_EXTENSION_NAME : aliased constant String := "VK_NV_representative_fragment_test" & ASCII.NUL; -- vulkan_core.h:9582
VK_EXT_filter_cubic : constant := 1; -- vulkan_core.h:9597
VK_EXT_FILTER_CUBIC_SPEC_VERSION : constant := 3; -- vulkan_core.h:9598
VK_EXT_FILTER_CUBIC_EXTENSION_NAME : aliased constant String := "VK_EXT_filter_cubic" & ASCII.NUL; -- vulkan_core.h:9599
VK_EXT_global_priority : constant := 1; -- vulkan_core.h:9615
VK_EXT_GLOBAL_PRIORITY_SPEC_VERSION : constant := 2; -- vulkan_core.h:9616
VK_EXT_GLOBAL_PRIORITY_EXTENSION_NAME : aliased constant String := "VK_EXT_global_priority" & ASCII.NUL; -- vulkan_core.h:9617
VK_EXT_external_memory_host : constant := 1; -- vulkan_core.h:9637
VK_EXT_EXTERNAL_MEMORY_HOST_SPEC_VERSION : constant := 1; -- vulkan_core.h:9638
VK_EXT_EXTERNAL_MEMORY_HOST_EXTENSION_NAME : aliased constant String := "VK_EXT_external_memory_host" & ASCII.NUL; -- vulkan_core.h:9639
VK_AMD_buffer_marker : constant := 1; -- vulkan_core.h:9670
VK_AMD_BUFFER_MARKER_SPEC_VERSION : constant := 1; -- vulkan_core.h:9671
VK_AMD_BUFFER_MARKER_EXTENSION_NAME : aliased constant String := "VK_AMD_buffer_marker" & ASCII.NUL; -- vulkan_core.h:9672
VK_AMD_pipeline_compiler_control : constant := 1; -- vulkan_core.h:9685
VK_AMD_PIPELINE_COMPILER_CONTROL_SPEC_VERSION : constant := 1; -- vulkan_core.h:9686
VK_AMD_PIPELINE_COMPILER_CONTROL_EXTENSION_NAME : aliased constant String := "VK_AMD_pipeline_compiler_control" & ASCII.NUL; -- vulkan_core.h:9687
VK_EXT_calibrated_timestamps : constant := 1; -- vulkan_core.h:9701
VK_EXT_CALIBRATED_TIMESTAMPS_SPEC_VERSION : constant := 1; -- vulkan_core.h:9702
VK_EXT_CALIBRATED_TIMESTAMPS_EXTENSION_NAME : aliased constant String := "VK_EXT_calibrated_timestamps" & ASCII.NUL; -- vulkan_core.h:9703
VK_AMD_shader_core_properties : constant := 1; -- vulkan_core.h:9739
VK_AMD_SHADER_CORE_PROPERTIES_SPEC_VERSION : constant := 2; -- vulkan_core.h:9740
VK_AMD_SHADER_CORE_PROPERTIES_EXTENSION_NAME : aliased constant String := "VK_AMD_shader_core_properties" & ASCII.NUL; -- vulkan_core.h:9741
VK_AMD_memory_overallocation_behavior : constant := 1; -- vulkan_core.h:9763
VK_AMD_MEMORY_OVERALLOCATION_BEHAVIOR_SPEC_VERSION : constant := 1; -- vulkan_core.h:9764
VK_AMD_MEMORY_OVERALLOCATION_BEHAVIOR_EXTENSION_NAME : aliased constant String := "VK_AMD_memory_overallocation_behavior" & ASCII.NUL; -- vulkan_core.h:9765
VK_EXT_vertex_attribute_divisor : constant := 1; -- vulkan_core.h:9784
VK_EXT_VERTEX_ATTRIBUTE_DIVISOR_SPEC_VERSION : constant := 3; -- vulkan_core.h:9785
VK_EXT_VERTEX_ATTRIBUTE_DIVISOR_EXTENSION_NAME : aliased constant String := "VK_EXT_vertex_attribute_divisor" & ASCII.NUL; -- vulkan_core.h:9786
VK_EXT_pipeline_creation_feedback : constant := 1; -- vulkan_core.h:9814
VK_EXT_PIPELINE_CREATION_FEEDBACK_SPEC_VERSION : constant := 1; -- vulkan_core.h:9815
VK_EXT_PIPELINE_CREATION_FEEDBACK_EXTENSION_NAME : aliased constant String := "VK_EXT_pipeline_creation_feedback" & ASCII.NUL; -- vulkan_core.h:9816
VK_NV_shader_subgroup_partitioned : constant := 1; -- vulkan_core.h:9840
VK_NV_SHADER_SUBGROUP_PARTITIONED_SPEC_VERSION : constant := 1; -- vulkan_core.h:9841
VK_NV_SHADER_SUBGROUP_PARTITIONED_EXTENSION_NAME : aliased constant String := "VK_NV_shader_subgroup_partitioned" & ASCII.NUL; -- vulkan_core.h:9842
VK_NV_compute_shader_derivatives : constant := 1; -- vulkan_core.h:9845
VK_NV_COMPUTE_SHADER_DERIVATIVES_SPEC_VERSION : constant := 1; -- vulkan_core.h:9846
VK_NV_COMPUTE_SHADER_DERIVATIVES_EXTENSION_NAME : aliased constant String := "VK_NV_compute_shader_derivatives" & ASCII.NUL; -- vulkan_core.h:9847
VK_NV_mesh_shader : constant := 1; -- vulkan_core.h:9857
VK_NV_MESH_SHADER_SPEC_VERSION : constant := 1; -- vulkan_core.h:9858
VK_NV_MESH_SHADER_EXTENSION_NAME : aliased constant String := "VK_NV_mesh_shader" & ASCII.NUL; -- vulkan_core.h:9859
VK_NV_fragment_shader_barycentric : constant := 1; -- vulkan_core.h:9918
VK_NV_FRAGMENT_SHADER_BARYCENTRIC_SPEC_VERSION : constant := 1; -- vulkan_core.h:9919
VK_NV_FRAGMENT_SHADER_BARYCENTRIC_EXTENSION_NAME : aliased constant String := "VK_NV_fragment_shader_barycentric" & ASCII.NUL; -- vulkan_core.h:9920
VK_NV_shader_image_footprint : constant := 1; -- vulkan_core.h:9929
VK_NV_SHADER_IMAGE_FOOTPRINT_SPEC_VERSION : constant := 2; -- vulkan_core.h:9930
VK_NV_SHADER_IMAGE_FOOTPRINT_EXTENSION_NAME : aliased constant String := "VK_NV_shader_image_footprint" & ASCII.NUL; -- vulkan_core.h:9931
VK_NV_scissor_exclusive : constant := 1; -- vulkan_core.h:9940
VK_NV_SCISSOR_EXCLUSIVE_SPEC_VERSION : constant := 1; -- vulkan_core.h:9941
VK_NV_SCISSOR_EXCLUSIVE_EXTENSION_NAME : aliased constant String := "VK_NV_scissor_exclusive" & ASCII.NUL; -- vulkan_core.h:9942
VK_NV_device_diagnostic_checkpoints : constant := 1; -- vulkan_core.h:9967
VK_NV_DEVICE_DIAGNOSTIC_CHECKPOINTS_SPEC_VERSION : constant := 2; -- vulkan_core.h:9968
VK_NV_DEVICE_DIAGNOSTIC_CHECKPOINTS_EXTENSION_NAME : aliased constant String := "VK_NV_device_diagnostic_checkpoints" & ASCII.NUL; -- vulkan_core.h:9969
VK_INTEL_shader_integer_functions2 : constant := 1; -- vulkan_core.h:9998
VK_INTEL_SHADER_INTEGER_FUNCTIONS_2_SPEC_VERSION : constant := 1; -- vulkan_core.h:9999
VK_INTEL_SHADER_INTEGER_FUNCTIONS_2_EXTENSION_NAME : aliased constant String := "VK_INTEL_shader_integer_functions2" & ASCII.NUL; -- vulkan_core.h:10000
VK_INTEL_performance_query : constant := 1; -- vulkan_core.h:10009
VK_INTEL_PERFORMANCE_QUERY_SPEC_VERSION : constant := 1; -- vulkan_core.h:10011
VK_INTEL_PERFORMANCE_QUERY_EXTENSION_NAME : aliased constant String := "VK_INTEL_performance_query" & ASCII.NUL; -- vulkan_core.h:10012
VK_EXT_pci_bus_info : constant := 1; -- vulkan_core.h:10160
VK_EXT_PCI_BUS_INFO_SPEC_VERSION : constant := 2; -- vulkan_core.h:10161
VK_EXT_PCI_BUS_INFO_EXTENSION_NAME : aliased constant String := "VK_EXT_pci_bus_info" & ASCII.NUL; -- vulkan_core.h:10162
VK_AMD_display_native_hdr : constant := 1; -- vulkan_core.h:10174
VK_AMD_DISPLAY_NATIVE_HDR_SPEC_VERSION : constant := 1; -- vulkan_core.h:10175
VK_AMD_DISPLAY_NATIVE_HDR_EXTENSION_NAME : aliased constant String := "VK_AMD_display_native_hdr" & ASCII.NUL; -- vulkan_core.h:10176
VK_EXT_fragment_density_map : constant := 1; -- vulkan_core.h:10199
VK_EXT_FRAGMENT_DENSITY_MAP_SPEC_VERSION : constant := 1; -- vulkan_core.h:10200
VK_EXT_FRAGMENT_DENSITY_MAP_EXTENSION_NAME : aliased constant String := "VK_EXT_fragment_density_map" & ASCII.NUL; -- vulkan_core.h:10201
VK_EXT_scalar_block_layout : constant := 1; -- vulkan_core.h:10226
VK_EXT_SCALAR_BLOCK_LAYOUT_SPEC_VERSION : constant := 1; -- vulkan_core.h:10227
VK_EXT_SCALAR_BLOCK_LAYOUT_EXTENSION_NAME : aliased constant String := "VK_EXT_scalar_block_layout" & ASCII.NUL; -- vulkan_core.h:10228
VK_GOOGLE_hlsl_functionality1 : constant := 1; -- vulkan_core.h:10233
VK_GOOGLE_HLSL_FUNCTIONALITY1_SPEC_VERSION : constant := 1; -- vulkan_core.h:10234
VK_GOOGLE_HLSL_FUNCTIONALITY1_EXTENSION_NAME : aliased constant String := "VK_GOOGLE_hlsl_functionality1" & ASCII.NUL; -- vulkan_core.h:10235
VK_GOOGLE_decorate_string : constant := 1; -- vulkan_core.h:10238
VK_GOOGLE_DECORATE_STRING_SPEC_VERSION : constant := 1; -- vulkan_core.h:10239
VK_GOOGLE_DECORATE_STRING_EXTENSION_NAME : aliased constant String := "VK_GOOGLE_decorate_string" & ASCII.NUL; -- vulkan_core.h:10240
VK_EXT_subgroup_size_control : constant := 1; -- vulkan_core.h:10243
VK_EXT_SUBGROUP_SIZE_CONTROL_SPEC_VERSION : constant := 2; -- vulkan_core.h:10244
VK_EXT_SUBGROUP_SIZE_CONTROL_EXTENSION_NAME : aliased constant String := "VK_EXT_subgroup_size_control" & ASCII.NUL; -- vulkan_core.h:10245
VK_AMD_shader_core_properties2 : constant := 1; -- vulkan_core.h:10270
VK_AMD_SHADER_CORE_PROPERTIES_2_SPEC_VERSION : constant := 1; -- vulkan_core.h:10271
VK_AMD_SHADER_CORE_PROPERTIES_2_EXTENSION_NAME : aliased constant String := "VK_AMD_shader_core_properties2" & ASCII.NUL; -- vulkan_core.h:10272
VK_AMD_device_coherent_memory : constant := 1; -- vulkan_core.h:10287
VK_AMD_DEVICE_COHERENT_MEMORY_SPEC_VERSION : constant := 1; -- vulkan_core.h:10288
VK_AMD_DEVICE_COHERENT_MEMORY_EXTENSION_NAME : aliased constant String := "VK_AMD_device_coherent_memory" & ASCII.NUL; -- vulkan_core.h:10289
VK_EXT_memory_budget : constant := 1; -- vulkan_core.h:10298
VK_EXT_MEMORY_BUDGET_SPEC_VERSION : constant := 1; -- vulkan_core.h:10299
VK_EXT_MEMORY_BUDGET_EXTENSION_NAME : aliased constant String := "VK_EXT_memory_budget" & ASCII.NUL; -- vulkan_core.h:10300
VK_EXT_memory_priority : constant := 1; -- vulkan_core.h:10310
VK_EXT_MEMORY_PRIORITY_SPEC_VERSION : constant := 1; -- vulkan_core.h:10311
VK_EXT_MEMORY_PRIORITY_EXTENSION_NAME : aliased constant String := "VK_EXT_memory_priority" & ASCII.NUL; -- vulkan_core.h:10312
VK_NV_dedicated_allocation_image_aliasing : constant := 1; -- vulkan_core.h:10327
VK_NV_DEDICATED_ALLOCATION_IMAGE_ALIASING_SPEC_VERSION : constant := 1; -- vulkan_core.h:10328
VK_NV_DEDICATED_ALLOCATION_IMAGE_ALIASING_EXTENSION_NAME : aliased constant String := "VK_NV_dedicated_allocation_image_aliasing" & ASCII.NUL; -- vulkan_core.h:10329
VK_EXT_buffer_device_address : constant := 1; -- vulkan_core.h:10338
VK_EXT_BUFFER_DEVICE_ADDRESS_SPEC_VERSION : constant := 2; -- vulkan_core.h:10339
VK_EXT_BUFFER_DEVICE_ADDRESS_EXTENSION_NAME : aliased constant String := "VK_EXT_buffer_device_address" & ASCII.NUL; -- vulkan_core.h:10340
VK_EXT_tooling_info : constant := 1; -- vulkan_core.h:10368
VK_EXT_TOOLING_INFO_SPEC_VERSION : constant := 1; -- vulkan_core.h:10369
VK_EXT_TOOLING_INFO_EXTENSION_NAME : aliased constant String := "VK_EXT_tooling_info" & ASCII.NUL; -- vulkan_core.h:10370
VK_EXT_separate_stencil_usage : constant := 1; -- vulkan_core.h:10403
VK_EXT_SEPARATE_STENCIL_USAGE_SPEC_VERSION : constant := 1; -- vulkan_core.h:10404
VK_EXT_SEPARATE_STENCIL_USAGE_EXTENSION_NAME : aliased constant String := "VK_EXT_separate_stencil_usage" & ASCII.NUL; -- vulkan_core.h:10405
VK_EXT_validation_features : constant := 1; -- vulkan_core.h:10410
VK_EXT_VALIDATION_FEATURES_SPEC_VERSION : constant := 2; -- vulkan_core.h:10411
VK_EXT_VALIDATION_FEATURES_EXTENSION_NAME : aliased constant String := "VK_EXT_validation_features" & ASCII.NUL; -- vulkan_core.h:10412
VK_NV_cooperative_matrix : constant := 1; -- vulkan_core.h:10448
VK_NV_COOPERATIVE_MATRIX_SPEC_VERSION : constant := 1; -- vulkan_core.h:10449
VK_NV_COOPERATIVE_MATRIX_EXTENSION_NAME : aliased constant String := "VK_NV_cooperative_matrix" & ASCII.NUL; -- vulkan_core.h:10450
VK_NV_coverage_reduction_mode : constant := 1; -- vulkan_core.h:10516
VK_NV_COVERAGE_REDUCTION_MODE_SPEC_VERSION : constant := 1; -- vulkan_core.h:10517
VK_NV_COVERAGE_REDUCTION_MODE_EXTENSION_NAME : aliased constant String := "VK_NV_coverage_reduction_mode" & ASCII.NUL; -- vulkan_core.h:10518
VK_EXT_fragment_shader_interlock : constant := 1; -- vulkan_core.h:10561
VK_EXT_FRAGMENT_SHADER_INTERLOCK_SPEC_VERSION : constant := 1; -- vulkan_core.h:10562
VK_EXT_FRAGMENT_SHADER_INTERLOCK_EXTENSION_NAME : aliased constant String := "VK_EXT_fragment_shader_interlock" & ASCII.NUL; -- vulkan_core.h:10563
VK_EXT_ycbcr_image_arrays : constant := 1; -- vulkan_core.h:10574
VK_EXT_YCBCR_IMAGE_ARRAYS_SPEC_VERSION : constant := 1; -- vulkan_core.h:10575
VK_EXT_YCBCR_IMAGE_ARRAYS_EXTENSION_NAME : aliased constant String := "VK_EXT_ycbcr_image_arrays" & ASCII.NUL; -- vulkan_core.h:10576
VK_EXT_headless_surface : constant := 1; -- vulkan_core.h:10585
VK_EXT_HEADLESS_SURFACE_SPEC_VERSION : constant := 1; -- vulkan_core.h:10586
VK_EXT_HEADLESS_SURFACE_EXTENSION_NAME : aliased constant String := "VK_EXT_headless_surface" & ASCII.NUL; -- vulkan_core.h:10587
VK_EXT_line_rasterization : constant := 1; -- vulkan_core.h:10606
VK_EXT_LINE_RASTERIZATION_SPEC_VERSION : constant := 1; -- vulkan_core.h:10607
VK_EXT_LINE_RASTERIZATION_EXTENSION_NAME : aliased constant String := "VK_EXT_line_rasterization" & ASCII.NUL; -- vulkan_core.h:10608
VK_EXT_host_query_reset : constant := 1; -- vulkan_core.h:10656
VK_EXT_HOST_QUERY_RESET_SPEC_VERSION : constant := 1; -- vulkan_core.h:10657
VK_EXT_HOST_QUERY_RESET_EXTENSION_NAME : aliased constant String := "VK_EXT_host_query_reset" & ASCII.NUL; -- vulkan_core.h:10658
VK_EXT_index_type_uint8 : constant := 1; -- vulkan_core.h:10672
VK_EXT_INDEX_TYPE_UINT8_SPEC_VERSION : constant := 1; -- vulkan_core.h:10673
VK_EXT_INDEX_TYPE_UINT8_EXTENSION_NAME : aliased constant String := "VK_EXT_index_type_uint8" & ASCII.NUL; -- vulkan_core.h:10674
VK_EXT_shader_demote_to_helper_invocation : constant := 1; -- vulkan_core.h:10683
VK_EXT_SHADER_DEMOTE_TO_HELPER_INVOCATION_SPEC_VERSION : constant := 1; -- vulkan_core.h:10684
VK_EXT_SHADER_DEMOTE_TO_HELPER_INVOCATION_EXTENSION_NAME : aliased constant String := "VK_EXT_shader_demote_to_helper_invocation" & ASCII.NUL; -- vulkan_core.h:10685
VK_EXT_texel_buffer_alignment : constant := 1; -- vulkan_core.h:10694
VK_EXT_TEXEL_BUFFER_ALIGNMENT_SPEC_VERSION : constant := 1; -- vulkan_core.h:10695
VK_EXT_TEXEL_BUFFER_ALIGNMENT_EXTENSION_NAME : aliased constant String := "VK_EXT_texel_buffer_alignment" & ASCII.NUL; -- vulkan_core.h:10696
VK_GOOGLE_user_type : constant := 1; -- vulkan_core.h:10714
VK_GOOGLE_USER_TYPE_SPEC_VERSION : constant := 1; -- vulkan_core.h:10715
VK_GOOGLE_USER_TYPE_EXTENSION_NAME : aliased constant String := "VK_GOOGLE_user_type" & ASCII.NUL; -- vulkan_core.h:10716
--** Copyright (c) 2015-2019 The Khronos Group Inc.
--**
--** Licensed under the Apache License, Version 2.0 (the "License");
--** you may not use this file except in compliance with the License.
--** You may obtain a copy of the License at
--**
--** http://www.apache.org/licenses/LICENSE-2.0
--**
--** Unless required by applicable law or agreed to in writing, software
--** distributed under the License is distributed on an "AS IS" BASIS,
--** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
--** See the License for the specific language governing permissions and
--** limitations under the License.
--
--** This header is generated from the Khronos Vulkan XML API Registry.
--**
--
-- DEPRECATED: This define has been removed. Specific version defines (e.g. VK_API_VERSION_1_0), or the VK_MAKE_VERSION macro, should be used instead.
--#define VK_API_VERSION VK_MAKE_VERSION(1, 0, 0) // Patch version should always be set to 0
-- Vulkan 1.0 version number
-- Version of this file
subtype VkFlags is Interfaces.C.unsigned_short; -- vulkan_core.h:64
subtype VkBool32 is Interfaces.C.unsigned_short; -- vulkan_core.h:65
subtype VkDeviceSize is Interfaces.C.unsigned_long; -- vulkan_core.h:66
subtype VkSampleMask is Interfaces.C.unsigned_short; -- vulkan_core.h:67
type VkInstance_T is null record; -- incomplete struct
type VkInstance is access all VkInstance_T; -- vulkan_core.h:68
type VkPhysicalDevice_T is null record; -- incomplete struct
type VkPhysicalDevice is access all VkPhysicalDevice_T; -- vulkan_core.h:69
type VkDevice_T is null record; -- incomplete struct
type VkDevice is access all VkDevice_T; -- vulkan_core.h:70
type VkQueue_T is null record; -- incomplete struct
type VkQueue is access all VkQueue_T; -- vulkan_core.h:71
type VkSemaphore_T is null record; -- incomplete struct
type VkSemaphore is access all VkSemaphore_T; -- vulkan_core.h:72
type VkCommandBuffer_T is null record; -- incomplete struct
type VkCommandBuffer is access all VkCommandBuffer_T; -- vulkan_core.h:73
type VkFence_T is null record; -- incomplete struct
type VkFence is access all VkFence_T; -- vulkan_core.h:74
type VkDeviceMemory_T is null record; -- incomplete struct
type VkDeviceMemory is access all VkDeviceMemory_T; -- vulkan_core.h:75
type VkBuffer_T is null record; -- incomplete struct
type VkBuffer is access all VkBuffer_T; -- vulkan_core.h:76
type VkImage_T is null record; -- incomplete struct
type VkImage is access all VkImage_T; -- vulkan_core.h:77
type VkEvent_T is null record; -- incomplete struct
type VkEvent is access all VkEvent_T; -- vulkan_core.h:78
type VkQueryPool_T is null record; -- incomplete struct
type VkQueryPool is access all VkQueryPool_T; -- vulkan_core.h:79
type VkBufferView_T is null record; -- incomplete struct
type VkBufferView is access all VkBufferView_T; -- vulkan_core.h:80
type VkImageView_T is null record; -- incomplete struct
type VkImageView is access all VkImageView_T; -- vulkan_core.h:81
type VkShaderModule_T is null record; -- incomplete struct
type VkShaderModule is access all VkShaderModule_T; -- vulkan_core.h:82
type VkPipelineCache_T is null record; -- incomplete struct
type VkPipelineCache is access all VkPipelineCache_T; -- vulkan_core.h:83
type VkPipelineLayout_T is null record; -- incomplete struct
type VkPipelineLayout is access all VkPipelineLayout_T; -- vulkan_core.h:84
type VkRenderPass_T is null record; -- incomplete struct
type VkRenderPass is access all VkRenderPass_T; -- vulkan_core.h:85
type VkPipeline_T is null record; -- incomplete struct
type VkPipeline is access all VkPipeline_T; -- vulkan_core.h:86
type VkDescriptorSetLayout_T is null record; -- incomplete struct
type VkDescriptorSetLayout is access all VkDescriptorSetLayout_T; -- vulkan_core.h:87
type VkSampler_T is null record; -- incomplete struct
type VkSampler is access all VkSampler_T; -- vulkan_core.h:88
type VkDescriptorPool_T is null record; -- incomplete struct
type VkDescriptorPool is access all VkDescriptorPool_T; -- vulkan_core.h:89
type VkDescriptorSet_T is null record; -- incomplete struct
type VkDescriptorSet is access all VkDescriptorSet_T; -- vulkan_core.h:90
type VkFramebuffer_T is null record; -- incomplete struct
type VkFramebuffer is access all VkFramebuffer_T; -- vulkan_core.h:91
type VkCommandPool_T is null record; -- incomplete struct
type VkCommandPool is access all VkCommandPool_T; -- vulkan_core.h:92
subtype VkPipelineCacheHeaderVersion is unsigned;
VK_PIPELINE_CACHE_HEADER_VERSION_ONE : constant unsigned := 1;
VK_PIPELINE_CACHE_HEADER_VERSION_BEGIN_RANGE : constant unsigned := 1;
VK_PIPELINE_CACHE_HEADER_VERSION_END_RANGE : constant unsigned := 1;
VK_PIPELINE_CACHE_HEADER_VERSION_RANGE_SIZE : constant unsigned := 1;
VK_PIPELINE_CACHE_HEADER_VERSION_MAX_ENUM : constant unsigned := 2147483647; -- vulkan_core.h:109
subtype VkResult is int;
VK_SUCCESS : constant int := 0;
VK_NOT_READY : constant int := 1;
VK_TIMEOUT : constant int := 2;
VK_EVENT_SET : constant int := 3;
VK_EVENT_RESET : constant int := 4;
VK_INCOMPLETE : constant int := 5;
VK_ERROR_OUT_OF_HOST_MEMORY : constant int := -1;
VK_ERROR_OUT_OF_DEVICE_MEMORY : constant int := -2;
VK_ERROR_INITIALIZATION_FAILED : constant int := -3;
VK_ERROR_DEVICE_LOST : constant int := -4;
VK_ERROR_MEMORY_MAP_FAILED : constant int := -5;
VK_ERROR_LAYER_NOT_PRESENT : constant int := -6;
VK_ERROR_EXTENSION_NOT_PRESENT : constant int := -7;
VK_ERROR_FEATURE_NOT_PRESENT : constant int := -8;
VK_ERROR_INCOMPATIBLE_DRIVER : constant int := -9;
VK_ERROR_TOO_MANY_OBJECTS : constant int := -10;
VK_ERROR_FORMAT_NOT_SUPPORTED : constant int := -11;
VK_ERROR_FRAGMENTED_POOL : constant int := -12;
VK_ERROR_UNKNOWN : constant int := -13;
VK_ERROR_OUT_OF_POOL_MEMORY : constant int := -1000069000;
VK_ERROR_INVALID_EXTERNAL_HANDLE : constant int := -1000072003;
VK_ERROR_FRAGMENTATION : constant int := -1000161000;
VK_ERROR_INVALID_OPAQUE_CAPTURE_ADDRESS : constant int := -1000257000;
VK_ERROR_SURFACE_LOST_KHR : constant int := -1000000000;
VK_ERROR_NATIVE_WINDOW_IN_USE_KHR : constant int := -1000000001;
VK_SUBOPTIMAL_KHR : constant int := 1000001003;
VK_ERROR_OUT_OF_DATE_KHR : constant int := -1000001004;
VK_ERROR_INCOMPATIBLE_DISPLAY_KHR : constant int := -1000003001;
VK_ERROR_VALIDATION_FAILED_EXT : constant int := -1000011001;
VK_ERROR_INVALID_SHADER_NV : constant int := -1000012000;
VK_ERROR_INVALID_DRM_FORMAT_MODIFIER_PLANE_LAYOUT_EXT : constant int := -1000158000;
VK_ERROR_NOT_PERMITTED_EXT : constant int := -1000174001;
VK_ERROR_FULL_SCREEN_EXCLUSIVE_MODE_LOST_EXT : constant int := -1000255000;
VK_ERROR_OUT_OF_POOL_MEMORY_KHR : constant int := -1000069000;
VK_ERROR_INVALID_EXTERNAL_HANDLE_KHR : constant int := -1000072003;
VK_ERROR_FRAGMENTATION_EXT : constant int := -1000161000;
VK_ERROR_INVALID_DEVICE_ADDRESS_EXT : constant int := -1000257000;
VK_ERROR_INVALID_OPAQUE_CAPTURE_ADDRESS_KHR : constant int := -1000257000;
VK_RESULT_BEGIN_RANGE : constant int := -13;
VK_RESULT_END_RANGE : constant int := 5;
VK_RESULT_RANGE_SIZE : constant int := 19;
VK_RESULT_MAX_ENUM : constant int := 2147483647; -- vulkan_core.h:117
subtype VkStructureType is unsigned;
VK_STRUCTURE_TYPE_APPLICATION_INFO : constant unsigned := 0;
VK_STRUCTURE_TYPE_INSTANCE_CREATE_INFO : constant unsigned := 1;
VK_STRUCTURE_TYPE_DEVICE_QUEUE_CREATE_INFO : constant unsigned := 2;
VK_STRUCTURE_TYPE_DEVICE_CREATE_INFO : constant unsigned := 3;
VK_STRUCTURE_TYPE_SUBMIT_INFO : constant unsigned := 4;
VK_STRUCTURE_TYPE_MEMORY_ALLOCATE_INFO : constant unsigned := 5;
VK_STRUCTURE_TYPE_MAPPED_MEMORY_RANGE : constant unsigned := 6;
VK_STRUCTURE_TYPE_BIND_SPARSE_INFO : constant unsigned := 7;
VK_STRUCTURE_TYPE_FENCE_CREATE_INFO : constant unsigned := 8;
VK_STRUCTURE_TYPE_SEMAPHORE_CREATE_INFO : constant unsigned := 9;
VK_STRUCTURE_TYPE_EVENT_CREATE_INFO : constant unsigned := 10;
VK_STRUCTURE_TYPE_QUERY_POOL_CREATE_INFO : constant unsigned := 11;
VK_STRUCTURE_TYPE_BUFFER_CREATE_INFO : constant unsigned := 12;
VK_STRUCTURE_TYPE_BUFFER_VIEW_CREATE_INFO : constant unsigned := 13;
VK_STRUCTURE_TYPE_IMAGE_CREATE_INFO : constant unsigned := 14;
VK_STRUCTURE_TYPE_IMAGE_VIEW_CREATE_INFO : constant unsigned := 15;
VK_STRUCTURE_TYPE_SHADER_MODULE_CREATE_INFO : constant unsigned := 16;
VK_STRUCTURE_TYPE_PIPELINE_CACHE_CREATE_INFO : constant unsigned := 17;
VK_STRUCTURE_TYPE_PIPELINE_SHADER_STAGE_CREATE_INFO : constant unsigned := 18;
VK_STRUCTURE_TYPE_PIPELINE_VERTEX_INPUT_STATE_CREATE_INFO : constant unsigned := 19;
VK_STRUCTURE_TYPE_PIPELINE_INPUT_ASSEMBLY_STATE_CREATE_INFO : constant unsigned := 20;
VK_STRUCTURE_TYPE_PIPELINE_TESSELLATION_STATE_CREATE_INFO : constant unsigned := 21;
VK_STRUCTURE_TYPE_PIPELINE_VIEWPORT_STATE_CREATE_INFO : constant unsigned := 22;
VK_STRUCTURE_TYPE_PIPELINE_RASTERIZATION_STATE_CREATE_INFO : constant unsigned := 23;
VK_STRUCTURE_TYPE_PIPELINE_MULTISAMPLE_STATE_CREATE_INFO : constant unsigned := 24;
VK_STRUCTURE_TYPE_PIPELINE_DEPTH_STENCIL_STATE_CREATE_INFO : constant unsigned := 25;
VK_STRUCTURE_TYPE_PIPELINE_COLOR_BLEND_STATE_CREATE_INFO : constant unsigned := 26;
VK_STRUCTURE_TYPE_PIPELINE_DYNAMIC_STATE_CREATE_INFO : constant unsigned := 27;
VK_STRUCTURE_TYPE_GRAPHICS_PIPELINE_CREATE_INFO : constant unsigned := 28;
VK_STRUCTURE_TYPE_COMPUTE_PIPELINE_CREATE_INFO : constant unsigned := 29;
VK_STRUCTURE_TYPE_PIPELINE_LAYOUT_CREATE_INFO : constant unsigned := 30;
VK_STRUCTURE_TYPE_SAMPLER_CREATE_INFO : constant unsigned := 31;
VK_STRUCTURE_TYPE_DESCRIPTOR_SET_LAYOUT_CREATE_INFO : constant unsigned := 32;
VK_STRUCTURE_TYPE_DESCRIPTOR_POOL_CREATE_INFO : constant unsigned := 33;
VK_STRUCTURE_TYPE_DESCRIPTOR_SET_ALLOCATE_INFO : constant unsigned := 34;
VK_STRUCTURE_TYPE_WRITE_DESCRIPTOR_SET : constant unsigned := 35;
VK_STRUCTURE_TYPE_COPY_DESCRIPTOR_SET : constant unsigned := 36;
VK_STRUCTURE_TYPE_FRAMEBUFFER_CREATE_INFO : constant unsigned := 37;
VK_STRUCTURE_TYPE_RENDER_PASS_CREATE_INFO : constant unsigned := 38;
VK_STRUCTURE_TYPE_COMMAND_POOL_CREATE_INFO : constant unsigned := 39;
VK_STRUCTURE_TYPE_COMMAND_BUFFER_ALLOCATE_INFO : constant unsigned := 40;
VK_STRUCTURE_TYPE_COMMAND_BUFFER_INHERITANCE_INFO : constant unsigned := 41;
VK_STRUCTURE_TYPE_COMMAND_BUFFER_BEGIN_INFO : constant unsigned := 42;
VK_STRUCTURE_TYPE_RENDER_PASS_BEGIN_INFO : constant unsigned := 43;
VK_STRUCTURE_TYPE_BUFFER_MEMORY_BARRIER : constant unsigned := 44;
VK_STRUCTURE_TYPE_IMAGE_MEMORY_BARRIER : constant unsigned := 45;
VK_STRUCTURE_TYPE_MEMORY_BARRIER : constant unsigned := 46;
VK_STRUCTURE_TYPE_LOADER_INSTANCE_CREATE_INFO : constant unsigned := 47;
VK_STRUCTURE_TYPE_LOADER_DEVICE_CREATE_INFO : constant unsigned := 48;
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SUBGROUP_PROPERTIES : constant unsigned := 1000094000;
VK_STRUCTURE_TYPE_BIND_BUFFER_MEMORY_INFO : constant unsigned := 1000157000;
VK_STRUCTURE_TYPE_BIND_IMAGE_MEMORY_INFO : constant unsigned := 1000157001;
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_16BIT_STORAGE_FEATURES : constant unsigned := 1000083000;
VK_STRUCTURE_TYPE_MEMORY_DEDICATED_REQUIREMENTS : constant unsigned := 1000127000;
VK_STRUCTURE_TYPE_MEMORY_DEDICATED_ALLOCATE_INFO : constant unsigned := 1000127001;
VK_STRUCTURE_TYPE_MEMORY_ALLOCATE_FLAGS_INFO : constant unsigned := 1000060000;
VK_STRUCTURE_TYPE_DEVICE_GROUP_RENDER_PASS_BEGIN_INFO : constant unsigned := 1000060003;
VK_STRUCTURE_TYPE_DEVICE_GROUP_COMMAND_BUFFER_BEGIN_INFO : constant unsigned := 1000060004;
VK_STRUCTURE_TYPE_DEVICE_GROUP_SUBMIT_INFO : constant unsigned := 1000060005;
VK_STRUCTURE_TYPE_DEVICE_GROUP_BIND_SPARSE_INFO : constant unsigned := 1000060006;
VK_STRUCTURE_TYPE_BIND_BUFFER_MEMORY_DEVICE_GROUP_INFO : constant unsigned := 1000060013;
VK_STRUCTURE_TYPE_BIND_IMAGE_MEMORY_DEVICE_GROUP_INFO : constant unsigned := 1000060014;
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_GROUP_PROPERTIES : constant unsigned := 1000070000;
VK_STRUCTURE_TYPE_DEVICE_GROUP_DEVICE_CREATE_INFO : constant unsigned := 1000070001;
VK_STRUCTURE_TYPE_BUFFER_MEMORY_REQUIREMENTS_INFO_2 : constant unsigned := 1000146000;
VK_STRUCTURE_TYPE_IMAGE_MEMORY_REQUIREMENTS_INFO_2 : constant unsigned := 1000146001;
VK_STRUCTURE_TYPE_IMAGE_SPARSE_MEMORY_REQUIREMENTS_INFO_2 : constant unsigned := 1000146002;
VK_STRUCTURE_TYPE_MEMORY_REQUIREMENTS_2 : constant unsigned := 1000146003;
VK_STRUCTURE_TYPE_SPARSE_IMAGE_MEMORY_REQUIREMENTS_2 : constant unsigned := 1000146004;
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FEATURES_2 : constant unsigned := 1000059000;
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PROPERTIES_2 : constant unsigned := 1000059001;
VK_STRUCTURE_TYPE_FORMAT_PROPERTIES_2 : constant unsigned := 1000059002;
VK_STRUCTURE_TYPE_IMAGE_FORMAT_PROPERTIES_2 : constant unsigned := 1000059003;
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGE_FORMAT_INFO_2 : constant unsigned := 1000059004;
VK_STRUCTURE_TYPE_QUEUE_FAMILY_PROPERTIES_2 : constant unsigned := 1000059005;
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MEMORY_PROPERTIES_2 : constant unsigned := 1000059006;
VK_STRUCTURE_TYPE_SPARSE_IMAGE_FORMAT_PROPERTIES_2 : constant unsigned := 1000059007;
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SPARSE_IMAGE_FORMAT_INFO_2 : constant unsigned := 1000059008;
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_POINT_CLIPPING_PROPERTIES : constant unsigned := 1000117000;
VK_STRUCTURE_TYPE_RENDER_PASS_INPUT_ATTACHMENT_ASPECT_CREATE_INFO : constant unsigned := 1000117001;
VK_STRUCTURE_TYPE_IMAGE_VIEW_USAGE_CREATE_INFO : constant unsigned := 1000117002;
VK_STRUCTURE_TYPE_PIPELINE_TESSELLATION_DOMAIN_ORIGIN_STATE_CREATE_INFO : constant unsigned := 1000117003;
VK_STRUCTURE_TYPE_RENDER_PASS_MULTIVIEW_CREATE_INFO : constant unsigned := 1000053000;
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MULTIVIEW_FEATURES : constant unsigned := 1000053001;
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MULTIVIEW_PROPERTIES : constant unsigned := 1000053002;
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VARIABLE_POINTERS_FEATURES : constant unsigned := 1000120000;
VK_STRUCTURE_TYPE_PROTECTED_SUBMIT_INFO : constant unsigned := 1000145000;
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PROTECTED_MEMORY_FEATURES : constant unsigned := 1000145001;
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PROTECTED_MEMORY_PROPERTIES : constant unsigned := 1000145002;
VK_STRUCTURE_TYPE_DEVICE_QUEUE_INFO_2 : constant unsigned := 1000145003;
VK_STRUCTURE_TYPE_SAMPLER_YCBCR_CONVERSION_CREATE_INFO : constant unsigned := 1000156000;
VK_STRUCTURE_TYPE_SAMPLER_YCBCR_CONVERSION_INFO : constant unsigned := 1000156001;
VK_STRUCTURE_TYPE_BIND_IMAGE_PLANE_MEMORY_INFO : constant unsigned := 1000156002;
VK_STRUCTURE_TYPE_IMAGE_PLANE_MEMORY_REQUIREMENTS_INFO : constant unsigned := 1000156003;
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SAMPLER_YCBCR_CONVERSION_FEATURES : constant unsigned := 1000156004;
VK_STRUCTURE_TYPE_SAMPLER_YCBCR_CONVERSION_IMAGE_FORMAT_PROPERTIES : constant unsigned := 1000156005;
VK_STRUCTURE_TYPE_DESCRIPTOR_UPDATE_TEMPLATE_CREATE_INFO : constant unsigned := 1000085000;
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTERNAL_IMAGE_FORMAT_INFO : constant unsigned := 1000071000;
VK_STRUCTURE_TYPE_EXTERNAL_IMAGE_FORMAT_PROPERTIES : constant unsigned := 1000071001;
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTERNAL_BUFFER_INFO : constant unsigned := 1000071002;
VK_STRUCTURE_TYPE_EXTERNAL_BUFFER_PROPERTIES : constant unsigned := 1000071003;
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_ID_PROPERTIES : constant unsigned := 1000071004;
VK_STRUCTURE_TYPE_EXTERNAL_MEMORY_BUFFER_CREATE_INFO : constant unsigned := 1000072000;
VK_STRUCTURE_TYPE_EXTERNAL_MEMORY_IMAGE_CREATE_INFO : constant unsigned := 1000072001;
VK_STRUCTURE_TYPE_EXPORT_MEMORY_ALLOCATE_INFO : constant unsigned := 1000072002;
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTERNAL_FENCE_INFO : constant unsigned := 1000112000;
VK_STRUCTURE_TYPE_EXTERNAL_FENCE_PROPERTIES : constant unsigned := 1000112001;
VK_STRUCTURE_TYPE_EXPORT_FENCE_CREATE_INFO : constant unsigned := 1000113000;
VK_STRUCTURE_TYPE_EXPORT_SEMAPHORE_CREATE_INFO : constant unsigned := 1000077000;
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTERNAL_SEMAPHORE_INFO : constant unsigned := 1000076000;
VK_STRUCTURE_TYPE_EXTERNAL_SEMAPHORE_PROPERTIES : constant unsigned := 1000076001;
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MAINTENANCE_3_PROPERTIES : constant unsigned := 1000168000;
VK_STRUCTURE_TYPE_DESCRIPTOR_SET_LAYOUT_SUPPORT : constant unsigned := 1000168001;
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_DRAW_PARAMETERS_FEATURES : constant unsigned := 1000063000;
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VULKAN_1_1_FEATURES : constant unsigned := 49;
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VULKAN_1_1_PROPERTIES : constant unsigned := 50;
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VULKAN_1_2_FEATURES : constant unsigned := 51;
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VULKAN_1_2_PROPERTIES : constant unsigned := 52;
VK_STRUCTURE_TYPE_IMAGE_FORMAT_LIST_CREATE_INFO : constant unsigned := 1000147000;
VK_STRUCTURE_TYPE_ATTACHMENT_DESCRIPTION_2 : constant unsigned := 1000109000;
VK_STRUCTURE_TYPE_ATTACHMENT_REFERENCE_2 : constant unsigned := 1000109001;
VK_STRUCTURE_TYPE_SUBPASS_DESCRIPTION_2 : constant unsigned := 1000109002;
VK_STRUCTURE_TYPE_SUBPASS_DEPENDENCY_2 : constant unsigned := 1000109003;
VK_STRUCTURE_TYPE_RENDER_PASS_CREATE_INFO_2 : constant unsigned := 1000109004;
VK_STRUCTURE_TYPE_SUBPASS_BEGIN_INFO : constant unsigned := 1000109005;
VK_STRUCTURE_TYPE_SUBPASS_END_INFO : constant unsigned := 1000109006;
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_8BIT_STORAGE_FEATURES : constant unsigned := 1000177000;
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DRIVER_PROPERTIES : constant unsigned := 1000196000;
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_ATOMIC_INT64_FEATURES : constant unsigned := 1000180000;
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_FLOAT16_INT8_FEATURES : constant unsigned := 1000082000;
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FLOAT_CONTROLS_PROPERTIES : constant unsigned := 1000197000;
VK_STRUCTURE_TYPE_DESCRIPTOR_SET_LAYOUT_BINDING_FLAGS_CREATE_INFO : constant unsigned := 1000161000;
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DESCRIPTOR_INDEXING_FEATURES : constant unsigned := 1000161001;
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DESCRIPTOR_INDEXING_PROPERTIES : constant unsigned := 1000161002;
VK_STRUCTURE_TYPE_DESCRIPTOR_SET_VARIABLE_DESCRIPTOR_COUNT_ALLOCATE_INFO : constant unsigned := 1000161003;
VK_STRUCTURE_TYPE_DESCRIPTOR_SET_VARIABLE_DESCRIPTOR_COUNT_LAYOUT_SUPPORT : constant unsigned := 1000161004;
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DEPTH_STENCIL_RESOLVE_PROPERTIES : constant unsigned := 1000199000;
VK_STRUCTURE_TYPE_SUBPASS_DESCRIPTION_DEPTH_STENCIL_RESOLVE : constant unsigned := 1000199001;
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SCALAR_BLOCK_LAYOUT_FEATURES : constant unsigned := 1000221000;
VK_STRUCTURE_TYPE_IMAGE_STENCIL_USAGE_CREATE_INFO : constant unsigned := 1000246000;
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SAMPLER_FILTER_MINMAX_PROPERTIES : constant unsigned := 1000130000;
VK_STRUCTURE_TYPE_SAMPLER_REDUCTION_MODE_CREATE_INFO : constant unsigned := 1000130001;
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VULKAN_MEMORY_MODEL_FEATURES : constant unsigned := 1000211000;
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGELESS_FRAMEBUFFER_FEATURES : constant unsigned := 1000108000;
VK_STRUCTURE_TYPE_FRAMEBUFFER_ATTACHMENTS_CREATE_INFO : constant unsigned := 1000108001;
VK_STRUCTURE_TYPE_FRAMEBUFFER_ATTACHMENT_IMAGE_INFO : constant unsigned := 1000108002;
VK_STRUCTURE_TYPE_RENDER_PASS_ATTACHMENT_BEGIN_INFO : constant unsigned := 1000108003;
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_UNIFORM_BUFFER_STANDARD_LAYOUT_FEATURES : constant unsigned := 1000253000;
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_SUBGROUP_EXTENDED_TYPES_FEATURES : constant unsigned := 1000175000;
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SEPARATE_DEPTH_STENCIL_LAYOUTS_FEATURES : constant unsigned := 1000241000;
VK_STRUCTURE_TYPE_ATTACHMENT_REFERENCE_STENCIL_LAYOUT : constant unsigned := 1000241001;
VK_STRUCTURE_TYPE_ATTACHMENT_DESCRIPTION_STENCIL_LAYOUT : constant unsigned := 1000241002;
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_HOST_QUERY_RESET_FEATURES : constant unsigned := 1000261000;
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_TIMELINE_SEMAPHORE_FEATURES : constant unsigned := 1000207000;
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_TIMELINE_SEMAPHORE_PROPERTIES : constant unsigned := 1000207001;
VK_STRUCTURE_TYPE_SEMAPHORE_TYPE_CREATE_INFO : constant unsigned := 1000207002;
VK_STRUCTURE_TYPE_TIMELINE_SEMAPHORE_SUBMIT_INFO : constant unsigned := 1000207003;
VK_STRUCTURE_TYPE_SEMAPHORE_WAIT_INFO : constant unsigned := 1000207004;
VK_STRUCTURE_TYPE_SEMAPHORE_SIGNAL_INFO : constant unsigned := 1000207005;
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_BUFFER_DEVICE_ADDRESS_FEATURES : constant unsigned := 1000257000;
VK_STRUCTURE_TYPE_BUFFER_DEVICE_ADDRESS_INFO : constant unsigned := 1000244001;
VK_STRUCTURE_TYPE_BUFFER_OPAQUE_CAPTURE_ADDRESS_CREATE_INFO : constant unsigned := 1000257002;
VK_STRUCTURE_TYPE_MEMORY_OPAQUE_CAPTURE_ADDRESS_ALLOCATE_INFO : constant unsigned := 1000257003;
VK_STRUCTURE_TYPE_DEVICE_MEMORY_OPAQUE_CAPTURE_ADDRESS_INFO : constant unsigned := 1000257004;
VK_STRUCTURE_TYPE_SWAPCHAIN_CREATE_INFO_KHR : constant unsigned := 1000001000;
VK_STRUCTURE_TYPE_PRESENT_INFO_KHR : constant unsigned := 1000001001;
VK_STRUCTURE_TYPE_DEVICE_GROUP_PRESENT_CAPABILITIES_KHR : constant unsigned := 1000060007;
VK_STRUCTURE_TYPE_IMAGE_SWAPCHAIN_CREATE_INFO_KHR : constant unsigned := 1000060008;
VK_STRUCTURE_TYPE_BIND_IMAGE_MEMORY_SWAPCHAIN_INFO_KHR : constant unsigned := 1000060009;
VK_STRUCTURE_TYPE_ACQUIRE_NEXT_IMAGE_INFO_KHR : constant unsigned := 1000060010;
VK_STRUCTURE_TYPE_DEVICE_GROUP_PRESENT_INFO_KHR : constant unsigned := 1000060011;
VK_STRUCTURE_TYPE_DEVICE_GROUP_SWAPCHAIN_CREATE_INFO_KHR : constant unsigned := 1000060012;
VK_STRUCTURE_TYPE_DISPLAY_MODE_CREATE_INFO_KHR : constant unsigned := 1000002000;
VK_STRUCTURE_TYPE_DISPLAY_SURFACE_CREATE_INFO_KHR : constant unsigned := 1000002001;
VK_STRUCTURE_TYPE_DISPLAY_PRESENT_INFO_KHR : constant unsigned := 1000003000;
VK_STRUCTURE_TYPE_XLIB_SURFACE_CREATE_INFO_KHR : constant unsigned := 1000004000;
VK_STRUCTURE_TYPE_XCB_SURFACE_CREATE_INFO_KHR : constant unsigned := 1000005000;
VK_STRUCTURE_TYPE_WAYLAND_SURFACE_CREATE_INFO_KHR : constant unsigned := 1000006000;
VK_STRUCTURE_TYPE_ANDROID_SURFACE_CREATE_INFO_KHR : constant unsigned := 1000008000;
VK_STRUCTURE_TYPE_WIN32_SURFACE_CREATE_INFO_KHR : constant unsigned := 1000009000;
VK_STRUCTURE_TYPE_DEBUG_REPORT_CALLBACK_CREATE_INFO_EXT : constant unsigned := 1000011000;
VK_STRUCTURE_TYPE_PIPELINE_RASTERIZATION_STATE_RASTERIZATION_ORDER_AMD : constant unsigned := 1000018000;
VK_STRUCTURE_TYPE_DEBUG_MARKER_OBJECT_NAME_INFO_EXT : constant unsigned := 1000022000;
VK_STRUCTURE_TYPE_DEBUG_MARKER_OBJECT_TAG_INFO_EXT : constant unsigned := 1000022001;
VK_STRUCTURE_TYPE_DEBUG_MARKER_MARKER_INFO_EXT : constant unsigned := 1000022002;
VK_STRUCTURE_TYPE_DEDICATED_ALLOCATION_IMAGE_CREATE_INFO_NV : constant unsigned := 1000026000;
VK_STRUCTURE_TYPE_DEDICATED_ALLOCATION_BUFFER_CREATE_INFO_NV : constant unsigned := 1000026001;
VK_STRUCTURE_TYPE_DEDICATED_ALLOCATION_MEMORY_ALLOCATE_INFO_NV : constant unsigned := 1000026002;
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_TRANSFORM_FEEDBACK_FEATURES_EXT : constant unsigned := 1000028000;
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_TRANSFORM_FEEDBACK_PROPERTIES_EXT : constant unsigned := 1000028001;
VK_STRUCTURE_TYPE_PIPELINE_RASTERIZATION_STATE_STREAM_CREATE_INFO_EXT : constant unsigned := 1000028002;
VK_STRUCTURE_TYPE_IMAGE_VIEW_HANDLE_INFO_NVX : constant unsigned := 1000030000;
VK_STRUCTURE_TYPE_TEXTURE_LOD_GATHER_FORMAT_PROPERTIES_AMD : constant unsigned := 1000041000;
VK_STRUCTURE_TYPE_STREAM_DESCRIPTOR_SURFACE_CREATE_INFO_GGP : constant unsigned := 1000049000;
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_CORNER_SAMPLED_IMAGE_FEATURES_NV : constant unsigned := 1000050000;
VK_STRUCTURE_TYPE_EXTERNAL_MEMORY_IMAGE_CREATE_INFO_NV : constant unsigned := 1000056000;
VK_STRUCTURE_TYPE_EXPORT_MEMORY_ALLOCATE_INFO_NV : constant unsigned := 1000056001;
VK_STRUCTURE_TYPE_IMPORT_MEMORY_WIN32_HANDLE_INFO_NV : constant unsigned := 1000057000;
VK_STRUCTURE_TYPE_EXPORT_MEMORY_WIN32_HANDLE_INFO_NV : constant unsigned := 1000057001;
VK_STRUCTURE_TYPE_WIN32_KEYED_MUTEX_ACQUIRE_RELEASE_INFO_NV : constant unsigned := 1000058000;
VK_STRUCTURE_TYPE_VALIDATION_FLAGS_EXT : constant unsigned := 1000061000;
VK_STRUCTURE_TYPE_VI_SURFACE_CREATE_INFO_NN : constant unsigned := 1000062000;
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_TEXTURE_COMPRESSION_ASTC_HDR_FEATURES_EXT : constant unsigned := 1000066000;
VK_STRUCTURE_TYPE_IMAGE_VIEW_ASTC_DECODE_MODE_EXT : constant unsigned := 1000067000;
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_ASTC_DECODE_FEATURES_EXT : constant unsigned := 1000067001;
VK_STRUCTURE_TYPE_IMPORT_MEMORY_WIN32_HANDLE_INFO_KHR : constant unsigned := 1000073000;
VK_STRUCTURE_TYPE_EXPORT_MEMORY_WIN32_HANDLE_INFO_KHR : constant unsigned := 1000073001;
VK_STRUCTURE_TYPE_MEMORY_WIN32_HANDLE_PROPERTIES_KHR : constant unsigned := 1000073002;
VK_STRUCTURE_TYPE_MEMORY_GET_WIN32_HANDLE_INFO_KHR : constant unsigned := 1000073003;
VK_STRUCTURE_TYPE_IMPORT_MEMORY_FD_INFO_KHR : constant unsigned := 1000074000;
VK_STRUCTURE_TYPE_MEMORY_FD_PROPERTIES_KHR : constant unsigned := 1000074001;
VK_STRUCTURE_TYPE_MEMORY_GET_FD_INFO_KHR : constant unsigned := 1000074002;
VK_STRUCTURE_TYPE_WIN32_KEYED_MUTEX_ACQUIRE_RELEASE_INFO_KHR : constant unsigned := 1000075000;
VK_STRUCTURE_TYPE_IMPORT_SEMAPHORE_WIN32_HANDLE_INFO_KHR : constant unsigned := 1000078000;
VK_STRUCTURE_TYPE_EXPORT_SEMAPHORE_WIN32_HANDLE_INFO_KHR : constant unsigned := 1000078001;
VK_STRUCTURE_TYPE_D3D12_FENCE_SUBMIT_INFO_KHR : constant unsigned := 1000078002;
VK_STRUCTURE_TYPE_SEMAPHORE_GET_WIN32_HANDLE_INFO_KHR : constant unsigned := 1000078003;
VK_STRUCTURE_TYPE_IMPORT_SEMAPHORE_FD_INFO_KHR : constant unsigned := 1000079000;
VK_STRUCTURE_TYPE_SEMAPHORE_GET_FD_INFO_KHR : constant unsigned := 1000079001;
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PUSH_DESCRIPTOR_PROPERTIES_KHR : constant unsigned := 1000080000;
VK_STRUCTURE_TYPE_COMMAND_BUFFER_INHERITANCE_CONDITIONAL_RENDERING_INFO_EXT : constant unsigned := 1000081000;
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_CONDITIONAL_RENDERING_FEATURES_EXT : constant unsigned := 1000081001;
VK_STRUCTURE_TYPE_CONDITIONAL_RENDERING_BEGIN_INFO_EXT : constant unsigned := 1000081002;
VK_STRUCTURE_TYPE_PRESENT_REGIONS_KHR : constant unsigned := 1000084000;
VK_STRUCTURE_TYPE_OBJECT_TABLE_CREATE_INFO_NVX : constant unsigned := 1000086000;
VK_STRUCTURE_TYPE_INDIRECT_COMMANDS_LAYOUT_CREATE_INFO_NVX : constant unsigned := 1000086001;
VK_STRUCTURE_TYPE_CMD_PROCESS_COMMANDS_INFO_NVX : constant unsigned := 1000086002;
VK_STRUCTURE_TYPE_CMD_RESERVE_SPACE_FOR_COMMANDS_INFO_NVX : constant unsigned := 1000086003;
VK_STRUCTURE_TYPE_DEVICE_GENERATED_COMMANDS_LIMITS_NVX : constant unsigned := 1000086004;
VK_STRUCTURE_TYPE_DEVICE_GENERATED_COMMANDS_FEATURES_NVX : constant unsigned := 1000086005;
VK_STRUCTURE_TYPE_PIPELINE_VIEWPORT_W_SCALING_STATE_CREATE_INFO_NV : constant unsigned := 1000087000;
VK_STRUCTURE_TYPE_SURFACE_CAPABILITIES_2_EXT : constant unsigned := 1000090000;
VK_STRUCTURE_TYPE_DISPLAY_POWER_INFO_EXT : constant unsigned := 1000091000;
VK_STRUCTURE_TYPE_DEVICE_EVENT_INFO_EXT : constant unsigned := 1000091001;
VK_STRUCTURE_TYPE_DISPLAY_EVENT_INFO_EXT : constant unsigned := 1000091002;
VK_STRUCTURE_TYPE_SWAPCHAIN_COUNTER_CREATE_INFO_EXT : constant unsigned := 1000091003;
VK_STRUCTURE_TYPE_PRESENT_TIMES_INFO_GOOGLE : constant unsigned := 1000092000;
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MULTIVIEW_PER_VIEW_ATTRIBUTES_PROPERTIES_NVX : constant unsigned := 1000097000;
VK_STRUCTURE_TYPE_PIPELINE_VIEWPORT_SWIZZLE_STATE_CREATE_INFO_NV : constant unsigned := 1000098000;
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DISCARD_RECTANGLE_PROPERTIES_EXT : constant unsigned := 1000099000;
VK_STRUCTURE_TYPE_PIPELINE_DISCARD_RECTANGLE_STATE_CREATE_INFO_EXT : constant unsigned := 1000099001;
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_CONSERVATIVE_RASTERIZATION_PROPERTIES_EXT : constant unsigned := 1000101000;
VK_STRUCTURE_TYPE_PIPELINE_RASTERIZATION_CONSERVATIVE_STATE_CREATE_INFO_EXT : constant unsigned := 1000101001;
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DEPTH_CLIP_ENABLE_FEATURES_EXT : constant unsigned := 1000102000;
VK_STRUCTURE_TYPE_PIPELINE_RASTERIZATION_DEPTH_CLIP_STATE_CREATE_INFO_EXT : constant unsigned := 1000102001;
VK_STRUCTURE_TYPE_HDR_METADATA_EXT : constant unsigned := 1000105000;
VK_STRUCTURE_TYPE_SHARED_PRESENT_SURFACE_CAPABILITIES_KHR : constant unsigned := 1000111000;
VK_STRUCTURE_TYPE_IMPORT_FENCE_WIN32_HANDLE_INFO_KHR : constant unsigned := 1000114000;
VK_STRUCTURE_TYPE_EXPORT_FENCE_WIN32_HANDLE_INFO_KHR : constant unsigned := 1000114001;
VK_STRUCTURE_TYPE_FENCE_GET_WIN32_HANDLE_INFO_KHR : constant unsigned := 1000114002;
VK_STRUCTURE_TYPE_IMPORT_FENCE_FD_INFO_KHR : constant unsigned := 1000115000;
VK_STRUCTURE_TYPE_FENCE_GET_FD_INFO_KHR : constant unsigned := 1000115001;
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PERFORMANCE_QUERY_FEATURES_KHR : constant unsigned := 1000116000;
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PERFORMANCE_QUERY_PROPERTIES_KHR : constant unsigned := 1000116001;
VK_STRUCTURE_TYPE_QUERY_POOL_PERFORMANCE_CREATE_INFO_KHR : constant unsigned := 1000116002;
VK_STRUCTURE_TYPE_PERFORMANCE_QUERY_SUBMIT_INFO_KHR : constant unsigned := 1000116003;
VK_STRUCTURE_TYPE_ACQUIRE_PROFILING_LOCK_INFO_KHR : constant unsigned := 1000116004;
VK_STRUCTURE_TYPE_PERFORMANCE_COUNTER_KHR : constant unsigned := 1000116005;
VK_STRUCTURE_TYPE_PERFORMANCE_COUNTER_DESCRIPTION_KHR : constant unsigned := 1000116006;
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SURFACE_INFO_2_KHR : constant unsigned := 1000119000;
VK_STRUCTURE_TYPE_SURFACE_CAPABILITIES_2_KHR : constant unsigned := 1000119001;
VK_STRUCTURE_TYPE_SURFACE_FORMAT_2_KHR : constant unsigned := 1000119002;
VK_STRUCTURE_TYPE_DISPLAY_PROPERTIES_2_KHR : constant unsigned := 1000121000;
VK_STRUCTURE_TYPE_DISPLAY_PLANE_PROPERTIES_2_KHR : constant unsigned := 1000121001;
VK_STRUCTURE_TYPE_DISPLAY_MODE_PROPERTIES_2_KHR : constant unsigned := 1000121002;
VK_STRUCTURE_TYPE_DISPLAY_PLANE_INFO_2_KHR : constant unsigned := 1000121003;
VK_STRUCTURE_TYPE_DISPLAY_PLANE_CAPABILITIES_2_KHR : constant unsigned := 1000121004;
VK_STRUCTURE_TYPE_IOS_SURFACE_CREATE_INFO_MVK : constant unsigned := 1000122000;
VK_STRUCTURE_TYPE_MACOS_SURFACE_CREATE_INFO_MVK : constant unsigned := 1000123000;
VK_STRUCTURE_TYPE_DEBUG_UTILS_OBJECT_NAME_INFO_EXT : constant unsigned := 1000128000;
VK_STRUCTURE_TYPE_DEBUG_UTILS_OBJECT_TAG_INFO_EXT : constant unsigned := 1000128001;
VK_STRUCTURE_TYPE_DEBUG_UTILS_LABEL_EXT : constant unsigned := 1000128002;
VK_STRUCTURE_TYPE_DEBUG_UTILS_MESSENGER_CALLBACK_DATA_EXT : constant unsigned := 1000128003;
VK_STRUCTURE_TYPE_DEBUG_UTILS_MESSENGER_CREATE_INFO_EXT : constant unsigned := 1000128004;
VK_STRUCTURE_TYPE_ANDROID_HARDWARE_BUFFER_USAGE_ANDROID : constant unsigned := 1000129000;
VK_STRUCTURE_TYPE_ANDROID_HARDWARE_BUFFER_PROPERTIES_ANDROID : constant unsigned := 1000129001;
VK_STRUCTURE_TYPE_ANDROID_HARDWARE_BUFFER_FORMAT_PROPERTIES_ANDROID : constant unsigned := 1000129002;
VK_STRUCTURE_TYPE_IMPORT_ANDROID_HARDWARE_BUFFER_INFO_ANDROID : constant unsigned := 1000129003;
VK_STRUCTURE_TYPE_MEMORY_GET_ANDROID_HARDWARE_BUFFER_INFO_ANDROID : constant unsigned := 1000129004;
VK_STRUCTURE_TYPE_EXTERNAL_FORMAT_ANDROID : constant unsigned := 1000129005;
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_INLINE_UNIFORM_BLOCK_FEATURES_EXT : constant unsigned := 1000138000;
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_INLINE_UNIFORM_BLOCK_PROPERTIES_EXT : constant unsigned := 1000138001;
VK_STRUCTURE_TYPE_WRITE_DESCRIPTOR_SET_INLINE_UNIFORM_BLOCK_EXT : constant unsigned := 1000138002;
VK_STRUCTURE_TYPE_DESCRIPTOR_POOL_INLINE_UNIFORM_BLOCK_CREATE_INFO_EXT : constant unsigned := 1000138003;
VK_STRUCTURE_TYPE_SAMPLE_LOCATIONS_INFO_EXT : constant unsigned := 1000143000;
VK_STRUCTURE_TYPE_RENDER_PASS_SAMPLE_LOCATIONS_BEGIN_INFO_EXT : constant unsigned := 1000143001;
VK_STRUCTURE_TYPE_PIPELINE_SAMPLE_LOCATIONS_STATE_CREATE_INFO_EXT : constant unsigned := 1000143002;
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SAMPLE_LOCATIONS_PROPERTIES_EXT : constant unsigned := 1000143003;
VK_STRUCTURE_TYPE_MULTISAMPLE_PROPERTIES_EXT : constant unsigned := 1000143004;
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_BLEND_OPERATION_ADVANCED_FEATURES_EXT : constant unsigned := 1000148000;
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_BLEND_OPERATION_ADVANCED_PROPERTIES_EXT : constant unsigned := 1000148001;
VK_STRUCTURE_TYPE_PIPELINE_COLOR_BLEND_ADVANCED_STATE_CREATE_INFO_EXT : constant unsigned := 1000148002;
VK_STRUCTURE_TYPE_PIPELINE_COVERAGE_TO_COLOR_STATE_CREATE_INFO_NV : constant unsigned := 1000149000;
VK_STRUCTURE_TYPE_PIPELINE_COVERAGE_MODULATION_STATE_CREATE_INFO_NV : constant unsigned := 1000152000;
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_SM_BUILTINS_FEATURES_NV : constant unsigned := 1000154000;
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_SM_BUILTINS_PROPERTIES_NV : constant unsigned := 1000154001;
VK_STRUCTURE_TYPE_DRM_FORMAT_MODIFIER_PROPERTIES_LIST_EXT : constant unsigned := 1000158000;
VK_STRUCTURE_TYPE_DRM_FORMAT_MODIFIER_PROPERTIES_EXT : constant unsigned := 1000158001;
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGE_DRM_FORMAT_MODIFIER_INFO_EXT : constant unsigned := 1000158002;
VK_STRUCTURE_TYPE_IMAGE_DRM_FORMAT_MODIFIER_LIST_CREATE_INFO_EXT : constant unsigned := 1000158003;
VK_STRUCTURE_TYPE_IMAGE_DRM_FORMAT_MODIFIER_EXPLICIT_CREATE_INFO_EXT : constant unsigned := 1000158004;
VK_STRUCTURE_TYPE_IMAGE_DRM_FORMAT_MODIFIER_PROPERTIES_EXT : constant unsigned := 1000158005;
VK_STRUCTURE_TYPE_VALIDATION_CACHE_CREATE_INFO_EXT : constant unsigned := 1000160000;
VK_STRUCTURE_TYPE_SHADER_MODULE_VALIDATION_CACHE_CREATE_INFO_EXT : constant unsigned := 1000160001;
VK_STRUCTURE_TYPE_PIPELINE_VIEWPORT_SHADING_RATE_IMAGE_STATE_CREATE_INFO_NV : constant unsigned := 1000164000;
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADING_RATE_IMAGE_FEATURES_NV : constant unsigned := 1000164001;
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADING_RATE_IMAGE_PROPERTIES_NV : constant unsigned := 1000164002;
VK_STRUCTURE_TYPE_PIPELINE_VIEWPORT_COARSE_SAMPLE_ORDER_STATE_CREATE_INFO_NV : constant unsigned := 1000164005;
VK_STRUCTURE_TYPE_RAY_TRACING_PIPELINE_CREATE_INFO_NV : constant unsigned := 1000165000;
VK_STRUCTURE_TYPE_ACCELERATION_STRUCTURE_CREATE_INFO_NV : constant unsigned := 1000165001;
VK_STRUCTURE_TYPE_GEOMETRY_NV : constant unsigned := 1000165003;
VK_STRUCTURE_TYPE_GEOMETRY_TRIANGLES_NV : constant unsigned := 1000165004;
VK_STRUCTURE_TYPE_GEOMETRY_AABB_NV : constant unsigned := 1000165005;
VK_STRUCTURE_TYPE_BIND_ACCELERATION_STRUCTURE_MEMORY_INFO_NV : constant unsigned := 1000165006;
VK_STRUCTURE_TYPE_WRITE_DESCRIPTOR_SET_ACCELERATION_STRUCTURE_NV : constant unsigned := 1000165007;
VK_STRUCTURE_TYPE_ACCELERATION_STRUCTURE_MEMORY_REQUIREMENTS_INFO_NV : constant unsigned := 1000165008;
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_RAY_TRACING_PROPERTIES_NV : constant unsigned := 1000165009;
VK_STRUCTURE_TYPE_RAY_TRACING_SHADER_GROUP_CREATE_INFO_NV : constant unsigned := 1000165011;
VK_STRUCTURE_TYPE_ACCELERATION_STRUCTURE_INFO_NV : constant unsigned := 1000165012;
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_REPRESENTATIVE_FRAGMENT_TEST_FEATURES_NV : constant unsigned := 1000166000;
VK_STRUCTURE_TYPE_PIPELINE_REPRESENTATIVE_FRAGMENT_TEST_STATE_CREATE_INFO_NV : constant unsigned := 1000166001;
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGE_VIEW_IMAGE_FORMAT_INFO_EXT : constant unsigned := 1000170000;
VK_STRUCTURE_TYPE_FILTER_CUBIC_IMAGE_VIEW_IMAGE_FORMAT_PROPERTIES_EXT : constant unsigned := 1000170001;
VK_STRUCTURE_TYPE_DEVICE_QUEUE_GLOBAL_PRIORITY_CREATE_INFO_EXT : constant unsigned := 1000174000;
VK_STRUCTURE_TYPE_IMPORT_MEMORY_HOST_POINTER_INFO_EXT : constant unsigned := 1000178000;
VK_STRUCTURE_TYPE_MEMORY_HOST_POINTER_PROPERTIES_EXT : constant unsigned := 1000178001;
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTERNAL_MEMORY_HOST_PROPERTIES_EXT : constant unsigned := 1000178002;
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_CLOCK_FEATURES_KHR : constant unsigned := 1000181000;
VK_STRUCTURE_TYPE_PIPELINE_COMPILER_CONTROL_CREATE_INFO_AMD : constant unsigned := 1000183000;
VK_STRUCTURE_TYPE_CALIBRATED_TIMESTAMP_INFO_EXT : constant unsigned := 1000184000;
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_CORE_PROPERTIES_AMD : constant unsigned := 1000185000;
VK_STRUCTURE_TYPE_DEVICE_MEMORY_OVERALLOCATION_CREATE_INFO_AMD : constant unsigned := 1000189000;
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VERTEX_ATTRIBUTE_DIVISOR_PROPERTIES_EXT : constant unsigned := 1000190000;
VK_STRUCTURE_TYPE_PIPELINE_VERTEX_INPUT_DIVISOR_STATE_CREATE_INFO_EXT : constant unsigned := 1000190001;
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VERTEX_ATTRIBUTE_DIVISOR_FEATURES_EXT : constant unsigned := 1000190002;
VK_STRUCTURE_TYPE_PRESENT_FRAME_TOKEN_GGP : constant unsigned := 1000191000;
VK_STRUCTURE_TYPE_PIPELINE_CREATION_FEEDBACK_CREATE_INFO_EXT : constant unsigned := 1000192000;
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_COMPUTE_SHADER_DERIVATIVES_FEATURES_NV : constant unsigned := 1000201000;
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MESH_SHADER_FEATURES_NV : constant unsigned := 1000202000;
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MESH_SHADER_PROPERTIES_NV : constant unsigned := 1000202001;
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FRAGMENT_SHADER_BARYCENTRIC_FEATURES_NV : constant unsigned := 1000203000;
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_IMAGE_FOOTPRINT_FEATURES_NV : constant unsigned := 1000204000;
VK_STRUCTURE_TYPE_PIPELINE_VIEWPORT_EXCLUSIVE_SCISSOR_STATE_CREATE_INFO_NV : constant unsigned := 1000205000;
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXCLUSIVE_SCISSOR_FEATURES_NV : constant unsigned := 1000205002;
VK_STRUCTURE_TYPE_CHECKPOINT_DATA_NV : constant unsigned := 1000206000;
VK_STRUCTURE_TYPE_QUEUE_FAMILY_CHECKPOINT_PROPERTIES_NV : constant unsigned := 1000206001;
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_INTEGER_FUNCTIONS_2_FEATURES_INTEL : constant unsigned := 1000209000;
VK_STRUCTURE_TYPE_QUERY_POOL_CREATE_INFO_INTEL : constant unsigned := 1000210000;
VK_STRUCTURE_TYPE_INITIALIZE_PERFORMANCE_API_INFO_INTEL : constant unsigned := 1000210001;
VK_STRUCTURE_TYPE_PERFORMANCE_MARKER_INFO_INTEL : constant unsigned := 1000210002;
VK_STRUCTURE_TYPE_PERFORMANCE_STREAM_MARKER_INFO_INTEL : constant unsigned := 1000210003;
VK_STRUCTURE_TYPE_PERFORMANCE_OVERRIDE_INFO_INTEL : constant unsigned := 1000210004;
VK_STRUCTURE_TYPE_PERFORMANCE_CONFIGURATION_ACQUIRE_INFO_INTEL : constant unsigned := 1000210005;
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PCI_BUS_INFO_PROPERTIES_EXT : constant unsigned := 1000212000;
VK_STRUCTURE_TYPE_DISPLAY_NATIVE_HDR_SURFACE_CAPABILITIES_AMD : constant unsigned := 1000213000;
VK_STRUCTURE_TYPE_SWAPCHAIN_DISPLAY_NATIVE_HDR_CREATE_INFO_AMD : constant unsigned := 1000213001;
VK_STRUCTURE_TYPE_IMAGEPIPE_SURFACE_CREATE_INFO_FUCHSIA : constant unsigned := 1000214000;
VK_STRUCTURE_TYPE_METAL_SURFACE_CREATE_INFO_EXT : constant unsigned := 1000217000;
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FRAGMENT_DENSITY_MAP_FEATURES_EXT : constant unsigned := 1000218000;
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FRAGMENT_DENSITY_MAP_PROPERTIES_EXT : constant unsigned := 1000218001;
VK_STRUCTURE_TYPE_RENDER_PASS_FRAGMENT_DENSITY_MAP_CREATE_INFO_EXT : constant unsigned := 1000218002;
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SUBGROUP_SIZE_CONTROL_PROPERTIES_EXT : constant unsigned := 1000225000;
VK_STRUCTURE_TYPE_PIPELINE_SHADER_STAGE_REQUIRED_SUBGROUP_SIZE_CREATE_INFO_EXT : constant unsigned := 1000225001;
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SUBGROUP_SIZE_CONTROL_FEATURES_EXT : constant unsigned := 1000225002;
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_CORE_PROPERTIES_2_AMD : constant unsigned := 1000227000;
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_COHERENT_MEMORY_FEATURES_AMD : constant unsigned := 1000229000;
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MEMORY_BUDGET_PROPERTIES_EXT : constant unsigned := 1000237000;
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MEMORY_PRIORITY_FEATURES_EXT : constant unsigned := 1000238000;
VK_STRUCTURE_TYPE_MEMORY_PRIORITY_ALLOCATE_INFO_EXT : constant unsigned := 1000238001;
VK_STRUCTURE_TYPE_SURFACE_PROTECTED_CAPABILITIES_KHR : constant unsigned := 1000239000;
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DEDICATED_ALLOCATION_IMAGE_ALIASING_FEATURES_NV : constant unsigned := 1000240000;
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_BUFFER_DEVICE_ADDRESS_FEATURES_EXT : constant unsigned := 1000244000;
VK_STRUCTURE_TYPE_BUFFER_DEVICE_ADDRESS_CREATE_INFO_EXT : constant unsigned := 1000244002;
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_TOOL_PROPERTIES_EXT : constant unsigned := 1000245000;
VK_STRUCTURE_TYPE_VALIDATION_FEATURES_EXT : constant unsigned := 1000247000;
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_COOPERATIVE_MATRIX_FEATURES_NV : constant unsigned := 1000249000;
VK_STRUCTURE_TYPE_COOPERATIVE_MATRIX_PROPERTIES_NV : constant unsigned := 1000249001;
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_COOPERATIVE_MATRIX_PROPERTIES_NV : constant unsigned := 1000249002;
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_COVERAGE_REDUCTION_MODE_FEATURES_NV : constant unsigned := 1000250000;
VK_STRUCTURE_TYPE_PIPELINE_COVERAGE_REDUCTION_STATE_CREATE_INFO_NV : constant unsigned := 1000250001;
VK_STRUCTURE_TYPE_FRAMEBUFFER_MIXED_SAMPLES_COMBINATION_NV : constant unsigned := 1000250002;
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FRAGMENT_SHADER_INTERLOCK_FEATURES_EXT : constant unsigned := 1000251000;
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_YCBCR_IMAGE_ARRAYS_FEATURES_EXT : constant unsigned := 1000252000;
VK_STRUCTURE_TYPE_SURFACE_FULL_SCREEN_EXCLUSIVE_INFO_EXT : constant unsigned := 1000255000;
VK_STRUCTURE_TYPE_SURFACE_CAPABILITIES_FULL_SCREEN_EXCLUSIVE_EXT : constant unsigned := 1000255002;
VK_STRUCTURE_TYPE_SURFACE_FULL_SCREEN_EXCLUSIVE_WIN32_INFO_EXT : constant unsigned := 1000255001;
VK_STRUCTURE_TYPE_HEADLESS_SURFACE_CREATE_INFO_EXT : constant unsigned := 1000256000;
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_LINE_RASTERIZATION_FEATURES_EXT : constant unsigned := 1000259000;
VK_STRUCTURE_TYPE_PIPELINE_RASTERIZATION_LINE_STATE_CREATE_INFO_EXT : constant unsigned := 1000259001;
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_LINE_RASTERIZATION_PROPERTIES_EXT : constant unsigned := 1000259002;
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_INDEX_TYPE_UINT8_FEATURES_EXT : constant unsigned := 1000265000;
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PIPELINE_EXECUTABLE_PROPERTIES_FEATURES_KHR : constant unsigned := 1000269000;
VK_STRUCTURE_TYPE_PIPELINE_INFO_KHR : constant unsigned := 1000269001;
VK_STRUCTURE_TYPE_PIPELINE_EXECUTABLE_PROPERTIES_KHR : constant unsigned := 1000269002;
VK_STRUCTURE_TYPE_PIPELINE_EXECUTABLE_INFO_KHR : constant unsigned := 1000269003;
VK_STRUCTURE_TYPE_PIPELINE_EXECUTABLE_STATISTIC_KHR : constant unsigned := 1000269004;
VK_STRUCTURE_TYPE_PIPELINE_EXECUTABLE_INTERNAL_REPRESENTATION_KHR : constant unsigned := 1000269005;
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_DEMOTE_TO_HELPER_INVOCATION_FEATURES_EXT : constant unsigned := 1000276000;
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_TEXEL_BUFFER_ALIGNMENT_FEATURES_EXT : constant unsigned := 1000281000;
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_TEXEL_BUFFER_ALIGNMENT_PROPERTIES_EXT : constant unsigned := 1000281001;
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VARIABLE_POINTER_FEATURES : constant unsigned := 1000120000;
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_DRAW_PARAMETER_FEATURES : constant unsigned := 1000063000;
VK_STRUCTURE_TYPE_DEBUG_REPORT_CREATE_INFO_EXT : constant unsigned := 1000011000;
VK_STRUCTURE_TYPE_RENDER_PASS_MULTIVIEW_CREATE_INFO_KHR : constant unsigned := 1000053000;
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MULTIVIEW_FEATURES_KHR : constant unsigned := 1000053001;
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MULTIVIEW_PROPERTIES_KHR : constant unsigned := 1000053002;
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FEATURES_2_KHR : constant unsigned := 1000059000;
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PROPERTIES_2_KHR : constant unsigned := 1000059001;
VK_STRUCTURE_TYPE_FORMAT_PROPERTIES_2_KHR : constant unsigned := 1000059002;
VK_STRUCTURE_TYPE_IMAGE_FORMAT_PROPERTIES_2_KHR : constant unsigned := 1000059003;
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGE_FORMAT_INFO_2_KHR : constant unsigned := 1000059004;
VK_STRUCTURE_TYPE_QUEUE_FAMILY_PROPERTIES_2_KHR : constant unsigned := 1000059005;
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MEMORY_PROPERTIES_2_KHR : constant unsigned := 1000059006;
VK_STRUCTURE_TYPE_SPARSE_IMAGE_FORMAT_PROPERTIES_2_KHR : constant unsigned := 1000059007;
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SPARSE_IMAGE_FORMAT_INFO_2_KHR : constant unsigned := 1000059008;
VK_STRUCTURE_TYPE_MEMORY_ALLOCATE_FLAGS_INFO_KHR : constant unsigned := 1000060000;
VK_STRUCTURE_TYPE_DEVICE_GROUP_RENDER_PASS_BEGIN_INFO_KHR : constant unsigned := 1000060003;
VK_STRUCTURE_TYPE_DEVICE_GROUP_COMMAND_BUFFER_BEGIN_INFO_KHR : constant unsigned := 1000060004;
VK_STRUCTURE_TYPE_DEVICE_GROUP_SUBMIT_INFO_KHR : constant unsigned := 1000060005;
VK_STRUCTURE_TYPE_DEVICE_GROUP_BIND_SPARSE_INFO_KHR : constant unsigned := 1000060006;
VK_STRUCTURE_TYPE_BIND_BUFFER_MEMORY_DEVICE_GROUP_INFO_KHR : constant unsigned := 1000060013;
VK_STRUCTURE_TYPE_BIND_IMAGE_MEMORY_DEVICE_GROUP_INFO_KHR : constant unsigned := 1000060014;
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_GROUP_PROPERTIES_KHR : constant unsigned := 1000070000;
VK_STRUCTURE_TYPE_DEVICE_GROUP_DEVICE_CREATE_INFO_KHR : constant unsigned := 1000070001;
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTERNAL_IMAGE_FORMAT_INFO_KHR : constant unsigned := 1000071000;
VK_STRUCTURE_TYPE_EXTERNAL_IMAGE_FORMAT_PROPERTIES_KHR : constant unsigned := 1000071001;
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTERNAL_BUFFER_INFO_KHR : constant unsigned := 1000071002;
VK_STRUCTURE_TYPE_EXTERNAL_BUFFER_PROPERTIES_KHR : constant unsigned := 1000071003;
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_ID_PROPERTIES_KHR : constant unsigned := 1000071004;
VK_STRUCTURE_TYPE_EXTERNAL_MEMORY_BUFFER_CREATE_INFO_KHR : constant unsigned := 1000072000;
VK_STRUCTURE_TYPE_EXTERNAL_MEMORY_IMAGE_CREATE_INFO_KHR : constant unsigned := 1000072001;
VK_STRUCTURE_TYPE_EXPORT_MEMORY_ALLOCATE_INFO_KHR : constant unsigned := 1000072002;
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTERNAL_SEMAPHORE_INFO_KHR : constant unsigned := 1000076000;
VK_STRUCTURE_TYPE_EXTERNAL_SEMAPHORE_PROPERTIES_KHR : constant unsigned := 1000076001;
VK_STRUCTURE_TYPE_EXPORT_SEMAPHORE_CREATE_INFO_KHR : constant unsigned := 1000077000;
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_FLOAT16_INT8_FEATURES_KHR : constant unsigned := 1000082000;
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FLOAT16_INT8_FEATURES_KHR : constant unsigned := 1000082000;
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_16BIT_STORAGE_FEATURES_KHR : constant unsigned := 1000083000;
VK_STRUCTURE_TYPE_DESCRIPTOR_UPDATE_TEMPLATE_CREATE_INFO_KHR : constant unsigned := 1000085000;
VK_STRUCTURE_TYPE_SURFACE_CAPABILITIES2_EXT : constant unsigned := 1000090000;
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGELESS_FRAMEBUFFER_FEATURES_KHR : constant unsigned := 1000108000;
VK_STRUCTURE_TYPE_FRAMEBUFFER_ATTACHMENTS_CREATE_INFO_KHR : constant unsigned := 1000108001;
VK_STRUCTURE_TYPE_FRAMEBUFFER_ATTACHMENT_IMAGE_INFO_KHR : constant unsigned := 1000108002;
VK_STRUCTURE_TYPE_RENDER_PASS_ATTACHMENT_BEGIN_INFO_KHR : constant unsigned := 1000108003;
VK_STRUCTURE_TYPE_ATTACHMENT_DESCRIPTION_2_KHR : constant unsigned := 1000109000;
VK_STRUCTURE_TYPE_ATTACHMENT_REFERENCE_2_KHR : constant unsigned := 1000109001;
VK_STRUCTURE_TYPE_SUBPASS_DESCRIPTION_2_KHR : constant unsigned := 1000109002;
VK_STRUCTURE_TYPE_SUBPASS_DEPENDENCY_2_KHR : constant unsigned := 1000109003;
VK_STRUCTURE_TYPE_RENDER_PASS_CREATE_INFO_2_KHR : constant unsigned := 1000109004;
VK_STRUCTURE_TYPE_SUBPASS_BEGIN_INFO_KHR : constant unsigned := 1000109005;
VK_STRUCTURE_TYPE_SUBPASS_END_INFO_KHR : constant unsigned := 1000109006;
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTERNAL_FENCE_INFO_KHR : constant unsigned := 1000112000;
VK_STRUCTURE_TYPE_EXTERNAL_FENCE_PROPERTIES_KHR : constant unsigned := 1000112001;
VK_STRUCTURE_TYPE_EXPORT_FENCE_CREATE_INFO_KHR : constant unsigned := 1000113000;
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_POINT_CLIPPING_PROPERTIES_KHR : constant unsigned := 1000117000;
VK_STRUCTURE_TYPE_RENDER_PASS_INPUT_ATTACHMENT_ASPECT_CREATE_INFO_KHR : constant unsigned := 1000117001;
VK_STRUCTURE_TYPE_IMAGE_VIEW_USAGE_CREATE_INFO_KHR : constant unsigned := 1000117002;
VK_STRUCTURE_TYPE_PIPELINE_TESSELLATION_DOMAIN_ORIGIN_STATE_CREATE_INFO_KHR : constant unsigned := 1000117003;
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VARIABLE_POINTER_FEATURES_KHR : constant unsigned := 1000120000;
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VARIABLE_POINTERS_FEATURES_KHR : constant unsigned := 1000120000;
VK_STRUCTURE_TYPE_MEMORY_DEDICATED_REQUIREMENTS_KHR : constant unsigned := 1000127000;
VK_STRUCTURE_TYPE_MEMORY_DEDICATED_ALLOCATE_INFO_KHR : constant unsigned := 1000127001;
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SAMPLER_FILTER_MINMAX_PROPERTIES_EXT : constant unsigned := 1000130000;
VK_STRUCTURE_TYPE_SAMPLER_REDUCTION_MODE_CREATE_INFO_EXT : constant unsigned := 1000130001;
VK_STRUCTURE_TYPE_BUFFER_MEMORY_REQUIREMENTS_INFO_2_KHR : constant unsigned := 1000146000;
VK_STRUCTURE_TYPE_IMAGE_MEMORY_REQUIREMENTS_INFO_2_KHR : constant unsigned := 1000146001;
VK_STRUCTURE_TYPE_IMAGE_SPARSE_MEMORY_REQUIREMENTS_INFO_2_KHR : constant unsigned := 1000146002;
VK_STRUCTURE_TYPE_MEMORY_REQUIREMENTS_2_KHR : constant unsigned := 1000146003;
VK_STRUCTURE_TYPE_SPARSE_IMAGE_MEMORY_REQUIREMENTS_2_KHR : constant unsigned := 1000146004;
VK_STRUCTURE_TYPE_IMAGE_FORMAT_LIST_CREATE_INFO_KHR : constant unsigned := 1000147000;
VK_STRUCTURE_TYPE_SAMPLER_YCBCR_CONVERSION_CREATE_INFO_KHR : constant unsigned := 1000156000;
VK_STRUCTURE_TYPE_SAMPLER_YCBCR_CONVERSION_INFO_KHR : constant unsigned := 1000156001;
VK_STRUCTURE_TYPE_BIND_IMAGE_PLANE_MEMORY_INFO_KHR : constant unsigned := 1000156002;
VK_STRUCTURE_TYPE_IMAGE_PLANE_MEMORY_REQUIREMENTS_INFO_KHR : constant unsigned := 1000156003;
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SAMPLER_YCBCR_CONVERSION_FEATURES_KHR : constant unsigned := 1000156004;
VK_STRUCTURE_TYPE_SAMPLER_YCBCR_CONVERSION_IMAGE_FORMAT_PROPERTIES_KHR : constant unsigned := 1000156005;
VK_STRUCTURE_TYPE_BIND_BUFFER_MEMORY_INFO_KHR : constant unsigned := 1000157000;
VK_STRUCTURE_TYPE_BIND_IMAGE_MEMORY_INFO_KHR : constant unsigned := 1000157001;
VK_STRUCTURE_TYPE_DESCRIPTOR_SET_LAYOUT_BINDING_FLAGS_CREATE_INFO_EXT : constant unsigned := 1000161000;
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DESCRIPTOR_INDEXING_FEATURES_EXT : constant unsigned := 1000161001;
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DESCRIPTOR_INDEXING_PROPERTIES_EXT : constant unsigned := 1000161002;
VK_STRUCTURE_TYPE_DESCRIPTOR_SET_VARIABLE_DESCRIPTOR_COUNT_ALLOCATE_INFO_EXT : constant unsigned := 1000161003;
VK_STRUCTURE_TYPE_DESCRIPTOR_SET_VARIABLE_DESCRIPTOR_COUNT_LAYOUT_SUPPORT_EXT : constant unsigned := 1000161004;
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MAINTENANCE_3_PROPERTIES_KHR : constant unsigned := 1000168000;
VK_STRUCTURE_TYPE_DESCRIPTOR_SET_LAYOUT_SUPPORT_KHR : constant unsigned := 1000168001;
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_SUBGROUP_EXTENDED_TYPES_FEATURES_KHR : constant unsigned := 1000175000;
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_8BIT_STORAGE_FEATURES_KHR : constant unsigned := 1000177000;
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_ATOMIC_INT64_FEATURES_KHR : constant unsigned := 1000180000;
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DRIVER_PROPERTIES_KHR : constant unsigned := 1000196000;
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_FLOAT_CONTROLS_PROPERTIES_KHR : constant unsigned := 1000197000;
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DEPTH_STENCIL_RESOLVE_PROPERTIES_KHR : constant unsigned := 1000199000;
VK_STRUCTURE_TYPE_SUBPASS_DESCRIPTION_DEPTH_STENCIL_RESOLVE_KHR : constant unsigned := 1000199001;
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_TIMELINE_SEMAPHORE_FEATURES_KHR : constant unsigned := 1000207000;
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_TIMELINE_SEMAPHORE_PROPERTIES_KHR : constant unsigned := 1000207001;
VK_STRUCTURE_TYPE_SEMAPHORE_TYPE_CREATE_INFO_KHR : constant unsigned := 1000207002;
VK_STRUCTURE_TYPE_TIMELINE_SEMAPHORE_SUBMIT_INFO_KHR : constant unsigned := 1000207003;
VK_STRUCTURE_TYPE_SEMAPHORE_WAIT_INFO_KHR : constant unsigned := 1000207004;
VK_STRUCTURE_TYPE_SEMAPHORE_SIGNAL_INFO_KHR : constant unsigned := 1000207005;
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VULKAN_MEMORY_MODEL_FEATURES_KHR : constant unsigned := 1000211000;
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SCALAR_BLOCK_LAYOUT_FEATURES_EXT : constant unsigned := 1000221000;
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SEPARATE_DEPTH_STENCIL_LAYOUTS_FEATURES_KHR : constant unsigned := 1000241000;
VK_STRUCTURE_TYPE_ATTACHMENT_REFERENCE_STENCIL_LAYOUT_KHR : constant unsigned := 1000241001;
VK_STRUCTURE_TYPE_ATTACHMENT_DESCRIPTION_STENCIL_LAYOUT_KHR : constant unsigned := 1000241002;
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_BUFFER_ADDRESS_FEATURES_EXT : constant unsigned := 1000244000;
VK_STRUCTURE_TYPE_BUFFER_DEVICE_ADDRESS_INFO_EXT : constant unsigned := 1000244001;
VK_STRUCTURE_TYPE_IMAGE_STENCIL_USAGE_CREATE_INFO_EXT : constant unsigned := 1000246000;
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_UNIFORM_BUFFER_STANDARD_LAYOUT_FEATURES_KHR : constant unsigned := 1000253000;
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_BUFFER_DEVICE_ADDRESS_FEATURES_KHR : constant unsigned := 1000257000;
VK_STRUCTURE_TYPE_BUFFER_DEVICE_ADDRESS_INFO_KHR : constant unsigned := 1000244001;
VK_STRUCTURE_TYPE_BUFFER_OPAQUE_CAPTURE_ADDRESS_CREATE_INFO_KHR : constant unsigned := 1000257002;
VK_STRUCTURE_TYPE_MEMORY_OPAQUE_CAPTURE_ADDRESS_ALLOCATE_INFO_KHR : constant unsigned := 1000257003;
VK_STRUCTURE_TYPE_DEVICE_MEMORY_OPAQUE_CAPTURE_ADDRESS_INFO_KHR : constant unsigned := 1000257004;
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_HOST_QUERY_RESET_FEATURES_EXT : constant unsigned := 1000261000;
VK_STRUCTURE_TYPE_BEGIN_RANGE : constant unsigned := 0;
VK_STRUCTURE_TYPE_END_RANGE : constant unsigned := 48;
VK_STRUCTURE_TYPE_RANGE_SIZE : constant unsigned := 49;
VK_STRUCTURE_TYPE_MAX_ENUM : constant unsigned := 2147483647; -- vulkan_core.h:162
subtype VkSystemAllocationScope is unsigned;
VK_SYSTEM_ALLOCATION_SCOPE_COMMAND : constant unsigned := 0;
VK_SYSTEM_ALLOCATION_SCOPE_OBJECT : constant unsigned := 1;
VK_SYSTEM_ALLOCATION_SCOPE_CACHE : constant unsigned := 2;
VK_SYSTEM_ALLOCATION_SCOPE_DEVICE : constant unsigned := 3;
VK_SYSTEM_ALLOCATION_SCOPE_INSTANCE : constant unsigned := 4;
VK_SYSTEM_ALLOCATION_SCOPE_BEGIN_RANGE : constant unsigned := 0;
VK_SYSTEM_ALLOCATION_SCOPE_END_RANGE : constant unsigned := 4;
VK_SYSTEM_ALLOCATION_SCOPE_RANGE_SIZE : constant unsigned := 5;
VK_SYSTEM_ALLOCATION_SCOPE_MAX_ENUM : constant unsigned := 2147483647; -- vulkan_core.h:682
subtype VkInternalAllocationType is unsigned;
VK_INTERNAL_ALLOCATION_TYPE_EXECUTABLE : constant unsigned := 0;
VK_INTERNAL_ALLOCATION_TYPE_BEGIN_RANGE : constant unsigned := 0;
VK_INTERNAL_ALLOCATION_TYPE_END_RANGE : constant unsigned := 0;
VK_INTERNAL_ALLOCATION_TYPE_RANGE_SIZE : constant unsigned := 1;
VK_INTERNAL_ALLOCATION_TYPE_MAX_ENUM : constant unsigned := 2147483647; -- vulkan_core.h:694
subtype VkFormat is unsigned;
VK_FORMAT_UNDEFINED : constant unsigned := 0;
VK_FORMAT_R4G4_UNORM_PACK8 : constant unsigned := 1;
VK_FORMAT_R4G4B4A4_UNORM_PACK16 : constant unsigned := 2;
VK_FORMAT_B4G4R4A4_UNORM_PACK16 : constant unsigned := 3;
VK_FORMAT_R5G6B5_UNORM_PACK16 : constant unsigned := 4;
VK_FORMAT_B5G6R5_UNORM_PACK16 : constant unsigned := 5;
VK_FORMAT_R5G5B5A1_UNORM_PACK16 : constant unsigned := 6;
VK_FORMAT_B5G5R5A1_UNORM_PACK16 : constant unsigned := 7;
VK_FORMAT_A1R5G5B5_UNORM_PACK16 : constant unsigned := 8;
VK_FORMAT_R8_UNORM : constant unsigned := 9;
VK_FORMAT_R8_SNORM : constant unsigned := 10;
VK_FORMAT_R8_USCALED : constant unsigned := 11;
VK_FORMAT_R8_SSCALED : constant unsigned := 12;
VK_FORMAT_R8_UINT : constant unsigned := 13;
VK_FORMAT_R8_SINT : constant unsigned := 14;
VK_FORMAT_R8_SRGB : constant unsigned := 15;
VK_FORMAT_R8G8_UNORM : constant unsigned := 16;
VK_FORMAT_R8G8_SNORM : constant unsigned := 17;
VK_FORMAT_R8G8_USCALED : constant unsigned := 18;
VK_FORMAT_R8G8_SSCALED : constant unsigned := 19;
VK_FORMAT_R8G8_UINT : constant unsigned := 20;
VK_FORMAT_R8G8_SINT : constant unsigned := 21;
VK_FORMAT_R8G8_SRGB : constant unsigned := 22;
VK_FORMAT_R8G8B8_UNORM : constant unsigned := 23;
VK_FORMAT_R8G8B8_SNORM : constant unsigned := 24;
VK_FORMAT_R8G8B8_USCALED : constant unsigned := 25;
VK_FORMAT_R8G8B8_SSCALED : constant unsigned := 26;
VK_FORMAT_R8G8B8_UINT : constant unsigned := 27;
VK_FORMAT_R8G8B8_SINT : constant unsigned := 28;
VK_FORMAT_R8G8B8_SRGB : constant unsigned := 29;
VK_FORMAT_B8G8R8_UNORM : constant unsigned := 30;
VK_FORMAT_B8G8R8_SNORM : constant unsigned := 31;
VK_FORMAT_B8G8R8_USCALED : constant unsigned := 32;
VK_FORMAT_B8G8R8_SSCALED : constant unsigned := 33;
VK_FORMAT_B8G8R8_UINT : constant unsigned := 34;
VK_FORMAT_B8G8R8_SINT : constant unsigned := 35;
VK_FORMAT_B8G8R8_SRGB : constant unsigned := 36;
VK_FORMAT_R8G8B8A8_UNORM : constant unsigned := 37;
VK_FORMAT_R8G8B8A8_SNORM : constant unsigned := 38;
VK_FORMAT_R8G8B8A8_USCALED : constant unsigned := 39;
VK_FORMAT_R8G8B8A8_SSCALED : constant unsigned := 40;
VK_FORMAT_R8G8B8A8_UINT : constant unsigned := 41;
VK_FORMAT_R8G8B8A8_SINT : constant unsigned := 42;
VK_FORMAT_R8G8B8A8_SRGB : constant unsigned := 43;
VK_FORMAT_B8G8R8A8_UNORM : constant unsigned := 44;
VK_FORMAT_B8G8R8A8_SNORM : constant unsigned := 45;
VK_FORMAT_B8G8R8A8_USCALED : constant unsigned := 46;
VK_FORMAT_B8G8R8A8_SSCALED : constant unsigned := 47;
VK_FORMAT_B8G8R8A8_UINT : constant unsigned := 48;
VK_FORMAT_B8G8R8A8_SINT : constant unsigned := 49;
VK_FORMAT_B8G8R8A8_SRGB : constant unsigned := 50;
VK_FORMAT_A8B8G8R8_UNORM_PACK32 : constant unsigned := 51;
VK_FORMAT_A8B8G8R8_SNORM_PACK32 : constant unsigned := 52;
VK_FORMAT_A8B8G8R8_USCALED_PACK32 : constant unsigned := 53;
VK_FORMAT_A8B8G8R8_SSCALED_PACK32 : constant unsigned := 54;
VK_FORMAT_A8B8G8R8_UINT_PACK32 : constant unsigned := 55;
VK_FORMAT_A8B8G8R8_SINT_PACK32 : constant unsigned := 56;
VK_FORMAT_A8B8G8R8_SRGB_PACK32 : constant unsigned := 57;
VK_FORMAT_A2R10G10B10_UNORM_PACK32 : constant unsigned := 58;
VK_FORMAT_A2R10G10B10_SNORM_PACK32 : constant unsigned := 59;
VK_FORMAT_A2R10G10B10_USCALED_PACK32 : constant unsigned := 60;
VK_FORMAT_A2R10G10B10_SSCALED_PACK32 : constant unsigned := 61;
VK_FORMAT_A2R10G10B10_UINT_PACK32 : constant unsigned := 62;
VK_FORMAT_A2R10G10B10_SINT_PACK32 : constant unsigned := 63;
VK_FORMAT_A2B10G10R10_UNORM_PACK32 : constant unsigned := 64;
VK_FORMAT_A2B10G10R10_SNORM_PACK32 : constant unsigned := 65;
VK_FORMAT_A2B10G10R10_USCALED_PACK32 : constant unsigned := 66;
VK_FORMAT_A2B10G10R10_SSCALED_PACK32 : constant unsigned := 67;
VK_FORMAT_A2B10G10R10_UINT_PACK32 : constant unsigned := 68;
VK_FORMAT_A2B10G10R10_SINT_PACK32 : constant unsigned := 69;
VK_FORMAT_R16_UNORM : constant unsigned := 70;
VK_FORMAT_R16_SNORM : constant unsigned := 71;
VK_FORMAT_R16_USCALED : constant unsigned := 72;
VK_FORMAT_R16_SSCALED : constant unsigned := 73;
VK_FORMAT_R16_UINT : constant unsigned := 74;
VK_FORMAT_R16_SINT : constant unsigned := 75;
VK_FORMAT_R16_SFLOAT : constant unsigned := 76;
VK_FORMAT_R16G16_UNORM : constant unsigned := 77;
VK_FORMAT_R16G16_SNORM : constant unsigned := 78;
VK_FORMAT_R16G16_USCALED : constant unsigned := 79;
VK_FORMAT_R16G16_SSCALED : constant unsigned := 80;
VK_FORMAT_R16G16_UINT : constant unsigned := 81;
VK_FORMAT_R16G16_SINT : constant unsigned := 82;
VK_FORMAT_R16G16_SFLOAT : constant unsigned := 83;
VK_FORMAT_R16G16B16_UNORM : constant unsigned := 84;
VK_FORMAT_R16G16B16_SNORM : constant unsigned := 85;
VK_FORMAT_R16G16B16_USCALED : constant unsigned := 86;
VK_FORMAT_R16G16B16_SSCALED : constant unsigned := 87;
VK_FORMAT_R16G16B16_UINT : constant unsigned := 88;
VK_FORMAT_R16G16B16_SINT : constant unsigned := 89;
VK_FORMAT_R16G16B16_SFLOAT : constant unsigned := 90;
VK_FORMAT_R16G16B16A16_UNORM : constant unsigned := 91;
VK_FORMAT_R16G16B16A16_SNORM : constant unsigned := 92;
VK_FORMAT_R16G16B16A16_USCALED : constant unsigned := 93;
VK_FORMAT_R16G16B16A16_SSCALED : constant unsigned := 94;
VK_FORMAT_R16G16B16A16_UINT : constant unsigned := 95;
VK_FORMAT_R16G16B16A16_SINT : constant unsigned := 96;
VK_FORMAT_R16G16B16A16_SFLOAT : constant unsigned := 97;
VK_FORMAT_R32_UINT : constant unsigned := 98;
VK_FORMAT_R32_SINT : constant unsigned := 99;
VK_FORMAT_R32_SFLOAT : constant unsigned := 100;
VK_FORMAT_R32G32_UINT : constant unsigned := 101;
VK_FORMAT_R32G32_SINT : constant unsigned := 102;
VK_FORMAT_R32G32_SFLOAT : constant unsigned := 103;
VK_FORMAT_R32G32B32_UINT : constant unsigned := 104;
VK_FORMAT_R32G32B32_SINT : constant unsigned := 105;
VK_FORMAT_R32G32B32_SFLOAT : constant unsigned := 106;
VK_FORMAT_R32G32B32A32_UINT : constant unsigned := 107;
VK_FORMAT_R32G32B32A32_SINT : constant unsigned := 108;
VK_FORMAT_R32G32B32A32_SFLOAT : constant unsigned := 109;
VK_FORMAT_R64_UINT : constant unsigned := 110;
VK_FORMAT_R64_SINT : constant unsigned := 111;
VK_FORMAT_R64_SFLOAT : constant unsigned := 112;
VK_FORMAT_R64G64_UINT : constant unsigned := 113;
VK_FORMAT_R64G64_SINT : constant unsigned := 114;
VK_FORMAT_R64G64_SFLOAT : constant unsigned := 115;
VK_FORMAT_R64G64B64_UINT : constant unsigned := 116;
VK_FORMAT_R64G64B64_SINT : constant unsigned := 117;
VK_FORMAT_R64G64B64_SFLOAT : constant unsigned := 118;
VK_FORMAT_R64G64B64A64_UINT : constant unsigned := 119;
VK_FORMAT_R64G64B64A64_SINT : constant unsigned := 120;
VK_FORMAT_R64G64B64A64_SFLOAT : constant unsigned := 121;
VK_FORMAT_B10G11R11_UFLOAT_PACK32 : constant unsigned := 122;
VK_FORMAT_E5B9G9R9_UFLOAT_PACK32 : constant unsigned := 123;
VK_FORMAT_D16_UNORM : constant unsigned := 124;
VK_FORMAT_X8_D24_UNORM_PACK32 : constant unsigned := 125;
VK_FORMAT_D32_SFLOAT : constant unsigned := 126;
VK_FORMAT_S8_UINT : constant unsigned := 127;
VK_FORMAT_D16_UNORM_S8_UINT : constant unsigned := 128;
VK_FORMAT_D24_UNORM_S8_UINT : constant unsigned := 129;
VK_FORMAT_D32_SFLOAT_S8_UINT : constant unsigned := 130;
VK_FORMAT_BC1_RGB_UNORM_BLOCK : constant unsigned := 131;
VK_FORMAT_BC1_RGB_SRGB_BLOCK : constant unsigned := 132;
VK_FORMAT_BC1_RGBA_UNORM_BLOCK : constant unsigned := 133;
VK_FORMAT_BC1_RGBA_SRGB_BLOCK : constant unsigned := 134;
VK_FORMAT_BC2_UNORM_BLOCK : constant unsigned := 135;
VK_FORMAT_BC2_SRGB_BLOCK : constant unsigned := 136;
VK_FORMAT_BC3_UNORM_BLOCK : constant unsigned := 137;
VK_FORMAT_BC3_SRGB_BLOCK : constant unsigned := 138;
VK_FORMAT_BC4_UNORM_BLOCK : constant unsigned := 139;
VK_FORMAT_BC4_SNORM_BLOCK : constant unsigned := 140;
VK_FORMAT_BC5_UNORM_BLOCK : constant unsigned := 141;
VK_FORMAT_BC5_SNORM_BLOCK : constant unsigned := 142;
VK_FORMAT_BC6H_UFLOAT_BLOCK : constant unsigned := 143;
VK_FORMAT_BC6H_SFLOAT_BLOCK : constant unsigned := 144;
VK_FORMAT_BC7_UNORM_BLOCK : constant unsigned := 145;
VK_FORMAT_BC7_SRGB_BLOCK : constant unsigned := 146;
VK_FORMAT_ETC2_R8G8B8_UNORM_BLOCK : constant unsigned := 147;
VK_FORMAT_ETC2_R8G8B8_SRGB_BLOCK : constant unsigned := 148;
VK_FORMAT_ETC2_R8G8B8A1_UNORM_BLOCK : constant unsigned := 149;
VK_FORMAT_ETC2_R8G8B8A1_SRGB_BLOCK : constant unsigned := 150;
VK_FORMAT_ETC2_R8G8B8A8_UNORM_BLOCK : constant unsigned := 151;
VK_FORMAT_ETC2_R8G8B8A8_SRGB_BLOCK : constant unsigned := 152;
VK_FORMAT_EAC_R11_UNORM_BLOCK : constant unsigned := 153;
VK_FORMAT_EAC_R11_SNORM_BLOCK : constant unsigned := 154;
VK_FORMAT_EAC_R11G11_UNORM_BLOCK : constant unsigned := 155;
VK_FORMAT_EAC_R11G11_SNORM_BLOCK : constant unsigned := 156;
VK_FORMAT_ASTC_4x4_UNORM_BLOCK : constant unsigned := 157;
VK_FORMAT_ASTC_4x4_SRGB_BLOCK : constant unsigned := 158;
VK_FORMAT_ASTC_5x4_UNORM_BLOCK : constant unsigned := 159;
VK_FORMAT_ASTC_5x4_SRGB_BLOCK : constant unsigned := 160;
VK_FORMAT_ASTC_5x5_UNORM_BLOCK : constant unsigned := 161;
VK_FORMAT_ASTC_5x5_SRGB_BLOCK : constant unsigned := 162;
VK_FORMAT_ASTC_6x5_UNORM_BLOCK : constant unsigned := 163;
VK_FORMAT_ASTC_6x5_SRGB_BLOCK : constant unsigned := 164;
VK_FORMAT_ASTC_6x6_UNORM_BLOCK : constant unsigned := 165;
VK_FORMAT_ASTC_6x6_SRGB_BLOCK : constant unsigned := 166;
VK_FORMAT_ASTC_8x5_UNORM_BLOCK : constant unsigned := 167;
VK_FORMAT_ASTC_8x5_SRGB_BLOCK : constant unsigned := 168;
VK_FORMAT_ASTC_8x6_UNORM_BLOCK : constant unsigned := 169;
VK_FORMAT_ASTC_8x6_SRGB_BLOCK : constant unsigned := 170;
VK_FORMAT_ASTC_8x8_UNORM_BLOCK : constant unsigned := 171;
VK_FORMAT_ASTC_8x8_SRGB_BLOCK : constant unsigned := 172;
VK_FORMAT_ASTC_10x5_UNORM_BLOCK : constant unsigned := 173;
VK_FORMAT_ASTC_10x5_SRGB_BLOCK : constant unsigned := 174;
VK_FORMAT_ASTC_10x6_UNORM_BLOCK : constant unsigned := 175;
VK_FORMAT_ASTC_10x6_SRGB_BLOCK : constant unsigned := 176;
VK_FORMAT_ASTC_10x8_UNORM_BLOCK : constant unsigned := 177;
VK_FORMAT_ASTC_10x8_SRGB_BLOCK : constant unsigned := 178;
VK_FORMAT_ASTC_10x10_UNORM_BLOCK : constant unsigned := 179;
VK_FORMAT_ASTC_10x10_SRGB_BLOCK : constant unsigned := 180;
VK_FORMAT_ASTC_12x10_UNORM_BLOCK : constant unsigned := 181;
VK_FORMAT_ASTC_12x10_SRGB_BLOCK : constant unsigned := 182;
VK_FORMAT_ASTC_12x12_UNORM_BLOCK : constant unsigned := 183;
VK_FORMAT_ASTC_12x12_SRGB_BLOCK : constant unsigned := 184;
VK_FORMAT_G8B8G8R8_422_UNORM : constant unsigned := 1000156000;
VK_FORMAT_B8G8R8G8_422_UNORM : constant unsigned := 1000156001;
VK_FORMAT_G8_B8_R8_3PLANE_420_UNORM : constant unsigned := 1000156002;
VK_FORMAT_G8_B8R8_2PLANE_420_UNORM : constant unsigned := 1000156003;
VK_FORMAT_G8_B8_R8_3PLANE_422_UNORM : constant unsigned := 1000156004;
VK_FORMAT_G8_B8R8_2PLANE_422_UNORM : constant unsigned := 1000156005;
VK_FORMAT_G8_B8_R8_3PLANE_444_UNORM : constant unsigned := 1000156006;
VK_FORMAT_R10X6_UNORM_PACK16 : constant unsigned := 1000156007;
VK_FORMAT_R10X6G10X6_UNORM_2PACK16 : constant unsigned := 1000156008;
VK_FORMAT_R10X6G10X6B10X6A10X6_UNORM_4PACK16 : constant unsigned := 1000156009;
VK_FORMAT_G10X6B10X6G10X6R10X6_422_UNORM_4PACK16 : constant unsigned := 1000156010;
VK_FORMAT_B10X6G10X6R10X6G10X6_422_UNORM_4PACK16 : constant unsigned := 1000156011;
VK_FORMAT_G10X6_B10X6_R10X6_3PLANE_420_UNORM_3PACK16 : constant unsigned := 1000156012;
VK_FORMAT_G10X6_B10X6R10X6_2PLANE_420_UNORM_3PACK16 : constant unsigned := 1000156013;
VK_FORMAT_G10X6_B10X6_R10X6_3PLANE_422_UNORM_3PACK16 : constant unsigned := 1000156014;
VK_FORMAT_G10X6_B10X6R10X6_2PLANE_422_UNORM_3PACK16 : constant unsigned := 1000156015;
VK_FORMAT_G10X6_B10X6_R10X6_3PLANE_444_UNORM_3PACK16 : constant unsigned := 1000156016;
VK_FORMAT_R12X4_UNORM_PACK16 : constant unsigned := 1000156017;
VK_FORMAT_R12X4G12X4_UNORM_2PACK16 : constant unsigned := 1000156018;
VK_FORMAT_R12X4G12X4B12X4A12X4_UNORM_4PACK16 : constant unsigned := 1000156019;
VK_FORMAT_G12X4B12X4G12X4R12X4_422_UNORM_4PACK16 : constant unsigned := 1000156020;
VK_FORMAT_B12X4G12X4R12X4G12X4_422_UNORM_4PACK16 : constant unsigned := 1000156021;
VK_FORMAT_G12X4_B12X4_R12X4_3PLANE_420_UNORM_3PACK16 : constant unsigned := 1000156022;
VK_FORMAT_G12X4_B12X4R12X4_2PLANE_420_UNORM_3PACK16 : constant unsigned := 1000156023;
VK_FORMAT_G12X4_B12X4_R12X4_3PLANE_422_UNORM_3PACK16 : constant unsigned := 1000156024;
VK_FORMAT_G12X4_B12X4R12X4_2PLANE_422_UNORM_3PACK16 : constant unsigned := 1000156025;
VK_FORMAT_G12X4_B12X4_R12X4_3PLANE_444_UNORM_3PACK16 : constant unsigned := 1000156026;
VK_FORMAT_G16B16G16R16_422_UNORM : constant unsigned := 1000156027;
VK_FORMAT_B16G16R16G16_422_UNORM : constant unsigned := 1000156028;
VK_FORMAT_G16_B16_R16_3PLANE_420_UNORM : constant unsigned := 1000156029;
VK_FORMAT_G16_B16R16_2PLANE_420_UNORM : constant unsigned := 1000156030;
VK_FORMAT_G16_B16_R16_3PLANE_422_UNORM : constant unsigned := 1000156031;
VK_FORMAT_G16_B16R16_2PLANE_422_UNORM : constant unsigned := 1000156032;
VK_FORMAT_G16_B16_R16_3PLANE_444_UNORM : constant unsigned := 1000156033;
VK_FORMAT_PVRTC1_2BPP_UNORM_BLOCK_IMG : constant unsigned := 1000054000;
VK_FORMAT_PVRTC1_4BPP_UNORM_BLOCK_IMG : constant unsigned := 1000054001;
VK_FORMAT_PVRTC2_2BPP_UNORM_BLOCK_IMG : constant unsigned := 1000054002;
VK_FORMAT_PVRTC2_4BPP_UNORM_BLOCK_IMG : constant unsigned := 1000054003;
VK_FORMAT_PVRTC1_2BPP_SRGB_BLOCK_IMG : constant unsigned := 1000054004;
VK_FORMAT_PVRTC1_4BPP_SRGB_BLOCK_IMG : constant unsigned := 1000054005;
VK_FORMAT_PVRTC2_2BPP_SRGB_BLOCK_IMG : constant unsigned := 1000054006;
VK_FORMAT_PVRTC2_4BPP_SRGB_BLOCK_IMG : constant unsigned := 1000054007;
VK_FORMAT_ASTC_4x4_SFLOAT_BLOCK_EXT : constant unsigned := 1000066000;
VK_FORMAT_ASTC_5x4_SFLOAT_BLOCK_EXT : constant unsigned := 1000066001;
VK_FORMAT_ASTC_5x5_SFLOAT_BLOCK_EXT : constant unsigned := 1000066002;
VK_FORMAT_ASTC_6x5_SFLOAT_BLOCK_EXT : constant unsigned := 1000066003;
VK_FORMAT_ASTC_6x6_SFLOAT_BLOCK_EXT : constant unsigned := 1000066004;
VK_FORMAT_ASTC_8x5_SFLOAT_BLOCK_EXT : constant unsigned := 1000066005;
VK_FORMAT_ASTC_8x6_SFLOAT_BLOCK_EXT : constant unsigned := 1000066006;
VK_FORMAT_ASTC_8x8_SFLOAT_BLOCK_EXT : constant unsigned := 1000066007;
VK_FORMAT_ASTC_10x5_SFLOAT_BLOCK_EXT : constant unsigned := 1000066008;
VK_FORMAT_ASTC_10x6_SFLOAT_BLOCK_EXT : constant unsigned := 1000066009;
VK_FORMAT_ASTC_10x8_SFLOAT_BLOCK_EXT : constant unsigned := 1000066010;
VK_FORMAT_ASTC_10x10_SFLOAT_BLOCK_EXT : constant unsigned := 1000066011;
VK_FORMAT_ASTC_12x10_SFLOAT_BLOCK_EXT : constant unsigned := 1000066012;
VK_FORMAT_ASTC_12x12_SFLOAT_BLOCK_EXT : constant unsigned := 1000066013;
VK_FORMAT_G8B8G8R8_422_UNORM_KHR : constant unsigned := 1000156000;
VK_FORMAT_B8G8R8G8_422_UNORM_KHR : constant unsigned := 1000156001;
VK_FORMAT_G8_B8_R8_3PLANE_420_UNORM_KHR : constant unsigned := 1000156002;
VK_FORMAT_G8_B8R8_2PLANE_420_UNORM_KHR : constant unsigned := 1000156003;
VK_FORMAT_G8_B8_R8_3PLANE_422_UNORM_KHR : constant unsigned := 1000156004;
VK_FORMAT_G8_B8R8_2PLANE_422_UNORM_KHR : constant unsigned := 1000156005;
VK_FORMAT_G8_B8_R8_3PLANE_444_UNORM_KHR : constant unsigned := 1000156006;
VK_FORMAT_R10X6_UNORM_PACK16_KHR : constant unsigned := 1000156007;
VK_FORMAT_R10X6G10X6_UNORM_2PACK16_KHR : constant unsigned := 1000156008;
VK_FORMAT_R10X6G10X6B10X6A10X6_UNORM_4PACK16_KHR : constant unsigned := 1000156009;
VK_FORMAT_G10X6B10X6G10X6R10X6_422_UNORM_4PACK16_KHR : constant unsigned := 1000156010;
VK_FORMAT_B10X6G10X6R10X6G10X6_422_UNORM_4PACK16_KHR : constant unsigned := 1000156011;
VK_FORMAT_G10X6_B10X6_R10X6_3PLANE_420_UNORM_3PACK16_KHR : constant unsigned := 1000156012;
VK_FORMAT_G10X6_B10X6R10X6_2PLANE_420_UNORM_3PACK16_KHR : constant unsigned := 1000156013;
VK_FORMAT_G10X6_B10X6_R10X6_3PLANE_422_UNORM_3PACK16_KHR : constant unsigned := 1000156014;
VK_FORMAT_G10X6_B10X6R10X6_2PLANE_422_UNORM_3PACK16_KHR : constant unsigned := 1000156015;
VK_FORMAT_G10X6_B10X6_R10X6_3PLANE_444_UNORM_3PACK16_KHR : constant unsigned := 1000156016;
VK_FORMAT_R12X4_UNORM_PACK16_KHR : constant unsigned := 1000156017;
VK_FORMAT_R12X4G12X4_UNORM_2PACK16_KHR : constant unsigned := 1000156018;
VK_FORMAT_R12X4G12X4B12X4A12X4_UNORM_4PACK16_KHR : constant unsigned := 1000156019;
VK_FORMAT_G12X4B12X4G12X4R12X4_422_UNORM_4PACK16_KHR : constant unsigned := 1000156020;
VK_FORMAT_B12X4G12X4R12X4G12X4_422_UNORM_4PACK16_KHR : constant unsigned := 1000156021;
VK_FORMAT_G12X4_B12X4_R12X4_3PLANE_420_UNORM_3PACK16_KHR : constant unsigned := 1000156022;
VK_FORMAT_G12X4_B12X4R12X4_2PLANE_420_UNORM_3PACK16_KHR : constant unsigned := 1000156023;
VK_FORMAT_G12X4_B12X4_R12X4_3PLANE_422_UNORM_3PACK16_KHR : constant unsigned := 1000156024;
VK_FORMAT_G12X4_B12X4R12X4_2PLANE_422_UNORM_3PACK16_KHR : constant unsigned := 1000156025;
VK_FORMAT_G12X4_B12X4_R12X4_3PLANE_444_UNORM_3PACK16_KHR : constant unsigned := 1000156026;
VK_FORMAT_G16B16G16R16_422_UNORM_KHR : constant unsigned := 1000156027;
VK_FORMAT_B16G16R16G16_422_UNORM_KHR : constant unsigned := 1000156028;
VK_FORMAT_G16_B16_R16_3PLANE_420_UNORM_KHR : constant unsigned := 1000156029;
VK_FORMAT_G16_B16R16_2PLANE_420_UNORM_KHR : constant unsigned := 1000156030;
VK_FORMAT_G16_B16_R16_3PLANE_422_UNORM_KHR : constant unsigned := 1000156031;
VK_FORMAT_G16_B16R16_2PLANE_422_UNORM_KHR : constant unsigned := 1000156032;
VK_FORMAT_G16_B16_R16_3PLANE_444_UNORM_KHR : constant unsigned := 1000156033;
VK_FORMAT_BEGIN_RANGE : constant unsigned := 0;
VK_FORMAT_END_RANGE : constant unsigned := 184;
VK_FORMAT_RANGE_SIZE : constant unsigned := 185;
VK_FORMAT_MAX_ENUM : constant unsigned := 2147483647; -- vulkan_core.h:702
subtype VkImageType is unsigned;
VK_IMAGE_TYPE_1D : constant unsigned := 0;
VK_IMAGE_TYPE_2D : constant unsigned := 1;
VK_IMAGE_TYPE_3D : constant unsigned := 2;
VK_IMAGE_TYPE_BEGIN_RANGE : constant unsigned := 0;
VK_IMAGE_TYPE_END_RANGE : constant unsigned := 2;
VK_IMAGE_TYPE_RANGE_SIZE : constant unsigned := 3;
VK_IMAGE_TYPE_MAX_ENUM : constant unsigned := 2147483647; -- vulkan_core.h:984
subtype VkImageTiling is unsigned;
VK_IMAGE_TILING_OPTIMAL : constant unsigned := 0;
VK_IMAGE_TILING_LINEAR : constant unsigned := 1;
VK_IMAGE_TILING_DRM_FORMAT_MODIFIER_EXT : constant unsigned := 1000158000;
VK_IMAGE_TILING_BEGIN_RANGE : constant unsigned := 0;
VK_IMAGE_TILING_END_RANGE : constant unsigned := 1;
VK_IMAGE_TILING_RANGE_SIZE : constant unsigned := 2;
VK_IMAGE_TILING_MAX_ENUM : constant unsigned := 2147483647; -- vulkan_core.h:994
subtype VkPhysicalDeviceType is unsigned;
VK_PHYSICAL_DEVICE_TYPE_OTHER : constant unsigned := 0;
VK_PHYSICAL_DEVICE_TYPE_INTEGRATED_GPU : constant unsigned := 1;
VK_PHYSICAL_DEVICE_TYPE_DISCRETE_GPU : constant unsigned := 2;
VK_PHYSICAL_DEVICE_TYPE_VIRTUAL_GPU : constant unsigned := 3;
VK_PHYSICAL_DEVICE_TYPE_CPU : constant unsigned := 4;
VK_PHYSICAL_DEVICE_TYPE_BEGIN_RANGE : constant unsigned := 0;
VK_PHYSICAL_DEVICE_TYPE_END_RANGE : constant unsigned := 4;
VK_PHYSICAL_DEVICE_TYPE_RANGE_SIZE : constant unsigned := 5;
VK_PHYSICAL_DEVICE_TYPE_MAX_ENUM : constant unsigned := 2147483647; -- vulkan_core.h:1004
subtype VkQueryType is unsigned;
VK_QUERY_TYPE_OCCLUSION : constant unsigned := 0;
VK_QUERY_TYPE_PIPELINE_STATISTICS : constant unsigned := 1;
VK_QUERY_TYPE_TIMESTAMP : constant unsigned := 2;
VK_QUERY_TYPE_TRANSFORM_FEEDBACK_STREAM_EXT : constant unsigned := 1000028004;
VK_QUERY_TYPE_PERFORMANCE_QUERY_KHR : constant unsigned := 1000116000;
VK_QUERY_TYPE_ACCELERATION_STRUCTURE_COMPACTED_SIZE_NV : constant unsigned := 1000165000;
VK_QUERY_TYPE_PERFORMANCE_QUERY_INTEL : constant unsigned := 1000210000;
VK_QUERY_TYPE_BEGIN_RANGE : constant unsigned := 0;
VK_QUERY_TYPE_END_RANGE : constant unsigned := 2;
VK_QUERY_TYPE_RANGE_SIZE : constant unsigned := 3;
VK_QUERY_TYPE_MAX_ENUM : constant unsigned := 2147483647; -- vulkan_core.h:1016
subtype VkSharingMode is unsigned;
VK_SHARING_MODE_EXCLUSIVE : constant unsigned := 0;
VK_SHARING_MODE_CONCURRENT : constant unsigned := 1;
VK_SHARING_MODE_BEGIN_RANGE : constant unsigned := 0;
VK_SHARING_MODE_END_RANGE : constant unsigned := 1;
VK_SHARING_MODE_RANGE_SIZE : constant unsigned := 2;
VK_SHARING_MODE_MAX_ENUM : constant unsigned := 2147483647; -- vulkan_core.h:1030
subtype VkImageLayout is unsigned;
VK_IMAGE_LAYOUT_UNDEFINED : constant unsigned := 0;
VK_IMAGE_LAYOUT_GENERAL : constant unsigned := 1;
VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL : constant unsigned := 2;
VK_IMAGE_LAYOUT_DEPTH_STENCIL_ATTACHMENT_OPTIMAL : constant unsigned := 3;
VK_IMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL : constant unsigned := 4;
VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL : constant unsigned := 5;
VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL : constant unsigned := 6;
VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL : constant unsigned := 7;
VK_IMAGE_LAYOUT_PREINITIALIZED : constant unsigned := 8;
VK_IMAGE_LAYOUT_DEPTH_READ_ONLY_STENCIL_ATTACHMENT_OPTIMAL : constant unsigned := 1000117000;
VK_IMAGE_LAYOUT_DEPTH_ATTACHMENT_STENCIL_READ_ONLY_OPTIMAL : constant unsigned := 1000117001;
VK_IMAGE_LAYOUT_DEPTH_ATTACHMENT_OPTIMAL : constant unsigned := 1000241000;
VK_IMAGE_LAYOUT_DEPTH_READ_ONLY_OPTIMAL : constant unsigned := 1000241001;
VK_IMAGE_LAYOUT_STENCIL_ATTACHMENT_OPTIMAL : constant unsigned := 1000241002;
VK_IMAGE_LAYOUT_STENCIL_READ_ONLY_OPTIMAL : constant unsigned := 1000241003;
VK_IMAGE_LAYOUT_PRESENT_SRC_KHR : constant unsigned := 1000001002;
VK_IMAGE_LAYOUT_SHARED_PRESENT_KHR : constant unsigned := 1000111000;
VK_IMAGE_LAYOUT_SHADING_RATE_OPTIMAL_NV : constant unsigned := 1000164003;
VK_IMAGE_LAYOUT_FRAGMENT_DENSITY_MAP_OPTIMAL_EXT : constant unsigned := 1000218000;
VK_IMAGE_LAYOUT_DEPTH_READ_ONLY_STENCIL_ATTACHMENT_OPTIMAL_KHR : constant unsigned := 1000117000;
VK_IMAGE_LAYOUT_DEPTH_ATTACHMENT_STENCIL_READ_ONLY_OPTIMAL_KHR : constant unsigned := 1000117001;
VK_IMAGE_LAYOUT_DEPTH_ATTACHMENT_OPTIMAL_KHR : constant unsigned := 1000241000;
VK_IMAGE_LAYOUT_DEPTH_READ_ONLY_OPTIMAL_KHR : constant unsigned := 1000241001;
VK_IMAGE_LAYOUT_STENCIL_ATTACHMENT_OPTIMAL_KHR : constant unsigned := 1000241002;
VK_IMAGE_LAYOUT_STENCIL_READ_ONLY_OPTIMAL_KHR : constant unsigned := 1000241003;
VK_IMAGE_LAYOUT_BEGIN_RANGE : constant unsigned := 0;
VK_IMAGE_LAYOUT_END_RANGE : constant unsigned := 8;
VK_IMAGE_LAYOUT_RANGE_SIZE : constant unsigned := 9;
VK_IMAGE_LAYOUT_MAX_ENUM : constant unsigned := 2147483647; -- vulkan_core.h:1039
subtype VkImageViewType is unsigned;
VK_IMAGE_VIEW_TYPE_1D : constant unsigned := 0;
VK_IMAGE_VIEW_TYPE_2D : constant unsigned := 1;
VK_IMAGE_VIEW_TYPE_3D : constant unsigned := 2;
VK_IMAGE_VIEW_TYPE_CUBE : constant unsigned := 3;
VK_IMAGE_VIEW_TYPE_1D_ARRAY : constant unsigned := 4;
VK_IMAGE_VIEW_TYPE_2D_ARRAY : constant unsigned := 5;
VK_IMAGE_VIEW_TYPE_CUBE_ARRAY : constant unsigned := 6;
VK_IMAGE_VIEW_TYPE_BEGIN_RANGE : constant unsigned := 0;
VK_IMAGE_VIEW_TYPE_END_RANGE : constant unsigned := 6;
VK_IMAGE_VIEW_TYPE_RANGE_SIZE : constant unsigned := 7;
VK_IMAGE_VIEW_TYPE_MAX_ENUM : constant unsigned := 2147483647; -- vulkan_core.h:1071
subtype VkComponentSwizzle is unsigned;
VK_COMPONENT_SWIZZLE_IDENTITY : constant unsigned := 0;
VK_COMPONENT_SWIZZLE_ZERO : constant unsigned := 1;
VK_COMPONENT_SWIZZLE_ONE : constant unsigned := 2;
VK_COMPONENT_SWIZZLE_R : constant unsigned := 3;
VK_COMPONENT_SWIZZLE_G : constant unsigned := 4;
VK_COMPONENT_SWIZZLE_B : constant unsigned := 5;
VK_COMPONENT_SWIZZLE_A : constant unsigned := 6;
VK_COMPONENT_SWIZZLE_BEGIN_RANGE : constant unsigned := 0;
VK_COMPONENT_SWIZZLE_END_RANGE : constant unsigned := 6;
VK_COMPONENT_SWIZZLE_RANGE_SIZE : constant unsigned := 7;
VK_COMPONENT_SWIZZLE_MAX_ENUM : constant unsigned := 2147483647; -- vulkan_core.h:1085
subtype VkVertexInputRate is unsigned;
VK_VERTEX_INPUT_RATE_VERTEX : constant unsigned := 0;
VK_VERTEX_INPUT_RATE_INSTANCE : constant unsigned := 1;
VK_VERTEX_INPUT_RATE_BEGIN_RANGE : constant unsigned := 0;
VK_VERTEX_INPUT_RATE_END_RANGE : constant unsigned := 1;
VK_VERTEX_INPUT_RATE_RANGE_SIZE : constant unsigned := 2;
VK_VERTEX_INPUT_RATE_MAX_ENUM : constant unsigned := 2147483647; -- vulkan_core.h:1099
subtype VkPrimitiveTopology is unsigned;
VK_PRIMITIVE_TOPOLOGY_POINT_LIST : constant unsigned := 0;
VK_PRIMITIVE_TOPOLOGY_LINE_LIST : constant unsigned := 1;
VK_PRIMITIVE_TOPOLOGY_LINE_STRIP : constant unsigned := 2;
VK_PRIMITIVE_TOPOLOGY_TRIANGLE_LIST : constant unsigned := 3;
VK_PRIMITIVE_TOPOLOGY_TRIANGLE_STRIP : constant unsigned := 4;
VK_PRIMITIVE_TOPOLOGY_TRIANGLE_FAN : constant unsigned := 5;
VK_PRIMITIVE_TOPOLOGY_LINE_LIST_WITH_ADJACENCY : constant unsigned := 6;
VK_PRIMITIVE_TOPOLOGY_LINE_STRIP_WITH_ADJACENCY : constant unsigned := 7;
VK_PRIMITIVE_TOPOLOGY_TRIANGLE_LIST_WITH_ADJACENCY : constant unsigned := 8;
VK_PRIMITIVE_TOPOLOGY_TRIANGLE_STRIP_WITH_ADJACENCY : constant unsigned := 9;
VK_PRIMITIVE_TOPOLOGY_PATCH_LIST : constant unsigned := 10;
VK_PRIMITIVE_TOPOLOGY_BEGIN_RANGE : constant unsigned := 0;
VK_PRIMITIVE_TOPOLOGY_END_RANGE : constant unsigned := 10;
VK_PRIMITIVE_TOPOLOGY_RANGE_SIZE : constant unsigned := 11;
VK_PRIMITIVE_TOPOLOGY_MAX_ENUM : constant unsigned := 2147483647; -- vulkan_core.h:1108
subtype VkPolygonMode is unsigned;
VK_POLYGON_MODE_FILL : constant unsigned := 0;
VK_POLYGON_MODE_LINE : constant unsigned := 1;
VK_POLYGON_MODE_POINT : constant unsigned := 2;
VK_POLYGON_MODE_FILL_RECTANGLE_NV : constant unsigned := 1000153000;
VK_POLYGON_MODE_BEGIN_RANGE : constant unsigned := 0;
VK_POLYGON_MODE_END_RANGE : constant unsigned := 2;
VK_POLYGON_MODE_RANGE_SIZE : constant unsigned := 3;
VK_POLYGON_MODE_MAX_ENUM : constant unsigned := 2147483647; -- vulkan_core.h:1126
subtype VkFrontFace is unsigned;
VK_FRONT_FACE_COUNTER_CLOCKWISE : constant unsigned := 0;
VK_FRONT_FACE_CLOCKWISE : constant unsigned := 1;
VK_FRONT_FACE_BEGIN_RANGE : constant unsigned := 0;
VK_FRONT_FACE_END_RANGE : constant unsigned := 1;
VK_FRONT_FACE_RANGE_SIZE : constant unsigned := 2;
VK_FRONT_FACE_MAX_ENUM : constant unsigned := 2147483647; -- vulkan_core.h:1137
subtype VkCompareOp is unsigned;
VK_COMPARE_OP_NEVER : constant unsigned := 0;
VK_COMPARE_OP_LESS : constant unsigned := 1;
VK_COMPARE_OP_EQUAL : constant unsigned := 2;
VK_COMPARE_OP_LESS_OR_EQUAL : constant unsigned := 3;
VK_COMPARE_OP_GREATER : constant unsigned := 4;
VK_COMPARE_OP_NOT_EQUAL : constant unsigned := 5;
VK_COMPARE_OP_GREATER_OR_EQUAL : constant unsigned := 6;
VK_COMPARE_OP_ALWAYS : constant unsigned := 7;
VK_COMPARE_OP_BEGIN_RANGE : constant unsigned := 0;
VK_COMPARE_OP_END_RANGE : constant unsigned := 7;
VK_COMPARE_OP_RANGE_SIZE : constant unsigned := 8;
VK_COMPARE_OP_MAX_ENUM : constant unsigned := 2147483647; -- vulkan_core.h:1146
subtype VkStencilOp is unsigned;
VK_STENCIL_OP_KEEP : constant unsigned := 0;
VK_STENCIL_OP_ZERO : constant unsigned := 1;
VK_STENCIL_OP_REPLACE : constant unsigned := 2;
VK_STENCIL_OP_INCREMENT_AND_CLAMP : constant unsigned := 3;
VK_STENCIL_OP_DECREMENT_AND_CLAMP : constant unsigned := 4;
VK_STENCIL_OP_INVERT : constant unsigned := 5;
VK_STENCIL_OP_INCREMENT_AND_WRAP : constant unsigned := 6;
VK_STENCIL_OP_DECREMENT_AND_WRAP : constant unsigned := 7;
VK_STENCIL_OP_BEGIN_RANGE : constant unsigned := 0;
VK_STENCIL_OP_END_RANGE : constant unsigned := 7;
VK_STENCIL_OP_RANGE_SIZE : constant unsigned := 8;
VK_STENCIL_OP_MAX_ENUM : constant unsigned := 2147483647; -- vulkan_core.h:1161
subtype VkLogicOp is unsigned;
VK_LOGIC_OP_CLEAR : constant unsigned := 0;
VK_LOGIC_OP_AND : constant unsigned := 1;
VK_LOGIC_OP_AND_REVERSE : constant unsigned := 2;
VK_LOGIC_OP_COPY : constant unsigned := 3;
VK_LOGIC_OP_AND_INVERTED : constant unsigned := 4;
VK_LOGIC_OP_NO_OP : constant unsigned := 5;
VK_LOGIC_OP_XOR : constant unsigned := 6;
VK_LOGIC_OP_OR : constant unsigned := 7;
VK_LOGIC_OP_NOR : constant unsigned := 8;
VK_LOGIC_OP_EQUIVALENT : constant unsigned := 9;
VK_LOGIC_OP_INVERT : constant unsigned := 10;
VK_LOGIC_OP_OR_REVERSE : constant unsigned := 11;
VK_LOGIC_OP_COPY_INVERTED : constant unsigned := 12;
VK_LOGIC_OP_OR_INVERTED : constant unsigned := 13;
VK_LOGIC_OP_NAND : constant unsigned := 14;
VK_LOGIC_OP_SET : constant unsigned := 15;
VK_LOGIC_OP_BEGIN_RANGE : constant unsigned := 0;
VK_LOGIC_OP_END_RANGE : constant unsigned := 15;
VK_LOGIC_OP_RANGE_SIZE : constant unsigned := 16;
VK_LOGIC_OP_MAX_ENUM : constant unsigned := 2147483647; -- vulkan_core.h:1176
subtype VkBlendFactor is unsigned;
VK_BLEND_FACTOR_ZERO : constant unsigned := 0;
VK_BLEND_FACTOR_ONE : constant unsigned := 1;
VK_BLEND_FACTOR_SRC_COLOR : constant unsigned := 2;
VK_BLEND_FACTOR_ONE_MINUS_SRC_COLOR : constant unsigned := 3;
VK_BLEND_FACTOR_DST_COLOR : constant unsigned := 4;
VK_BLEND_FACTOR_ONE_MINUS_DST_COLOR : constant unsigned := 5;
VK_BLEND_FACTOR_SRC_ALPHA : constant unsigned := 6;
VK_BLEND_FACTOR_ONE_MINUS_SRC_ALPHA : constant unsigned := 7;
VK_BLEND_FACTOR_DST_ALPHA : constant unsigned := 8;
VK_BLEND_FACTOR_ONE_MINUS_DST_ALPHA : constant unsigned := 9;
VK_BLEND_FACTOR_CONSTANT_COLOR : constant unsigned := 10;
VK_BLEND_FACTOR_ONE_MINUS_CONSTANT_COLOR : constant unsigned := 11;
VK_BLEND_FACTOR_CONSTANT_ALPHA : constant unsigned := 12;
VK_BLEND_FACTOR_ONE_MINUS_CONSTANT_ALPHA : constant unsigned := 13;
VK_BLEND_FACTOR_SRC_ALPHA_SATURATE : constant unsigned := 14;
VK_BLEND_FACTOR_SRC1_COLOR : constant unsigned := 15;
VK_BLEND_FACTOR_ONE_MINUS_SRC1_COLOR : constant unsigned := 16;
VK_BLEND_FACTOR_SRC1_ALPHA : constant unsigned := 17;
VK_BLEND_FACTOR_ONE_MINUS_SRC1_ALPHA : constant unsigned := 18;
VK_BLEND_FACTOR_BEGIN_RANGE : constant unsigned := 0;
VK_BLEND_FACTOR_END_RANGE : constant unsigned := 18;
VK_BLEND_FACTOR_RANGE_SIZE : constant unsigned := 19;
VK_BLEND_FACTOR_MAX_ENUM : constant unsigned := 2147483647; -- vulkan_core.h:1199
subtype VkBlendOp is unsigned;
VK_BLEND_OP_ADD : constant unsigned := 0;
VK_BLEND_OP_SUBTRACT : constant unsigned := 1;
VK_BLEND_OP_REVERSE_SUBTRACT : constant unsigned := 2;
VK_BLEND_OP_MIN : constant unsigned := 3;
VK_BLEND_OP_MAX : constant unsigned := 4;
VK_BLEND_OP_ZERO_EXT : constant unsigned := 1000148000;
VK_BLEND_OP_SRC_EXT : constant unsigned := 1000148001;
VK_BLEND_OP_DST_EXT : constant unsigned := 1000148002;
VK_BLEND_OP_SRC_OVER_EXT : constant unsigned := 1000148003;
VK_BLEND_OP_DST_OVER_EXT : constant unsigned := 1000148004;
VK_BLEND_OP_SRC_IN_EXT : constant unsigned := 1000148005;
VK_BLEND_OP_DST_IN_EXT : constant unsigned := 1000148006;
VK_BLEND_OP_SRC_OUT_EXT : constant unsigned := 1000148007;
VK_BLEND_OP_DST_OUT_EXT : constant unsigned := 1000148008;
VK_BLEND_OP_SRC_ATOP_EXT : constant unsigned := 1000148009;
VK_BLEND_OP_DST_ATOP_EXT : constant unsigned := 1000148010;
VK_BLEND_OP_XOR_EXT : constant unsigned := 1000148011;
VK_BLEND_OP_MULTIPLY_EXT : constant unsigned := 1000148012;
VK_BLEND_OP_SCREEN_EXT : constant unsigned := 1000148013;
VK_BLEND_OP_OVERLAY_EXT : constant unsigned := 1000148014;
VK_BLEND_OP_DARKEN_EXT : constant unsigned := 1000148015;
VK_BLEND_OP_LIGHTEN_EXT : constant unsigned := 1000148016;
VK_BLEND_OP_COLORDODGE_EXT : constant unsigned := 1000148017;
VK_BLEND_OP_COLORBURN_EXT : constant unsigned := 1000148018;
VK_BLEND_OP_HARDLIGHT_EXT : constant unsigned := 1000148019;
VK_BLEND_OP_SOFTLIGHT_EXT : constant unsigned := 1000148020;
VK_BLEND_OP_DIFFERENCE_EXT : constant unsigned := 1000148021;
VK_BLEND_OP_EXCLUSION_EXT : constant unsigned := 1000148022;
VK_BLEND_OP_INVERT_EXT : constant unsigned := 1000148023;
VK_BLEND_OP_INVERT_RGB_EXT : constant unsigned := 1000148024;
VK_BLEND_OP_LINEARDODGE_EXT : constant unsigned := 1000148025;
VK_BLEND_OP_LINEARBURN_EXT : constant unsigned := 1000148026;
VK_BLEND_OP_VIVIDLIGHT_EXT : constant unsigned := 1000148027;
VK_BLEND_OP_LINEARLIGHT_EXT : constant unsigned := 1000148028;
VK_BLEND_OP_PINLIGHT_EXT : constant unsigned := 1000148029;
VK_BLEND_OP_HARDMIX_EXT : constant unsigned := 1000148030;
VK_BLEND_OP_HSL_HUE_EXT : constant unsigned := 1000148031;
VK_BLEND_OP_HSL_SATURATION_EXT : constant unsigned := 1000148032;
VK_BLEND_OP_HSL_COLOR_EXT : constant unsigned := 1000148033;
VK_BLEND_OP_HSL_LUMINOSITY_EXT : constant unsigned := 1000148034;
VK_BLEND_OP_PLUS_EXT : constant unsigned := 1000148035;
VK_BLEND_OP_PLUS_CLAMPED_EXT : constant unsigned := 1000148036;
VK_BLEND_OP_PLUS_CLAMPED_ALPHA_EXT : constant unsigned := 1000148037;
VK_BLEND_OP_PLUS_DARKER_EXT : constant unsigned := 1000148038;
VK_BLEND_OP_MINUS_EXT : constant unsigned := 1000148039;
VK_BLEND_OP_MINUS_CLAMPED_EXT : constant unsigned := 1000148040;
VK_BLEND_OP_CONTRAST_EXT : constant unsigned := 1000148041;
VK_BLEND_OP_INVERT_OVG_EXT : constant unsigned := 1000148042;
VK_BLEND_OP_RED_EXT : constant unsigned := 1000148043;
VK_BLEND_OP_GREEN_EXT : constant unsigned := 1000148044;
VK_BLEND_OP_BLUE_EXT : constant unsigned := 1000148045;
VK_BLEND_OP_BEGIN_RANGE : constant unsigned := 0;
VK_BLEND_OP_END_RANGE : constant unsigned := 4;
VK_BLEND_OP_RANGE_SIZE : constant unsigned := 5;
VK_BLEND_OP_MAX_ENUM : constant unsigned := 2147483647; -- vulkan_core.h:1225
subtype VkDynamicState is unsigned;
VK_DYNAMIC_STATE_VIEWPORT : constant unsigned := 0;
VK_DYNAMIC_STATE_SCISSOR : constant unsigned := 1;
VK_DYNAMIC_STATE_LINE_WIDTH : constant unsigned := 2;
VK_DYNAMIC_STATE_DEPTH_BIAS : constant unsigned := 3;
VK_DYNAMIC_STATE_BLEND_CONSTANTS : constant unsigned := 4;
VK_DYNAMIC_STATE_DEPTH_BOUNDS : constant unsigned := 5;
VK_DYNAMIC_STATE_STENCIL_COMPARE_MASK : constant unsigned := 6;
VK_DYNAMIC_STATE_STENCIL_WRITE_MASK : constant unsigned := 7;
VK_DYNAMIC_STATE_STENCIL_REFERENCE : constant unsigned := 8;
VK_DYNAMIC_STATE_VIEWPORT_W_SCALING_NV : constant unsigned := 1000087000;
VK_DYNAMIC_STATE_DISCARD_RECTANGLE_EXT : constant unsigned := 1000099000;
VK_DYNAMIC_STATE_SAMPLE_LOCATIONS_EXT : constant unsigned := 1000143000;
VK_DYNAMIC_STATE_VIEWPORT_SHADING_RATE_PALETTE_NV : constant unsigned := 1000164004;
VK_DYNAMIC_STATE_VIEWPORT_COARSE_SAMPLE_ORDER_NV : constant unsigned := 1000164006;
VK_DYNAMIC_STATE_EXCLUSIVE_SCISSOR_NV : constant unsigned := 1000205001;
VK_DYNAMIC_STATE_LINE_STIPPLE_EXT : constant unsigned := 1000259000;
VK_DYNAMIC_STATE_BEGIN_RANGE : constant unsigned := 0;
VK_DYNAMIC_STATE_END_RANGE : constant unsigned := 8;
VK_DYNAMIC_STATE_RANGE_SIZE : constant unsigned := 9;
VK_DYNAMIC_STATE_MAX_ENUM : constant unsigned := 2147483647; -- vulkan_core.h:1283
subtype VkFilter is unsigned;
VK_FILTER_NEAREST : constant unsigned := 0;
VK_FILTER_LINEAR : constant unsigned := 1;
VK_FILTER_CUBIC_IMG : constant unsigned := 1000015000;
VK_FILTER_CUBIC_EXT : constant unsigned := 1000015000;
VK_FILTER_BEGIN_RANGE : constant unsigned := 0;
VK_FILTER_END_RANGE : constant unsigned := 1;
VK_FILTER_RANGE_SIZE : constant unsigned := 2;
VK_FILTER_MAX_ENUM : constant unsigned := 2147483647; -- vulkan_core.h:1306
subtype VkSamplerMipmapMode is unsigned;
VK_SAMPLER_MIPMAP_MODE_NEAREST : constant unsigned := 0;
VK_SAMPLER_MIPMAP_MODE_LINEAR : constant unsigned := 1;
VK_SAMPLER_MIPMAP_MODE_BEGIN_RANGE : constant unsigned := 0;
VK_SAMPLER_MIPMAP_MODE_END_RANGE : constant unsigned := 1;
VK_SAMPLER_MIPMAP_MODE_RANGE_SIZE : constant unsigned := 2;
VK_SAMPLER_MIPMAP_MODE_MAX_ENUM : constant unsigned := 2147483647; -- vulkan_core.h:1317
subtype VkSamplerAddressMode is unsigned;
VK_SAMPLER_ADDRESS_MODE_REPEAT : constant unsigned := 0;
VK_SAMPLER_ADDRESS_MODE_MIRRORED_REPEAT : constant unsigned := 1;
VK_SAMPLER_ADDRESS_MODE_CLAMP_TO_EDGE : constant unsigned := 2;
VK_SAMPLER_ADDRESS_MODE_CLAMP_TO_BORDER : constant unsigned := 3;
VK_SAMPLER_ADDRESS_MODE_MIRROR_CLAMP_TO_EDGE : constant unsigned := 4;
VK_SAMPLER_ADDRESS_MODE_MIRROR_CLAMP_TO_EDGE_KHR : constant unsigned := 4;
VK_SAMPLER_ADDRESS_MODE_BEGIN_RANGE : constant unsigned := 0;
VK_SAMPLER_ADDRESS_MODE_END_RANGE : constant unsigned := 3;
VK_SAMPLER_ADDRESS_MODE_RANGE_SIZE : constant unsigned := 4;
VK_SAMPLER_ADDRESS_MODE_MAX_ENUM : constant unsigned := 2147483647; -- vulkan_core.h:1326
subtype VkBorderColor is unsigned;
VK_BORDER_COLOR_FLOAT_TRANSPARENT_BLACK : constant unsigned := 0;
VK_BORDER_COLOR_INT_TRANSPARENT_BLACK : constant unsigned := 1;
VK_BORDER_COLOR_FLOAT_OPAQUE_BLACK : constant unsigned := 2;
VK_BORDER_COLOR_INT_OPAQUE_BLACK : constant unsigned := 3;
VK_BORDER_COLOR_FLOAT_OPAQUE_WHITE : constant unsigned := 4;
VK_BORDER_COLOR_INT_OPAQUE_WHITE : constant unsigned := 5;
VK_BORDER_COLOR_BEGIN_RANGE : constant unsigned := 0;
VK_BORDER_COLOR_END_RANGE : constant unsigned := 5;
VK_BORDER_COLOR_RANGE_SIZE : constant unsigned := 6;
VK_BORDER_COLOR_MAX_ENUM : constant unsigned := 2147483647; -- vulkan_core.h:1339
subtype VkDescriptorType is unsigned;
VK_DESCRIPTOR_TYPE_SAMPLER : constant unsigned := 0;
VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER : constant unsigned := 1;
VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE : constant unsigned := 2;
VK_DESCRIPTOR_TYPE_STORAGE_IMAGE : constant unsigned := 3;
VK_DESCRIPTOR_TYPE_UNIFORM_TEXEL_BUFFER : constant unsigned := 4;
VK_DESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFER : constant unsigned := 5;
VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER : constant unsigned := 6;
VK_DESCRIPTOR_TYPE_STORAGE_BUFFER : constant unsigned := 7;
VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER_DYNAMIC : constant unsigned := 8;
VK_DESCRIPTOR_TYPE_STORAGE_BUFFER_DYNAMIC : constant unsigned := 9;
VK_DESCRIPTOR_TYPE_INPUT_ATTACHMENT : constant unsigned := 10;
VK_DESCRIPTOR_TYPE_INLINE_UNIFORM_BLOCK_EXT : constant unsigned := 1000138000;
VK_DESCRIPTOR_TYPE_ACCELERATION_STRUCTURE_NV : constant unsigned := 1000165000;
VK_DESCRIPTOR_TYPE_BEGIN_RANGE : constant unsigned := 0;
VK_DESCRIPTOR_TYPE_END_RANGE : constant unsigned := 10;
VK_DESCRIPTOR_TYPE_RANGE_SIZE : constant unsigned := 11;
VK_DESCRIPTOR_TYPE_MAX_ENUM : constant unsigned := 2147483647; -- vulkan_core.h:1352
subtype VkAttachmentLoadOp is unsigned;
VK_ATTACHMENT_LOAD_OP_LOAD : constant unsigned := 0;
VK_ATTACHMENT_LOAD_OP_CLEAR : constant unsigned := 1;
VK_ATTACHMENT_LOAD_OP_DONT_CARE : constant unsigned := 2;
VK_ATTACHMENT_LOAD_OP_BEGIN_RANGE : constant unsigned := 0;
VK_ATTACHMENT_LOAD_OP_END_RANGE : constant unsigned := 2;
VK_ATTACHMENT_LOAD_OP_RANGE_SIZE : constant unsigned := 3;
VK_ATTACHMENT_LOAD_OP_MAX_ENUM : constant unsigned := 2147483647; -- vulkan_core.h:1372
subtype VkAttachmentStoreOp is unsigned;
VK_ATTACHMENT_STORE_OP_STORE : constant unsigned := 0;
VK_ATTACHMENT_STORE_OP_DONT_CARE : constant unsigned := 1;
VK_ATTACHMENT_STORE_OP_BEGIN_RANGE : constant unsigned := 0;
VK_ATTACHMENT_STORE_OP_END_RANGE : constant unsigned := 1;
VK_ATTACHMENT_STORE_OP_RANGE_SIZE : constant unsigned := 2;
VK_ATTACHMENT_STORE_OP_MAX_ENUM : constant unsigned := 2147483647; -- vulkan_core.h:1382
subtype VkPipelineBindPoint is unsigned;
VK_PIPELINE_BIND_POINT_GRAPHICS : constant unsigned := 0;
VK_PIPELINE_BIND_POINT_COMPUTE : constant unsigned := 1;
VK_PIPELINE_BIND_POINT_RAY_TRACING_NV : constant unsigned := 1000165000;
VK_PIPELINE_BIND_POINT_BEGIN_RANGE : constant unsigned := 0;
VK_PIPELINE_BIND_POINT_END_RANGE : constant unsigned := 1;
VK_PIPELINE_BIND_POINT_RANGE_SIZE : constant unsigned := 2;
VK_PIPELINE_BIND_POINT_MAX_ENUM : constant unsigned := 2147483647; -- vulkan_core.h:1391
subtype VkCommandBufferLevel is unsigned;
VK_COMMAND_BUFFER_LEVEL_PRIMARY : constant unsigned := 0;
VK_COMMAND_BUFFER_LEVEL_SECONDARY : constant unsigned := 1;
VK_COMMAND_BUFFER_LEVEL_BEGIN_RANGE : constant unsigned := 0;
VK_COMMAND_BUFFER_LEVEL_END_RANGE : constant unsigned := 1;
VK_COMMAND_BUFFER_LEVEL_RANGE_SIZE : constant unsigned := 2;
VK_COMMAND_BUFFER_LEVEL_MAX_ENUM : constant unsigned := 2147483647; -- vulkan_core.h:1401
subtype VkIndexType is unsigned;
VK_INDEX_TYPE_UINT16 : constant unsigned := 0;
VK_INDEX_TYPE_UINT32 : constant unsigned := 1;
VK_INDEX_TYPE_NONE_NV : constant unsigned := 1000165000;
VK_INDEX_TYPE_UINT8_EXT : constant unsigned := 1000265000;
VK_INDEX_TYPE_BEGIN_RANGE : constant unsigned := 0;
VK_INDEX_TYPE_END_RANGE : constant unsigned := 1;
VK_INDEX_TYPE_RANGE_SIZE : constant unsigned := 2;
VK_INDEX_TYPE_MAX_ENUM : constant unsigned := 2147483647; -- vulkan_core.h:1410
subtype VkSubpassContents is unsigned;
VK_SUBPASS_CONTENTS_INLINE : constant unsigned := 0;
VK_SUBPASS_CONTENTS_SECONDARY_COMMAND_BUFFERS : constant unsigned := 1;
VK_SUBPASS_CONTENTS_BEGIN_RANGE : constant unsigned := 0;
VK_SUBPASS_CONTENTS_END_RANGE : constant unsigned := 1;
VK_SUBPASS_CONTENTS_RANGE_SIZE : constant unsigned := 2;
VK_SUBPASS_CONTENTS_MAX_ENUM : constant unsigned := 2147483647; -- vulkan_core.h:1421
subtype VkObjectType is unsigned;
VK_OBJECT_TYPE_UNKNOWN : constant unsigned := 0;
VK_OBJECT_TYPE_INSTANCE : constant unsigned := 1;
VK_OBJECT_TYPE_PHYSICAL_DEVICE : constant unsigned := 2;
VK_OBJECT_TYPE_DEVICE : constant unsigned := 3;
VK_OBJECT_TYPE_QUEUE : constant unsigned := 4;
VK_OBJECT_TYPE_SEMAPHORE : constant unsigned := 5;
VK_OBJECT_TYPE_COMMAND_BUFFER : constant unsigned := 6;
VK_OBJECT_TYPE_FENCE : constant unsigned := 7;
VK_OBJECT_TYPE_DEVICE_MEMORY : constant unsigned := 8;
VK_OBJECT_TYPE_BUFFER : constant unsigned := 9;
VK_OBJECT_TYPE_IMAGE : constant unsigned := 10;
VK_OBJECT_TYPE_EVENT : constant unsigned := 11;
VK_OBJECT_TYPE_QUERY_POOL : constant unsigned := 12;
VK_OBJECT_TYPE_BUFFER_VIEW : constant unsigned := 13;
VK_OBJECT_TYPE_IMAGE_VIEW : constant unsigned := 14;
VK_OBJECT_TYPE_SHADER_MODULE : constant unsigned := 15;
VK_OBJECT_TYPE_PIPELINE_CACHE : constant unsigned := 16;
VK_OBJECT_TYPE_PIPELINE_LAYOUT : constant unsigned := 17;
VK_OBJECT_TYPE_RENDER_PASS : constant unsigned := 18;
VK_OBJECT_TYPE_PIPELINE : constant unsigned := 19;
VK_OBJECT_TYPE_DESCRIPTOR_SET_LAYOUT : constant unsigned := 20;
VK_OBJECT_TYPE_SAMPLER : constant unsigned := 21;
VK_OBJECT_TYPE_DESCRIPTOR_POOL : constant unsigned := 22;
VK_OBJECT_TYPE_DESCRIPTOR_SET : constant unsigned := 23;
VK_OBJECT_TYPE_FRAMEBUFFER : constant unsigned := 24;
VK_OBJECT_TYPE_COMMAND_POOL : constant unsigned := 25;
VK_OBJECT_TYPE_SAMPLER_YCBCR_CONVERSION : constant unsigned := 1000156000;
VK_OBJECT_TYPE_DESCRIPTOR_UPDATE_TEMPLATE : constant unsigned := 1000085000;
VK_OBJECT_TYPE_SURFACE_KHR : constant unsigned := 1000000000;
VK_OBJECT_TYPE_SWAPCHAIN_KHR : constant unsigned := 1000001000;
VK_OBJECT_TYPE_DISPLAY_KHR : constant unsigned := 1000002000;
VK_OBJECT_TYPE_DISPLAY_MODE_KHR : constant unsigned := 1000002001;
VK_OBJECT_TYPE_DEBUG_REPORT_CALLBACK_EXT : constant unsigned := 1000011000;
VK_OBJECT_TYPE_OBJECT_TABLE_NVX : constant unsigned := 1000086000;
VK_OBJECT_TYPE_INDIRECT_COMMANDS_LAYOUT_NVX : constant unsigned := 1000086001;
VK_OBJECT_TYPE_DEBUG_UTILS_MESSENGER_EXT : constant unsigned := 1000128000;
VK_OBJECT_TYPE_VALIDATION_CACHE_EXT : constant unsigned := 1000160000;
VK_OBJECT_TYPE_ACCELERATION_STRUCTURE_NV : constant unsigned := 1000165000;
VK_OBJECT_TYPE_PERFORMANCE_CONFIGURATION_INTEL : constant unsigned := 1000210000;
VK_OBJECT_TYPE_DESCRIPTOR_UPDATE_TEMPLATE_KHR : constant unsigned := 1000085000;
VK_OBJECT_TYPE_SAMPLER_YCBCR_CONVERSION_KHR : constant unsigned := 1000156000;
VK_OBJECT_TYPE_BEGIN_RANGE : constant unsigned := 0;
VK_OBJECT_TYPE_END_RANGE : constant unsigned := 25;
VK_OBJECT_TYPE_RANGE_SIZE : constant unsigned := 26;
VK_OBJECT_TYPE_MAX_ENUM : constant unsigned := 2147483647; -- vulkan_core.h:1430
subtype VkVendorId is unsigned;
VK_VENDOR_ID_VIV : constant unsigned := 65537;
VK_VENDOR_ID_VSI : constant unsigned := 65538;
VK_VENDOR_ID_KAZAN : constant unsigned := 65539;
VK_VENDOR_ID_BEGIN_RANGE : constant unsigned := 65537;
VK_VENDOR_ID_END_RANGE : constant unsigned := 65539;
VK_VENDOR_ID_RANGE_SIZE : constant unsigned := 3;
VK_VENDOR_ID_MAX_ENUM : constant unsigned := 2147483647; -- vulkan_core.h:1478
subtype VkInstanceCreateFlags is VkFlags; -- vulkan_core.h:1487
subtype VkFormatFeatureFlagBits is unsigned;
VK_FORMAT_FEATURE_SAMPLED_IMAGE_BIT : constant unsigned := 1;
VK_FORMAT_FEATURE_STORAGE_IMAGE_BIT : constant unsigned := 2;
VK_FORMAT_FEATURE_STORAGE_IMAGE_ATOMIC_BIT : constant unsigned := 4;
VK_FORMAT_FEATURE_UNIFORM_TEXEL_BUFFER_BIT : constant unsigned := 8;
VK_FORMAT_FEATURE_STORAGE_TEXEL_BUFFER_BIT : constant unsigned := 16;
VK_FORMAT_FEATURE_STORAGE_TEXEL_BUFFER_ATOMIC_BIT : constant unsigned := 32;
VK_FORMAT_FEATURE_VERTEX_BUFFER_BIT : constant unsigned := 64;
VK_FORMAT_FEATURE_COLOR_ATTACHMENT_BIT : constant unsigned := 128;
VK_FORMAT_FEATURE_COLOR_ATTACHMENT_BLEND_BIT : constant unsigned := 256;
VK_FORMAT_FEATURE_DEPTH_STENCIL_ATTACHMENT_BIT : constant unsigned := 512;
VK_FORMAT_FEATURE_BLIT_SRC_BIT : constant unsigned := 1024;
VK_FORMAT_FEATURE_BLIT_DST_BIT : constant unsigned := 2048;
VK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_LINEAR_BIT : constant unsigned := 4096;
VK_FORMAT_FEATURE_TRANSFER_SRC_BIT : constant unsigned := 16384;
VK_FORMAT_FEATURE_TRANSFER_DST_BIT : constant unsigned := 32768;
VK_FORMAT_FEATURE_MIDPOINT_CHROMA_SAMPLES_BIT : constant unsigned := 131072;
VK_FORMAT_FEATURE_SAMPLED_IMAGE_YCBCR_CONVERSION_LINEAR_FILTER_BIT : constant unsigned := 262144;
VK_FORMAT_FEATURE_SAMPLED_IMAGE_YCBCR_CONVERSION_SEPARATE_RECONSTRUCTION_FILTER_BIT : constant unsigned := 524288;
VK_FORMAT_FEATURE_SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_BIT : constant unsigned := 1048576;
VK_FORMAT_FEATURE_SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_FORCEABLE_BIT : constant unsigned := 2097152;
VK_FORMAT_FEATURE_DISJOINT_BIT : constant unsigned := 4194304;
VK_FORMAT_FEATURE_COSITED_CHROMA_SAMPLES_BIT : constant unsigned := 8388608;
VK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_MINMAX_BIT : constant unsigned := 65536;
VK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_CUBIC_BIT_IMG : constant unsigned := 8192;
VK_FORMAT_FEATURE_FRAGMENT_DENSITY_MAP_BIT_EXT : constant unsigned := 16777216;
VK_FORMAT_FEATURE_TRANSFER_SRC_BIT_KHR : constant unsigned := 16384;
VK_FORMAT_FEATURE_TRANSFER_DST_BIT_KHR : constant unsigned := 32768;
VK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_MINMAX_BIT_EXT : constant unsigned := 65536;
VK_FORMAT_FEATURE_MIDPOINT_CHROMA_SAMPLES_BIT_KHR : constant unsigned := 131072;
VK_FORMAT_FEATURE_SAMPLED_IMAGE_YCBCR_CONVERSION_LINEAR_FILTER_BIT_KHR : constant unsigned := 262144;
VK_FORMAT_FEATURE_SAMPLED_IMAGE_YCBCR_CONVERSION_SEPARATE_RECONSTRUCTION_FILTER_BIT_KHR : constant unsigned := 524288;
VK_FORMAT_FEATURE_SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_BIT_KHR : constant unsigned := 1048576;
VK_FORMAT_FEATURE_SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_FORCEABLE_BIT_KHR : constant unsigned := 2097152;
VK_FORMAT_FEATURE_DISJOINT_BIT_KHR : constant unsigned := 4194304;
VK_FORMAT_FEATURE_COSITED_CHROMA_SAMPLES_BIT_KHR : constant unsigned := 8388608;
VK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_CUBIC_BIT_EXT : constant unsigned := 8192;
VK_FORMAT_FEATURE_FLAG_BITS_MAX_ENUM : constant unsigned := 2147483647; -- vulkan_core.h:1489
subtype VkFormatFeatureFlags is VkFlags; -- vulkan_core.h:1528
subtype VkImageUsageFlagBits is unsigned;
VK_IMAGE_USAGE_TRANSFER_SRC_BIT : constant unsigned := 1;
VK_IMAGE_USAGE_TRANSFER_DST_BIT : constant unsigned := 2;
VK_IMAGE_USAGE_SAMPLED_BIT : constant unsigned := 4;
VK_IMAGE_USAGE_STORAGE_BIT : constant unsigned := 8;
VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT : constant unsigned := 16;
VK_IMAGE_USAGE_DEPTH_STENCIL_ATTACHMENT_BIT : constant unsigned := 32;
VK_IMAGE_USAGE_TRANSIENT_ATTACHMENT_BIT : constant unsigned := 64;
VK_IMAGE_USAGE_INPUT_ATTACHMENT_BIT : constant unsigned := 128;
VK_IMAGE_USAGE_SHADING_RATE_IMAGE_BIT_NV : constant unsigned := 256;
VK_IMAGE_USAGE_FRAGMENT_DENSITY_MAP_BIT_EXT : constant unsigned := 512;
VK_IMAGE_USAGE_FLAG_BITS_MAX_ENUM : constant unsigned := 2147483647; -- vulkan_core.h:1530
subtype VkImageUsageFlags is VkFlags; -- vulkan_core.h:1543
subtype VkImageCreateFlagBits is unsigned;
VK_IMAGE_CREATE_SPARSE_BINDING_BIT : constant unsigned := 1;
VK_IMAGE_CREATE_SPARSE_RESIDENCY_BIT : constant unsigned := 2;
VK_IMAGE_CREATE_SPARSE_ALIASED_BIT : constant unsigned := 4;
VK_IMAGE_CREATE_MUTABLE_FORMAT_BIT : constant unsigned := 8;
VK_IMAGE_CREATE_CUBE_COMPATIBLE_BIT : constant unsigned := 16;
VK_IMAGE_CREATE_ALIAS_BIT : constant unsigned := 1024;
VK_IMAGE_CREATE_SPLIT_INSTANCE_BIND_REGIONS_BIT : constant unsigned := 64;
VK_IMAGE_CREATE_2D_ARRAY_COMPATIBLE_BIT : constant unsigned := 32;
VK_IMAGE_CREATE_BLOCK_TEXEL_VIEW_COMPATIBLE_BIT : constant unsigned := 128;
VK_IMAGE_CREATE_EXTENDED_USAGE_BIT : constant unsigned := 256;
VK_IMAGE_CREATE_PROTECTED_BIT : constant unsigned := 2048;
VK_IMAGE_CREATE_DISJOINT_BIT : constant unsigned := 512;
VK_IMAGE_CREATE_CORNER_SAMPLED_BIT_NV : constant unsigned := 8192;
VK_IMAGE_CREATE_SAMPLE_LOCATIONS_COMPATIBLE_DEPTH_BIT_EXT : constant unsigned := 4096;
VK_IMAGE_CREATE_SUBSAMPLED_BIT_EXT : constant unsigned := 16384;
VK_IMAGE_CREATE_SPLIT_INSTANCE_BIND_REGIONS_BIT_KHR : constant unsigned := 64;
VK_IMAGE_CREATE_2D_ARRAY_COMPATIBLE_BIT_KHR : constant unsigned := 32;
VK_IMAGE_CREATE_BLOCK_TEXEL_VIEW_COMPATIBLE_BIT_KHR : constant unsigned := 128;
VK_IMAGE_CREATE_EXTENDED_USAGE_BIT_KHR : constant unsigned := 256;
VK_IMAGE_CREATE_DISJOINT_BIT_KHR : constant unsigned := 512;
VK_IMAGE_CREATE_ALIAS_BIT_KHR : constant unsigned := 1024;
VK_IMAGE_CREATE_FLAG_BITS_MAX_ENUM : constant unsigned := 2147483647; -- vulkan_core.h:1545
subtype VkImageCreateFlags is VkFlags; -- vulkan_core.h:1569
subtype VkSampleCountFlagBits is unsigned;
VK_SAMPLE_COUNT_1_BIT : constant unsigned := 1;
VK_SAMPLE_COUNT_2_BIT : constant unsigned := 2;
VK_SAMPLE_COUNT_4_BIT : constant unsigned := 4;
VK_SAMPLE_COUNT_8_BIT : constant unsigned := 8;
VK_SAMPLE_COUNT_16_BIT : constant unsigned := 16;
VK_SAMPLE_COUNT_32_BIT : constant unsigned := 32;
VK_SAMPLE_COUNT_64_BIT : constant unsigned := 64;
VK_SAMPLE_COUNT_FLAG_BITS_MAX_ENUM : constant unsigned := 2147483647; -- vulkan_core.h:1571
subtype VkSampleCountFlags is VkFlags; -- vulkan_core.h:1581
subtype VkQueueFlagBits is unsigned;
VK_QUEUE_GRAPHICS_BIT : constant unsigned := 1;
VK_QUEUE_COMPUTE_BIT : constant unsigned := 2;
VK_QUEUE_TRANSFER_BIT : constant unsigned := 4;
VK_QUEUE_SPARSE_BINDING_BIT : constant unsigned := 8;
VK_QUEUE_PROTECTED_BIT : constant unsigned := 16;
VK_QUEUE_FLAG_BITS_MAX_ENUM : constant unsigned := 2147483647; -- vulkan_core.h:1583
subtype VkQueueFlags is VkFlags; -- vulkan_core.h:1591
subtype VkMemoryPropertyFlagBits is unsigned;
VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT : constant unsigned := 1;
VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT : constant unsigned := 2;
VK_MEMORY_PROPERTY_HOST_COHERENT_BIT : constant unsigned := 4;
VK_MEMORY_PROPERTY_HOST_CACHED_BIT : constant unsigned := 8;
VK_MEMORY_PROPERTY_LAZILY_ALLOCATED_BIT : constant unsigned := 16;
VK_MEMORY_PROPERTY_PROTECTED_BIT : constant unsigned := 32;
VK_MEMORY_PROPERTY_DEVICE_COHERENT_BIT_AMD : constant unsigned := 64;
VK_MEMORY_PROPERTY_DEVICE_UNCACHED_BIT_AMD : constant unsigned := 128;
VK_MEMORY_PROPERTY_FLAG_BITS_MAX_ENUM : constant unsigned := 2147483647; -- vulkan_core.h:1593
subtype VkMemoryPropertyFlags is VkFlags; -- vulkan_core.h:1604
subtype VkMemoryHeapFlagBits is unsigned;
VK_MEMORY_HEAP_DEVICE_LOCAL_BIT : constant unsigned := 1;
VK_MEMORY_HEAP_MULTI_INSTANCE_BIT : constant unsigned := 2;
VK_MEMORY_HEAP_MULTI_INSTANCE_BIT_KHR : constant unsigned := 2;
VK_MEMORY_HEAP_FLAG_BITS_MAX_ENUM : constant unsigned := 2147483647; -- vulkan_core.h:1606
subtype VkMemoryHeapFlags is VkFlags; -- vulkan_core.h:1612
subtype VkDeviceCreateFlags is VkFlags; -- vulkan_core.h:1613
subtype VkDeviceQueueCreateFlagBits is unsigned;
VK_DEVICE_QUEUE_CREATE_PROTECTED_BIT : constant unsigned := 1;
VK_DEVICE_QUEUE_CREATE_FLAG_BITS_MAX_ENUM : constant unsigned := 2147483647; -- vulkan_core.h:1615
subtype VkDeviceQueueCreateFlags is VkFlags; -- vulkan_core.h:1619
subtype VkPipelineStageFlagBits is unsigned;
VK_PIPELINE_STAGE_TOP_OF_PIPE_BIT : constant unsigned := 1;
VK_PIPELINE_STAGE_DRAW_INDIRECT_BIT : constant unsigned := 2;
VK_PIPELINE_STAGE_VERTEX_INPUT_BIT : constant unsigned := 4;
VK_PIPELINE_STAGE_VERTEX_SHADER_BIT : constant unsigned := 8;
VK_PIPELINE_STAGE_TESSELLATION_CONTROL_SHADER_BIT : constant unsigned := 16;
VK_PIPELINE_STAGE_TESSELLATION_EVALUATION_SHADER_BIT : constant unsigned := 32;
VK_PIPELINE_STAGE_GEOMETRY_SHADER_BIT : constant unsigned := 64;
VK_PIPELINE_STAGE_FRAGMENT_SHADER_BIT : constant unsigned := 128;
VK_PIPELINE_STAGE_EARLY_FRAGMENT_TESTS_BIT : constant unsigned := 256;
VK_PIPELINE_STAGE_LATE_FRAGMENT_TESTS_BIT : constant unsigned := 512;
VK_PIPELINE_STAGE_COLOR_ATTACHMENT_OUTPUT_BIT : constant unsigned := 1024;
VK_PIPELINE_STAGE_COMPUTE_SHADER_BIT : constant unsigned := 2048;
VK_PIPELINE_STAGE_TRANSFER_BIT : constant unsigned := 4096;
VK_PIPELINE_STAGE_BOTTOM_OF_PIPE_BIT : constant unsigned := 8192;
VK_PIPELINE_STAGE_HOST_BIT : constant unsigned := 16384;
VK_PIPELINE_STAGE_ALL_GRAPHICS_BIT : constant unsigned := 32768;
VK_PIPELINE_STAGE_ALL_COMMANDS_BIT : constant unsigned := 65536;
VK_PIPELINE_STAGE_TRANSFORM_FEEDBACK_BIT_EXT : constant unsigned := 16777216;
VK_PIPELINE_STAGE_CONDITIONAL_RENDERING_BIT_EXT : constant unsigned := 262144;
VK_PIPELINE_STAGE_COMMAND_PROCESS_BIT_NVX : constant unsigned := 131072;
VK_PIPELINE_STAGE_SHADING_RATE_IMAGE_BIT_NV : constant unsigned := 4194304;
VK_PIPELINE_STAGE_RAY_TRACING_SHADER_BIT_NV : constant unsigned := 2097152;
VK_PIPELINE_STAGE_ACCELERATION_STRUCTURE_BUILD_BIT_NV : constant unsigned := 33554432;
VK_PIPELINE_STAGE_TASK_SHADER_BIT_NV : constant unsigned := 524288;
VK_PIPELINE_STAGE_MESH_SHADER_BIT_NV : constant unsigned := 1048576;
VK_PIPELINE_STAGE_FRAGMENT_DENSITY_PROCESS_BIT_EXT : constant unsigned := 8388608;
VK_PIPELINE_STAGE_FLAG_BITS_MAX_ENUM : constant unsigned := 2147483647; -- vulkan_core.h:1621
subtype VkPipelineStageFlags is VkFlags; -- vulkan_core.h:1650
subtype VkMemoryMapFlags is VkFlags; -- vulkan_core.h:1651
subtype VkImageAspectFlagBits is unsigned;
VK_IMAGE_ASPECT_COLOR_BIT : constant unsigned := 1;
VK_IMAGE_ASPECT_DEPTH_BIT : constant unsigned := 2;
VK_IMAGE_ASPECT_STENCIL_BIT : constant unsigned := 4;
VK_IMAGE_ASPECT_METADATA_BIT : constant unsigned := 8;
VK_IMAGE_ASPECT_PLANE_0_BIT : constant unsigned := 16;
VK_IMAGE_ASPECT_PLANE_1_BIT : constant unsigned := 32;
VK_IMAGE_ASPECT_PLANE_2_BIT : constant unsigned := 64;
VK_IMAGE_ASPECT_MEMORY_PLANE_0_BIT_EXT : constant unsigned := 128;
VK_IMAGE_ASPECT_MEMORY_PLANE_1_BIT_EXT : constant unsigned := 256;
VK_IMAGE_ASPECT_MEMORY_PLANE_2_BIT_EXT : constant unsigned := 512;
VK_IMAGE_ASPECT_MEMORY_PLANE_3_BIT_EXT : constant unsigned := 1024;
VK_IMAGE_ASPECT_PLANE_0_BIT_KHR : constant unsigned := 16;
VK_IMAGE_ASPECT_PLANE_1_BIT_KHR : constant unsigned := 32;
VK_IMAGE_ASPECT_PLANE_2_BIT_KHR : constant unsigned := 64;
VK_IMAGE_ASPECT_FLAG_BITS_MAX_ENUM : constant unsigned := 2147483647; -- vulkan_core.h:1653
subtype VkImageAspectFlags is VkFlags; -- vulkan_core.h:1670
subtype VkSparseImageFormatFlagBits is unsigned;
VK_SPARSE_IMAGE_FORMAT_SINGLE_MIPTAIL_BIT : constant unsigned := 1;
VK_SPARSE_IMAGE_FORMAT_ALIGNED_MIP_SIZE_BIT : constant unsigned := 2;
VK_SPARSE_IMAGE_FORMAT_NONSTANDARD_BLOCK_SIZE_BIT : constant unsigned := 4;
VK_SPARSE_IMAGE_FORMAT_FLAG_BITS_MAX_ENUM : constant unsigned := 2147483647; -- vulkan_core.h:1672
subtype VkSparseImageFormatFlags is VkFlags; -- vulkan_core.h:1678
subtype VkSparseMemoryBindFlagBits is unsigned;
VK_SPARSE_MEMORY_BIND_METADATA_BIT : constant unsigned := 1;
VK_SPARSE_MEMORY_BIND_FLAG_BITS_MAX_ENUM : constant unsigned := 2147483647; -- vulkan_core.h:1680
subtype VkSparseMemoryBindFlags is VkFlags; -- vulkan_core.h:1684
subtype VkFenceCreateFlagBits is unsigned;
VK_FENCE_CREATE_SIGNALED_BIT : constant unsigned := 1;
VK_FENCE_CREATE_FLAG_BITS_MAX_ENUM : constant unsigned := 2147483647; -- vulkan_core.h:1686
subtype VkFenceCreateFlags is VkFlags; -- vulkan_core.h:1690
subtype VkSemaphoreCreateFlags is VkFlags; -- vulkan_core.h:1691
subtype VkEventCreateFlags is VkFlags; -- vulkan_core.h:1692
subtype VkQueryPoolCreateFlags is VkFlags; -- vulkan_core.h:1693
subtype VkQueryPipelineStatisticFlagBits is unsigned;
VK_QUERY_PIPELINE_STATISTIC_INPUT_ASSEMBLY_VERTICES_BIT : constant unsigned := 1;
VK_QUERY_PIPELINE_STATISTIC_INPUT_ASSEMBLY_PRIMITIVES_BIT : constant unsigned := 2;
VK_QUERY_PIPELINE_STATISTIC_VERTEX_SHADER_INVOCATIONS_BIT : constant unsigned := 4;
VK_QUERY_PIPELINE_STATISTIC_GEOMETRY_SHADER_INVOCATIONS_BIT : constant unsigned := 8;
VK_QUERY_PIPELINE_STATISTIC_GEOMETRY_SHADER_PRIMITIVES_BIT : constant unsigned := 16;
VK_QUERY_PIPELINE_STATISTIC_CLIPPING_INVOCATIONS_BIT : constant unsigned := 32;
VK_QUERY_PIPELINE_STATISTIC_CLIPPING_PRIMITIVES_BIT : constant unsigned := 64;
VK_QUERY_PIPELINE_STATISTIC_FRAGMENT_SHADER_INVOCATIONS_BIT : constant unsigned := 128;
VK_QUERY_PIPELINE_STATISTIC_TESSELLATION_CONTROL_SHADER_PATCHES_BIT : constant unsigned := 256;
VK_QUERY_PIPELINE_STATISTIC_TESSELLATION_EVALUATION_SHADER_INVOCATIONS_BIT : constant unsigned := 512;
VK_QUERY_PIPELINE_STATISTIC_COMPUTE_SHADER_INVOCATIONS_BIT : constant unsigned := 1024;
VK_QUERY_PIPELINE_STATISTIC_FLAG_BITS_MAX_ENUM : constant unsigned := 2147483647; -- vulkan_core.h:1695
subtype VkQueryPipelineStatisticFlags is VkFlags; -- vulkan_core.h:1709
subtype VkQueryResultFlagBits is unsigned;
VK_QUERY_RESULT_64_BIT : constant unsigned := 1;
VK_QUERY_RESULT_WAIT_BIT : constant unsigned := 2;
VK_QUERY_RESULT_WITH_AVAILABILITY_BIT : constant unsigned := 4;
VK_QUERY_RESULT_PARTIAL_BIT : constant unsigned := 8;
VK_QUERY_RESULT_FLAG_BITS_MAX_ENUM : constant unsigned := 2147483647; -- vulkan_core.h:1711
subtype VkQueryResultFlags is VkFlags; -- vulkan_core.h:1718
subtype VkBufferCreateFlagBits is unsigned;
VK_BUFFER_CREATE_SPARSE_BINDING_BIT : constant unsigned := 1;
VK_BUFFER_CREATE_SPARSE_RESIDENCY_BIT : constant unsigned := 2;
VK_BUFFER_CREATE_SPARSE_ALIASED_BIT : constant unsigned := 4;
VK_BUFFER_CREATE_PROTECTED_BIT : constant unsigned := 8;
VK_BUFFER_CREATE_DEVICE_ADDRESS_CAPTURE_REPLAY_BIT : constant unsigned := 16;
VK_BUFFER_CREATE_DEVICE_ADDRESS_CAPTURE_REPLAY_BIT_EXT : constant unsigned := 16;
VK_BUFFER_CREATE_DEVICE_ADDRESS_CAPTURE_REPLAY_BIT_KHR : constant unsigned := 16;
VK_BUFFER_CREATE_FLAG_BITS_MAX_ENUM : constant unsigned := 2147483647; -- vulkan_core.h:1720
subtype VkBufferCreateFlags is VkFlags; -- vulkan_core.h:1730
subtype VkBufferUsageFlagBits is unsigned;
VK_BUFFER_USAGE_TRANSFER_SRC_BIT : constant unsigned := 1;
VK_BUFFER_USAGE_TRANSFER_DST_BIT : constant unsigned := 2;
VK_BUFFER_USAGE_UNIFORM_TEXEL_BUFFER_BIT : constant unsigned := 4;
VK_BUFFER_USAGE_STORAGE_TEXEL_BUFFER_BIT : constant unsigned := 8;
VK_BUFFER_USAGE_UNIFORM_BUFFER_BIT : constant unsigned := 16;
VK_BUFFER_USAGE_STORAGE_BUFFER_BIT : constant unsigned := 32;
VK_BUFFER_USAGE_INDEX_BUFFER_BIT : constant unsigned := 64;
VK_BUFFER_USAGE_VERTEX_BUFFER_BIT : constant unsigned := 128;
VK_BUFFER_USAGE_INDIRECT_BUFFER_BIT : constant unsigned := 256;
VK_BUFFER_USAGE_SHADER_DEVICE_ADDRESS_BIT : constant unsigned := 131072;
VK_BUFFER_USAGE_TRANSFORM_FEEDBACK_BUFFER_BIT_EXT : constant unsigned := 2048;
VK_BUFFER_USAGE_TRANSFORM_FEEDBACK_COUNTER_BUFFER_BIT_EXT : constant unsigned := 4096;
VK_BUFFER_USAGE_CONDITIONAL_RENDERING_BIT_EXT : constant unsigned := 512;
VK_BUFFER_USAGE_RAY_TRACING_BIT_NV : constant unsigned := 1024;
VK_BUFFER_USAGE_SHADER_DEVICE_ADDRESS_BIT_EXT : constant unsigned := 131072;
VK_BUFFER_USAGE_SHADER_DEVICE_ADDRESS_BIT_KHR : constant unsigned := 131072;
VK_BUFFER_USAGE_FLAG_BITS_MAX_ENUM : constant unsigned := 2147483647; -- vulkan_core.h:1732
subtype VkBufferUsageFlags is VkFlags; -- vulkan_core.h:1751
subtype VkBufferViewCreateFlags is VkFlags; -- vulkan_core.h:1752
subtype VkImageViewCreateFlagBits is unsigned;
VK_IMAGE_VIEW_CREATE_FRAGMENT_DENSITY_MAP_DYNAMIC_BIT_EXT : constant unsigned := 1;
VK_IMAGE_VIEW_CREATE_FLAG_BITS_MAX_ENUM : constant unsigned := 2147483647; -- vulkan_core.h:1754
subtype VkImageViewCreateFlags is VkFlags; -- vulkan_core.h:1758
subtype VkShaderModuleCreateFlagBits is unsigned;
VK_SHADER_MODULE_CREATE_FLAG_BITS_MAX_ENUM : constant unsigned := 2147483647; -- vulkan_core.h:1760
subtype VkShaderModuleCreateFlags is VkFlags; -- vulkan_core.h:1763
subtype VkPipelineCacheCreateFlags is VkFlags; -- vulkan_core.h:1764
subtype VkPipelineCreateFlagBits is unsigned;
VK_PIPELINE_CREATE_DISABLE_OPTIMIZATION_BIT : constant unsigned := 1;
VK_PIPELINE_CREATE_ALLOW_DERIVATIVES_BIT : constant unsigned := 2;
VK_PIPELINE_CREATE_DERIVATIVE_BIT : constant unsigned := 4;
VK_PIPELINE_CREATE_VIEW_INDEX_FROM_DEVICE_INDEX_BIT : constant unsigned := 8;
VK_PIPELINE_CREATE_DISPATCH_BASE_BIT : constant unsigned := 16;
VK_PIPELINE_CREATE_DEFER_COMPILE_BIT_NV : constant unsigned := 32;
VK_PIPELINE_CREATE_CAPTURE_STATISTICS_BIT_KHR : constant unsigned := 64;
VK_PIPELINE_CREATE_CAPTURE_INTERNAL_REPRESENTATIONS_BIT_KHR : constant unsigned := 128;
VK_PIPELINE_CREATE_DISPATCH_BASE : constant unsigned := 16;
VK_PIPELINE_CREATE_VIEW_INDEX_FROM_DEVICE_INDEX_BIT_KHR : constant unsigned := 8;
VK_PIPELINE_CREATE_DISPATCH_BASE_KHR : constant unsigned := 16;
VK_PIPELINE_CREATE_FLAG_BITS_MAX_ENUM : constant unsigned := 2147483647; -- vulkan_core.h:1766
subtype VkPipelineCreateFlags is VkFlags; -- vulkan_core.h:1780
subtype VkPipelineShaderStageCreateFlagBits is unsigned;
VK_PIPELINE_SHADER_STAGE_CREATE_ALLOW_VARYING_SUBGROUP_SIZE_BIT_EXT : constant unsigned := 1;
VK_PIPELINE_SHADER_STAGE_CREATE_REQUIRE_FULL_SUBGROUPS_BIT_EXT : constant unsigned := 2;
VK_PIPELINE_SHADER_STAGE_CREATE_FLAG_BITS_MAX_ENUM : constant unsigned := 2147483647; -- vulkan_core.h:1782
subtype VkPipelineShaderStageCreateFlags is VkFlags; -- vulkan_core.h:1787
subtype VkShaderStageFlagBits is unsigned;
VK_SHADER_STAGE_VERTEX_BIT : constant unsigned := 1;
VK_SHADER_STAGE_TESSELLATION_CONTROL_BIT : constant unsigned := 2;
VK_SHADER_STAGE_TESSELLATION_EVALUATION_BIT : constant unsigned := 4;
VK_SHADER_STAGE_GEOMETRY_BIT : constant unsigned := 8;
VK_SHADER_STAGE_FRAGMENT_BIT : constant unsigned := 16;
VK_SHADER_STAGE_COMPUTE_BIT : constant unsigned := 32;
VK_SHADER_STAGE_ALL_GRAPHICS : constant unsigned := 31;
VK_SHADER_STAGE_ALL : constant unsigned := 2147483647;
VK_SHADER_STAGE_RAYGEN_BIT_NV : constant unsigned := 256;
VK_SHADER_STAGE_ANY_HIT_BIT_NV : constant unsigned := 512;
VK_SHADER_STAGE_CLOSEST_HIT_BIT_NV : constant unsigned := 1024;
VK_SHADER_STAGE_MISS_BIT_NV : constant unsigned := 2048;
VK_SHADER_STAGE_INTERSECTION_BIT_NV : constant unsigned := 4096;
VK_SHADER_STAGE_CALLABLE_BIT_NV : constant unsigned := 8192;
VK_SHADER_STAGE_TASK_BIT_NV : constant unsigned := 64;
VK_SHADER_STAGE_MESH_BIT_NV : constant unsigned := 128;
VK_SHADER_STAGE_FLAG_BITS_MAX_ENUM : constant unsigned := 2147483647; -- vulkan_core.h:1789
subtype VkPipelineVertexInputStateCreateFlags is VkFlags; -- vulkan_core.h:1808
subtype VkPipelineInputAssemblyStateCreateFlags is VkFlags; -- vulkan_core.h:1809
subtype VkPipelineTessellationStateCreateFlags is VkFlags; -- vulkan_core.h:1810
subtype VkPipelineViewportStateCreateFlags is VkFlags; -- vulkan_core.h:1811
subtype VkPipelineRasterizationStateCreateFlags is VkFlags; -- vulkan_core.h:1812
subtype VkCullModeFlagBits is unsigned;
VK_CULL_MODE_NONE : constant unsigned := 0;
VK_CULL_MODE_FRONT_BIT : constant unsigned := 1;
VK_CULL_MODE_BACK_BIT : constant unsigned := 2;
VK_CULL_MODE_FRONT_AND_BACK : constant unsigned := 3;
VK_CULL_MODE_FLAG_BITS_MAX_ENUM : constant unsigned := 2147483647; -- vulkan_core.h:1814
subtype VkCullModeFlags is VkFlags; -- vulkan_core.h:1821
subtype VkPipelineMultisampleStateCreateFlags is VkFlags; -- vulkan_core.h:1822
subtype VkPipelineDepthStencilStateCreateFlags is VkFlags; -- vulkan_core.h:1823
subtype VkPipelineColorBlendStateCreateFlags is VkFlags; -- vulkan_core.h:1824
subtype VkColorComponentFlagBits is unsigned;
VK_COLOR_COMPONENT_R_BIT : constant unsigned := 1;
VK_COLOR_COMPONENT_G_BIT : constant unsigned := 2;
VK_COLOR_COMPONENT_B_BIT : constant unsigned := 4;
VK_COLOR_COMPONENT_A_BIT : constant unsigned := 8;
VK_COLOR_COMPONENT_FLAG_BITS_MAX_ENUM : constant unsigned := 2147483647; -- vulkan_core.h:1826
subtype VkColorComponentFlags is VkFlags; -- vulkan_core.h:1833
subtype VkPipelineDynamicStateCreateFlags is VkFlags; -- vulkan_core.h:1834
subtype VkPipelineLayoutCreateFlags is VkFlags; -- vulkan_core.h:1835
subtype VkShaderStageFlags is VkFlags; -- vulkan_core.h:1836
subtype VkSamplerCreateFlagBits is unsigned;
VK_SAMPLER_CREATE_SUBSAMPLED_BIT_EXT : constant unsigned := 1;
VK_SAMPLER_CREATE_SUBSAMPLED_COARSE_RECONSTRUCTION_BIT_EXT : constant unsigned := 2;
VK_SAMPLER_CREATE_FLAG_BITS_MAX_ENUM : constant unsigned := 2147483647; -- vulkan_core.h:1838
subtype VkSamplerCreateFlags is VkFlags; -- vulkan_core.h:1843
subtype VkDescriptorSetLayoutCreateFlagBits is unsigned;
VK_DESCRIPTOR_SET_LAYOUT_CREATE_UPDATE_AFTER_BIND_POOL_BIT : constant unsigned := 2;
VK_DESCRIPTOR_SET_LAYOUT_CREATE_PUSH_DESCRIPTOR_BIT_KHR : constant unsigned := 1;
VK_DESCRIPTOR_SET_LAYOUT_CREATE_UPDATE_AFTER_BIND_POOL_BIT_EXT : constant unsigned := 2;
VK_DESCRIPTOR_SET_LAYOUT_CREATE_FLAG_BITS_MAX_ENUM : constant unsigned := 2147483647; -- vulkan_core.h:1845
subtype VkDescriptorSetLayoutCreateFlags is VkFlags; -- vulkan_core.h:1851
subtype VkDescriptorPoolCreateFlagBits is unsigned;
VK_DESCRIPTOR_POOL_CREATE_FREE_DESCRIPTOR_SET_BIT : constant unsigned := 1;
VK_DESCRIPTOR_POOL_CREATE_UPDATE_AFTER_BIND_BIT : constant unsigned := 2;
VK_DESCRIPTOR_POOL_CREATE_UPDATE_AFTER_BIND_BIT_EXT : constant unsigned := 2;
VK_DESCRIPTOR_POOL_CREATE_FLAG_BITS_MAX_ENUM : constant unsigned := 2147483647; -- vulkan_core.h:1853
subtype VkDescriptorPoolCreateFlags is VkFlags; -- vulkan_core.h:1859
subtype VkDescriptorPoolResetFlags is VkFlags; -- vulkan_core.h:1860
subtype VkFramebufferCreateFlagBits is unsigned;
VK_FRAMEBUFFER_CREATE_IMAGELESS_BIT : constant unsigned := 1;
VK_FRAMEBUFFER_CREATE_IMAGELESS_BIT_KHR : constant unsigned := 1;
VK_FRAMEBUFFER_CREATE_FLAG_BITS_MAX_ENUM : constant unsigned := 2147483647; -- vulkan_core.h:1862
subtype VkFramebufferCreateFlags is VkFlags; -- vulkan_core.h:1867
subtype VkRenderPassCreateFlagBits is unsigned;
VK_RENDER_PASS_CREATE_FLAG_BITS_MAX_ENUM : constant unsigned := 2147483647; -- vulkan_core.h:1869
subtype VkRenderPassCreateFlags is VkFlags; -- vulkan_core.h:1872
subtype VkAttachmentDescriptionFlagBits is unsigned;
VK_ATTACHMENT_DESCRIPTION_MAY_ALIAS_BIT : constant unsigned := 1;
VK_ATTACHMENT_DESCRIPTION_FLAG_BITS_MAX_ENUM : constant unsigned := 2147483647; -- vulkan_core.h:1874
subtype VkAttachmentDescriptionFlags is VkFlags; -- vulkan_core.h:1878
subtype VkSubpassDescriptionFlagBits is unsigned;
VK_SUBPASS_DESCRIPTION_PER_VIEW_ATTRIBUTES_BIT_NVX : constant unsigned := 1;
VK_SUBPASS_DESCRIPTION_PER_VIEW_POSITION_X_ONLY_BIT_NVX : constant unsigned := 2;
VK_SUBPASS_DESCRIPTION_FLAG_BITS_MAX_ENUM : constant unsigned := 2147483647; -- vulkan_core.h:1880
subtype VkSubpassDescriptionFlags is VkFlags; -- vulkan_core.h:1885
subtype VkAccessFlagBits is unsigned;
VK_ACCESS_INDIRECT_COMMAND_READ_BIT : constant unsigned := 1;
VK_ACCESS_INDEX_READ_BIT : constant unsigned := 2;
VK_ACCESS_VERTEX_ATTRIBUTE_READ_BIT : constant unsigned := 4;
VK_ACCESS_UNIFORM_READ_BIT : constant unsigned := 8;
VK_ACCESS_INPUT_ATTACHMENT_READ_BIT : constant unsigned := 16;
VK_ACCESS_SHADER_READ_BIT : constant unsigned := 32;
VK_ACCESS_SHADER_WRITE_BIT : constant unsigned := 64;
VK_ACCESS_COLOR_ATTACHMENT_READ_BIT : constant unsigned := 128;
VK_ACCESS_COLOR_ATTACHMENT_WRITE_BIT : constant unsigned := 256;
VK_ACCESS_DEPTH_STENCIL_ATTACHMENT_READ_BIT : constant unsigned := 512;
VK_ACCESS_DEPTH_STENCIL_ATTACHMENT_WRITE_BIT : constant unsigned := 1024;
VK_ACCESS_TRANSFER_READ_BIT : constant unsigned := 2048;
VK_ACCESS_TRANSFER_WRITE_BIT : constant unsigned := 4096;
VK_ACCESS_HOST_READ_BIT : constant unsigned := 8192;
VK_ACCESS_HOST_WRITE_BIT : constant unsigned := 16384;
VK_ACCESS_MEMORY_READ_BIT : constant unsigned := 32768;
VK_ACCESS_MEMORY_WRITE_BIT : constant unsigned := 65536;
VK_ACCESS_TRANSFORM_FEEDBACK_WRITE_BIT_EXT : constant unsigned := 33554432;
VK_ACCESS_TRANSFORM_FEEDBACK_COUNTER_READ_BIT_EXT : constant unsigned := 67108864;
VK_ACCESS_TRANSFORM_FEEDBACK_COUNTER_WRITE_BIT_EXT : constant unsigned := 134217728;
VK_ACCESS_CONDITIONAL_RENDERING_READ_BIT_EXT : constant unsigned := 1048576;
VK_ACCESS_COMMAND_PROCESS_READ_BIT_NVX : constant unsigned := 131072;
VK_ACCESS_COMMAND_PROCESS_WRITE_BIT_NVX : constant unsigned := 262144;
VK_ACCESS_COLOR_ATTACHMENT_READ_NONCOHERENT_BIT_EXT : constant unsigned := 524288;
VK_ACCESS_SHADING_RATE_IMAGE_READ_BIT_NV : constant unsigned := 8388608;
VK_ACCESS_ACCELERATION_STRUCTURE_READ_BIT_NV : constant unsigned := 2097152;
VK_ACCESS_ACCELERATION_STRUCTURE_WRITE_BIT_NV : constant unsigned := 4194304;
VK_ACCESS_FRAGMENT_DENSITY_MAP_READ_BIT_EXT : constant unsigned := 16777216;
VK_ACCESS_FLAG_BITS_MAX_ENUM : constant unsigned := 2147483647; -- vulkan_core.h:1887
subtype VkAccessFlags is VkFlags; -- vulkan_core.h:1918
subtype VkDependencyFlagBits is unsigned;
VK_DEPENDENCY_BY_REGION_BIT : constant unsigned := 1;
VK_DEPENDENCY_DEVICE_GROUP_BIT : constant unsigned := 4;
VK_DEPENDENCY_VIEW_LOCAL_BIT : constant unsigned := 2;
VK_DEPENDENCY_VIEW_LOCAL_BIT_KHR : constant unsigned := 2;
VK_DEPENDENCY_DEVICE_GROUP_BIT_KHR : constant unsigned := 4;
VK_DEPENDENCY_FLAG_BITS_MAX_ENUM : constant unsigned := 2147483647; -- vulkan_core.h:1920
subtype VkDependencyFlags is VkFlags; -- vulkan_core.h:1928
subtype VkCommandPoolCreateFlagBits is unsigned;
VK_COMMAND_POOL_CREATE_TRANSIENT_BIT : constant unsigned := 1;
VK_COMMAND_POOL_CREATE_RESET_COMMAND_BUFFER_BIT : constant unsigned := 2;
VK_COMMAND_POOL_CREATE_PROTECTED_BIT : constant unsigned := 4;
VK_COMMAND_POOL_CREATE_FLAG_BITS_MAX_ENUM : constant unsigned := 2147483647; -- vulkan_core.h:1930
subtype VkCommandPoolCreateFlags is VkFlags; -- vulkan_core.h:1936
subtype VkCommandPoolResetFlagBits is unsigned;
VK_COMMAND_POOL_RESET_RELEASE_RESOURCES_BIT : constant unsigned := 1;
VK_COMMAND_POOL_RESET_FLAG_BITS_MAX_ENUM : constant unsigned := 2147483647; -- vulkan_core.h:1938
subtype VkCommandPoolResetFlags is VkFlags; -- vulkan_core.h:1942
subtype VkCommandBufferUsageFlagBits is unsigned;
VK_COMMAND_BUFFER_USAGE_ONE_TIME_SUBMIT_BIT : constant unsigned := 1;
VK_COMMAND_BUFFER_USAGE_RENDER_PASS_CONTINUE_BIT : constant unsigned := 2;
VK_COMMAND_BUFFER_USAGE_SIMULTANEOUS_USE_BIT : constant unsigned := 4;
VK_COMMAND_BUFFER_USAGE_FLAG_BITS_MAX_ENUM : constant unsigned := 2147483647; -- vulkan_core.h:1944
subtype VkCommandBufferUsageFlags is VkFlags; -- vulkan_core.h:1950
subtype VkQueryControlFlagBits is unsigned;
VK_QUERY_CONTROL_PRECISE_BIT : constant unsigned := 1;
VK_QUERY_CONTROL_FLAG_BITS_MAX_ENUM : constant unsigned := 2147483647; -- vulkan_core.h:1952
subtype VkQueryControlFlags is VkFlags; -- vulkan_core.h:1956
subtype VkCommandBufferResetFlagBits is unsigned;
VK_COMMAND_BUFFER_RESET_RELEASE_RESOURCES_BIT : constant unsigned := 1;
VK_COMMAND_BUFFER_RESET_FLAG_BITS_MAX_ENUM : constant unsigned := 2147483647; -- vulkan_core.h:1958
subtype VkCommandBufferResetFlags is VkFlags; -- vulkan_core.h:1962
subtype VkStencilFaceFlagBits is unsigned;
VK_STENCIL_FACE_FRONT_BIT : constant unsigned := 1;
VK_STENCIL_FACE_BACK_BIT : constant unsigned := 2;
VK_STENCIL_FACE_FRONT_AND_BACK : constant unsigned := 3;
VK_STENCIL_FRONT_AND_BACK : constant unsigned := 3;
VK_STENCIL_FACE_FLAG_BITS_MAX_ENUM : constant unsigned := 2147483647; -- vulkan_core.h:1964
subtype VkStencilFaceFlags is VkFlags; -- vulkan_core.h:1971
type VkApplicationInfo is record
sType : aliased VkStructureType; -- vulkan_core.h:1973
pNext : System.Address; -- vulkan_core.h:1974
pApplicationName : Interfaces.C.Strings.chars_ptr; -- vulkan_core.h:1975
applicationVersion : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:1976
pEngineName : Interfaces.C.Strings.chars_ptr; -- vulkan_core.h:1977
engineVersion : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:1978
apiVersion : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:1979
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:1972
type VkInstanceCreateInfo is record
sType : aliased VkStructureType; -- vulkan_core.h:1983
pNext : System.Address; -- vulkan_core.h:1984
flags : aliased VkInstanceCreateFlags; -- vulkan_core.h:1985
pApplicationInfo : access constant VkApplicationInfo; -- vulkan_core.h:1986
enabledLayerCount : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:1987
ppEnabledLayerNames : System.Address; -- vulkan_core.h:1988
enabledExtensionCount : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:1989
ppEnabledExtensionNames : System.Address; -- vulkan_core.h:1990
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:1982
type PFN_vkAllocationFunction is access function
(arg1 : System.Address;
arg2 : size_t;
arg3 : size_t;
arg4 : VkSystemAllocationScope) return System.Address
with Convention => C; -- vulkan_core.h:1993
type PFN_vkReallocationFunction is access function
(arg1 : System.Address;
arg2 : System.Address;
arg3 : size_t;
arg4 : size_t;
arg5 : VkSystemAllocationScope) return System.Address
with Convention => C; -- vulkan_core.h:1999
type PFN_vkFreeFunction is access procedure (arg1 : System.Address; arg2 : System.Address)
with Convention => C; -- vulkan_core.h:2006
type PFN_vkInternalAllocationNotification is access procedure
(arg1 : System.Address;
arg2 : size_t;
arg3 : VkInternalAllocationType;
arg4 : VkSystemAllocationScope)
with Convention => C; -- vulkan_core.h:2010
type PFN_vkInternalFreeNotification is access procedure
(arg1 : System.Address;
arg2 : size_t;
arg3 : VkInternalAllocationType;
arg4 : VkSystemAllocationScope)
with Convention => C; -- vulkan_core.h:2016
type VkAllocationCallbacks is record
pUserData : System.Address; -- vulkan_core.h:2023
pfnAllocation : PFN_vkAllocationFunction; -- vulkan_core.h:2024
pfnReallocation : PFN_vkReallocationFunction; -- vulkan_core.h:2025
pfnFree : PFN_vkFreeFunction; -- vulkan_core.h:2026
pfnInternalAllocation : PFN_vkInternalAllocationNotification; -- vulkan_core.h:2027
pfnInternalFree : PFN_vkInternalFreeNotification; -- vulkan_core.h:2028
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:2022
type VkPhysicalDeviceFeatures is record
robustBufferAccess : aliased VkBool32; -- vulkan_core.h:2032
fullDrawIndexUint32 : aliased VkBool32; -- vulkan_core.h:2033
imageCubeArray : aliased VkBool32; -- vulkan_core.h:2034
independentBlend : aliased VkBool32; -- vulkan_core.h:2035
geometryShader : aliased VkBool32; -- vulkan_core.h:2036
tessellationShader : aliased VkBool32; -- vulkan_core.h:2037
sampleRateShading : aliased VkBool32; -- vulkan_core.h:2038
dualSrcBlend : aliased VkBool32; -- vulkan_core.h:2039
logicOp : aliased VkBool32; -- vulkan_core.h:2040
multiDrawIndirect : aliased VkBool32; -- vulkan_core.h:2041
drawIndirectFirstInstance : aliased VkBool32; -- vulkan_core.h:2042
depthClamp : aliased VkBool32; -- vulkan_core.h:2043
depthBiasClamp : aliased VkBool32; -- vulkan_core.h:2044
fillModeNonSolid : aliased VkBool32; -- vulkan_core.h:2045
depthBounds : aliased VkBool32; -- vulkan_core.h:2046
wideLines : aliased VkBool32; -- vulkan_core.h:2047
largePoints : aliased VkBool32; -- vulkan_core.h:2048
alphaToOne : aliased VkBool32; -- vulkan_core.h:2049
multiViewport : aliased VkBool32; -- vulkan_core.h:2050
samplerAnisotropy : aliased VkBool32; -- vulkan_core.h:2051
textureCompressionETC2 : aliased VkBool32; -- vulkan_core.h:2052
textureCompressionASTC_LDR : aliased VkBool32; -- vulkan_core.h:2053
textureCompressionBC : aliased VkBool32; -- vulkan_core.h:2054
occlusionQueryPrecise : aliased VkBool32; -- vulkan_core.h:2055
pipelineStatisticsQuery : aliased VkBool32; -- vulkan_core.h:2056
vertexPipelineStoresAndAtomics : aliased VkBool32; -- vulkan_core.h:2057
fragmentStoresAndAtomics : aliased VkBool32; -- vulkan_core.h:2058
shaderTessellationAndGeometryPointSize : aliased VkBool32; -- vulkan_core.h:2059
shaderImageGatherExtended : aliased VkBool32; -- vulkan_core.h:2060
shaderStorageImageExtendedFormats : aliased VkBool32; -- vulkan_core.h:2061
shaderStorageImageMultisample : aliased VkBool32; -- vulkan_core.h:2062
shaderStorageImageReadWithoutFormat : aliased VkBool32; -- vulkan_core.h:2063
shaderStorageImageWriteWithoutFormat : aliased VkBool32; -- vulkan_core.h:2064
shaderUniformBufferArrayDynamicIndexing : aliased VkBool32; -- vulkan_core.h:2065
shaderSampledImageArrayDynamicIndexing : aliased VkBool32; -- vulkan_core.h:2066
shaderStorageBufferArrayDynamicIndexing : aliased VkBool32; -- vulkan_core.h:2067
shaderStorageImageArrayDynamicIndexing : aliased VkBool32; -- vulkan_core.h:2068
shaderClipDistance : aliased VkBool32; -- vulkan_core.h:2069
shaderCullDistance : aliased VkBool32; -- vulkan_core.h:2070
shaderFloat64 : aliased VkBool32; -- vulkan_core.h:2071
shaderInt64 : aliased VkBool32; -- vulkan_core.h:2072
shaderInt16 : aliased VkBool32; -- vulkan_core.h:2073
shaderResourceResidency : aliased VkBool32; -- vulkan_core.h:2074
shaderResourceMinLod : aliased VkBool32; -- vulkan_core.h:2075
sparseBinding : aliased VkBool32; -- vulkan_core.h:2076
sparseResidencyBuffer : aliased VkBool32; -- vulkan_core.h:2077
sparseResidencyImage2D : aliased VkBool32; -- vulkan_core.h:2078
sparseResidencyImage3D : aliased VkBool32; -- vulkan_core.h:2079
sparseResidency2Samples : aliased VkBool32; -- vulkan_core.h:2080
sparseResidency4Samples : aliased VkBool32; -- vulkan_core.h:2081
sparseResidency8Samples : aliased VkBool32; -- vulkan_core.h:2082
sparseResidency16Samples : aliased VkBool32; -- vulkan_core.h:2083
sparseResidencyAliased : aliased VkBool32; -- vulkan_core.h:2084
variableMultisampleRate : aliased VkBool32; -- vulkan_core.h:2085
inheritedQueries : aliased VkBool32; -- vulkan_core.h:2086
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:2031
type VkFormatProperties is record
linearTilingFeatures : aliased VkFormatFeatureFlags; -- vulkan_core.h:2090
optimalTilingFeatures : aliased VkFormatFeatureFlags; -- vulkan_core.h:2091
bufferFeatures : aliased VkFormatFeatureFlags; -- vulkan_core.h:2092
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:2089
type VkExtent3D is record
width : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:2096
height : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:2097
depth : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:2098
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:2095
type VkImageFormatProperties is record
maxExtent : aliased VkExtent3D; -- vulkan_core.h:2102
maxMipLevels : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:2103
maxArrayLayers : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:2104
sampleCounts : aliased VkSampleCountFlags; -- vulkan_core.h:2105
maxResourceSize : aliased VkDeviceSize; -- vulkan_core.h:2106
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:2101
type VkPhysicalDeviceLimits_array1331 is array (0 .. 2) of aliased Interfaces.C.unsigned_short;
type VkPhysicalDeviceLimits_array1333 is array (0 .. 1) of aliased Interfaces.C.unsigned_short;
type VkPhysicalDeviceLimits_array1334 is array (0 .. 1) of aliased float;
type VkPhysicalDeviceLimits is record
maxImageDimension1D : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:2110
maxImageDimension2D : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:2111
maxImageDimension3D : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:2112
maxImageDimensionCube : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:2113
maxImageArrayLayers : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:2114
maxTexelBufferElements : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:2115
maxUniformBufferRange : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:2116
maxStorageBufferRange : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:2117
maxPushConstantsSize : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:2118
maxMemoryAllocationCount : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:2119
maxSamplerAllocationCount : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:2120
bufferImageGranularity : aliased VkDeviceSize; -- vulkan_core.h:2121
sparseAddressSpaceSize : aliased VkDeviceSize; -- vulkan_core.h:2122
maxBoundDescriptorSets : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:2123
maxPerStageDescriptorSamplers : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:2124
maxPerStageDescriptorUniformBuffers : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:2125
maxPerStageDescriptorStorageBuffers : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:2126
maxPerStageDescriptorSampledImages : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:2127
maxPerStageDescriptorStorageImages : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:2128
maxPerStageDescriptorInputAttachments : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:2129
maxPerStageResources : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:2130
maxDescriptorSetSamplers : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:2131
maxDescriptorSetUniformBuffers : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:2132
maxDescriptorSetUniformBuffersDynamic : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:2133
maxDescriptorSetStorageBuffers : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:2134
maxDescriptorSetStorageBuffersDynamic : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:2135
maxDescriptorSetSampledImages : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:2136
maxDescriptorSetStorageImages : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:2137
maxDescriptorSetInputAttachments : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:2138
maxVertexInputAttributes : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:2139
maxVertexInputBindings : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:2140
maxVertexInputAttributeOffset : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:2141
maxVertexInputBindingStride : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:2142
maxVertexOutputComponents : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:2143
maxTessellationGenerationLevel : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:2144
maxTessellationPatchSize : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:2145
maxTessellationControlPerVertexInputComponents : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:2146
maxTessellationControlPerVertexOutputComponents : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:2147
maxTessellationControlPerPatchOutputComponents : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:2148
maxTessellationControlTotalOutputComponents : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:2149
maxTessellationEvaluationInputComponents : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:2150
maxTessellationEvaluationOutputComponents : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:2151
maxGeometryShaderInvocations : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:2152
maxGeometryInputComponents : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:2153
maxGeometryOutputComponents : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:2154
maxGeometryOutputVertices : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:2155
maxGeometryTotalOutputComponents : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:2156
maxFragmentInputComponents : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:2157
maxFragmentOutputAttachments : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:2158
maxFragmentDualSrcAttachments : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:2159
maxFragmentCombinedOutputResources : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:2160
maxComputeSharedMemorySize : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:2161
maxComputeWorkGroupCount : aliased VkPhysicalDeviceLimits_array1331; -- vulkan_core.h:2162
maxComputeWorkGroupInvocations : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:2163
maxComputeWorkGroupSize : aliased VkPhysicalDeviceLimits_array1331; -- vulkan_core.h:2164
subPixelPrecisionBits : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:2165
subTexelPrecisionBits : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:2166
mipmapPrecisionBits : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:2167
maxDrawIndexedIndexValue : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:2168
maxDrawIndirectCount : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:2169
maxSamplerLodBias : aliased float; -- vulkan_core.h:2170
maxSamplerAnisotropy : aliased float; -- vulkan_core.h:2171
maxViewports : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:2172
maxViewportDimensions : aliased VkPhysicalDeviceLimits_array1333; -- vulkan_core.h:2173
viewportBoundsRange : aliased VkPhysicalDeviceLimits_array1334; -- vulkan_core.h:2174
viewportSubPixelBits : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:2175
minMemoryMapAlignment : aliased size_t; -- vulkan_core.h:2176
minTexelBufferOffsetAlignment : aliased VkDeviceSize; -- vulkan_core.h:2177
minUniformBufferOffsetAlignment : aliased VkDeviceSize; -- vulkan_core.h:2178
minStorageBufferOffsetAlignment : aliased VkDeviceSize; -- vulkan_core.h:2179
minTexelOffset : aliased Interfaces.C.short; -- vulkan_core.h:2180
maxTexelOffset : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:2181
minTexelGatherOffset : aliased Interfaces.C.short; -- vulkan_core.h:2182
maxTexelGatherOffset : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:2183
minInterpolationOffset : aliased float; -- vulkan_core.h:2184
maxInterpolationOffset : aliased float; -- vulkan_core.h:2185
subPixelInterpolationOffsetBits : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:2186
maxFramebufferWidth : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:2187
maxFramebufferHeight : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:2188
maxFramebufferLayers : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:2189
framebufferColorSampleCounts : aliased VkSampleCountFlags; -- vulkan_core.h:2190
framebufferDepthSampleCounts : aliased VkSampleCountFlags; -- vulkan_core.h:2191
framebufferStencilSampleCounts : aliased VkSampleCountFlags; -- vulkan_core.h:2192
framebufferNoAttachmentsSampleCounts : aliased VkSampleCountFlags; -- vulkan_core.h:2193
maxColorAttachments : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:2194
sampledImageColorSampleCounts : aliased VkSampleCountFlags; -- vulkan_core.h:2195
sampledImageIntegerSampleCounts : aliased VkSampleCountFlags; -- vulkan_core.h:2196
sampledImageDepthSampleCounts : aliased VkSampleCountFlags; -- vulkan_core.h:2197
sampledImageStencilSampleCounts : aliased VkSampleCountFlags; -- vulkan_core.h:2198
storageImageSampleCounts : aliased VkSampleCountFlags; -- vulkan_core.h:2199
maxSampleMaskWords : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:2200
timestampComputeAndGraphics : aliased VkBool32; -- vulkan_core.h:2201
timestampPeriod : aliased float; -- vulkan_core.h:2202
maxClipDistances : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:2203
maxCullDistances : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:2204
maxCombinedClipAndCullDistances : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:2205
discreteQueuePriorities : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:2206
pointSizeRange : aliased VkPhysicalDeviceLimits_array1334; -- vulkan_core.h:2207
lineWidthRange : aliased VkPhysicalDeviceLimits_array1334; -- vulkan_core.h:2208
pointSizeGranularity : aliased float; -- vulkan_core.h:2209
lineWidthGranularity : aliased float; -- vulkan_core.h:2210
strictLines : aliased VkBool32; -- vulkan_core.h:2211
standardSampleLocations : aliased VkBool32; -- vulkan_core.h:2212
optimalBufferCopyOffsetAlignment : aliased VkDeviceSize; -- vulkan_core.h:2213
optimalBufferCopyRowPitchAlignment : aliased VkDeviceSize; -- vulkan_core.h:2214
nonCoherentAtomSize : aliased VkDeviceSize; -- vulkan_core.h:2215
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:2109
type VkPhysicalDeviceSparseProperties is record
residencyStandard2DBlockShape : aliased VkBool32; -- vulkan_core.h:2219
residencyStandard2DMultisampleBlockShape : aliased VkBool32; -- vulkan_core.h:2220
residencyStandard3DBlockShape : aliased VkBool32; -- vulkan_core.h:2221
residencyAlignedMipSize : aliased VkBool32; -- vulkan_core.h:2222
residencyNonResidentStrict : aliased VkBool32; -- vulkan_core.h:2223
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:2218
subtype VkPhysicalDeviceProperties_array1342 is Interfaces.C.char_array (0 .. 255);
type VkPhysicalDeviceProperties_array1345 is array (0 .. 15) of aliased Interfaces.C.unsigned_char;
type VkPhysicalDeviceProperties is record
apiVersion : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:2227
driverVersion : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:2228
vendorID : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:2229
deviceID : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:2230
deviceType : aliased VkPhysicalDeviceType; -- vulkan_core.h:2231
deviceName : aliased VkPhysicalDeviceProperties_array1342; -- vulkan_core.h:2232
pipelineCacheUUID : aliased VkPhysicalDeviceProperties_array1345; -- vulkan_core.h:2233
limits : aliased VkPhysicalDeviceLimits; -- vulkan_core.h:2234
sparseProperties : aliased VkPhysicalDeviceSparseProperties; -- vulkan_core.h:2235
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:2226
type VkQueueFamilyProperties is record
queueFlags : aliased VkQueueFlags; -- vulkan_core.h:2239
queueCount : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:2240
timestampValidBits : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:2241
minImageTransferGranularity : aliased VkExtent3D; -- vulkan_core.h:2242
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:2238
type VkMemoryType is record
propertyFlags : aliased VkMemoryPropertyFlags; -- vulkan_core.h:2246
heapIndex : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:2247
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:2245
type VkMemoryHeap is record
size : aliased VkDeviceSize; -- vulkan_core.h:2251
flags : aliased VkMemoryHeapFlags; -- vulkan_core.h:2252
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:2250
type VkPhysicalDeviceMemoryProperties_array1360 is array (0 .. 31) of aliased VkMemoryType;
type VkPhysicalDeviceMemoryProperties_array1362 is array (0 .. 15) of aliased VkMemoryHeap;
type VkPhysicalDeviceMemoryProperties is record
memoryTypeCount : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:2256
memoryTypes : aliased VkPhysicalDeviceMemoryProperties_array1360; -- vulkan_core.h:2257
memoryHeapCount : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:2258
memoryHeaps : aliased VkPhysicalDeviceMemoryProperties_array1362; -- vulkan_core.h:2259
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:2255
type PFN_vkVoidFunction is access procedure
with Convention => C; -- vulkan_core.h:2262
type VkDeviceQueueCreateInfo is record
sType : aliased VkStructureType; -- vulkan_core.h:2264
pNext : System.Address; -- vulkan_core.h:2265
flags : aliased VkDeviceQueueCreateFlags; -- vulkan_core.h:2266
queueFamilyIndex : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:2267
queueCount : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:2268
pQueuePriorities : access float; -- vulkan_core.h:2269
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:2263
type VkDeviceCreateInfo is record
sType : aliased VkStructureType; -- vulkan_core.h:2273
pNext : System.Address; -- vulkan_core.h:2274
flags : aliased VkDeviceCreateFlags; -- vulkan_core.h:2275
queueCreateInfoCount : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:2276
pQueueCreateInfos : access constant VkDeviceQueueCreateInfo; -- vulkan_core.h:2277
enabledLayerCount : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:2278
ppEnabledLayerNames : System.Address; -- vulkan_core.h:2279
enabledExtensionCount : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:2280
ppEnabledExtensionNames : System.Address; -- vulkan_core.h:2281
pEnabledFeatures : access constant VkPhysicalDeviceFeatures; -- vulkan_core.h:2282
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:2272
subtype VkExtensionProperties_array1342 is Interfaces.C.char_array (0 .. 255);
type VkExtensionProperties is record
extensionName : aliased VkExtensionProperties_array1342; -- vulkan_core.h:2286
specVersion : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:2287
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:2285
subtype VkLayerProperties_array1342 is Interfaces.C.char_array (0 .. 255);
type VkLayerProperties is record
layerName : aliased VkLayerProperties_array1342; -- vulkan_core.h:2291
specVersion : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:2292
implementationVersion : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:2293
description : aliased VkLayerProperties_array1342; -- vulkan_core.h:2294
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:2290
type VkSubmitInfo is record
sType : aliased VkStructureType; -- vulkan_core.h:2298
pNext : System.Address; -- vulkan_core.h:2299
waitSemaphoreCount : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:2300
pWaitSemaphores : System.Address; -- vulkan_core.h:2301
pWaitDstStageMask : access VkPipelineStageFlags; -- vulkan_core.h:2302
commandBufferCount : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:2303
pCommandBuffers : System.Address; -- vulkan_core.h:2304
signalSemaphoreCount : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:2305
pSignalSemaphores : System.Address; -- vulkan_core.h:2306
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:2297
type VkMemoryAllocateInfo is record
sType : aliased VkStructureType; -- vulkan_core.h:2310
pNext : System.Address; -- vulkan_core.h:2311
allocationSize : aliased VkDeviceSize; -- vulkan_core.h:2312
memoryTypeIndex : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:2313
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:2309
type VkMappedMemoryRange is record
sType : aliased VkStructureType; -- vulkan_core.h:2317
pNext : System.Address; -- vulkan_core.h:2318
memory : VkDeviceMemory; -- vulkan_core.h:2319
offset : aliased VkDeviceSize; -- vulkan_core.h:2320
size : aliased VkDeviceSize; -- vulkan_core.h:2321
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:2316
type VkMemoryRequirements is record
size : aliased VkDeviceSize; -- vulkan_core.h:2325
alignment : aliased VkDeviceSize; -- vulkan_core.h:2326
memoryTypeBits : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:2327
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:2324
type VkSparseImageFormatProperties is record
aspectMask : aliased VkImageAspectFlags; -- vulkan_core.h:2331
imageGranularity : aliased VkExtent3D; -- vulkan_core.h:2332
flags : aliased VkSparseImageFormatFlags; -- vulkan_core.h:2333
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:2330
type VkSparseImageMemoryRequirements is record
formatProperties : aliased VkSparseImageFormatProperties; -- vulkan_core.h:2337
imageMipTailFirstLod : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:2338
imageMipTailSize : aliased VkDeviceSize; -- vulkan_core.h:2339
imageMipTailOffset : aliased VkDeviceSize; -- vulkan_core.h:2340
imageMipTailStride : aliased VkDeviceSize; -- vulkan_core.h:2341
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:2336
type VkSparseMemoryBind is record
resourceOffset : aliased VkDeviceSize; -- vulkan_core.h:2345
size : aliased VkDeviceSize; -- vulkan_core.h:2346
memory : VkDeviceMemory; -- vulkan_core.h:2347
memoryOffset : aliased VkDeviceSize; -- vulkan_core.h:2348
flags : aliased VkSparseMemoryBindFlags; -- vulkan_core.h:2349
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:2344
type VkSparseBufferMemoryBindInfo is record
buffer : VkBuffer; -- vulkan_core.h:2353
bindCount : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:2354
pBinds : access constant VkSparseMemoryBind; -- vulkan_core.h:2355
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:2352
type VkSparseImageOpaqueMemoryBindInfo is record
image : VkImage; -- vulkan_core.h:2359
bindCount : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:2360
pBinds : access constant VkSparseMemoryBind; -- vulkan_core.h:2361
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:2358
type VkImageSubresource is record
aspectMask : aliased VkImageAspectFlags; -- vulkan_core.h:2365
mipLevel : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:2366
arrayLayer : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:2367
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:2364
type VkOffset3D is record
x : aliased Interfaces.C.short; -- vulkan_core.h:2371
y : aliased Interfaces.C.short; -- vulkan_core.h:2372
z : aliased Interfaces.C.short; -- vulkan_core.h:2373
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:2370
type VkSparseImageMemoryBind is record
subresource : aliased VkImageSubresource; -- vulkan_core.h:2377
offset : aliased VkOffset3D; -- vulkan_core.h:2378
extent : aliased VkExtent3D; -- vulkan_core.h:2379
memory : VkDeviceMemory; -- vulkan_core.h:2380
memoryOffset : aliased VkDeviceSize; -- vulkan_core.h:2381
flags : aliased VkSparseMemoryBindFlags; -- vulkan_core.h:2382
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:2376
type VkSparseImageMemoryBindInfo is record
image : VkImage; -- vulkan_core.h:2386
bindCount : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:2387
pBinds : access constant VkSparseImageMemoryBind; -- vulkan_core.h:2388
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:2385
type VkBindSparseInfo is record
sType : aliased VkStructureType; -- vulkan_core.h:2392
pNext : System.Address; -- vulkan_core.h:2393
waitSemaphoreCount : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:2394
pWaitSemaphores : System.Address; -- vulkan_core.h:2395
bufferBindCount : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:2396
pBufferBinds : access constant VkSparseBufferMemoryBindInfo; -- vulkan_core.h:2397
imageOpaqueBindCount : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:2398
pImageOpaqueBinds : access constant VkSparseImageOpaqueMemoryBindInfo; -- vulkan_core.h:2399
imageBindCount : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:2400
pImageBinds : access constant VkSparseImageMemoryBindInfo; -- vulkan_core.h:2401
signalSemaphoreCount : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:2402
pSignalSemaphores : System.Address; -- vulkan_core.h:2403
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:2391
type VkFenceCreateInfo is record
sType : aliased VkStructureType; -- vulkan_core.h:2407
pNext : System.Address; -- vulkan_core.h:2408
flags : aliased VkFenceCreateFlags; -- vulkan_core.h:2409
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:2406
type VkSemaphoreCreateInfo is record
sType : aliased VkStructureType; -- vulkan_core.h:2413
pNext : System.Address; -- vulkan_core.h:2414
flags : aliased VkSemaphoreCreateFlags; -- vulkan_core.h:2415
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:2412
type VkEventCreateInfo is record
sType : aliased VkStructureType; -- vulkan_core.h:2419
pNext : System.Address; -- vulkan_core.h:2420
flags : aliased VkEventCreateFlags; -- vulkan_core.h:2421
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:2418
type VkQueryPoolCreateInfo is record
sType : aliased VkStructureType; -- vulkan_core.h:2425
pNext : System.Address; -- vulkan_core.h:2426
flags : aliased VkQueryPoolCreateFlags; -- vulkan_core.h:2427
queryType : aliased VkQueryType; -- vulkan_core.h:2428
queryCount : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:2429
pipelineStatistics : aliased VkQueryPipelineStatisticFlags; -- vulkan_core.h:2430
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:2424
type VkBufferCreateInfo is record
sType : aliased VkStructureType; -- vulkan_core.h:2434
pNext : System.Address; -- vulkan_core.h:2435
flags : aliased VkBufferCreateFlags; -- vulkan_core.h:2436
size : aliased VkDeviceSize; -- vulkan_core.h:2437
usage : aliased VkBufferUsageFlags; -- vulkan_core.h:2438
sharingMode : aliased VkSharingMode; -- vulkan_core.h:2439
queueFamilyIndexCount : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:2440
pQueueFamilyIndices : access Interfaces.C.unsigned_short; -- vulkan_core.h:2441
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:2433
type VkBufferViewCreateInfo is record
sType : aliased VkStructureType; -- vulkan_core.h:2445
pNext : System.Address; -- vulkan_core.h:2446
flags : aliased VkBufferViewCreateFlags; -- vulkan_core.h:2447
buffer : VkBuffer; -- vulkan_core.h:2448
format : aliased VkFormat; -- vulkan_core.h:2449
offset : aliased VkDeviceSize; -- vulkan_core.h:2450
c_range : aliased VkDeviceSize; -- vulkan_core.h:2451
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:2444
type VkImageCreateInfo is record
sType : aliased VkStructureType; -- vulkan_core.h:2455
pNext : System.Address; -- vulkan_core.h:2456
flags : aliased VkImageCreateFlags; -- vulkan_core.h:2457
imageType : aliased VkImageType; -- vulkan_core.h:2458
format : aliased VkFormat; -- vulkan_core.h:2459
extent : aliased VkExtent3D; -- vulkan_core.h:2460
mipLevels : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:2461
arrayLayers : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:2462
samples : aliased VkSampleCountFlagBits; -- vulkan_core.h:2463
tiling : aliased VkImageTiling; -- vulkan_core.h:2464
usage : aliased VkImageUsageFlags; -- vulkan_core.h:2465
sharingMode : aliased VkSharingMode; -- vulkan_core.h:2466
queueFamilyIndexCount : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:2467
pQueueFamilyIndices : access Interfaces.C.unsigned_short; -- vulkan_core.h:2468
initialLayout : aliased VkImageLayout; -- vulkan_core.h:2469
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:2454
type VkSubresourceLayout is record
offset : aliased VkDeviceSize; -- vulkan_core.h:2473
size : aliased VkDeviceSize; -- vulkan_core.h:2474
rowPitch : aliased VkDeviceSize; -- vulkan_core.h:2475
arrayPitch : aliased VkDeviceSize; -- vulkan_core.h:2476
depthPitch : aliased VkDeviceSize; -- vulkan_core.h:2477
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:2472
type VkComponentMapping is record
r : aliased VkComponentSwizzle; -- vulkan_core.h:2481
g : aliased VkComponentSwizzle; -- vulkan_core.h:2482
b : aliased VkComponentSwizzle; -- vulkan_core.h:2483
a : aliased VkComponentSwizzle; -- vulkan_core.h:2484
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:2480
type VkImageSubresourceRange is record
aspectMask : aliased VkImageAspectFlags; -- vulkan_core.h:2488
baseMipLevel : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:2489
levelCount : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:2490
baseArrayLayer : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:2491
layerCount : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:2492
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:2487
type VkImageViewCreateInfo is record
sType : aliased VkStructureType; -- vulkan_core.h:2496
pNext : System.Address; -- vulkan_core.h:2497
flags : aliased VkImageViewCreateFlags; -- vulkan_core.h:2498
image : VkImage; -- vulkan_core.h:2499
viewType : aliased VkImageViewType; -- vulkan_core.h:2500
format : aliased VkFormat; -- vulkan_core.h:2501
components : aliased VkComponentMapping; -- vulkan_core.h:2502
subresourceRange : aliased VkImageSubresourceRange; -- vulkan_core.h:2503
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:2495
type VkShaderModuleCreateInfo is record
sType : aliased VkStructureType; -- vulkan_core.h:2507
pNext : System.Address; -- vulkan_core.h:2508
flags : aliased VkShaderModuleCreateFlags; -- vulkan_core.h:2509
codeSize : aliased size_t; -- vulkan_core.h:2510
pCode : access Interfaces.C.unsigned_short; -- vulkan_core.h:2511
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:2506
type VkPipelineCacheCreateInfo is record
sType : aliased VkStructureType; -- vulkan_core.h:2515
pNext : System.Address; -- vulkan_core.h:2516
flags : aliased VkPipelineCacheCreateFlags; -- vulkan_core.h:2517
initialDataSize : aliased size_t; -- vulkan_core.h:2518
pInitialData : System.Address; -- vulkan_core.h:2519
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:2514
type VkSpecializationMapEntry is record
constantID : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:2523
offset : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:2524
size : aliased size_t; -- vulkan_core.h:2525
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:2522
type VkSpecializationInfo is record
mapEntryCount : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:2529
pMapEntries : access constant VkSpecializationMapEntry; -- vulkan_core.h:2530
dataSize : aliased size_t; -- vulkan_core.h:2531
pData : System.Address; -- vulkan_core.h:2532
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:2528
type VkPipelineShaderStageCreateInfo is record
sType : aliased VkStructureType; -- vulkan_core.h:2536
pNext : System.Address; -- vulkan_core.h:2537
flags : aliased VkPipelineShaderStageCreateFlags; -- vulkan_core.h:2538
stage : aliased VkShaderStageFlagBits; -- vulkan_core.h:2539
module : VkShaderModule; -- vulkan_core.h:2540
pName : Interfaces.C.Strings.chars_ptr; -- vulkan_core.h:2541
pSpecializationInfo : access constant VkSpecializationInfo; -- vulkan_core.h:2542
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:2535
type VkVertexInputBindingDescription is record
binding : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:2546
stride : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:2547
inputRate : aliased VkVertexInputRate; -- vulkan_core.h:2548
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:2545
type VkVertexInputAttributeDescription is record
location : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:2552
binding : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:2553
format : aliased VkFormat; -- vulkan_core.h:2554
offset : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:2555
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:2551
type VkPipelineVertexInputStateCreateInfo is record
sType : aliased VkStructureType; -- vulkan_core.h:2559
pNext : System.Address; -- vulkan_core.h:2560
flags : aliased VkPipelineVertexInputStateCreateFlags; -- vulkan_core.h:2561
vertexBindingDescriptionCount : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:2562
pVertexBindingDescriptions : access constant VkVertexInputBindingDescription; -- vulkan_core.h:2563
vertexAttributeDescriptionCount : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:2564
pVertexAttributeDescriptions : access constant VkVertexInputAttributeDescription; -- vulkan_core.h:2565
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:2558
type VkPipelineInputAssemblyStateCreateInfo is record
sType : aliased VkStructureType; -- vulkan_core.h:2569
pNext : System.Address; -- vulkan_core.h:2570
flags : aliased VkPipelineInputAssemblyStateCreateFlags; -- vulkan_core.h:2571
topology : aliased VkPrimitiveTopology; -- vulkan_core.h:2572
primitiveRestartEnable : aliased VkBool32; -- vulkan_core.h:2573
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:2568
type VkPipelineTessellationStateCreateInfo is record
sType : aliased VkStructureType; -- vulkan_core.h:2577
pNext : System.Address; -- vulkan_core.h:2578
flags : aliased VkPipelineTessellationStateCreateFlags; -- vulkan_core.h:2579
patchControlPoints : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:2580
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:2576
type VkViewport is record
x : aliased float; -- vulkan_core.h:2584
y : aliased float; -- vulkan_core.h:2585
width : aliased float; -- vulkan_core.h:2586
height : aliased float; -- vulkan_core.h:2587
minDepth : aliased float; -- vulkan_core.h:2588
maxDepth : aliased float; -- vulkan_core.h:2589
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:2583
type VkOffset2D is record
x : aliased Interfaces.C.short; -- vulkan_core.h:2593
y : aliased Interfaces.C.short; -- vulkan_core.h:2594
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:2592
type VkExtent2D is record
width : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:2598
height : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:2599
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:2597
type VkRect2D is record
offset : aliased VkOffset2D; -- vulkan_core.h:2603
extent : aliased VkExtent2D; -- vulkan_core.h:2604
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:2602
type VkPipelineViewportStateCreateInfo is record
sType : aliased VkStructureType; -- vulkan_core.h:2608
pNext : System.Address; -- vulkan_core.h:2609
flags : aliased VkPipelineViewportStateCreateFlags; -- vulkan_core.h:2610
viewportCount : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:2611
pViewports : access constant VkViewport; -- vulkan_core.h:2612
scissorCount : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:2613
pScissors : access constant VkRect2D; -- vulkan_core.h:2614
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:2607
type VkPipelineRasterizationStateCreateInfo is record
sType : aliased VkStructureType; -- vulkan_core.h:2618
pNext : System.Address; -- vulkan_core.h:2619
flags : aliased VkPipelineRasterizationStateCreateFlags; -- vulkan_core.h:2620
depthClampEnable : aliased VkBool32; -- vulkan_core.h:2621
rasterizerDiscardEnable : aliased VkBool32; -- vulkan_core.h:2622
polygonMode : aliased VkPolygonMode; -- vulkan_core.h:2623
cullMode : aliased VkCullModeFlags; -- vulkan_core.h:2624
frontFace : aliased VkFrontFace; -- vulkan_core.h:2625
depthBiasEnable : aliased VkBool32; -- vulkan_core.h:2626
depthBiasConstantFactor : aliased float; -- vulkan_core.h:2627
depthBiasClamp : aliased float; -- vulkan_core.h:2628
depthBiasSlopeFactor : aliased float; -- vulkan_core.h:2629
lineWidth : aliased float; -- vulkan_core.h:2630
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:2617
type VkPipelineMultisampleStateCreateInfo is record
sType : aliased VkStructureType; -- vulkan_core.h:2634
pNext : System.Address; -- vulkan_core.h:2635
flags : aliased VkPipelineMultisampleStateCreateFlags; -- vulkan_core.h:2636
rasterizationSamples : aliased VkSampleCountFlagBits; -- vulkan_core.h:2637
sampleShadingEnable : aliased VkBool32; -- vulkan_core.h:2638
minSampleShading : aliased float; -- vulkan_core.h:2639
pSampleMask : access VkSampleMask; -- vulkan_core.h:2640
alphaToCoverageEnable : aliased VkBool32; -- vulkan_core.h:2641
alphaToOneEnable : aliased VkBool32; -- vulkan_core.h:2642
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:2633
type VkStencilOpState is record
failOp : aliased VkStencilOp; -- vulkan_core.h:2646
passOp : aliased VkStencilOp; -- vulkan_core.h:2647
depthFailOp : aliased VkStencilOp; -- vulkan_core.h:2648
compareOp : aliased VkCompareOp; -- vulkan_core.h:2649
compareMask : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:2650
writeMask : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:2651
reference : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:2652
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:2645
type VkPipelineDepthStencilStateCreateInfo is record
sType : aliased VkStructureType; -- vulkan_core.h:2656
pNext : System.Address; -- vulkan_core.h:2657
flags : aliased VkPipelineDepthStencilStateCreateFlags; -- vulkan_core.h:2658
depthTestEnable : aliased VkBool32; -- vulkan_core.h:2659
depthWriteEnable : aliased VkBool32; -- vulkan_core.h:2660
depthCompareOp : aliased VkCompareOp; -- vulkan_core.h:2661
depthBoundsTestEnable : aliased VkBool32; -- vulkan_core.h:2662
stencilTestEnable : aliased VkBool32; -- vulkan_core.h:2663
front : aliased VkStencilOpState; -- vulkan_core.h:2664
back : aliased VkStencilOpState; -- vulkan_core.h:2665
minDepthBounds : aliased float; -- vulkan_core.h:2666
maxDepthBounds : aliased float; -- vulkan_core.h:2667
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:2655
type VkPipelineColorBlendAttachmentState is record
blendEnable : aliased VkBool32; -- vulkan_core.h:2671
srcColorBlendFactor : aliased VkBlendFactor; -- vulkan_core.h:2672
dstColorBlendFactor : aliased VkBlendFactor; -- vulkan_core.h:2673
colorBlendOp : aliased VkBlendOp; -- vulkan_core.h:2674
srcAlphaBlendFactor : aliased VkBlendFactor; -- vulkan_core.h:2675
dstAlphaBlendFactor : aliased VkBlendFactor; -- vulkan_core.h:2676
alphaBlendOp : aliased VkBlendOp; -- vulkan_core.h:2677
colorWriteMask : aliased VkColorComponentFlags; -- vulkan_core.h:2678
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:2670
type VkPipelineColorBlendStateCreateInfo_array1588 is array (0 .. 3) of aliased float;
type VkPipelineColorBlendStateCreateInfo is record
sType : aliased VkStructureType; -- vulkan_core.h:2682
pNext : System.Address; -- vulkan_core.h:2683
flags : aliased VkPipelineColorBlendStateCreateFlags; -- vulkan_core.h:2684
logicOpEnable : aliased VkBool32; -- vulkan_core.h:2685
logicOp : aliased VkLogicOp; -- vulkan_core.h:2686
attachmentCount : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:2687
pAttachments : access constant VkPipelineColorBlendAttachmentState; -- vulkan_core.h:2688
blendConstants : aliased VkPipelineColorBlendStateCreateInfo_array1588; -- vulkan_core.h:2689
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:2681
type VkPipelineDynamicStateCreateInfo is record
sType : aliased VkStructureType; -- vulkan_core.h:2693
pNext : System.Address; -- vulkan_core.h:2694
flags : aliased VkPipelineDynamicStateCreateFlags; -- vulkan_core.h:2695
dynamicStateCount : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:2696
pDynamicStates : access VkDynamicState; -- vulkan_core.h:2697
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:2692
type VkGraphicsPipelineCreateInfo is record
sType : aliased VkStructureType; -- vulkan_core.h:2701
pNext : System.Address; -- vulkan_core.h:2702
flags : aliased VkPipelineCreateFlags; -- vulkan_core.h:2703
stageCount : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:2704
pStages : access constant VkPipelineShaderStageCreateInfo; -- vulkan_core.h:2705
pVertexInputState : access constant VkPipelineVertexInputStateCreateInfo; -- vulkan_core.h:2706
pInputAssemblyState : access constant VkPipelineInputAssemblyStateCreateInfo; -- vulkan_core.h:2707
pTessellationState : access constant VkPipelineTessellationStateCreateInfo; -- vulkan_core.h:2708
pViewportState : access constant VkPipelineViewportStateCreateInfo; -- vulkan_core.h:2709
pRasterizationState : access constant VkPipelineRasterizationStateCreateInfo; -- vulkan_core.h:2710
pMultisampleState : access constant VkPipelineMultisampleStateCreateInfo; -- vulkan_core.h:2711
pDepthStencilState : access constant VkPipelineDepthStencilStateCreateInfo; -- vulkan_core.h:2712
pColorBlendState : access constant VkPipelineColorBlendStateCreateInfo; -- vulkan_core.h:2713
pDynamicState : access constant VkPipelineDynamicStateCreateInfo; -- vulkan_core.h:2714
layout : VkPipelineLayout; -- vulkan_core.h:2715
renderPass : VkRenderPass; -- vulkan_core.h:2716
subpass : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:2717
basePipelineHandle : VkPipeline; -- vulkan_core.h:2718
basePipelineIndex : aliased Interfaces.C.short; -- vulkan_core.h:2719
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:2700
type VkComputePipelineCreateInfo is record
sType : aliased VkStructureType; -- vulkan_core.h:2723
pNext : System.Address; -- vulkan_core.h:2724
flags : aliased VkPipelineCreateFlags; -- vulkan_core.h:2725
stage : aliased VkPipelineShaderStageCreateInfo; -- vulkan_core.h:2726
layout : VkPipelineLayout; -- vulkan_core.h:2727
basePipelineHandle : VkPipeline; -- vulkan_core.h:2728
basePipelineIndex : aliased Interfaces.C.short; -- vulkan_core.h:2729
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:2722
type VkPushConstantRange is record
stageFlags : aliased VkShaderStageFlags; -- vulkan_core.h:2733
offset : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:2734
size : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:2735
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:2732
type VkPipelineLayoutCreateInfo is record
sType : aliased VkStructureType; -- vulkan_core.h:2739
pNext : System.Address; -- vulkan_core.h:2740
flags : aliased VkPipelineLayoutCreateFlags; -- vulkan_core.h:2741
setLayoutCount : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:2742
pSetLayouts : System.Address; -- vulkan_core.h:2743
pushConstantRangeCount : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:2744
pPushConstantRanges : access constant VkPushConstantRange; -- vulkan_core.h:2745
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:2738
type VkSamplerCreateInfo is record
sType : aliased VkStructureType; -- vulkan_core.h:2749
pNext : System.Address; -- vulkan_core.h:2750
flags : aliased VkSamplerCreateFlags; -- vulkan_core.h:2751
magFilter : aliased VkFilter; -- vulkan_core.h:2752
minFilter : aliased VkFilter; -- vulkan_core.h:2753
mipmapMode : aliased VkSamplerMipmapMode; -- vulkan_core.h:2754
addressModeU : aliased VkSamplerAddressMode; -- vulkan_core.h:2755
addressModeV : aliased VkSamplerAddressMode; -- vulkan_core.h:2756
addressModeW : aliased VkSamplerAddressMode; -- vulkan_core.h:2757
mipLodBias : aliased float; -- vulkan_core.h:2758
anisotropyEnable : aliased VkBool32; -- vulkan_core.h:2759
maxAnisotropy : aliased float; -- vulkan_core.h:2760
compareEnable : aliased VkBool32; -- vulkan_core.h:2761
compareOp : aliased VkCompareOp; -- vulkan_core.h:2762
minLod : aliased float; -- vulkan_core.h:2763
maxLod : aliased float; -- vulkan_core.h:2764
borderColor : aliased VkBorderColor; -- vulkan_core.h:2765
unnormalizedCoordinates : aliased VkBool32; -- vulkan_core.h:2766
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:2748
type VkDescriptorSetLayoutBinding is record
binding : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:2770
descriptorType : aliased VkDescriptorType; -- vulkan_core.h:2771
descriptorCount : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:2772
stageFlags : aliased VkShaderStageFlags; -- vulkan_core.h:2773
pImmutableSamplers : System.Address; -- vulkan_core.h:2774
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:2769
type VkDescriptorSetLayoutCreateInfo is record
sType : aliased VkStructureType; -- vulkan_core.h:2778
pNext : System.Address; -- vulkan_core.h:2779
flags : aliased VkDescriptorSetLayoutCreateFlags; -- vulkan_core.h:2780
bindingCount : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:2781
pBindings : access constant VkDescriptorSetLayoutBinding; -- vulkan_core.h:2782
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:2777
type VkDescriptorPoolSize is record
c_type : aliased VkDescriptorType; -- vulkan_core.h:2786
descriptorCount : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:2787
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:2785
type VkDescriptorPoolCreateInfo is record
sType : aliased VkStructureType; -- vulkan_core.h:2791
pNext : System.Address; -- vulkan_core.h:2792
flags : aliased VkDescriptorPoolCreateFlags; -- vulkan_core.h:2793
maxSets : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:2794
poolSizeCount : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:2795
pPoolSizes : access constant VkDescriptorPoolSize; -- vulkan_core.h:2796
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:2790
type VkDescriptorSetAllocateInfo is record
sType : aliased VkStructureType; -- vulkan_core.h:2800
pNext : System.Address; -- vulkan_core.h:2801
descriptorPool : VkDescriptorPool; -- vulkan_core.h:2802
descriptorSetCount : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:2803
pSetLayouts : System.Address; -- vulkan_core.h:2804
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:2799
type VkDescriptorImageInfo is record
sampler : VkSampler; -- vulkan_core.h:2808
imageView : VkImageView; -- vulkan_core.h:2809
imageLayout : aliased VkImageLayout; -- vulkan_core.h:2810
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:2807
type VkDescriptorBufferInfo is record
buffer : VkBuffer; -- vulkan_core.h:2814
offset : aliased VkDeviceSize; -- vulkan_core.h:2815
c_range : aliased VkDeviceSize; -- vulkan_core.h:2816
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:2813
type VkWriteDescriptorSet is record
sType : aliased VkStructureType; -- vulkan_core.h:2820
pNext : System.Address; -- vulkan_core.h:2821
dstSet : VkDescriptorSet; -- vulkan_core.h:2822
dstBinding : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:2823
dstArrayElement : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:2824
descriptorCount : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:2825
descriptorType : aliased VkDescriptorType; -- vulkan_core.h:2826
pImageInfo : access constant VkDescriptorImageInfo; -- vulkan_core.h:2827
pBufferInfo : access constant VkDescriptorBufferInfo; -- vulkan_core.h:2828
pTexelBufferView : System.Address; -- vulkan_core.h:2829
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:2819
type VkCopyDescriptorSet is record
sType : aliased VkStructureType; -- vulkan_core.h:2833
pNext : System.Address; -- vulkan_core.h:2834
srcSet : VkDescriptorSet; -- vulkan_core.h:2835
srcBinding : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:2836
srcArrayElement : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:2837
dstSet : VkDescriptorSet; -- vulkan_core.h:2838
dstBinding : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:2839
dstArrayElement : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:2840
descriptorCount : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:2841
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:2832
type VkFramebufferCreateInfo is record
sType : aliased VkStructureType; -- vulkan_core.h:2845
pNext : System.Address; -- vulkan_core.h:2846
flags : aliased VkFramebufferCreateFlags; -- vulkan_core.h:2847
renderPass : VkRenderPass; -- vulkan_core.h:2848
attachmentCount : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:2849
pAttachments : System.Address; -- vulkan_core.h:2850
width : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:2851
height : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:2852
layers : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:2853
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:2844
type VkAttachmentDescription is record
flags : aliased VkAttachmentDescriptionFlags; -- vulkan_core.h:2857
format : aliased VkFormat; -- vulkan_core.h:2858
samples : aliased VkSampleCountFlagBits; -- vulkan_core.h:2859
loadOp : aliased VkAttachmentLoadOp; -- vulkan_core.h:2860
storeOp : aliased VkAttachmentStoreOp; -- vulkan_core.h:2861
stencilLoadOp : aliased VkAttachmentLoadOp; -- vulkan_core.h:2862
stencilStoreOp : aliased VkAttachmentStoreOp; -- vulkan_core.h:2863
initialLayout : aliased VkImageLayout; -- vulkan_core.h:2864
finalLayout : aliased VkImageLayout; -- vulkan_core.h:2865
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:2856
type VkAttachmentReference is record
attachment : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:2869
layout : aliased VkImageLayout; -- vulkan_core.h:2870
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:2868
type VkSubpassDescription is record
flags : aliased VkSubpassDescriptionFlags; -- vulkan_core.h:2874
pipelineBindPoint : aliased VkPipelineBindPoint; -- vulkan_core.h:2875
inputAttachmentCount : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:2876
pInputAttachments : access constant VkAttachmentReference; -- vulkan_core.h:2877
colorAttachmentCount : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:2878
pColorAttachments : access constant VkAttachmentReference; -- vulkan_core.h:2879
pResolveAttachments : access constant VkAttachmentReference; -- vulkan_core.h:2880
pDepthStencilAttachment : access constant VkAttachmentReference; -- vulkan_core.h:2881
preserveAttachmentCount : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:2882
pPreserveAttachments : access Interfaces.C.unsigned_short; -- vulkan_core.h:2883
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:2873
type VkSubpassDependency is record
srcSubpass : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:2887
dstSubpass : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:2888
srcStageMask : aliased VkPipelineStageFlags; -- vulkan_core.h:2889
dstStageMask : aliased VkPipelineStageFlags; -- vulkan_core.h:2890
srcAccessMask : aliased VkAccessFlags; -- vulkan_core.h:2891
dstAccessMask : aliased VkAccessFlags; -- vulkan_core.h:2892
dependencyFlags : aliased VkDependencyFlags; -- vulkan_core.h:2893
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:2886
type VkRenderPassCreateInfo is record
sType : aliased VkStructureType; -- vulkan_core.h:2897
pNext : System.Address; -- vulkan_core.h:2898
flags : aliased VkRenderPassCreateFlags; -- vulkan_core.h:2899
attachmentCount : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:2900
pAttachments : access constant VkAttachmentDescription; -- vulkan_core.h:2901
subpassCount : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:2902
pSubpasses : access constant VkSubpassDescription; -- vulkan_core.h:2903
dependencyCount : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:2904
pDependencies : access constant VkSubpassDependency; -- vulkan_core.h:2905
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:2896
type VkCommandPoolCreateInfo is record
sType : aliased VkStructureType; -- vulkan_core.h:2909
pNext : System.Address; -- vulkan_core.h:2910
flags : aliased VkCommandPoolCreateFlags; -- vulkan_core.h:2911
queueFamilyIndex : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:2912
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:2908
type VkCommandBufferAllocateInfo is record
sType : aliased VkStructureType; -- vulkan_core.h:2916
pNext : System.Address; -- vulkan_core.h:2917
commandPool : VkCommandPool; -- vulkan_core.h:2918
level : aliased VkCommandBufferLevel; -- vulkan_core.h:2919
commandBufferCount : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:2920
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:2915
type VkCommandBufferInheritanceInfo is record
sType : aliased VkStructureType; -- vulkan_core.h:2924
pNext : System.Address; -- vulkan_core.h:2925
renderPass : VkRenderPass; -- vulkan_core.h:2926
subpass : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:2927
framebuffer : VkFramebuffer; -- vulkan_core.h:2928
occlusionQueryEnable : aliased VkBool32; -- vulkan_core.h:2929
queryFlags : aliased VkQueryControlFlags; -- vulkan_core.h:2930
pipelineStatistics : aliased VkQueryPipelineStatisticFlags; -- vulkan_core.h:2931
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:2923
type VkCommandBufferBeginInfo is record
sType : aliased VkStructureType; -- vulkan_core.h:2935
pNext : System.Address; -- vulkan_core.h:2936
flags : aliased VkCommandBufferUsageFlags; -- vulkan_core.h:2937
pInheritanceInfo : access constant VkCommandBufferInheritanceInfo; -- vulkan_core.h:2938
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:2934
type VkBufferCopy is record
srcOffset : aliased VkDeviceSize; -- vulkan_core.h:2942
dstOffset : aliased VkDeviceSize; -- vulkan_core.h:2943
size : aliased VkDeviceSize; -- vulkan_core.h:2944
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:2941
type VkImageSubresourceLayers is record
aspectMask : aliased VkImageAspectFlags; -- vulkan_core.h:2948
mipLevel : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:2949
baseArrayLayer : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:2950
layerCount : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:2951
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:2947
type VkImageCopy is record
srcSubresource : aliased VkImageSubresourceLayers; -- vulkan_core.h:2955
srcOffset : aliased VkOffset3D; -- vulkan_core.h:2956
dstSubresource : aliased VkImageSubresourceLayers; -- vulkan_core.h:2957
dstOffset : aliased VkOffset3D; -- vulkan_core.h:2958
extent : aliased VkExtent3D; -- vulkan_core.h:2959
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:2954
type VkImageBlit_array1777 is array (0 .. 1) of aliased VkOffset3D;
type VkImageBlit is record
srcSubresource : aliased VkImageSubresourceLayers; -- vulkan_core.h:2963
srcOffsets : aliased VkImageBlit_array1777; -- vulkan_core.h:2964
dstSubresource : aliased VkImageSubresourceLayers; -- vulkan_core.h:2965
dstOffsets : aliased VkImageBlit_array1777; -- vulkan_core.h:2966
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:2962
type VkBufferImageCopy is record
bufferOffset : aliased VkDeviceSize; -- vulkan_core.h:2970
bufferRowLength : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:2971
bufferImageHeight : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:2972
imageSubresource : aliased VkImageSubresourceLayers; -- vulkan_core.h:2973
imageOffset : aliased VkOffset3D; -- vulkan_core.h:2974
imageExtent : aliased VkExtent3D; -- vulkan_core.h:2975
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:2969
type VkClearColorValue_array1588 is array (0 .. 3) of aliased float;
type VkClearColorValue_array1785 is array (0 .. 3) of aliased Interfaces.C.short;
type VkClearColorValue_array1787 is array (0 .. 3) of aliased Interfaces.C.unsigned_short;
type VkClearColorValue (discr : unsigned := 0) is record
case discr is
when 0 =>
float32 : aliased VkClearColorValue_array1588; -- vulkan_core.h:2979
when 1 =>
int32 : aliased VkClearColorValue_array1785; -- vulkan_core.h:2980
when others =>
uint32 : aliased VkClearColorValue_array1787; -- vulkan_core.h:2981
end case;
end record
with Convention => C_Pass_By_Copy,
Unchecked_Union => True; -- vulkan_core.h:2978
type VkClearDepthStencilValue is record
depth : aliased float; -- vulkan_core.h:2985
stencil : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:2986
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:2984
type VkClearValue (discr : unsigned := 0) is record
case discr is
when 0 =>
color : aliased VkClearColorValue; -- vulkan_core.h:2990
when others =>
depthStencil : aliased VkClearDepthStencilValue; -- vulkan_core.h:2991
end case;
end record
with Convention => C_Pass_By_Copy,
Unchecked_Union => True; -- vulkan_core.h:2989
type VkClearAttachment is record
aspectMask : aliased VkImageAspectFlags; -- vulkan_core.h:2995
colorAttachment : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:2996
clearValue : aliased VkClearValue; -- vulkan_core.h:2997
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:2994
type VkClearRect is record
rect : aliased VkRect2D; -- vulkan_core.h:3001
baseArrayLayer : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:3002
layerCount : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:3003
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:3000
type VkImageResolve is record
srcSubresource : aliased VkImageSubresourceLayers; -- vulkan_core.h:3007
srcOffset : aliased VkOffset3D; -- vulkan_core.h:3008
dstSubresource : aliased VkImageSubresourceLayers; -- vulkan_core.h:3009
dstOffset : aliased VkOffset3D; -- vulkan_core.h:3010
extent : aliased VkExtent3D; -- vulkan_core.h:3011
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:3006
type VkMemoryBarrier is record
sType : aliased VkStructureType; -- vulkan_core.h:3015
pNext : System.Address; -- vulkan_core.h:3016
srcAccessMask : aliased VkAccessFlags; -- vulkan_core.h:3017
dstAccessMask : aliased VkAccessFlags; -- vulkan_core.h:3018
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:3014
type VkBufferMemoryBarrier is record
sType : aliased VkStructureType; -- vulkan_core.h:3022
pNext : System.Address; -- vulkan_core.h:3023
srcAccessMask : aliased VkAccessFlags; -- vulkan_core.h:3024
dstAccessMask : aliased VkAccessFlags; -- vulkan_core.h:3025
srcQueueFamilyIndex : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:3026
dstQueueFamilyIndex : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:3027
buffer : VkBuffer; -- vulkan_core.h:3028
offset : aliased VkDeviceSize; -- vulkan_core.h:3029
size : aliased VkDeviceSize; -- vulkan_core.h:3030
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:3021
type VkImageMemoryBarrier is record
sType : aliased VkStructureType; -- vulkan_core.h:3034
pNext : System.Address; -- vulkan_core.h:3035
srcAccessMask : aliased VkAccessFlags; -- vulkan_core.h:3036
dstAccessMask : aliased VkAccessFlags; -- vulkan_core.h:3037
oldLayout : aliased VkImageLayout; -- vulkan_core.h:3038
newLayout : aliased VkImageLayout; -- vulkan_core.h:3039
srcQueueFamilyIndex : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:3040
dstQueueFamilyIndex : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:3041
image : VkImage; -- vulkan_core.h:3042
subresourceRange : aliased VkImageSubresourceRange; -- vulkan_core.h:3043
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:3033
type VkRenderPassBeginInfo is record
sType : aliased VkStructureType; -- vulkan_core.h:3047
pNext : System.Address; -- vulkan_core.h:3048
renderPass : VkRenderPass; -- vulkan_core.h:3049
framebuffer : VkFramebuffer; -- vulkan_core.h:3050
renderArea : aliased VkRect2D; -- vulkan_core.h:3051
clearValueCount : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:3052
pClearValues : access constant VkClearValue; -- vulkan_core.h:3053
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:3046
type VkDispatchIndirectCommand is record
x : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:3057
y : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:3058
z : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:3059
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:3056
type VkDrawIndexedIndirectCommand is record
indexCount : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:3063
instanceCount : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:3064
firstIndex : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:3065
vertexOffset : aliased Interfaces.C.short; -- vulkan_core.h:3066
firstInstance : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:3067
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:3062
type VkDrawIndirectCommand is record
vertexCount : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:3071
instanceCount : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:3072
firstVertex : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:3073
firstInstance : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:3074
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:3070
type VkBaseOutStructure;
type VkBaseOutStructure is record
sType : aliased VkStructureType; -- vulkan_core.h:3078
pNext : access VkBaseOutStructure; -- vulkan_core.h:3079
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:3077
type VkBaseInStructure;
type VkBaseInStructure is record
sType : aliased VkStructureType; -- vulkan_core.h:3083
pNext : access constant VkBaseInStructure; -- vulkan_core.h:3084
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:3082
type PFN_vkCreateInstance is access function
(arg1 : access constant VkInstanceCreateInfo;
arg2 : access constant VkAllocationCallbacks;
arg3 : System.Address) return VkResult
with Convention => C; -- vulkan_core.h:3087
type PFN_vkDestroyInstance is access procedure (arg1 : VkInstance; arg2 : access constant VkAllocationCallbacks)
with Convention => C; -- vulkan_core.h:3088
type PFN_vkEnumeratePhysicalDevices is access function
(arg1 : VkInstance;
arg2 : access Interfaces.C.unsigned_short;
arg3 : System.Address) return VkResult
with Convention => C; -- vulkan_core.h:3089
type PFN_vkGetPhysicalDeviceFeatures is access procedure (arg1 : VkPhysicalDevice; arg2 : access VkPhysicalDeviceFeatures)
with Convention => C; -- vulkan_core.h:3090
type PFN_vkGetPhysicalDeviceFormatProperties is access procedure
(arg1 : VkPhysicalDevice;
arg2 : VkFormat;
arg3 : access VkFormatProperties)
with Convention => C; -- vulkan_core.h:3091
type PFN_vkGetPhysicalDeviceImageFormatProperties is access function
(arg1 : VkPhysicalDevice;
arg2 : VkFormat;
arg3 : VkImageType;
arg4 : VkImageTiling;
arg5 : VkImageUsageFlags;
arg6 : VkImageCreateFlags;
arg7 : access VkImageFormatProperties) return VkResult
with Convention => C; -- vulkan_core.h:3092
type PFN_vkGetPhysicalDeviceProperties is access procedure (arg1 : VkPhysicalDevice; arg2 : access VkPhysicalDeviceProperties)
with Convention => C; -- vulkan_core.h:3093
type PFN_vkGetPhysicalDeviceQueueFamilyProperties is access procedure
(arg1 : VkPhysicalDevice;
arg2 : access Interfaces.C.unsigned_short;
arg3 : access VkQueueFamilyProperties)
with Convention => C; -- vulkan_core.h:3094
type PFN_vkGetPhysicalDeviceMemoryProperties is access procedure (arg1 : VkPhysicalDevice; arg2 : access VkPhysicalDeviceMemoryProperties)
with Convention => C; -- vulkan_core.h:3095
type PFN_vkGetInstanceProcAddr is access function (arg1 : VkInstance; arg2 : Interfaces.C.Strings.chars_ptr) return PFN_vkVoidFunction
with Convention => C; -- vulkan_core.h:3096
type PFN_vkGetDeviceProcAddr is access function (arg1 : VkDevice; arg2 : Interfaces.C.Strings.chars_ptr) return PFN_vkVoidFunction
with Convention => C; -- vulkan_core.h:3097
type PFN_vkCreateDevice is access function
(arg1 : VkPhysicalDevice;
arg2 : access constant VkDeviceCreateInfo;
arg3 : access constant VkAllocationCallbacks;
arg4 : System.Address) return VkResult
with Convention => C; -- vulkan_core.h:3098
type PFN_vkDestroyDevice is access procedure (arg1 : VkDevice; arg2 : access constant VkAllocationCallbacks)
with Convention => C; -- vulkan_core.h:3099
type PFN_vkEnumerateInstanceExtensionProperties is access function
(arg1 : Interfaces.C.Strings.chars_ptr;
arg2 : access Interfaces.C.unsigned_short;
arg3 : access VkExtensionProperties) return VkResult
with Convention => C; -- vulkan_core.h:3100
type PFN_vkEnumerateDeviceExtensionProperties is access function
(arg1 : VkPhysicalDevice;
arg2 : Interfaces.C.Strings.chars_ptr;
arg3 : access Interfaces.C.unsigned_short;
arg4 : access VkExtensionProperties) return VkResult
with Convention => C; -- vulkan_core.h:3101
type PFN_vkEnumerateInstanceLayerProperties is access function (arg1 : access Interfaces.C.unsigned_short; arg2 : access VkLayerProperties) return VkResult
with Convention => C; -- vulkan_core.h:3102
type PFN_vkEnumerateDeviceLayerProperties is access function
(arg1 : VkPhysicalDevice;
arg2 : access Interfaces.C.unsigned_short;
arg3 : access VkLayerProperties) return VkResult
with Convention => C; -- vulkan_core.h:3103
type PFN_vkGetDeviceQueue is access procedure
(arg1 : VkDevice;
arg2 : Interfaces.C.unsigned_short;
arg3 : Interfaces.C.unsigned_short;
arg4 : System.Address)
with Convention => C; -- vulkan_core.h:3104
type PFN_vkQueueSubmit is access function
(arg1 : VkQueue;
arg2 : Interfaces.C.unsigned_short;
arg3 : access constant VkSubmitInfo;
arg4 : VkFence) return VkResult
with Convention => C; -- vulkan_core.h:3105
type PFN_vkQueueWaitIdle is access function (arg1 : VkQueue) return VkResult
with Convention => C; -- vulkan_core.h:3106
type PFN_vkDeviceWaitIdle is access function (arg1 : VkDevice) return VkResult
with Convention => C; -- vulkan_core.h:3107
type PFN_vkAllocateMemory is access function
(arg1 : VkDevice;
arg2 : access constant VkMemoryAllocateInfo;
arg3 : access constant VkAllocationCallbacks;
arg4 : System.Address) return VkResult
with Convention => C; -- vulkan_core.h:3108
type PFN_vkFreeMemory is access procedure
(arg1 : VkDevice;
arg2 : VkDeviceMemory;
arg3 : access constant VkAllocationCallbacks)
with Convention => C; -- vulkan_core.h:3109
type PFN_vkMapMemory is access function
(arg1 : VkDevice;
arg2 : VkDeviceMemory;
arg3 : VkDeviceSize;
arg4 : VkDeviceSize;
arg5 : VkMemoryMapFlags;
arg6 : System.Address) return VkResult
with Convention => C; -- vulkan_core.h:3110
type PFN_vkUnmapMemory is access procedure (arg1 : VkDevice; arg2 : VkDeviceMemory)
with Convention => C; -- vulkan_core.h:3111
type PFN_vkFlushMappedMemoryRanges is access function
(arg1 : VkDevice;
arg2 : Interfaces.C.unsigned_short;
arg3 : access constant VkMappedMemoryRange) return VkResult
with Convention => C; -- vulkan_core.h:3112
type PFN_vkInvalidateMappedMemoryRanges is access function
(arg1 : VkDevice;
arg2 : Interfaces.C.unsigned_short;
arg3 : access constant VkMappedMemoryRange) return VkResult
with Convention => C; -- vulkan_core.h:3113
type PFN_vkGetDeviceMemoryCommitment is access procedure
(arg1 : VkDevice;
arg2 : VkDeviceMemory;
arg3 : access VkDeviceSize)
with Convention => C; -- vulkan_core.h:3114
type PFN_vkBindBufferMemory is access function
(arg1 : VkDevice;
arg2 : VkBuffer;
arg3 : VkDeviceMemory;
arg4 : VkDeviceSize) return VkResult
with Convention => C; -- vulkan_core.h:3115
type PFN_vkBindImageMemory is access function
(arg1 : VkDevice;
arg2 : VkImage;
arg3 : VkDeviceMemory;
arg4 : VkDeviceSize) return VkResult
with Convention => C; -- vulkan_core.h:3116
type PFN_vkGetBufferMemoryRequirements is access procedure
(arg1 : VkDevice;
arg2 : VkBuffer;
arg3 : access VkMemoryRequirements)
with Convention => C; -- vulkan_core.h:3117
type PFN_vkGetImageMemoryRequirements is access procedure
(arg1 : VkDevice;
arg2 : VkImage;
arg3 : access VkMemoryRequirements)
with Convention => C; -- vulkan_core.h:3118
type PFN_vkGetImageSparseMemoryRequirements is access procedure
(arg1 : VkDevice;
arg2 : VkImage;
arg3 : access Interfaces.C.unsigned_short;
arg4 : access VkSparseImageMemoryRequirements)
with Convention => C; -- vulkan_core.h:3119
type PFN_vkGetPhysicalDeviceSparseImageFormatProperties is access procedure
(arg1 : VkPhysicalDevice;
arg2 : VkFormat;
arg3 : VkImageType;
arg4 : VkSampleCountFlagBits;
arg5 : VkImageUsageFlags;
arg6 : VkImageTiling;
arg7 : access Interfaces.C.unsigned_short;
arg8 : access VkSparseImageFormatProperties)
with Convention => C; -- vulkan_core.h:3120
type PFN_vkQueueBindSparse is access function
(arg1 : VkQueue;
arg2 : Interfaces.C.unsigned_short;
arg3 : access constant VkBindSparseInfo;
arg4 : VkFence) return VkResult
with Convention => C; -- vulkan_core.h:3121
type PFN_vkCreateFence is access function
(arg1 : VkDevice;
arg2 : access constant VkFenceCreateInfo;
arg3 : access constant VkAllocationCallbacks;
arg4 : System.Address) return VkResult
with Convention => C; -- vulkan_core.h:3122
type PFN_vkDestroyFence is access procedure
(arg1 : VkDevice;
arg2 : VkFence;
arg3 : access constant VkAllocationCallbacks)
with Convention => C; -- vulkan_core.h:3123
type PFN_vkResetFences is access function
(arg1 : VkDevice;
arg2 : Interfaces.C.unsigned_short;
arg3 : System.Address) return VkResult
with Convention => C; -- vulkan_core.h:3124
type PFN_vkGetFenceStatus is access function (arg1 : VkDevice; arg2 : VkFence) return VkResult
with Convention => C; -- vulkan_core.h:3125
type PFN_vkWaitForFences is access function
(arg1 : VkDevice;
arg2 : Interfaces.C.unsigned_short;
arg3 : System.Address;
arg4 : VkBool32;
arg5 : Interfaces.C.unsigned_long) return VkResult
with Convention => C; -- vulkan_core.h:3126
type PFN_vkCreateSemaphore is access function
(arg1 : VkDevice;
arg2 : access constant VkSemaphoreCreateInfo;
arg3 : access constant VkAllocationCallbacks;
arg4 : System.Address) return VkResult
with Convention => C; -- vulkan_core.h:3127
type PFN_vkDestroySemaphore is access procedure
(arg1 : VkDevice;
arg2 : VkSemaphore;
arg3 : access constant VkAllocationCallbacks)
with Convention => C; -- vulkan_core.h:3128
type PFN_vkCreateEvent is access function
(arg1 : VkDevice;
arg2 : access constant VkEventCreateInfo;
arg3 : access constant VkAllocationCallbacks;
arg4 : System.Address) return VkResult
with Convention => C; -- vulkan_core.h:3129
type PFN_vkDestroyEvent is access procedure
(arg1 : VkDevice;
arg2 : VkEvent;
arg3 : access constant VkAllocationCallbacks)
with Convention => C; -- vulkan_core.h:3130
type PFN_vkGetEventStatus is access function (arg1 : VkDevice; arg2 : VkEvent) return VkResult
with Convention => C; -- vulkan_core.h:3131
type PFN_vkSetEvent is access function (arg1 : VkDevice; arg2 : VkEvent) return VkResult
with Convention => C; -- vulkan_core.h:3132
type PFN_vkResetEvent is access function (arg1 : VkDevice; arg2 : VkEvent) return VkResult
with Convention => C; -- vulkan_core.h:3133
type PFN_vkCreateQueryPool is access function
(arg1 : VkDevice;
arg2 : access constant VkQueryPoolCreateInfo;
arg3 : access constant VkAllocationCallbacks;
arg4 : System.Address) return VkResult
with Convention => C; -- vulkan_core.h:3134
type PFN_vkDestroyQueryPool is access procedure
(arg1 : VkDevice;
arg2 : VkQueryPool;
arg3 : access constant VkAllocationCallbacks)
with Convention => C; -- vulkan_core.h:3135
type PFN_vkGetQueryPoolResults is access function
(arg1 : VkDevice;
arg2 : VkQueryPool;
arg3 : Interfaces.C.unsigned_short;
arg4 : Interfaces.C.unsigned_short;
arg5 : size_t;
arg6 : System.Address;
arg7 : VkDeviceSize;
arg8 : VkQueryResultFlags) return VkResult
with Convention => C; -- vulkan_core.h:3136
type PFN_vkCreateBuffer is access function
(arg1 : VkDevice;
arg2 : access constant VkBufferCreateInfo;
arg3 : access constant VkAllocationCallbacks;
arg4 : System.Address) return VkResult
with Convention => C; -- vulkan_core.h:3137
type PFN_vkDestroyBuffer is access procedure
(arg1 : VkDevice;
arg2 : VkBuffer;
arg3 : access constant VkAllocationCallbacks)
with Convention => C; -- vulkan_core.h:3138
type PFN_vkCreateBufferView is access function
(arg1 : VkDevice;
arg2 : access constant VkBufferViewCreateInfo;
arg3 : access constant VkAllocationCallbacks;
arg4 : System.Address) return VkResult
with Convention => C; -- vulkan_core.h:3139
type PFN_vkDestroyBufferView is access procedure
(arg1 : VkDevice;
arg2 : VkBufferView;
arg3 : access constant VkAllocationCallbacks)
with Convention => C; -- vulkan_core.h:3140
type PFN_vkCreateImage is access function
(arg1 : VkDevice;
arg2 : access constant VkImageCreateInfo;
arg3 : access constant VkAllocationCallbacks;
arg4 : System.Address) return VkResult
with Convention => C; -- vulkan_core.h:3141
type PFN_vkDestroyImage is access procedure
(arg1 : VkDevice;
arg2 : VkImage;
arg3 : access constant VkAllocationCallbacks)
with Convention => C; -- vulkan_core.h:3142
type PFN_vkGetImageSubresourceLayout is access procedure
(arg1 : VkDevice;
arg2 : VkImage;
arg3 : access constant VkImageSubresource;
arg4 : access VkSubresourceLayout)
with Convention => C; -- vulkan_core.h:3143
type PFN_vkCreateImageView is access function
(arg1 : VkDevice;
arg2 : access constant VkImageViewCreateInfo;
arg3 : access constant VkAllocationCallbacks;
arg4 : System.Address) return VkResult
with Convention => C; -- vulkan_core.h:3144
type PFN_vkDestroyImageView is access procedure
(arg1 : VkDevice;
arg2 : VkImageView;
arg3 : access constant VkAllocationCallbacks)
with Convention => C; -- vulkan_core.h:3145
type PFN_vkCreateShaderModule is access function
(arg1 : VkDevice;
arg2 : access constant VkShaderModuleCreateInfo;
arg3 : access constant VkAllocationCallbacks;
arg4 : System.Address) return VkResult
with Convention => C; -- vulkan_core.h:3146
type PFN_vkDestroyShaderModule is access procedure
(arg1 : VkDevice;
arg2 : VkShaderModule;
arg3 : access constant VkAllocationCallbacks)
with Convention => C; -- vulkan_core.h:3147
type PFN_vkCreatePipelineCache is access function
(arg1 : VkDevice;
arg2 : access constant VkPipelineCacheCreateInfo;
arg3 : access constant VkAllocationCallbacks;
arg4 : System.Address) return VkResult
with Convention => C; -- vulkan_core.h:3148
type PFN_vkDestroyPipelineCache is access procedure
(arg1 : VkDevice;
arg2 : VkPipelineCache;
arg3 : access constant VkAllocationCallbacks)
with Convention => C; -- vulkan_core.h:3149
type PFN_vkGetPipelineCacheData is access function
(arg1 : VkDevice;
arg2 : VkPipelineCache;
arg3 : access size_t;
arg4 : System.Address) return VkResult
with Convention => C; -- vulkan_core.h:3150
type PFN_vkMergePipelineCaches is access function
(arg1 : VkDevice;
arg2 : VkPipelineCache;
arg3 : Interfaces.C.unsigned_short;
arg4 : System.Address) return VkResult
with Convention => C; -- vulkan_core.h:3151
type PFN_vkCreateGraphicsPipelines is access function
(arg1 : VkDevice;
arg2 : VkPipelineCache;
arg3 : Interfaces.C.unsigned_short;
arg4 : access constant VkGraphicsPipelineCreateInfo;
arg5 : access constant VkAllocationCallbacks;
arg6 : System.Address) return VkResult
with Convention => C; -- vulkan_core.h:3152
type PFN_vkCreateComputePipelines is access function
(arg1 : VkDevice;
arg2 : VkPipelineCache;
arg3 : Interfaces.C.unsigned_short;
arg4 : access constant VkComputePipelineCreateInfo;
arg5 : access constant VkAllocationCallbacks;
arg6 : System.Address) return VkResult
with Convention => C; -- vulkan_core.h:3153
type PFN_vkDestroyPipeline is access procedure
(arg1 : VkDevice;
arg2 : VkPipeline;
arg3 : access constant VkAllocationCallbacks)
with Convention => C; -- vulkan_core.h:3154
type PFN_vkCreatePipelineLayout is access function
(arg1 : VkDevice;
arg2 : access constant VkPipelineLayoutCreateInfo;
arg3 : access constant VkAllocationCallbacks;
arg4 : System.Address) return VkResult
with Convention => C; -- vulkan_core.h:3155
type PFN_vkDestroyPipelineLayout is access procedure
(arg1 : VkDevice;
arg2 : VkPipelineLayout;
arg3 : access constant VkAllocationCallbacks)
with Convention => C; -- vulkan_core.h:3156
type PFN_vkCreateSampler is access function
(arg1 : VkDevice;
arg2 : access constant VkSamplerCreateInfo;
arg3 : access constant VkAllocationCallbacks;
arg4 : System.Address) return VkResult
with Convention => C; -- vulkan_core.h:3157
type PFN_vkDestroySampler is access procedure
(arg1 : VkDevice;
arg2 : VkSampler;
arg3 : access constant VkAllocationCallbacks)
with Convention => C; -- vulkan_core.h:3158
type PFN_vkCreateDescriptorSetLayout is access function
(arg1 : VkDevice;
arg2 : access constant VkDescriptorSetLayoutCreateInfo;
arg3 : access constant VkAllocationCallbacks;
arg4 : System.Address) return VkResult
with Convention => C; -- vulkan_core.h:3159
type PFN_vkDestroyDescriptorSetLayout is access procedure
(arg1 : VkDevice;
arg2 : VkDescriptorSetLayout;
arg3 : access constant VkAllocationCallbacks)
with Convention => C; -- vulkan_core.h:3160
type PFN_vkCreateDescriptorPool is access function
(arg1 : VkDevice;
arg2 : access constant VkDescriptorPoolCreateInfo;
arg3 : access constant VkAllocationCallbacks;
arg4 : System.Address) return VkResult
with Convention => C; -- vulkan_core.h:3161
type PFN_vkDestroyDescriptorPool is access procedure
(arg1 : VkDevice;
arg2 : VkDescriptorPool;
arg3 : access constant VkAllocationCallbacks)
with Convention => C; -- vulkan_core.h:3162
type PFN_vkResetDescriptorPool is access function
(arg1 : VkDevice;
arg2 : VkDescriptorPool;
arg3 : VkDescriptorPoolResetFlags) return VkResult
with Convention => C; -- vulkan_core.h:3163
type PFN_vkAllocateDescriptorSets is access function
(arg1 : VkDevice;
arg2 : access constant VkDescriptorSetAllocateInfo;
arg3 : System.Address) return VkResult
with Convention => C; -- vulkan_core.h:3164
type PFN_vkFreeDescriptorSets is access function
(arg1 : VkDevice;
arg2 : VkDescriptorPool;
arg3 : Interfaces.C.unsigned_short;
arg4 : System.Address) return VkResult
with Convention => C; -- vulkan_core.h:3165
type PFN_vkUpdateDescriptorSets is access procedure
(arg1 : VkDevice;
arg2 : Interfaces.C.unsigned_short;
arg3 : access constant VkWriteDescriptorSet;
arg4 : Interfaces.C.unsigned_short;
arg5 : access constant VkCopyDescriptorSet)
with Convention => C; -- vulkan_core.h:3166
type PFN_vkCreateFramebuffer is access function
(arg1 : VkDevice;
arg2 : access constant VkFramebufferCreateInfo;
arg3 : access constant VkAllocationCallbacks;
arg4 : System.Address) return VkResult
with Convention => C; -- vulkan_core.h:3167
type PFN_vkDestroyFramebuffer is access procedure
(arg1 : VkDevice;
arg2 : VkFramebuffer;
arg3 : access constant VkAllocationCallbacks)
with Convention => C; -- vulkan_core.h:3168
type PFN_vkCreateRenderPass is access function
(arg1 : VkDevice;
arg2 : access constant VkRenderPassCreateInfo;
arg3 : access constant VkAllocationCallbacks;
arg4 : System.Address) return VkResult
with Convention => C; -- vulkan_core.h:3169
type PFN_vkDestroyRenderPass is access procedure
(arg1 : VkDevice;
arg2 : VkRenderPass;
arg3 : access constant VkAllocationCallbacks)
with Convention => C; -- vulkan_core.h:3170
type PFN_vkGetRenderAreaGranularity is access procedure
(arg1 : VkDevice;
arg2 : VkRenderPass;
arg3 : access VkExtent2D)
with Convention => C; -- vulkan_core.h:3171
type PFN_vkCreateCommandPool is access function
(arg1 : VkDevice;
arg2 : access constant VkCommandPoolCreateInfo;
arg3 : access constant VkAllocationCallbacks;
arg4 : System.Address) return VkResult
with Convention => C; -- vulkan_core.h:3172
type PFN_vkDestroyCommandPool is access procedure
(arg1 : VkDevice;
arg2 : VkCommandPool;
arg3 : access constant VkAllocationCallbacks)
with Convention => C; -- vulkan_core.h:3173
type PFN_vkResetCommandPool is access function
(arg1 : VkDevice;
arg2 : VkCommandPool;
arg3 : VkCommandPoolResetFlags) return VkResult
with Convention => C; -- vulkan_core.h:3174
type PFN_vkAllocateCommandBuffers is access function
(arg1 : VkDevice;
arg2 : access constant VkCommandBufferAllocateInfo;
arg3 : System.Address) return VkResult
with Convention => C; -- vulkan_core.h:3175
type PFN_vkFreeCommandBuffers is access procedure
(arg1 : VkDevice;
arg2 : VkCommandPool;
arg3 : Interfaces.C.unsigned_short;
arg4 : System.Address)
with Convention => C; -- vulkan_core.h:3176
type PFN_vkBeginCommandBuffer is access function (arg1 : VkCommandBuffer; arg2 : access constant VkCommandBufferBeginInfo) return VkResult
with Convention => C; -- vulkan_core.h:3177
type PFN_vkEndCommandBuffer is access function (arg1 : VkCommandBuffer) return VkResult
with Convention => C; -- vulkan_core.h:3178
type PFN_vkResetCommandBuffer is access function (arg1 : VkCommandBuffer; arg2 : VkCommandBufferResetFlags) return VkResult
with Convention => C; -- vulkan_core.h:3179
type PFN_vkCmdBindPipeline is access procedure
(arg1 : VkCommandBuffer;
arg2 : VkPipelineBindPoint;
arg3 : VkPipeline)
with Convention => C; -- vulkan_core.h:3180
type PFN_vkCmdSetViewport is access procedure
(arg1 : VkCommandBuffer;
arg2 : Interfaces.C.unsigned_short;
arg3 : Interfaces.C.unsigned_short;
arg4 : access constant VkViewport)
with Convention => C; -- vulkan_core.h:3181
type PFN_vkCmdSetScissor is access procedure
(arg1 : VkCommandBuffer;
arg2 : Interfaces.C.unsigned_short;
arg3 : Interfaces.C.unsigned_short;
arg4 : access constant VkRect2D)
with Convention => C; -- vulkan_core.h:3182
type PFN_vkCmdSetLineWidth is access procedure (arg1 : VkCommandBuffer; arg2 : float)
with Convention => C; -- vulkan_core.h:3183
type PFN_vkCmdSetDepthBias is access procedure
(arg1 : VkCommandBuffer;
arg2 : float;
arg3 : float;
arg4 : float)
with Convention => C; -- vulkan_core.h:3184
type PFN_vkCmdSetBlendConstants is access procedure (arg1 : VkCommandBuffer; arg2 : access float)
with Convention => C; -- vulkan_core.h:3185
type PFN_vkCmdSetDepthBounds is access procedure
(arg1 : VkCommandBuffer;
arg2 : float;
arg3 : float)
with Convention => C; -- vulkan_core.h:3186
type PFN_vkCmdSetStencilCompareMask is access procedure
(arg1 : VkCommandBuffer;
arg2 : VkStencilFaceFlags;
arg3 : Interfaces.C.unsigned_short)
with Convention => C; -- vulkan_core.h:3187
type PFN_vkCmdSetStencilWriteMask is access procedure
(arg1 : VkCommandBuffer;
arg2 : VkStencilFaceFlags;
arg3 : Interfaces.C.unsigned_short)
with Convention => C; -- vulkan_core.h:3188
type PFN_vkCmdSetStencilReference is access procedure
(arg1 : VkCommandBuffer;
arg2 : VkStencilFaceFlags;
arg3 : Interfaces.C.unsigned_short)
with Convention => C; -- vulkan_core.h:3189
type PFN_vkCmdBindDescriptorSets is access procedure
(arg1 : VkCommandBuffer;
arg2 : VkPipelineBindPoint;
arg3 : VkPipelineLayout;
arg4 : Interfaces.C.unsigned_short;
arg5 : Interfaces.C.unsigned_short;
arg6 : System.Address;
arg7 : Interfaces.C.unsigned_short;
arg8 : access Interfaces.C.unsigned_short)
with Convention => C; -- vulkan_core.h:3190
type PFN_vkCmdBindIndexBuffer is access procedure
(arg1 : VkCommandBuffer;
arg2 : VkBuffer;
arg3 : VkDeviceSize;
arg4 : VkIndexType)
with Convention => C; -- vulkan_core.h:3191
type PFN_vkCmdBindVertexBuffers is access procedure
(arg1 : VkCommandBuffer;
arg2 : Interfaces.C.unsigned_short;
arg3 : Interfaces.C.unsigned_short;
arg4 : System.Address;
arg5 : access VkDeviceSize)
with Convention => C; -- vulkan_core.h:3192
type PFN_vkCmdDraw is access procedure
(arg1 : VkCommandBuffer;
arg2 : Interfaces.C.unsigned_short;
arg3 : Interfaces.C.unsigned_short;
arg4 : Interfaces.C.unsigned_short;
arg5 : Interfaces.C.unsigned_short)
with Convention => C; -- vulkan_core.h:3193
type PFN_vkCmdDrawIndexed is access procedure
(arg1 : VkCommandBuffer;
arg2 : Interfaces.C.unsigned_short;
arg3 : Interfaces.C.unsigned_short;
arg4 : Interfaces.C.unsigned_short;
arg5 : Interfaces.C.short;
arg6 : Interfaces.C.unsigned_short)
with Convention => C; -- vulkan_core.h:3194
type PFN_vkCmdDrawIndirect is access procedure
(arg1 : VkCommandBuffer;
arg2 : VkBuffer;
arg3 : VkDeviceSize;
arg4 : Interfaces.C.unsigned_short;
arg5 : Interfaces.C.unsigned_short)
with Convention => C; -- vulkan_core.h:3195
type PFN_vkCmdDrawIndexedIndirect is access procedure
(arg1 : VkCommandBuffer;
arg2 : VkBuffer;
arg3 : VkDeviceSize;
arg4 : Interfaces.C.unsigned_short;
arg5 : Interfaces.C.unsigned_short)
with Convention => C; -- vulkan_core.h:3196
type PFN_vkCmdDispatch is access procedure
(arg1 : VkCommandBuffer;
arg2 : Interfaces.C.unsigned_short;
arg3 : Interfaces.C.unsigned_short;
arg4 : Interfaces.C.unsigned_short)
with Convention => C; -- vulkan_core.h:3197
type PFN_vkCmdDispatchIndirect is access procedure
(arg1 : VkCommandBuffer;
arg2 : VkBuffer;
arg3 : VkDeviceSize)
with Convention => C; -- vulkan_core.h:3198
type PFN_vkCmdCopyBuffer is access procedure
(arg1 : VkCommandBuffer;
arg2 : VkBuffer;
arg3 : VkBuffer;
arg4 : Interfaces.C.unsigned_short;
arg5 : access constant VkBufferCopy)
with Convention => C; -- vulkan_core.h:3199
type PFN_vkCmdCopyImage is access procedure
(arg1 : VkCommandBuffer;
arg2 : VkImage;
arg3 : VkImageLayout;
arg4 : VkImage;
arg5 : VkImageLayout;
arg6 : Interfaces.C.unsigned_short;
arg7 : access constant VkImageCopy)
with Convention => C; -- vulkan_core.h:3200
type PFN_vkCmdBlitImage is access procedure
(arg1 : VkCommandBuffer;
arg2 : VkImage;
arg3 : VkImageLayout;
arg4 : VkImage;
arg5 : VkImageLayout;
arg6 : Interfaces.C.unsigned_short;
arg7 : access constant VkImageBlit;
arg8 : VkFilter)
with Convention => C; -- vulkan_core.h:3201
type PFN_vkCmdCopyBufferToImage is access procedure
(arg1 : VkCommandBuffer;
arg2 : VkBuffer;
arg3 : VkImage;
arg4 : VkImageLayout;
arg5 : Interfaces.C.unsigned_short;
arg6 : access constant VkBufferImageCopy)
with Convention => C; -- vulkan_core.h:3202
type PFN_vkCmdCopyImageToBuffer is access procedure
(arg1 : VkCommandBuffer;
arg2 : VkImage;
arg3 : VkImageLayout;
arg4 : VkBuffer;
arg5 : Interfaces.C.unsigned_short;
arg6 : access constant VkBufferImageCopy)
with Convention => C; -- vulkan_core.h:3203
type PFN_vkCmdUpdateBuffer is access procedure
(arg1 : VkCommandBuffer;
arg2 : VkBuffer;
arg3 : VkDeviceSize;
arg4 : VkDeviceSize;
arg5 : System.Address)
with Convention => C; -- vulkan_core.h:3204
type PFN_vkCmdFillBuffer is access procedure
(arg1 : VkCommandBuffer;
arg2 : VkBuffer;
arg3 : VkDeviceSize;
arg4 : VkDeviceSize;
arg5 : Interfaces.C.unsigned_short)
with Convention => C; -- vulkan_core.h:3205
type PFN_vkCmdClearColorImage is access procedure
(arg1 : VkCommandBuffer;
arg2 : VkImage;
arg3 : VkImageLayout;
arg4 : access constant VkClearColorValue;
arg5 : Interfaces.C.unsigned_short;
arg6 : access constant VkImageSubresourceRange)
with Convention => C; -- vulkan_core.h:3206
type PFN_vkCmdClearDepthStencilImage is access procedure
(arg1 : VkCommandBuffer;
arg2 : VkImage;
arg3 : VkImageLayout;
arg4 : access constant VkClearDepthStencilValue;
arg5 : Interfaces.C.unsigned_short;
arg6 : access constant VkImageSubresourceRange)
with Convention => C; -- vulkan_core.h:3207
type PFN_vkCmdClearAttachments is access procedure
(arg1 : VkCommandBuffer;
arg2 : Interfaces.C.unsigned_short;
arg3 : access constant VkClearAttachment;
arg4 : Interfaces.C.unsigned_short;
arg5 : access constant VkClearRect)
with Convention => C; -- vulkan_core.h:3208
type PFN_vkCmdResolveImage is access procedure
(arg1 : VkCommandBuffer;
arg2 : VkImage;
arg3 : VkImageLayout;
arg4 : VkImage;
arg5 : VkImageLayout;
arg6 : Interfaces.C.unsigned_short;
arg7 : access constant VkImageResolve)
with Convention => C; -- vulkan_core.h:3209
type PFN_vkCmdSetEvent is access procedure
(arg1 : VkCommandBuffer;
arg2 : VkEvent;
arg3 : VkPipelineStageFlags)
with Convention => C; -- vulkan_core.h:3210
type PFN_vkCmdResetEvent is access procedure
(arg1 : VkCommandBuffer;
arg2 : VkEvent;
arg3 : VkPipelineStageFlags)
with Convention => C; -- vulkan_core.h:3211
type PFN_vkCmdWaitEvents is access procedure
(arg1 : VkCommandBuffer;
arg2 : Interfaces.C.unsigned_short;
arg3 : System.Address;
arg4 : VkPipelineStageFlags;
arg5 : VkPipelineStageFlags;
arg6 : Interfaces.C.unsigned_short;
arg7 : access constant VkMemoryBarrier;
arg8 : Interfaces.C.unsigned_short;
arg9 : access constant VkBufferMemoryBarrier;
arg10 : Interfaces.C.unsigned_short;
arg11 : access constant VkImageMemoryBarrier)
with Convention => C; -- vulkan_core.h:3212
type PFN_vkCmdPipelineBarrier is access procedure
(arg1 : VkCommandBuffer;
arg2 : VkPipelineStageFlags;
arg3 : VkPipelineStageFlags;
arg4 : VkDependencyFlags;
arg5 : Interfaces.C.unsigned_short;
arg6 : access constant VkMemoryBarrier;
arg7 : Interfaces.C.unsigned_short;
arg8 : access constant VkBufferMemoryBarrier;
arg9 : Interfaces.C.unsigned_short;
arg10 : access constant VkImageMemoryBarrier)
with Convention => C; -- vulkan_core.h:3213
type PFN_vkCmdBeginQuery is access procedure
(arg1 : VkCommandBuffer;
arg2 : VkQueryPool;
arg3 : Interfaces.C.unsigned_short;
arg4 : VkQueryControlFlags)
with Convention => C; -- vulkan_core.h:3214
type PFN_vkCmdEndQuery is access procedure
(arg1 : VkCommandBuffer;
arg2 : VkQueryPool;
arg3 : Interfaces.C.unsigned_short)
with Convention => C; -- vulkan_core.h:3215
type PFN_vkCmdResetQueryPool is access procedure
(arg1 : VkCommandBuffer;
arg2 : VkQueryPool;
arg3 : Interfaces.C.unsigned_short;
arg4 : Interfaces.C.unsigned_short)
with Convention => C; -- vulkan_core.h:3216
type PFN_vkCmdWriteTimestamp is access procedure
(arg1 : VkCommandBuffer;
arg2 : VkPipelineStageFlagBits;
arg3 : VkQueryPool;
arg4 : Interfaces.C.unsigned_short)
with Convention => C; -- vulkan_core.h:3217
type PFN_vkCmdCopyQueryPoolResults is access procedure
(arg1 : VkCommandBuffer;
arg2 : VkQueryPool;
arg3 : Interfaces.C.unsigned_short;
arg4 : Interfaces.C.unsigned_short;
arg5 : VkBuffer;
arg6 : VkDeviceSize;
arg7 : VkDeviceSize;
arg8 : VkQueryResultFlags)
with Convention => C; -- vulkan_core.h:3218
type PFN_vkCmdPushConstants is access procedure
(arg1 : VkCommandBuffer;
arg2 : VkPipelineLayout;
arg3 : VkShaderStageFlags;
arg4 : Interfaces.C.unsigned_short;
arg5 : Interfaces.C.unsigned_short;
arg6 : System.Address)
with Convention => C; -- vulkan_core.h:3219
type PFN_vkCmdBeginRenderPass is access procedure
(arg1 : VkCommandBuffer;
arg2 : access constant VkRenderPassBeginInfo;
arg3 : VkSubpassContents)
with Convention => C; -- vulkan_core.h:3220
type PFN_vkCmdNextSubpass is access procedure (arg1 : VkCommandBuffer; arg2 : VkSubpassContents)
with Convention => C; -- vulkan_core.h:3221
type PFN_vkCmdEndRenderPass is access procedure (arg1 : VkCommandBuffer)
with Convention => C; -- vulkan_core.h:3222
type PFN_vkCmdExecuteCommands is access procedure
(arg1 : VkCommandBuffer;
arg2 : Interfaces.C.unsigned_short;
arg3 : System.Address)
with Convention => C; -- vulkan_core.h:3223
function vkCreateInstance
(pCreateInfo : access constant VkInstanceCreateInfo;
pAllocator : access constant VkAllocationCallbacks;
pInstance : System.Address) return VkResult -- vulkan_core.h:3226
with Import => True,
Convention => C,
External_Name => "vkCreateInstance";
procedure vkDestroyInstance (instance : VkInstance; pAllocator : access constant VkAllocationCallbacks) -- vulkan_core.h:3231
with Import => True,
Convention => C,
External_Name => "vkDestroyInstance";
function vkEnumeratePhysicalDevices
(instance : VkInstance;
pPhysicalDeviceCount : access Interfaces.C.unsigned_short;
pPhysicalDevices : System.Address) return VkResult -- vulkan_core.h:3235
with Import => True,
Convention => C,
External_Name => "vkEnumeratePhysicalDevices";
procedure vkGetPhysicalDeviceFeatures (physicalDevice : VkPhysicalDevice; pFeatures : access VkPhysicalDeviceFeatures) -- vulkan_core.h:3240
with Import => True,
Convention => C,
External_Name => "vkGetPhysicalDeviceFeatures";
procedure vkGetPhysicalDeviceFormatProperties
(physicalDevice : VkPhysicalDevice;
format : VkFormat;
pFormatProperties : access VkFormatProperties) -- vulkan_core.h:3244
with Import => True,
Convention => C,
External_Name => "vkGetPhysicalDeviceFormatProperties";
function vkGetPhysicalDeviceImageFormatProperties
(physicalDevice : VkPhysicalDevice;
format : VkFormat;
c_type : VkImageType;
tiling : VkImageTiling;
usage : VkImageUsageFlags;
flags : VkImageCreateFlags;
pImageFormatProperties : access VkImageFormatProperties) return VkResult -- vulkan_core.h:3249
with Import => True,
Convention => C,
External_Name => "vkGetPhysicalDeviceImageFormatProperties";
procedure vkGetPhysicalDeviceProperties (physicalDevice : VkPhysicalDevice; pProperties : access VkPhysicalDeviceProperties) -- vulkan_core.h:3258
with Import => True,
Convention => C,
External_Name => "vkGetPhysicalDeviceProperties";
procedure vkGetPhysicalDeviceQueueFamilyProperties
(physicalDevice : VkPhysicalDevice;
pQueueFamilyPropertyCount : access Interfaces.C.unsigned_short;
pQueueFamilyProperties : access VkQueueFamilyProperties) -- vulkan_core.h:3262
with Import => True,
Convention => C,
External_Name => "vkGetPhysicalDeviceQueueFamilyProperties";
procedure vkGetPhysicalDeviceMemoryProperties (physicalDevice : VkPhysicalDevice; pMemoryProperties : access VkPhysicalDeviceMemoryProperties) -- vulkan_core.h:3267
with Import => True,
Convention => C,
External_Name => "vkGetPhysicalDeviceMemoryProperties";
function vkGetInstanceProcAddr (instance : VkInstance; pName : Interfaces.C.Strings.chars_ptr) return PFN_vkVoidFunction -- vulkan_core.h:3271
with Import => True,
Convention => C,
External_Name => "vkGetInstanceProcAddr";
function vkGetDeviceProcAddr (device : VkDevice; pName : Interfaces.C.Strings.chars_ptr) return PFN_vkVoidFunction -- vulkan_core.h:3275
with Import => True,
Convention => C,
External_Name => "vkGetDeviceProcAddr";
function vkCreateDevice
(physicalDevice : VkPhysicalDevice;
pCreateInfo : access constant VkDeviceCreateInfo;
pAllocator : access constant VkAllocationCallbacks;
pDevice : System.Address) return VkResult -- vulkan_core.h:3279
with Import => True,
Convention => C,
External_Name => "vkCreateDevice";
procedure vkDestroyDevice (device : VkDevice; pAllocator : access constant VkAllocationCallbacks) -- vulkan_core.h:3285
with Import => True,
Convention => C,
External_Name => "vkDestroyDevice";
function vkEnumerateInstanceExtensionProperties
(pLayerName : Interfaces.C.Strings.chars_ptr;
pPropertyCount : access Interfaces.C.unsigned_short;
pProperties : access VkExtensionProperties) return VkResult -- vulkan_core.h:3289
with Import => True,
Convention => C,
External_Name => "vkEnumerateInstanceExtensionProperties";
function vkEnumerateDeviceExtensionProperties
(physicalDevice : VkPhysicalDevice;
pLayerName : Interfaces.C.Strings.chars_ptr;
pPropertyCount : access Interfaces.C.unsigned_short;
pProperties : access VkExtensionProperties) return VkResult -- vulkan_core.h:3294
with Import => True,
Convention => C,
External_Name => "vkEnumerateDeviceExtensionProperties";
function vkEnumerateInstanceLayerProperties (pPropertyCount : access Interfaces.C.unsigned_short; pProperties : access VkLayerProperties) return VkResult -- vulkan_core.h:3300
with Import => True,
Convention => C,
External_Name => "vkEnumerateInstanceLayerProperties";
function vkEnumerateDeviceLayerProperties
(physicalDevice : VkPhysicalDevice;
pPropertyCount : access Interfaces.C.unsigned_short;
pProperties : access VkLayerProperties) return VkResult -- vulkan_core.h:3304
with Import => True,
Convention => C,
External_Name => "vkEnumerateDeviceLayerProperties";
procedure vkGetDeviceQueue
(device : VkDevice;
queueFamilyIndex : Interfaces.C.unsigned_short;
queueIndex : Interfaces.C.unsigned_short;
pQueue : System.Address) -- vulkan_core.h:3309
with Import => True,
Convention => C,
External_Name => "vkGetDeviceQueue";
function vkQueueSubmit
(queue : VkQueue;
submitCount : Interfaces.C.unsigned_short;
pSubmits : access constant VkSubmitInfo;
fence : VkFence) return VkResult -- vulkan_core.h:3315
with Import => True,
Convention => C,
External_Name => "vkQueueSubmit";
function vkQueueWaitIdle (queue : VkQueue) return VkResult -- vulkan_core.h:3321
with Import => True,
Convention => C,
External_Name => "vkQueueWaitIdle";
function vkDeviceWaitIdle (device : VkDevice) return VkResult -- vulkan_core.h:3324
with Import => True,
Convention => C,
External_Name => "vkDeviceWaitIdle";
function vkAllocateMemory
(device : VkDevice;
pAllocateInfo : access constant VkMemoryAllocateInfo;
pAllocator : access constant VkAllocationCallbacks;
pMemory : System.Address) return VkResult -- vulkan_core.h:3327
with Import => True,
Convention => C,
External_Name => "vkAllocateMemory";
procedure vkFreeMemory
(device : VkDevice;
memory : VkDeviceMemory;
pAllocator : access constant VkAllocationCallbacks) -- vulkan_core.h:3333
with Import => True,
Convention => C,
External_Name => "vkFreeMemory";
function vkMapMemory
(device : VkDevice;
memory : VkDeviceMemory;
offset : VkDeviceSize;
size : VkDeviceSize;
flags : VkMemoryMapFlags;
ppData : System.Address) return VkResult -- vulkan_core.h:3338
with Import => True,
Convention => C,
External_Name => "vkMapMemory";
procedure vkUnmapMemory (device : VkDevice; memory : VkDeviceMemory) -- vulkan_core.h:3346
with Import => True,
Convention => C,
External_Name => "vkUnmapMemory";
function vkFlushMappedMemoryRanges
(device : VkDevice;
memoryRangeCount : Interfaces.C.unsigned_short;
pMemoryRanges : access constant VkMappedMemoryRange) return VkResult -- vulkan_core.h:3350
with Import => True,
Convention => C,
External_Name => "vkFlushMappedMemoryRanges";
function vkInvalidateMappedMemoryRanges
(device : VkDevice;
memoryRangeCount : Interfaces.C.unsigned_short;
pMemoryRanges : access constant VkMappedMemoryRange) return VkResult -- vulkan_core.h:3355
with Import => True,
Convention => C,
External_Name => "vkInvalidateMappedMemoryRanges";
procedure vkGetDeviceMemoryCommitment
(device : VkDevice;
memory : VkDeviceMemory;
pCommittedMemoryInBytes : access VkDeviceSize) -- vulkan_core.h:3360
with Import => True,
Convention => C,
External_Name => "vkGetDeviceMemoryCommitment";
function vkBindBufferMemory
(device : VkDevice;
buffer : VkBuffer;
memory : VkDeviceMemory;
memoryOffset : VkDeviceSize) return VkResult -- vulkan_core.h:3365
with Import => True,
Convention => C,
External_Name => "vkBindBufferMemory";
function vkBindImageMemory
(device : VkDevice;
image : VkImage;
memory : VkDeviceMemory;
memoryOffset : VkDeviceSize) return VkResult -- vulkan_core.h:3371
with Import => True,
Convention => C,
External_Name => "vkBindImageMemory";
procedure vkGetBufferMemoryRequirements
(device : VkDevice;
buffer : VkBuffer;
pMemoryRequirements : access VkMemoryRequirements) -- vulkan_core.h:3377
with Import => True,
Convention => C,
External_Name => "vkGetBufferMemoryRequirements";
procedure vkGetImageMemoryRequirements
(device : VkDevice;
image : VkImage;
pMemoryRequirements : access VkMemoryRequirements) -- vulkan_core.h:3382
with Import => True,
Convention => C,
External_Name => "vkGetImageMemoryRequirements";
procedure vkGetImageSparseMemoryRequirements
(device : VkDevice;
image : VkImage;
pSparseMemoryRequirementCount : access Interfaces.C.unsigned_short;
pSparseMemoryRequirements : access VkSparseImageMemoryRequirements) -- vulkan_core.h:3387
with Import => True,
Convention => C,
External_Name => "vkGetImageSparseMemoryRequirements";
procedure vkGetPhysicalDeviceSparseImageFormatProperties
(physicalDevice : VkPhysicalDevice;
format : VkFormat;
c_type : VkImageType;
samples : VkSampleCountFlagBits;
usage : VkImageUsageFlags;
tiling : VkImageTiling;
pPropertyCount : access Interfaces.C.unsigned_short;
pProperties : access VkSparseImageFormatProperties) -- vulkan_core.h:3393
with Import => True,
Convention => C,
External_Name => "vkGetPhysicalDeviceSparseImageFormatProperties";
function vkQueueBindSparse
(queue : VkQueue;
bindInfoCount : Interfaces.C.unsigned_short;
pBindInfo : access constant VkBindSparseInfo;
fence : VkFence) return VkResult -- vulkan_core.h:3403
with Import => True,
Convention => C,
External_Name => "vkQueueBindSparse";
function vkCreateFence
(device : VkDevice;
pCreateInfo : access constant VkFenceCreateInfo;
pAllocator : access constant VkAllocationCallbacks;
pFence : System.Address) return VkResult -- vulkan_core.h:3409
with Import => True,
Convention => C,
External_Name => "vkCreateFence";
procedure vkDestroyFence
(device : VkDevice;
fence : VkFence;
pAllocator : access constant VkAllocationCallbacks) -- vulkan_core.h:3415
with Import => True,
Convention => C,
External_Name => "vkDestroyFence";
function vkResetFences
(device : VkDevice;
fenceCount : Interfaces.C.unsigned_short;
pFences : System.Address) return VkResult -- vulkan_core.h:3420
with Import => True,
Convention => C,
External_Name => "vkResetFences";
function vkGetFenceStatus (device : VkDevice; fence : VkFence) return VkResult -- vulkan_core.h:3425
with Import => True,
Convention => C,
External_Name => "vkGetFenceStatus";
function vkWaitForFences
(device : VkDevice;
fenceCount : Interfaces.C.unsigned_short;
pFences : System.Address;
waitAll : VkBool32;
timeout : Interfaces.C.unsigned_long) return VkResult -- vulkan_core.h:3429
with Import => True,
Convention => C,
External_Name => "vkWaitForFences";
function vkCreateSemaphore
(device : VkDevice;
pCreateInfo : access constant VkSemaphoreCreateInfo;
pAllocator : access constant VkAllocationCallbacks;
pSemaphore : System.Address) return VkResult -- vulkan_core.h:3436
with Import => True,
Convention => C,
External_Name => "vkCreateSemaphore";
procedure vkDestroySemaphore
(device : VkDevice;
semaphore : VkSemaphore;
pAllocator : access constant VkAllocationCallbacks) -- vulkan_core.h:3442
with Import => True,
Convention => C,
External_Name => "vkDestroySemaphore";
function vkCreateEvent
(device : VkDevice;
pCreateInfo : access constant VkEventCreateInfo;
pAllocator : access constant VkAllocationCallbacks;
pEvent : System.Address) return VkResult -- vulkan_core.h:3447
with Import => True,
Convention => C,
External_Name => "vkCreateEvent";
procedure vkDestroyEvent
(device : VkDevice;
event : VkEvent;
pAllocator : access constant VkAllocationCallbacks) -- vulkan_core.h:3453
with Import => True,
Convention => C,
External_Name => "vkDestroyEvent";
function vkGetEventStatus (device : VkDevice; event : VkEvent) return VkResult -- vulkan_core.h:3458
with Import => True,
Convention => C,
External_Name => "vkGetEventStatus";
function vkSetEvent (device : VkDevice; event : VkEvent) return VkResult -- vulkan_core.h:3462
with Import => True,
Convention => C,
External_Name => "vkSetEvent";
function vkResetEvent (device : VkDevice; event : VkEvent) return VkResult -- vulkan_core.h:3466
with Import => True,
Convention => C,
External_Name => "vkResetEvent";
function vkCreateQueryPool
(device : VkDevice;
pCreateInfo : access constant VkQueryPoolCreateInfo;
pAllocator : access constant VkAllocationCallbacks;
pQueryPool : System.Address) return VkResult -- vulkan_core.h:3470
with Import => True,
Convention => C,
External_Name => "vkCreateQueryPool";
procedure vkDestroyQueryPool
(device : VkDevice;
queryPool : VkQueryPool;
pAllocator : access constant VkAllocationCallbacks) -- vulkan_core.h:3476
with Import => True,
Convention => C,
External_Name => "vkDestroyQueryPool";
function vkGetQueryPoolResults
(device : VkDevice;
queryPool : VkQueryPool;
firstQuery : Interfaces.C.unsigned_short;
queryCount : Interfaces.C.unsigned_short;
dataSize : size_t;
pData : System.Address;
stride : VkDeviceSize;
flags : VkQueryResultFlags) return VkResult -- vulkan_core.h:3481
with Import => True,
Convention => C,
External_Name => "vkGetQueryPoolResults";
function vkCreateBuffer
(device : VkDevice;
pCreateInfo : access constant VkBufferCreateInfo;
pAllocator : access constant VkAllocationCallbacks;
pBuffer : System.Address) return VkResult -- vulkan_core.h:3491
with Import => True,
Convention => C,
External_Name => "vkCreateBuffer";
procedure vkDestroyBuffer
(device : VkDevice;
buffer : VkBuffer;
pAllocator : access constant VkAllocationCallbacks) -- vulkan_core.h:3497
with Import => True,
Convention => C,
External_Name => "vkDestroyBuffer";
function vkCreateBufferView
(device : VkDevice;
pCreateInfo : access constant VkBufferViewCreateInfo;
pAllocator : access constant VkAllocationCallbacks;
pView : System.Address) return VkResult -- vulkan_core.h:3502
with Import => True,
Convention => C,
External_Name => "vkCreateBufferView";
procedure vkDestroyBufferView
(device : VkDevice;
bufferView : VkBufferView;
pAllocator : access constant VkAllocationCallbacks) -- vulkan_core.h:3508
with Import => True,
Convention => C,
External_Name => "vkDestroyBufferView";
function vkCreateImage
(device : VkDevice;
pCreateInfo : access constant VkImageCreateInfo;
pAllocator : access constant VkAllocationCallbacks;
pImage : System.Address) return VkResult -- vulkan_core.h:3513
with Import => True,
Convention => C,
External_Name => "vkCreateImage";
procedure vkDestroyImage
(device : VkDevice;
image : VkImage;
pAllocator : access constant VkAllocationCallbacks) -- vulkan_core.h:3519
with Import => True,
Convention => C,
External_Name => "vkDestroyImage";
procedure vkGetImageSubresourceLayout
(device : VkDevice;
image : VkImage;
pSubresource : access constant VkImageSubresource;
pLayout : access VkSubresourceLayout) -- vulkan_core.h:3524
with Import => True,
Convention => C,
External_Name => "vkGetImageSubresourceLayout";
function vkCreateImageView
(device : VkDevice;
pCreateInfo : access constant VkImageViewCreateInfo;
pAllocator : access constant VkAllocationCallbacks;
pView : System.Address) return VkResult -- vulkan_core.h:3530
with Import => True,
Convention => C,
External_Name => "vkCreateImageView";
procedure vkDestroyImageView
(device : VkDevice;
imageView : VkImageView;
pAllocator : access constant VkAllocationCallbacks) -- vulkan_core.h:3536
with Import => True,
Convention => C,
External_Name => "vkDestroyImageView";
function vkCreateShaderModule
(device : VkDevice;
pCreateInfo : access constant VkShaderModuleCreateInfo;
pAllocator : access constant VkAllocationCallbacks;
pShaderModule : System.Address) return VkResult -- vulkan_core.h:3541
with Import => True,
Convention => C,
External_Name => "vkCreateShaderModule";
procedure vkDestroyShaderModule
(device : VkDevice;
shaderModule : VkShaderModule;
pAllocator : access constant VkAllocationCallbacks) -- vulkan_core.h:3547
with Import => True,
Convention => C,
External_Name => "vkDestroyShaderModule";
function vkCreatePipelineCache
(device : VkDevice;
pCreateInfo : access constant VkPipelineCacheCreateInfo;
pAllocator : access constant VkAllocationCallbacks;
pPipelineCache : System.Address) return VkResult -- vulkan_core.h:3552
with Import => True,
Convention => C,
External_Name => "vkCreatePipelineCache";
procedure vkDestroyPipelineCache
(device : VkDevice;
pipelineCache : VkPipelineCache;
pAllocator : access constant VkAllocationCallbacks) -- vulkan_core.h:3558
with Import => True,
Convention => C,
External_Name => "vkDestroyPipelineCache";
function vkGetPipelineCacheData
(device : VkDevice;
pipelineCache : VkPipelineCache;
pDataSize : access size_t;
pData : System.Address) return VkResult -- vulkan_core.h:3563
with Import => True,
Convention => C,
External_Name => "vkGetPipelineCacheData";
function vkMergePipelineCaches
(device : VkDevice;
dstCache : VkPipelineCache;
srcCacheCount : Interfaces.C.unsigned_short;
pSrcCaches : System.Address) return VkResult -- vulkan_core.h:3569
with Import => True,
Convention => C,
External_Name => "vkMergePipelineCaches";
function vkCreateGraphicsPipelines
(device : VkDevice;
pipelineCache : VkPipelineCache;
createInfoCount : Interfaces.C.unsigned_short;
pCreateInfos : access constant VkGraphicsPipelineCreateInfo;
pAllocator : access constant VkAllocationCallbacks;
pPipelines : System.Address) return VkResult -- vulkan_core.h:3575
with Import => True,
Convention => C,
External_Name => "vkCreateGraphicsPipelines";
function vkCreateComputePipelines
(device : VkDevice;
pipelineCache : VkPipelineCache;
createInfoCount : Interfaces.C.unsigned_short;
pCreateInfos : access constant VkComputePipelineCreateInfo;
pAllocator : access constant VkAllocationCallbacks;
pPipelines : System.Address) return VkResult -- vulkan_core.h:3583
with Import => True,
Convention => C,
External_Name => "vkCreateComputePipelines";
procedure vkDestroyPipeline
(device : VkDevice;
pipeline : VkPipeline;
pAllocator : access constant VkAllocationCallbacks) -- vulkan_core.h:3591
with Import => True,
Convention => C,
External_Name => "vkDestroyPipeline";
function vkCreatePipelineLayout
(device : VkDevice;
pCreateInfo : access constant VkPipelineLayoutCreateInfo;
pAllocator : access constant VkAllocationCallbacks;
pPipelineLayout : System.Address) return VkResult -- vulkan_core.h:3596
with Import => True,
Convention => C,
External_Name => "vkCreatePipelineLayout";
procedure vkDestroyPipelineLayout
(device : VkDevice;
pipelineLayout : VkPipelineLayout;
pAllocator : access constant VkAllocationCallbacks) -- vulkan_core.h:3602
with Import => True,
Convention => C,
External_Name => "vkDestroyPipelineLayout";
function vkCreateSampler
(device : VkDevice;
pCreateInfo : access constant VkSamplerCreateInfo;
pAllocator : access constant VkAllocationCallbacks;
pSampler : System.Address) return VkResult -- vulkan_core.h:3607
with Import => True,
Convention => C,
External_Name => "vkCreateSampler";
procedure vkDestroySampler
(device : VkDevice;
sampler : VkSampler;
pAllocator : access constant VkAllocationCallbacks) -- vulkan_core.h:3613
with Import => True,
Convention => C,
External_Name => "vkDestroySampler";
function vkCreateDescriptorSetLayout
(device : VkDevice;
pCreateInfo : access constant VkDescriptorSetLayoutCreateInfo;
pAllocator : access constant VkAllocationCallbacks;
pSetLayout : System.Address) return VkResult -- vulkan_core.h:3618
with Import => True,
Convention => C,
External_Name => "vkCreateDescriptorSetLayout";
procedure vkDestroyDescriptorSetLayout
(device : VkDevice;
descriptorSetLayout : VkDescriptorSetLayout;
pAllocator : access constant VkAllocationCallbacks) -- vulkan_core.h:3624
with Import => True,
Convention => C,
External_Name => "vkDestroyDescriptorSetLayout";
function vkCreateDescriptorPool
(device : VkDevice;
pCreateInfo : access constant VkDescriptorPoolCreateInfo;
pAllocator : access constant VkAllocationCallbacks;
pDescriptorPool : System.Address) return VkResult -- vulkan_core.h:3629
with Import => True,
Convention => C,
External_Name => "vkCreateDescriptorPool";
procedure vkDestroyDescriptorPool
(device : VkDevice;
descriptorPool : VkDescriptorPool;
pAllocator : access constant VkAllocationCallbacks) -- vulkan_core.h:3635
with Import => True,
Convention => C,
External_Name => "vkDestroyDescriptorPool";
function vkResetDescriptorPool
(device : VkDevice;
descriptorPool : VkDescriptorPool;
flags : VkDescriptorPoolResetFlags) return VkResult -- vulkan_core.h:3640
with Import => True,
Convention => C,
External_Name => "vkResetDescriptorPool";
function vkAllocateDescriptorSets
(device : VkDevice;
pAllocateInfo : access constant VkDescriptorSetAllocateInfo;
pDescriptorSets : System.Address) return VkResult -- vulkan_core.h:3645
with Import => True,
Convention => C,
External_Name => "vkAllocateDescriptorSets";
function vkFreeDescriptorSets
(device : VkDevice;
descriptorPool : VkDescriptorPool;
descriptorSetCount : Interfaces.C.unsigned_short;
pDescriptorSets : System.Address) return VkResult -- vulkan_core.h:3650
with Import => True,
Convention => C,
External_Name => "vkFreeDescriptorSets";
procedure vkUpdateDescriptorSets
(device : VkDevice;
descriptorWriteCount : Interfaces.C.unsigned_short;
pDescriptorWrites : access constant VkWriteDescriptorSet;
descriptorCopyCount : Interfaces.C.unsigned_short;
pDescriptorCopies : access constant VkCopyDescriptorSet) -- vulkan_core.h:3656
with Import => True,
Convention => C,
External_Name => "vkUpdateDescriptorSets";
function vkCreateFramebuffer
(device : VkDevice;
pCreateInfo : access constant VkFramebufferCreateInfo;
pAllocator : access constant VkAllocationCallbacks;
pFramebuffer : System.Address) return VkResult -- vulkan_core.h:3663
with Import => True,
Convention => C,
External_Name => "vkCreateFramebuffer";
procedure vkDestroyFramebuffer
(device : VkDevice;
framebuffer : VkFramebuffer;
pAllocator : access constant VkAllocationCallbacks) -- vulkan_core.h:3669
with Import => True,
Convention => C,
External_Name => "vkDestroyFramebuffer";
function vkCreateRenderPass
(device : VkDevice;
pCreateInfo : access constant VkRenderPassCreateInfo;
pAllocator : access constant VkAllocationCallbacks;
pRenderPass : System.Address) return VkResult -- vulkan_core.h:3674
with Import => True,
Convention => C,
External_Name => "vkCreateRenderPass";
procedure vkDestroyRenderPass
(device : VkDevice;
renderPass : VkRenderPass;
pAllocator : access constant VkAllocationCallbacks) -- vulkan_core.h:3680
with Import => True,
Convention => C,
External_Name => "vkDestroyRenderPass";
procedure vkGetRenderAreaGranularity
(device : VkDevice;
renderPass : VkRenderPass;
pGranularity : access VkExtent2D) -- vulkan_core.h:3685
with Import => True,
Convention => C,
External_Name => "vkGetRenderAreaGranularity";
function vkCreateCommandPool
(device : VkDevice;
pCreateInfo : access constant VkCommandPoolCreateInfo;
pAllocator : access constant VkAllocationCallbacks;
pCommandPool : System.Address) return VkResult -- vulkan_core.h:3690
with Import => True,
Convention => C,
External_Name => "vkCreateCommandPool";
procedure vkDestroyCommandPool
(device : VkDevice;
commandPool : VkCommandPool;
pAllocator : access constant VkAllocationCallbacks) -- vulkan_core.h:3696
with Import => True,
Convention => C,
External_Name => "vkDestroyCommandPool";
function vkResetCommandPool
(device : VkDevice;
commandPool : VkCommandPool;
flags : VkCommandPoolResetFlags) return VkResult -- vulkan_core.h:3701
with Import => True,
Convention => C,
External_Name => "vkResetCommandPool";
function vkAllocateCommandBuffers
(device : VkDevice;
pAllocateInfo : access constant VkCommandBufferAllocateInfo;
pCommandBuffers : System.Address) return VkResult -- vulkan_core.h:3706
with Import => True,
Convention => C,
External_Name => "vkAllocateCommandBuffers";
procedure vkFreeCommandBuffers
(device : VkDevice;
commandPool : VkCommandPool;
commandBufferCount : Interfaces.C.unsigned_short;
pCommandBuffers : System.Address) -- vulkan_core.h:3711
with Import => True,
Convention => C,
External_Name => "vkFreeCommandBuffers";
function vkBeginCommandBuffer (commandBuffer : VkCommandBuffer; pBeginInfo : access constant VkCommandBufferBeginInfo) return VkResult -- vulkan_core.h:3717
with Import => True,
Convention => C,
External_Name => "vkBeginCommandBuffer";
function vkEndCommandBuffer (commandBuffer : VkCommandBuffer) return VkResult -- vulkan_core.h:3721
with Import => True,
Convention => C,
External_Name => "vkEndCommandBuffer";
function vkResetCommandBuffer (commandBuffer : VkCommandBuffer; flags : VkCommandBufferResetFlags) return VkResult -- vulkan_core.h:3724
with Import => True,
Convention => C,
External_Name => "vkResetCommandBuffer";
procedure vkCmdBindPipeline
(commandBuffer : VkCommandBuffer;
pipelineBindPoint : VkPipelineBindPoint;
pipeline : VkPipeline) -- vulkan_core.h:3728
with Import => True,
Convention => C,
External_Name => "vkCmdBindPipeline";
procedure vkCmdSetViewport
(commandBuffer : VkCommandBuffer;
firstViewport : Interfaces.C.unsigned_short;
viewportCount : Interfaces.C.unsigned_short;
pViewports : access constant VkViewport) -- vulkan_core.h:3733
with Import => True,
Convention => C,
External_Name => "vkCmdSetViewport";
procedure vkCmdSetScissor
(commandBuffer : VkCommandBuffer;
firstScissor : Interfaces.C.unsigned_short;
scissorCount : Interfaces.C.unsigned_short;
pScissors : access constant VkRect2D) -- vulkan_core.h:3739
with Import => True,
Convention => C,
External_Name => "vkCmdSetScissor";
procedure vkCmdSetLineWidth (commandBuffer : VkCommandBuffer; lineWidth : float) -- vulkan_core.h:3745
with Import => True,
Convention => C,
External_Name => "vkCmdSetLineWidth";
procedure vkCmdSetDepthBias
(commandBuffer : VkCommandBuffer;
depthBiasConstantFactor : float;
depthBiasClamp : float;
depthBiasSlopeFactor : float) -- vulkan_core.h:3749
with Import => True,
Convention => C,
External_Name => "vkCmdSetDepthBias";
procedure vkCmdSetBlendConstants (commandBuffer : VkCommandBuffer; blendConstants : access float) -- vulkan_core.h:3755
with Import => True,
Convention => C,
External_Name => "vkCmdSetBlendConstants";
procedure vkCmdSetDepthBounds
(commandBuffer : VkCommandBuffer;
minDepthBounds : float;
maxDepthBounds : float) -- vulkan_core.h:3759
with Import => True,
Convention => C,
External_Name => "vkCmdSetDepthBounds";
procedure vkCmdSetStencilCompareMask
(commandBuffer : VkCommandBuffer;
faceMask : VkStencilFaceFlags;
compareMask : Interfaces.C.unsigned_short) -- vulkan_core.h:3764
with Import => True,
Convention => C,
External_Name => "vkCmdSetStencilCompareMask";
procedure vkCmdSetStencilWriteMask
(commandBuffer : VkCommandBuffer;
faceMask : VkStencilFaceFlags;
writeMask : Interfaces.C.unsigned_short) -- vulkan_core.h:3769
with Import => True,
Convention => C,
External_Name => "vkCmdSetStencilWriteMask";
procedure vkCmdSetStencilReference
(commandBuffer : VkCommandBuffer;
faceMask : VkStencilFaceFlags;
reference : Interfaces.C.unsigned_short) -- vulkan_core.h:3774
with Import => True,
Convention => C,
External_Name => "vkCmdSetStencilReference";
procedure vkCmdBindDescriptorSets
(commandBuffer : VkCommandBuffer;
pipelineBindPoint : VkPipelineBindPoint;
layout : VkPipelineLayout;
firstSet : Interfaces.C.unsigned_short;
descriptorSetCount : Interfaces.C.unsigned_short;
pDescriptorSets : System.Address;
dynamicOffsetCount : Interfaces.C.unsigned_short;
pDynamicOffsets : access Interfaces.C.unsigned_short) -- vulkan_core.h:3779
with Import => True,
Convention => C,
External_Name => "vkCmdBindDescriptorSets";
procedure vkCmdBindIndexBuffer
(commandBuffer : VkCommandBuffer;
buffer : VkBuffer;
offset : VkDeviceSize;
indexType : VkIndexType) -- vulkan_core.h:3789
with Import => True,
Convention => C,
External_Name => "vkCmdBindIndexBuffer";
procedure vkCmdBindVertexBuffers
(commandBuffer : VkCommandBuffer;
firstBinding : Interfaces.C.unsigned_short;
bindingCount : Interfaces.C.unsigned_short;
pBuffers : System.Address;
pOffsets : access VkDeviceSize) -- vulkan_core.h:3795
with Import => True,
Convention => C,
External_Name => "vkCmdBindVertexBuffers";
procedure vkCmdDraw
(commandBuffer : VkCommandBuffer;
vertexCount : Interfaces.C.unsigned_short;
instanceCount : Interfaces.C.unsigned_short;
firstVertex : Interfaces.C.unsigned_short;
firstInstance : Interfaces.C.unsigned_short) -- vulkan_core.h:3802
with Import => True,
Convention => C,
External_Name => "vkCmdDraw";
procedure vkCmdDrawIndexed
(commandBuffer : VkCommandBuffer;
indexCount : Interfaces.C.unsigned_short;
instanceCount : Interfaces.C.unsigned_short;
firstIndex : Interfaces.C.unsigned_short;
vertexOffset : Interfaces.C.short;
firstInstance : Interfaces.C.unsigned_short) -- vulkan_core.h:3809
with Import => True,
Convention => C,
External_Name => "vkCmdDrawIndexed";
procedure vkCmdDrawIndirect
(commandBuffer : VkCommandBuffer;
buffer : VkBuffer;
offset : VkDeviceSize;
drawCount : Interfaces.C.unsigned_short;
stride : Interfaces.C.unsigned_short) -- vulkan_core.h:3817
with Import => True,
Convention => C,
External_Name => "vkCmdDrawIndirect";
procedure vkCmdDrawIndexedIndirect
(commandBuffer : VkCommandBuffer;
buffer : VkBuffer;
offset : VkDeviceSize;
drawCount : Interfaces.C.unsigned_short;
stride : Interfaces.C.unsigned_short) -- vulkan_core.h:3824
with Import => True,
Convention => C,
External_Name => "vkCmdDrawIndexedIndirect";
procedure vkCmdDispatch
(commandBuffer : VkCommandBuffer;
groupCountX : Interfaces.C.unsigned_short;
groupCountY : Interfaces.C.unsigned_short;
groupCountZ : Interfaces.C.unsigned_short) -- vulkan_core.h:3831
with Import => True,
Convention => C,
External_Name => "vkCmdDispatch";
procedure vkCmdDispatchIndirect
(commandBuffer : VkCommandBuffer;
buffer : VkBuffer;
offset : VkDeviceSize) -- vulkan_core.h:3837
with Import => True,
Convention => C,
External_Name => "vkCmdDispatchIndirect";
procedure vkCmdCopyBuffer
(commandBuffer : VkCommandBuffer;
srcBuffer : VkBuffer;
dstBuffer : VkBuffer;
regionCount : Interfaces.C.unsigned_short;
pRegions : access constant VkBufferCopy) -- vulkan_core.h:3842
with Import => True,
Convention => C,
External_Name => "vkCmdCopyBuffer";
procedure vkCmdCopyImage
(commandBuffer : VkCommandBuffer;
srcImage : VkImage;
srcImageLayout : VkImageLayout;
dstImage : VkImage;
dstImageLayout : VkImageLayout;
regionCount : Interfaces.C.unsigned_short;
pRegions : access constant VkImageCopy) -- vulkan_core.h:3849
with Import => True,
Convention => C,
External_Name => "vkCmdCopyImage";
procedure vkCmdBlitImage
(commandBuffer : VkCommandBuffer;
srcImage : VkImage;
srcImageLayout : VkImageLayout;
dstImage : VkImage;
dstImageLayout : VkImageLayout;
regionCount : Interfaces.C.unsigned_short;
pRegions : access constant VkImageBlit;
filter : VkFilter) -- vulkan_core.h:3858
with Import => True,
Convention => C,
External_Name => "vkCmdBlitImage";
procedure vkCmdCopyBufferToImage
(commandBuffer : VkCommandBuffer;
srcBuffer : VkBuffer;
dstImage : VkImage;
dstImageLayout : VkImageLayout;
regionCount : Interfaces.C.unsigned_short;
pRegions : access constant VkBufferImageCopy) -- vulkan_core.h:3868
with Import => True,
Convention => C,
External_Name => "vkCmdCopyBufferToImage";
procedure vkCmdCopyImageToBuffer
(commandBuffer : VkCommandBuffer;
srcImage : VkImage;
srcImageLayout : VkImageLayout;
dstBuffer : VkBuffer;
regionCount : Interfaces.C.unsigned_short;
pRegions : access constant VkBufferImageCopy) -- vulkan_core.h:3876
with Import => True,
Convention => C,
External_Name => "vkCmdCopyImageToBuffer";
procedure vkCmdUpdateBuffer
(commandBuffer : VkCommandBuffer;
dstBuffer : VkBuffer;
dstOffset : VkDeviceSize;
dataSize : VkDeviceSize;
pData : System.Address) -- vulkan_core.h:3884
with Import => True,
Convention => C,
External_Name => "vkCmdUpdateBuffer";
procedure vkCmdFillBuffer
(commandBuffer : VkCommandBuffer;
dstBuffer : VkBuffer;
dstOffset : VkDeviceSize;
size : VkDeviceSize;
data : Interfaces.C.unsigned_short) -- vulkan_core.h:3891
with Import => True,
Convention => C,
External_Name => "vkCmdFillBuffer";
procedure vkCmdClearColorImage
(commandBuffer : VkCommandBuffer;
image : VkImage;
imageLayout : VkImageLayout;
pColor : access constant VkClearColorValue;
rangeCount : Interfaces.C.unsigned_short;
pRanges : access constant VkImageSubresourceRange) -- vulkan_core.h:3898
with Import => True,
Convention => C,
External_Name => "vkCmdClearColorImage";
procedure vkCmdClearDepthStencilImage
(commandBuffer : VkCommandBuffer;
image : VkImage;
imageLayout : VkImageLayout;
pDepthStencil : access constant VkClearDepthStencilValue;
rangeCount : Interfaces.C.unsigned_short;
pRanges : access constant VkImageSubresourceRange) -- vulkan_core.h:3906
with Import => True,
Convention => C,
External_Name => "vkCmdClearDepthStencilImage";
procedure vkCmdClearAttachments
(commandBuffer : VkCommandBuffer;
attachmentCount : Interfaces.C.unsigned_short;
pAttachments : access constant VkClearAttachment;
rectCount : Interfaces.C.unsigned_short;
pRects : access constant VkClearRect) -- vulkan_core.h:3914
with Import => True,
Convention => C,
External_Name => "vkCmdClearAttachments";
procedure vkCmdResolveImage
(commandBuffer : VkCommandBuffer;
srcImage : VkImage;
srcImageLayout : VkImageLayout;
dstImage : VkImage;
dstImageLayout : VkImageLayout;
regionCount : Interfaces.C.unsigned_short;
pRegions : access constant VkImageResolve) -- vulkan_core.h:3921
with Import => True,
Convention => C,
External_Name => "vkCmdResolveImage";
procedure vkCmdSetEvent
(commandBuffer : VkCommandBuffer;
event : VkEvent;
stageMask : VkPipelineStageFlags) -- vulkan_core.h:3930
with Import => True,
Convention => C,
External_Name => "vkCmdSetEvent";
procedure vkCmdResetEvent
(commandBuffer : VkCommandBuffer;
event : VkEvent;
stageMask : VkPipelineStageFlags) -- vulkan_core.h:3935
with Import => True,
Convention => C,
External_Name => "vkCmdResetEvent";
procedure vkCmdWaitEvents
(commandBuffer : VkCommandBuffer;
eventCount : Interfaces.C.unsigned_short;
pEvents : System.Address;
srcStageMask : VkPipelineStageFlags;
dstStageMask : VkPipelineStageFlags;
memoryBarrierCount : Interfaces.C.unsigned_short;
pMemoryBarriers : access constant VkMemoryBarrier;
bufferMemoryBarrierCount : Interfaces.C.unsigned_short;
pBufferMemoryBarriers : access constant VkBufferMemoryBarrier;
imageMemoryBarrierCount : Interfaces.C.unsigned_short;
pImageMemoryBarriers : access constant VkImageMemoryBarrier) -- vulkan_core.h:3940
with Import => True,
Convention => C,
External_Name => "vkCmdWaitEvents";
procedure vkCmdPipelineBarrier
(commandBuffer : VkCommandBuffer;
srcStageMask : VkPipelineStageFlags;
dstStageMask : VkPipelineStageFlags;
dependencyFlags : VkDependencyFlags;
memoryBarrierCount : Interfaces.C.unsigned_short;
pMemoryBarriers : access constant VkMemoryBarrier;
bufferMemoryBarrierCount : Interfaces.C.unsigned_short;
pBufferMemoryBarriers : access constant VkBufferMemoryBarrier;
imageMemoryBarrierCount : Interfaces.C.unsigned_short;
pImageMemoryBarriers : access constant VkImageMemoryBarrier) -- vulkan_core.h:3953
with Import => True,
Convention => C,
External_Name => "vkCmdPipelineBarrier";
procedure vkCmdBeginQuery
(commandBuffer : VkCommandBuffer;
queryPool : VkQueryPool;
query : Interfaces.C.unsigned_short;
flags : VkQueryControlFlags) -- vulkan_core.h:3965
with Import => True,
Convention => C,
External_Name => "vkCmdBeginQuery";
procedure vkCmdEndQuery
(commandBuffer : VkCommandBuffer;
queryPool : VkQueryPool;
query : Interfaces.C.unsigned_short) -- vulkan_core.h:3971
with Import => True,
Convention => C,
External_Name => "vkCmdEndQuery";
procedure vkCmdResetQueryPool
(commandBuffer : VkCommandBuffer;
queryPool : VkQueryPool;
firstQuery : Interfaces.C.unsigned_short;
queryCount : Interfaces.C.unsigned_short) -- vulkan_core.h:3976
with Import => True,
Convention => C,
External_Name => "vkCmdResetQueryPool";
procedure vkCmdWriteTimestamp
(commandBuffer : VkCommandBuffer;
pipelineStage : VkPipelineStageFlagBits;
queryPool : VkQueryPool;
query : Interfaces.C.unsigned_short) -- vulkan_core.h:3982
with Import => True,
Convention => C,
External_Name => "vkCmdWriteTimestamp";
procedure vkCmdCopyQueryPoolResults
(commandBuffer : VkCommandBuffer;
queryPool : VkQueryPool;
firstQuery : Interfaces.C.unsigned_short;
queryCount : Interfaces.C.unsigned_short;
dstBuffer : VkBuffer;
dstOffset : VkDeviceSize;
stride : VkDeviceSize;
flags : VkQueryResultFlags) -- vulkan_core.h:3988
with Import => True,
Convention => C,
External_Name => "vkCmdCopyQueryPoolResults";
procedure vkCmdPushConstants
(commandBuffer : VkCommandBuffer;
layout : VkPipelineLayout;
stageFlags : VkShaderStageFlags;
offset : Interfaces.C.unsigned_short;
size : Interfaces.C.unsigned_short;
pValues : System.Address) -- vulkan_core.h:3998
with Import => True,
Convention => C,
External_Name => "vkCmdPushConstants";
procedure vkCmdBeginRenderPass
(commandBuffer : VkCommandBuffer;
pRenderPassBegin : access constant VkRenderPassBeginInfo;
contents : VkSubpassContents) -- vulkan_core.h:4006
with Import => True,
Convention => C,
External_Name => "vkCmdBeginRenderPass";
procedure vkCmdNextSubpass (commandBuffer : VkCommandBuffer; contents : VkSubpassContents) -- vulkan_core.h:4011
with Import => True,
Convention => C,
External_Name => "vkCmdNextSubpass";
procedure vkCmdEndRenderPass (commandBuffer : VkCommandBuffer) -- vulkan_core.h:4015
with Import => True,
Convention => C,
External_Name => "vkCmdEndRenderPass";
procedure vkCmdExecuteCommands
(commandBuffer : VkCommandBuffer;
commandBufferCount : Interfaces.C.unsigned_short;
pCommandBuffers : System.Address) -- vulkan_core.h:4018
with Import => True,
Convention => C,
External_Name => "vkCmdExecuteCommands";
-- Vulkan 1.1 version number
type VkSamplerYcbcrConversion_T is null record; -- incomplete struct
type VkSamplerYcbcrConversion is access all VkSamplerYcbcrConversion_T; -- vulkan_core.h:4029
type VkDescriptorUpdateTemplate_T is null record; -- incomplete struct
type VkDescriptorUpdateTemplate is access all VkDescriptorUpdateTemplate_T; -- vulkan_core.h:4030
subtype VkPointClippingBehavior is unsigned;
VK_POINT_CLIPPING_BEHAVIOR_ALL_CLIP_PLANES : constant unsigned := 0;
VK_POINT_CLIPPING_BEHAVIOR_USER_CLIP_PLANES_ONLY : constant unsigned := 1;
VK_POINT_CLIPPING_BEHAVIOR_ALL_CLIP_PLANES_KHR : constant unsigned := 0;
VK_POINT_CLIPPING_BEHAVIOR_USER_CLIP_PLANES_ONLY_KHR : constant unsigned := 1;
VK_POINT_CLIPPING_BEHAVIOR_BEGIN_RANGE : constant unsigned := 0;
VK_POINT_CLIPPING_BEHAVIOR_END_RANGE : constant unsigned := 1;
VK_POINT_CLIPPING_BEHAVIOR_RANGE_SIZE : constant unsigned := 2;
VK_POINT_CLIPPING_BEHAVIOR_MAX_ENUM : constant unsigned := 2147483647; -- vulkan_core.h:4035
subtype VkTessellationDomainOrigin is unsigned;
VK_TESSELLATION_DOMAIN_ORIGIN_UPPER_LEFT : constant unsigned := 0;
VK_TESSELLATION_DOMAIN_ORIGIN_LOWER_LEFT : constant unsigned := 1;
VK_TESSELLATION_DOMAIN_ORIGIN_UPPER_LEFT_KHR : constant unsigned := 0;
VK_TESSELLATION_DOMAIN_ORIGIN_LOWER_LEFT_KHR : constant unsigned := 1;
VK_TESSELLATION_DOMAIN_ORIGIN_BEGIN_RANGE : constant unsigned := 0;
VK_TESSELLATION_DOMAIN_ORIGIN_END_RANGE : constant unsigned := 1;
VK_TESSELLATION_DOMAIN_ORIGIN_RANGE_SIZE : constant unsigned := 2;
VK_TESSELLATION_DOMAIN_ORIGIN_MAX_ENUM : constant unsigned := 2147483647; -- vulkan_core.h:4046
subtype VkSamplerYcbcrModelConversion is unsigned;
VK_SAMPLER_YCBCR_MODEL_CONVERSION_RGB_IDENTITY : constant unsigned := 0;
VK_SAMPLER_YCBCR_MODEL_CONVERSION_YCBCR_IDENTITY : constant unsigned := 1;
VK_SAMPLER_YCBCR_MODEL_CONVERSION_YCBCR_709 : constant unsigned := 2;
VK_SAMPLER_YCBCR_MODEL_CONVERSION_YCBCR_601 : constant unsigned := 3;
VK_SAMPLER_YCBCR_MODEL_CONVERSION_YCBCR_2020 : constant unsigned := 4;
VK_SAMPLER_YCBCR_MODEL_CONVERSION_RGB_IDENTITY_KHR : constant unsigned := 0;
VK_SAMPLER_YCBCR_MODEL_CONVERSION_YCBCR_IDENTITY_KHR : constant unsigned := 1;
VK_SAMPLER_YCBCR_MODEL_CONVERSION_YCBCR_709_KHR : constant unsigned := 2;
VK_SAMPLER_YCBCR_MODEL_CONVERSION_YCBCR_601_KHR : constant unsigned := 3;
VK_SAMPLER_YCBCR_MODEL_CONVERSION_YCBCR_2020_KHR : constant unsigned := 4;
VK_SAMPLER_YCBCR_MODEL_CONVERSION_BEGIN_RANGE : constant unsigned := 0;
VK_SAMPLER_YCBCR_MODEL_CONVERSION_END_RANGE : constant unsigned := 4;
VK_SAMPLER_YCBCR_MODEL_CONVERSION_RANGE_SIZE : constant unsigned := 5;
VK_SAMPLER_YCBCR_MODEL_CONVERSION_MAX_ENUM : constant unsigned := 2147483647; -- vulkan_core.h:4057
subtype VkSamplerYcbcrRange is unsigned;
VK_SAMPLER_YCBCR_RANGE_ITU_FULL : constant unsigned := 0;
VK_SAMPLER_YCBCR_RANGE_ITU_NARROW : constant unsigned := 1;
VK_SAMPLER_YCBCR_RANGE_ITU_FULL_KHR : constant unsigned := 0;
VK_SAMPLER_YCBCR_RANGE_ITU_NARROW_KHR : constant unsigned := 1;
VK_SAMPLER_YCBCR_RANGE_BEGIN_RANGE : constant unsigned := 0;
VK_SAMPLER_YCBCR_RANGE_END_RANGE : constant unsigned := 1;
VK_SAMPLER_YCBCR_RANGE_RANGE_SIZE : constant unsigned := 2;
VK_SAMPLER_YCBCR_RANGE_MAX_ENUM : constant unsigned := 2147483647; -- vulkan_core.h:4074
subtype VkChromaLocation is unsigned;
VK_CHROMA_LOCATION_COSITED_EVEN : constant unsigned := 0;
VK_CHROMA_LOCATION_MIDPOINT : constant unsigned := 1;
VK_CHROMA_LOCATION_COSITED_EVEN_KHR : constant unsigned := 0;
VK_CHROMA_LOCATION_MIDPOINT_KHR : constant unsigned := 1;
VK_CHROMA_LOCATION_BEGIN_RANGE : constant unsigned := 0;
VK_CHROMA_LOCATION_END_RANGE : constant unsigned := 1;
VK_CHROMA_LOCATION_RANGE_SIZE : constant unsigned := 2;
VK_CHROMA_LOCATION_MAX_ENUM : constant unsigned := 2147483647; -- vulkan_core.h:4085
subtype VkDescriptorUpdateTemplateType is unsigned;
VK_DESCRIPTOR_UPDATE_TEMPLATE_TYPE_DESCRIPTOR_SET : constant unsigned := 0;
VK_DESCRIPTOR_UPDATE_TEMPLATE_TYPE_PUSH_DESCRIPTORS_KHR : constant unsigned := 1;
VK_DESCRIPTOR_UPDATE_TEMPLATE_TYPE_DESCRIPTOR_SET_KHR : constant unsigned := 0;
VK_DESCRIPTOR_UPDATE_TEMPLATE_TYPE_BEGIN_RANGE : constant unsigned := 0;
VK_DESCRIPTOR_UPDATE_TEMPLATE_TYPE_END_RANGE : constant unsigned := 0;
VK_DESCRIPTOR_UPDATE_TEMPLATE_TYPE_RANGE_SIZE : constant unsigned := 1;
VK_DESCRIPTOR_UPDATE_TEMPLATE_TYPE_MAX_ENUM : constant unsigned := 2147483647; -- vulkan_core.h:4096
subtype VkSubgroupFeatureFlagBits is unsigned;
VK_SUBGROUP_FEATURE_BASIC_BIT : constant unsigned := 1;
VK_SUBGROUP_FEATURE_VOTE_BIT : constant unsigned := 2;
VK_SUBGROUP_FEATURE_ARITHMETIC_BIT : constant unsigned := 4;
VK_SUBGROUP_FEATURE_BALLOT_BIT : constant unsigned := 8;
VK_SUBGROUP_FEATURE_SHUFFLE_BIT : constant unsigned := 16;
VK_SUBGROUP_FEATURE_SHUFFLE_RELATIVE_BIT : constant unsigned := 32;
VK_SUBGROUP_FEATURE_CLUSTERED_BIT : constant unsigned := 64;
VK_SUBGROUP_FEATURE_QUAD_BIT : constant unsigned := 128;
VK_SUBGROUP_FEATURE_PARTITIONED_BIT_NV : constant unsigned := 256;
VK_SUBGROUP_FEATURE_FLAG_BITS_MAX_ENUM : constant unsigned := 2147483647; -- vulkan_core.h:4106
subtype VkSubgroupFeatureFlags is VkFlags; -- vulkan_core.h:4118
subtype VkPeerMemoryFeatureFlagBits is unsigned;
VK_PEER_MEMORY_FEATURE_COPY_SRC_BIT : constant unsigned := 1;
VK_PEER_MEMORY_FEATURE_COPY_DST_BIT : constant unsigned := 2;
VK_PEER_MEMORY_FEATURE_GENERIC_SRC_BIT : constant unsigned := 4;
VK_PEER_MEMORY_FEATURE_GENERIC_DST_BIT : constant unsigned := 8;
VK_PEER_MEMORY_FEATURE_COPY_SRC_BIT_KHR : constant unsigned := 1;
VK_PEER_MEMORY_FEATURE_COPY_DST_BIT_KHR : constant unsigned := 2;
VK_PEER_MEMORY_FEATURE_GENERIC_SRC_BIT_KHR : constant unsigned := 4;
VK_PEER_MEMORY_FEATURE_GENERIC_DST_BIT_KHR : constant unsigned := 8;
VK_PEER_MEMORY_FEATURE_FLAG_BITS_MAX_ENUM : constant unsigned := 2147483647; -- vulkan_core.h:4120
subtype VkPeerMemoryFeatureFlags is VkFlags; -- vulkan_core.h:4131
subtype VkMemoryAllocateFlagBits is unsigned;
VK_MEMORY_ALLOCATE_DEVICE_MASK_BIT : constant unsigned := 1;
VK_MEMORY_ALLOCATE_DEVICE_ADDRESS_BIT : constant unsigned := 2;
VK_MEMORY_ALLOCATE_DEVICE_ADDRESS_CAPTURE_REPLAY_BIT : constant unsigned := 4;
VK_MEMORY_ALLOCATE_DEVICE_MASK_BIT_KHR : constant unsigned := 1;
VK_MEMORY_ALLOCATE_DEVICE_ADDRESS_BIT_KHR : constant unsigned := 2;
VK_MEMORY_ALLOCATE_DEVICE_ADDRESS_CAPTURE_REPLAY_BIT_KHR : constant unsigned := 4;
VK_MEMORY_ALLOCATE_FLAG_BITS_MAX_ENUM : constant unsigned := 2147483647; -- vulkan_core.h:4133
subtype VkMemoryAllocateFlags is VkFlags; -- vulkan_core.h:4142
subtype VkCommandPoolTrimFlags is VkFlags; -- vulkan_core.h:4143
subtype VkDescriptorUpdateTemplateCreateFlags is VkFlags; -- vulkan_core.h:4144
subtype VkExternalMemoryHandleTypeFlagBits is unsigned;
VK_EXTERNAL_MEMORY_HANDLE_TYPE_OPAQUE_FD_BIT : constant unsigned := 1;
VK_EXTERNAL_MEMORY_HANDLE_TYPE_OPAQUE_WIN32_BIT : constant unsigned := 2;
VK_EXTERNAL_MEMORY_HANDLE_TYPE_OPAQUE_WIN32_KMT_BIT : constant unsigned := 4;
VK_EXTERNAL_MEMORY_HANDLE_TYPE_D3D11_TEXTURE_BIT : constant unsigned := 8;
VK_EXTERNAL_MEMORY_HANDLE_TYPE_D3D11_TEXTURE_KMT_BIT : constant unsigned := 16;
VK_EXTERNAL_MEMORY_HANDLE_TYPE_D3D12_HEAP_BIT : constant unsigned := 32;
VK_EXTERNAL_MEMORY_HANDLE_TYPE_D3D12_RESOURCE_BIT : constant unsigned := 64;
VK_EXTERNAL_MEMORY_HANDLE_TYPE_DMA_BUF_BIT_EXT : constant unsigned := 512;
VK_EXTERNAL_MEMORY_HANDLE_TYPE_ANDROID_HARDWARE_BUFFER_BIT_ANDROID : constant unsigned := 1024;
VK_EXTERNAL_MEMORY_HANDLE_TYPE_HOST_ALLOCATION_BIT_EXT : constant unsigned := 128;
VK_EXTERNAL_MEMORY_HANDLE_TYPE_HOST_MAPPED_FOREIGN_MEMORY_BIT_EXT : constant unsigned := 256;
VK_EXTERNAL_MEMORY_HANDLE_TYPE_OPAQUE_FD_BIT_KHR : constant unsigned := 1;
VK_EXTERNAL_MEMORY_HANDLE_TYPE_OPAQUE_WIN32_BIT_KHR : constant unsigned := 2;
VK_EXTERNAL_MEMORY_HANDLE_TYPE_OPAQUE_WIN32_KMT_BIT_KHR : constant unsigned := 4;
VK_EXTERNAL_MEMORY_HANDLE_TYPE_D3D11_TEXTURE_BIT_KHR : constant unsigned := 8;
VK_EXTERNAL_MEMORY_HANDLE_TYPE_D3D11_TEXTURE_KMT_BIT_KHR : constant unsigned := 16;
VK_EXTERNAL_MEMORY_HANDLE_TYPE_D3D12_HEAP_BIT_KHR : constant unsigned := 32;
VK_EXTERNAL_MEMORY_HANDLE_TYPE_D3D12_RESOURCE_BIT_KHR : constant unsigned := 64;
VK_EXTERNAL_MEMORY_HANDLE_TYPE_FLAG_BITS_MAX_ENUM : constant unsigned := 2147483647; -- vulkan_core.h:4146
subtype VkExternalMemoryHandleTypeFlags is VkFlags; -- vulkan_core.h:4167
subtype VkExternalMemoryFeatureFlagBits is unsigned;
VK_EXTERNAL_MEMORY_FEATURE_DEDICATED_ONLY_BIT : constant unsigned := 1;
VK_EXTERNAL_MEMORY_FEATURE_EXPORTABLE_BIT : constant unsigned := 2;
VK_EXTERNAL_MEMORY_FEATURE_IMPORTABLE_BIT : constant unsigned := 4;
VK_EXTERNAL_MEMORY_FEATURE_DEDICATED_ONLY_BIT_KHR : constant unsigned := 1;
VK_EXTERNAL_MEMORY_FEATURE_EXPORTABLE_BIT_KHR : constant unsigned := 2;
VK_EXTERNAL_MEMORY_FEATURE_IMPORTABLE_BIT_KHR : constant unsigned := 4;
VK_EXTERNAL_MEMORY_FEATURE_FLAG_BITS_MAX_ENUM : constant unsigned := 2147483647; -- vulkan_core.h:4169
subtype VkExternalMemoryFeatureFlags is VkFlags; -- vulkan_core.h:4178
subtype VkExternalFenceHandleTypeFlagBits is unsigned;
VK_EXTERNAL_FENCE_HANDLE_TYPE_OPAQUE_FD_BIT : constant unsigned := 1;
VK_EXTERNAL_FENCE_HANDLE_TYPE_OPAQUE_WIN32_BIT : constant unsigned := 2;
VK_EXTERNAL_FENCE_HANDLE_TYPE_OPAQUE_WIN32_KMT_BIT : constant unsigned := 4;
VK_EXTERNAL_FENCE_HANDLE_TYPE_SYNC_FD_BIT : constant unsigned := 8;
VK_EXTERNAL_FENCE_HANDLE_TYPE_OPAQUE_FD_BIT_KHR : constant unsigned := 1;
VK_EXTERNAL_FENCE_HANDLE_TYPE_OPAQUE_WIN32_BIT_KHR : constant unsigned := 2;
VK_EXTERNAL_FENCE_HANDLE_TYPE_OPAQUE_WIN32_KMT_BIT_KHR : constant unsigned := 4;
VK_EXTERNAL_FENCE_HANDLE_TYPE_SYNC_FD_BIT_KHR : constant unsigned := 8;
VK_EXTERNAL_FENCE_HANDLE_TYPE_FLAG_BITS_MAX_ENUM : constant unsigned := 2147483647; -- vulkan_core.h:4180
subtype VkExternalFenceHandleTypeFlags is VkFlags; -- vulkan_core.h:4191
subtype VkExternalFenceFeatureFlagBits is unsigned;
VK_EXTERNAL_FENCE_FEATURE_EXPORTABLE_BIT : constant unsigned := 1;
VK_EXTERNAL_FENCE_FEATURE_IMPORTABLE_BIT : constant unsigned := 2;
VK_EXTERNAL_FENCE_FEATURE_EXPORTABLE_BIT_KHR : constant unsigned := 1;
VK_EXTERNAL_FENCE_FEATURE_IMPORTABLE_BIT_KHR : constant unsigned := 2;
VK_EXTERNAL_FENCE_FEATURE_FLAG_BITS_MAX_ENUM : constant unsigned := 2147483647; -- vulkan_core.h:4193
subtype VkExternalFenceFeatureFlags is VkFlags; -- vulkan_core.h:4200
subtype VkFenceImportFlagBits is unsigned;
VK_FENCE_IMPORT_TEMPORARY_BIT : constant unsigned := 1;
VK_FENCE_IMPORT_TEMPORARY_BIT_KHR : constant unsigned := 1;
VK_FENCE_IMPORT_FLAG_BITS_MAX_ENUM : constant unsigned := 2147483647; -- vulkan_core.h:4202
subtype VkFenceImportFlags is VkFlags; -- vulkan_core.h:4207
subtype VkSemaphoreImportFlagBits is unsigned;
VK_SEMAPHORE_IMPORT_TEMPORARY_BIT : constant unsigned := 1;
VK_SEMAPHORE_IMPORT_TEMPORARY_BIT_KHR : constant unsigned := 1;
VK_SEMAPHORE_IMPORT_FLAG_BITS_MAX_ENUM : constant unsigned := 2147483647; -- vulkan_core.h:4209
subtype VkSemaphoreImportFlags is VkFlags; -- vulkan_core.h:4214
subtype VkExternalSemaphoreHandleTypeFlagBits is unsigned;
VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_OPAQUE_FD_BIT : constant unsigned := 1;
VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_OPAQUE_WIN32_BIT : constant unsigned := 2;
VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_OPAQUE_WIN32_KMT_BIT : constant unsigned := 4;
VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_D3D12_FENCE_BIT : constant unsigned := 8;
VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_SYNC_FD_BIT : constant unsigned := 16;
VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_OPAQUE_FD_BIT_KHR : constant unsigned := 1;
VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_OPAQUE_WIN32_BIT_KHR : constant unsigned := 2;
VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_OPAQUE_WIN32_KMT_BIT_KHR : constant unsigned := 4;
VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_D3D12_FENCE_BIT_KHR : constant unsigned := 8;
VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_SYNC_FD_BIT_KHR : constant unsigned := 16;
VK_EXTERNAL_SEMAPHORE_HANDLE_TYPE_FLAG_BITS_MAX_ENUM : constant unsigned := 2147483647; -- vulkan_core.h:4216
subtype VkExternalSemaphoreHandleTypeFlags is VkFlags; -- vulkan_core.h:4229
subtype VkExternalSemaphoreFeatureFlagBits is unsigned;
VK_EXTERNAL_SEMAPHORE_FEATURE_EXPORTABLE_BIT : constant unsigned := 1;
VK_EXTERNAL_SEMAPHORE_FEATURE_IMPORTABLE_BIT : constant unsigned := 2;
VK_EXTERNAL_SEMAPHORE_FEATURE_EXPORTABLE_BIT_KHR : constant unsigned := 1;
VK_EXTERNAL_SEMAPHORE_FEATURE_IMPORTABLE_BIT_KHR : constant unsigned := 2;
VK_EXTERNAL_SEMAPHORE_FEATURE_FLAG_BITS_MAX_ENUM : constant unsigned := 2147483647; -- vulkan_core.h:4231
subtype VkExternalSemaphoreFeatureFlags is VkFlags; -- vulkan_core.h:4238
type VkPhysicalDeviceSubgroupProperties is record
sType : aliased VkStructureType; -- vulkan_core.h:4240
pNext : System.Address; -- vulkan_core.h:4241
subgroupSize : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:4242
supportedStages : aliased VkShaderStageFlags; -- vulkan_core.h:4243
supportedOperations : aliased VkSubgroupFeatureFlags; -- vulkan_core.h:4244
quadOperationsInAllStages : aliased VkBool32; -- vulkan_core.h:4245
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:4239
type VkBindBufferMemoryInfo is record
sType : aliased VkStructureType; -- vulkan_core.h:4249
pNext : System.Address; -- vulkan_core.h:4250
buffer : VkBuffer; -- vulkan_core.h:4251
memory : VkDeviceMemory; -- vulkan_core.h:4252
memoryOffset : aliased VkDeviceSize; -- vulkan_core.h:4253
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:4248
type VkBindImageMemoryInfo is record
sType : aliased VkStructureType; -- vulkan_core.h:4257
pNext : System.Address; -- vulkan_core.h:4258
image : VkImage; -- vulkan_core.h:4259
memory : VkDeviceMemory; -- vulkan_core.h:4260
memoryOffset : aliased VkDeviceSize; -- vulkan_core.h:4261
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:4256
type VkPhysicalDevice16BitStorageFeatures is record
sType : aliased VkStructureType; -- vulkan_core.h:4265
pNext : System.Address; -- vulkan_core.h:4266
storageBuffer16BitAccess : aliased VkBool32; -- vulkan_core.h:4267
uniformAndStorageBuffer16BitAccess : aliased VkBool32; -- vulkan_core.h:4268
storagePushConstant16 : aliased VkBool32; -- vulkan_core.h:4269
storageInputOutput16 : aliased VkBool32; -- vulkan_core.h:4270
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:4264
type VkMemoryDedicatedRequirements is record
sType : aliased VkStructureType; -- vulkan_core.h:4274
pNext : System.Address; -- vulkan_core.h:4275
prefersDedicatedAllocation : aliased VkBool32; -- vulkan_core.h:4276
requiresDedicatedAllocation : aliased VkBool32; -- vulkan_core.h:4277
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:4273
type VkMemoryDedicatedAllocateInfo is record
sType : aliased VkStructureType; -- vulkan_core.h:4281
pNext : System.Address; -- vulkan_core.h:4282
image : VkImage; -- vulkan_core.h:4283
buffer : VkBuffer; -- vulkan_core.h:4284
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:4280
type VkMemoryAllocateFlagsInfo is record
sType : aliased VkStructureType; -- vulkan_core.h:4288
pNext : System.Address; -- vulkan_core.h:4289
flags : aliased VkMemoryAllocateFlags; -- vulkan_core.h:4290
deviceMask : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:4291
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:4287
type VkDeviceGroupRenderPassBeginInfo is record
sType : aliased VkStructureType; -- vulkan_core.h:4295
pNext : System.Address; -- vulkan_core.h:4296
deviceMask : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:4297
deviceRenderAreaCount : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:4298
pDeviceRenderAreas : access constant VkRect2D; -- vulkan_core.h:4299
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:4294
type VkDeviceGroupCommandBufferBeginInfo is record
sType : aliased VkStructureType; -- vulkan_core.h:4303
pNext : System.Address; -- vulkan_core.h:4304
deviceMask : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:4305
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:4302
type VkDeviceGroupSubmitInfo is record
sType : aliased VkStructureType; -- vulkan_core.h:4309
pNext : System.Address; -- vulkan_core.h:4310
waitSemaphoreCount : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:4311
pWaitSemaphoreDeviceIndices : access Interfaces.C.unsigned_short; -- vulkan_core.h:4312
commandBufferCount : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:4313
pCommandBufferDeviceMasks : access Interfaces.C.unsigned_short; -- vulkan_core.h:4314
signalSemaphoreCount : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:4315
pSignalSemaphoreDeviceIndices : access Interfaces.C.unsigned_short; -- vulkan_core.h:4316
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:4308
type VkDeviceGroupBindSparseInfo is record
sType : aliased VkStructureType; -- vulkan_core.h:4320
pNext : System.Address; -- vulkan_core.h:4321
resourceDeviceIndex : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:4322
memoryDeviceIndex : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:4323
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:4319
type VkBindBufferMemoryDeviceGroupInfo is record
sType : aliased VkStructureType; -- vulkan_core.h:4327
pNext : System.Address; -- vulkan_core.h:4328
deviceIndexCount : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:4329
pDeviceIndices : access Interfaces.C.unsigned_short; -- vulkan_core.h:4330
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:4326
type VkBindImageMemoryDeviceGroupInfo is record
sType : aliased VkStructureType; -- vulkan_core.h:4334
pNext : System.Address; -- vulkan_core.h:4335
deviceIndexCount : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:4336
pDeviceIndices : access Interfaces.C.unsigned_short; -- vulkan_core.h:4337
splitInstanceBindRegionCount : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:4338
pSplitInstanceBindRegions : access constant VkRect2D; -- vulkan_core.h:4339
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:4333
type VkPhysicalDeviceGroupProperties_array2893 is array (0 .. 31) of VkPhysicalDevice;
type VkPhysicalDeviceGroupProperties is record
sType : aliased VkStructureType; -- vulkan_core.h:4343
pNext : System.Address; -- vulkan_core.h:4344
physicalDeviceCount : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:4345
physicalDevices : VkPhysicalDeviceGroupProperties_array2893; -- vulkan_core.h:4346
subsetAllocation : aliased VkBool32; -- vulkan_core.h:4347
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:4342
type VkDeviceGroupDeviceCreateInfo is record
sType : aliased VkStructureType; -- vulkan_core.h:4351
pNext : System.Address; -- vulkan_core.h:4352
physicalDeviceCount : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:4353
pPhysicalDevices : System.Address; -- vulkan_core.h:4354
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:4350
type VkBufferMemoryRequirementsInfo2 is record
sType : aliased VkStructureType; -- vulkan_core.h:4358
pNext : System.Address; -- vulkan_core.h:4359
buffer : VkBuffer; -- vulkan_core.h:4360
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:4357
type VkImageMemoryRequirementsInfo2 is record
sType : aliased VkStructureType; -- vulkan_core.h:4364
pNext : System.Address; -- vulkan_core.h:4365
image : VkImage; -- vulkan_core.h:4366
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:4363
type VkImageSparseMemoryRequirementsInfo2 is record
sType : aliased VkStructureType; -- vulkan_core.h:4370
pNext : System.Address; -- vulkan_core.h:4371
image : VkImage; -- vulkan_core.h:4372
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:4369
type VkMemoryRequirements2 is record
sType : aliased VkStructureType; -- vulkan_core.h:4376
pNext : System.Address; -- vulkan_core.h:4377
memoryRequirements : aliased VkMemoryRequirements; -- vulkan_core.h:4378
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:4375
subtype VkMemoryRequirements2KHR is VkMemoryRequirements2; -- vulkan_core.h:4381
type VkSparseImageMemoryRequirements2 is record
sType : aliased VkStructureType; -- vulkan_core.h:4384
pNext : System.Address; -- vulkan_core.h:4385
memoryRequirements : aliased VkSparseImageMemoryRequirements; -- vulkan_core.h:4386
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:4383
type VkPhysicalDeviceFeatures2 is record
sType : aliased VkStructureType; -- vulkan_core.h:4390
pNext : System.Address; -- vulkan_core.h:4391
features : aliased VkPhysicalDeviceFeatures; -- vulkan_core.h:4392
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:4389
type VkPhysicalDeviceProperties2 is record
sType : aliased VkStructureType; -- vulkan_core.h:4396
pNext : System.Address; -- vulkan_core.h:4397
properties : aliased VkPhysicalDeviceProperties; -- vulkan_core.h:4398
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:4395
type VkFormatProperties2 is record
sType : aliased VkStructureType; -- vulkan_core.h:4402
pNext : System.Address; -- vulkan_core.h:4403
formatProperties : aliased VkFormatProperties; -- vulkan_core.h:4404
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:4401
type VkImageFormatProperties2 is record
sType : aliased VkStructureType; -- vulkan_core.h:4408
pNext : System.Address; -- vulkan_core.h:4409
imageFormatProperties : aliased VkImageFormatProperties; -- vulkan_core.h:4410
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:4407
type VkPhysicalDeviceImageFormatInfo2 is record
sType : aliased VkStructureType; -- vulkan_core.h:4414
pNext : System.Address; -- vulkan_core.h:4415
format : aliased VkFormat; -- vulkan_core.h:4416
c_type : aliased VkImageType; -- vulkan_core.h:4417
tiling : aliased VkImageTiling; -- vulkan_core.h:4418
usage : aliased VkImageUsageFlags; -- vulkan_core.h:4419
flags : aliased VkImageCreateFlags; -- vulkan_core.h:4420
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:4413
type VkQueueFamilyProperties2 is record
sType : aliased VkStructureType; -- vulkan_core.h:4424
pNext : System.Address; -- vulkan_core.h:4425
queueFamilyProperties : aliased VkQueueFamilyProperties; -- vulkan_core.h:4426
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:4423
type VkPhysicalDeviceMemoryProperties2 is record
sType : aliased VkStructureType; -- vulkan_core.h:4430
pNext : System.Address; -- vulkan_core.h:4431
memoryProperties : aliased VkPhysicalDeviceMemoryProperties; -- vulkan_core.h:4432
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:4429
type VkSparseImageFormatProperties2 is record
sType : aliased VkStructureType; -- vulkan_core.h:4436
pNext : System.Address; -- vulkan_core.h:4437
properties : aliased VkSparseImageFormatProperties; -- vulkan_core.h:4438
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:4435
type VkPhysicalDeviceSparseImageFormatInfo2 is record
sType : aliased VkStructureType; -- vulkan_core.h:4442
pNext : System.Address; -- vulkan_core.h:4443
format : aliased VkFormat; -- vulkan_core.h:4444
c_type : aliased VkImageType; -- vulkan_core.h:4445
samples : aliased VkSampleCountFlagBits; -- vulkan_core.h:4446
usage : aliased VkImageUsageFlags; -- vulkan_core.h:4447
tiling : aliased VkImageTiling; -- vulkan_core.h:4448
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:4441
type VkPhysicalDevicePointClippingProperties is record
sType : aliased VkStructureType; -- vulkan_core.h:4452
pNext : System.Address; -- vulkan_core.h:4453
pointClippingBehavior : aliased VkPointClippingBehavior; -- vulkan_core.h:4454
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:4451
type VkInputAttachmentAspectReference is record
subpass : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:4458
inputAttachmentIndex : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:4459
aspectMask : aliased VkImageAspectFlags; -- vulkan_core.h:4460
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:4457
type VkRenderPassInputAttachmentAspectCreateInfo is record
sType : aliased VkStructureType; -- vulkan_core.h:4464
pNext : System.Address; -- vulkan_core.h:4465
aspectReferenceCount : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:4466
pAspectReferences : access constant VkInputAttachmentAspectReference; -- vulkan_core.h:4467
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:4463
type VkImageViewUsageCreateInfo is record
sType : aliased VkStructureType; -- vulkan_core.h:4471
pNext : System.Address; -- vulkan_core.h:4472
usage : aliased VkImageUsageFlags; -- vulkan_core.h:4473
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:4470
type VkPipelineTessellationDomainOriginStateCreateInfo is record
sType : aliased VkStructureType; -- vulkan_core.h:4477
pNext : System.Address; -- vulkan_core.h:4478
domainOrigin : aliased VkTessellationDomainOrigin; -- vulkan_core.h:4479
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:4476
type VkRenderPassMultiviewCreateInfo is record
sType : aliased VkStructureType; -- vulkan_core.h:4483
pNext : System.Address; -- vulkan_core.h:4484
subpassCount : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:4485
pViewMasks : access Interfaces.C.unsigned_short; -- vulkan_core.h:4486
dependencyCount : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:4487
pViewOffsets : access Interfaces.C.short; -- vulkan_core.h:4488
correlationMaskCount : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:4489
pCorrelationMasks : access Interfaces.C.unsigned_short; -- vulkan_core.h:4490
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:4482
type VkPhysicalDeviceMultiviewFeatures is record
sType : aliased VkStructureType; -- vulkan_core.h:4494
pNext : System.Address; -- vulkan_core.h:4495
multiview : aliased VkBool32; -- vulkan_core.h:4496
multiviewGeometryShader : aliased VkBool32; -- vulkan_core.h:4497
multiviewTessellationShader : aliased VkBool32; -- vulkan_core.h:4498
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:4493
type VkPhysicalDeviceMultiviewProperties is record
sType : aliased VkStructureType; -- vulkan_core.h:4502
pNext : System.Address; -- vulkan_core.h:4503
maxMultiviewViewCount : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:4504
maxMultiviewInstanceIndex : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:4505
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:4501
type VkPhysicalDeviceVariablePointersFeatures is record
sType : aliased VkStructureType; -- vulkan_core.h:4509
pNext : System.Address; -- vulkan_core.h:4510
variablePointersStorageBuffer : aliased VkBool32; -- vulkan_core.h:4511
variablePointers : aliased VkBool32; -- vulkan_core.h:4512
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:4508
subtype VkPhysicalDeviceVariablePointerFeatures is VkPhysicalDeviceVariablePointersFeatures; -- vulkan_core.h:4515
type VkPhysicalDeviceProtectedMemoryFeatures is record
sType : aliased VkStructureType; -- vulkan_core.h:4518
pNext : System.Address; -- vulkan_core.h:4519
protectedMemory : aliased VkBool32; -- vulkan_core.h:4520
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:4517
type VkPhysicalDeviceProtectedMemoryProperties is record
sType : aliased VkStructureType; -- vulkan_core.h:4524
pNext : System.Address; -- vulkan_core.h:4525
protectedNoFault : aliased VkBool32; -- vulkan_core.h:4526
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:4523
type VkDeviceQueueInfo2 is record
sType : aliased VkStructureType; -- vulkan_core.h:4530
pNext : System.Address; -- vulkan_core.h:4531
flags : aliased VkDeviceQueueCreateFlags; -- vulkan_core.h:4532
queueFamilyIndex : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:4533
queueIndex : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:4534
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:4529
type VkProtectedSubmitInfo is record
sType : aliased VkStructureType; -- vulkan_core.h:4538
pNext : System.Address; -- vulkan_core.h:4539
protectedSubmit : aliased VkBool32; -- vulkan_core.h:4540
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:4537
type VkSamplerYcbcrConversionCreateInfo is record
sType : aliased VkStructureType; -- vulkan_core.h:4544
pNext : System.Address; -- vulkan_core.h:4545
format : aliased VkFormat; -- vulkan_core.h:4546
ycbcrModel : aliased VkSamplerYcbcrModelConversion; -- vulkan_core.h:4547
ycbcrRange : aliased VkSamplerYcbcrRange; -- vulkan_core.h:4548
components : aliased VkComponentMapping; -- vulkan_core.h:4549
xChromaOffset : aliased VkChromaLocation; -- vulkan_core.h:4550
yChromaOffset : aliased VkChromaLocation; -- vulkan_core.h:4551
chromaFilter : aliased VkFilter; -- vulkan_core.h:4552
forceExplicitReconstruction : aliased VkBool32; -- vulkan_core.h:4553
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:4543
type VkSamplerYcbcrConversionInfo is record
sType : aliased VkStructureType; -- vulkan_core.h:4557
pNext : System.Address; -- vulkan_core.h:4558
conversion : VkSamplerYcbcrConversion; -- vulkan_core.h:4559
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:4556
type VkBindImagePlaneMemoryInfo is record
sType : aliased VkStructureType; -- vulkan_core.h:4563
pNext : System.Address; -- vulkan_core.h:4564
planeAspect : aliased VkImageAspectFlagBits; -- vulkan_core.h:4565
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:4562
type VkImagePlaneMemoryRequirementsInfo is record
sType : aliased VkStructureType; -- vulkan_core.h:4569
pNext : System.Address; -- vulkan_core.h:4570
planeAspect : aliased VkImageAspectFlagBits; -- vulkan_core.h:4571
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:4568
type VkPhysicalDeviceSamplerYcbcrConversionFeatures is record
sType : aliased VkStructureType; -- vulkan_core.h:4575
pNext : System.Address; -- vulkan_core.h:4576
samplerYcbcrConversion : aliased VkBool32; -- vulkan_core.h:4577
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:4574
type VkSamplerYcbcrConversionImageFormatProperties is record
sType : aliased VkStructureType; -- vulkan_core.h:4581
pNext : System.Address; -- vulkan_core.h:4582
combinedImageSamplerDescriptorCount : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:4583
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:4580
type VkDescriptorUpdateTemplateEntry is record
dstBinding : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:4587
dstArrayElement : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:4588
descriptorCount : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:4589
descriptorType : aliased VkDescriptorType; -- vulkan_core.h:4590
offset : aliased size_t; -- vulkan_core.h:4591
stride : aliased size_t; -- vulkan_core.h:4592
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:4586
type VkDescriptorUpdateTemplateCreateInfo is record
sType : aliased VkStructureType; -- vulkan_core.h:4596
pNext : System.Address; -- vulkan_core.h:4597
flags : aliased VkDescriptorUpdateTemplateCreateFlags; -- vulkan_core.h:4598
descriptorUpdateEntryCount : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:4599
pDescriptorUpdateEntries : access constant VkDescriptorUpdateTemplateEntry; -- vulkan_core.h:4600
templateType : aliased VkDescriptorUpdateTemplateType; -- vulkan_core.h:4601
descriptorSetLayout : VkDescriptorSetLayout; -- vulkan_core.h:4602
pipelineBindPoint : aliased VkPipelineBindPoint; -- vulkan_core.h:4603
pipelineLayout : VkPipelineLayout; -- vulkan_core.h:4604
set : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:4605
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:4595
type VkExternalMemoryProperties is record
externalMemoryFeatures : aliased VkExternalMemoryFeatureFlags; -- vulkan_core.h:4609
exportFromImportedHandleTypes : aliased VkExternalMemoryHandleTypeFlags; -- vulkan_core.h:4610
compatibleHandleTypes : aliased VkExternalMemoryHandleTypeFlags; -- vulkan_core.h:4611
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:4608
type VkPhysicalDeviceExternalImageFormatInfo is record
sType : aliased VkStructureType; -- vulkan_core.h:4615
pNext : System.Address; -- vulkan_core.h:4616
handleType : aliased VkExternalMemoryHandleTypeFlagBits; -- vulkan_core.h:4617
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:4614
type VkExternalImageFormatProperties is record
sType : aliased VkStructureType; -- vulkan_core.h:4621
pNext : System.Address; -- vulkan_core.h:4622
externalMemoryProperties : aliased VkExternalMemoryProperties; -- vulkan_core.h:4623
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:4620
type VkPhysicalDeviceExternalBufferInfo is record
sType : aliased VkStructureType; -- vulkan_core.h:4627
pNext : System.Address; -- vulkan_core.h:4628
flags : aliased VkBufferCreateFlags; -- vulkan_core.h:4629
usage : aliased VkBufferUsageFlags; -- vulkan_core.h:4630
handleType : aliased VkExternalMemoryHandleTypeFlagBits; -- vulkan_core.h:4631
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:4626
type VkExternalBufferProperties is record
sType : aliased VkStructureType; -- vulkan_core.h:4635
pNext : System.Address; -- vulkan_core.h:4636
externalMemoryProperties : aliased VkExternalMemoryProperties; -- vulkan_core.h:4637
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:4634
type VkPhysicalDeviceIDProperties_array1345 is array (0 .. 15) of aliased Interfaces.C.unsigned_char;
type VkPhysicalDeviceIDProperties_array3040 is array (0 .. 7) of aliased Interfaces.C.unsigned_char;
type VkPhysicalDeviceIDProperties is record
sType : aliased VkStructureType; -- vulkan_core.h:4641
pNext : System.Address; -- vulkan_core.h:4642
deviceUUID : aliased VkPhysicalDeviceIDProperties_array1345; -- vulkan_core.h:4643
driverUUID : aliased VkPhysicalDeviceIDProperties_array1345; -- vulkan_core.h:4644
deviceLUID : aliased VkPhysicalDeviceIDProperties_array3040; -- vulkan_core.h:4645
deviceNodeMask : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:4646
deviceLUIDValid : aliased VkBool32; -- vulkan_core.h:4647
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:4640
type VkExternalMemoryImageCreateInfo is record
sType : aliased VkStructureType; -- vulkan_core.h:4651
pNext : System.Address; -- vulkan_core.h:4652
handleTypes : aliased VkExternalMemoryHandleTypeFlags; -- vulkan_core.h:4653
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:4650
type VkExternalMemoryBufferCreateInfo is record
sType : aliased VkStructureType; -- vulkan_core.h:4657
pNext : System.Address; -- vulkan_core.h:4658
handleTypes : aliased VkExternalMemoryHandleTypeFlags; -- vulkan_core.h:4659
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:4656
type VkExportMemoryAllocateInfo is record
sType : aliased VkStructureType; -- vulkan_core.h:4663
pNext : System.Address; -- vulkan_core.h:4664
handleTypes : aliased VkExternalMemoryHandleTypeFlags; -- vulkan_core.h:4665
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:4662
type VkPhysicalDeviceExternalFenceInfo is record
sType : aliased VkStructureType; -- vulkan_core.h:4669
pNext : System.Address; -- vulkan_core.h:4670
handleType : aliased VkExternalFenceHandleTypeFlagBits; -- vulkan_core.h:4671
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:4668
type VkExternalFenceProperties is record
sType : aliased VkStructureType; -- vulkan_core.h:4675
pNext : System.Address; -- vulkan_core.h:4676
exportFromImportedHandleTypes : aliased VkExternalFenceHandleTypeFlags; -- vulkan_core.h:4677
compatibleHandleTypes : aliased VkExternalFenceHandleTypeFlags; -- vulkan_core.h:4678
externalFenceFeatures : aliased VkExternalFenceFeatureFlags; -- vulkan_core.h:4679
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:4674
type VkExportFenceCreateInfo is record
sType : aliased VkStructureType; -- vulkan_core.h:4683
pNext : System.Address; -- vulkan_core.h:4684
handleTypes : aliased VkExternalFenceHandleTypeFlags; -- vulkan_core.h:4685
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:4682
type VkExportSemaphoreCreateInfo is record
sType : aliased VkStructureType; -- vulkan_core.h:4689
pNext : System.Address; -- vulkan_core.h:4690
handleTypes : aliased VkExternalSemaphoreHandleTypeFlags; -- vulkan_core.h:4691
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:4688
type VkPhysicalDeviceExternalSemaphoreInfo is record
sType : aliased VkStructureType; -- vulkan_core.h:4695
pNext : System.Address; -- vulkan_core.h:4696
handleType : aliased VkExternalSemaphoreHandleTypeFlagBits; -- vulkan_core.h:4697
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:4694
type VkExternalSemaphoreProperties is record
sType : aliased VkStructureType; -- vulkan_core.h:4701
pNext : System.Address; -- vulkan_core.h:4702
exportFromImportedHandleTypes : aliased VkExternalSemaphoreHandleTypeFlags; -- vulkan_core.h:4703
compatibleHandleTypes : aliased VkExternalSemaphoreHandleTypeFlags; -- vulkan_core.h:4704
externalSemaphoreFeatures : aliased VkExternalSemaphoreFeatureFlags; -- vulkan_core.h:4705
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:4700
type VkPhysicalDeviceMaintenance3Properties is record
sType : aliased VkStructureType; -- vulkan_core.h:4709
pNext : System.Address; -- vulkan_core.h:4710
maxPerSetDescriptors : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:4711
maxMemoryAllocationSize : aliased VkDeviceSize; -- vulkan_core.h:4712
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:4708
type VkDescriptorSetLayoutSupport is record
sType : aliased VkStructureType; -- vulkan_core.h:4716
pNext : System.Address; -- vulkan_core.h:4717
supported : aliased VkBool32; -- vulkan_core.h:4718
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:4715
type VkPhysicalDeviceShaderDrawParametersFeatures is record
sType : aliased VkStructureType; -- vulkan_core.h:4722
pNext : System.Address; -- vulkan_core.h:4723
shaderDrawParameters : aliased VkBool32; -- vulkan_core.h:4724
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:4721
subtype VkPhysicalDeviceShaderDrawParameterFeatures is VkPhysicalDeviceShaderDrawParametersFeatures; -- vulkan_core.h:4727
type PFN_vkEnumerateInstanceVersion is access function (arg1 : access Interfaces.C.unsigned_short) return VkResult
with Convention => C; -- vulkan_core.h:4729
type PFN_vkBindBufferMemory2 is access function
(arg1 : VkDevice;
arg2 : Interfaces.C.unsigned_short;
arg3 : access constant VkBindBufferMemoryInfo) return VkResult
with Convention => C; -- vulkan_core.h:4730
type PFN_vkBindImageMemory2 is access function
(arg1 : VkDevice;
arg2 : Interfaces.C.unsigned_short;
arg3 : access constant VkBindImageMemoryInfo) return VkResult
with Convention => C; -- vulkan_core.h:4731
type PFN_vkGetDeviceGroupPeerMemoryFeatures is access procedure
(arg1 : VkDevice;
arg2 : Interfaces.C.unsigned_short;
arg3 : Interfaces.C.unsigned_short;
arg4 : Interfaces.C.unsigned_short;
arg5 : access VkPeerMemoryFeatureFlags)
with Convention => C; -- vulkan_core.h:4732
type PFN_vkCmdSetDeviceMask is access procedure (arg1 : VkCommandBuffer; arg2 : Interfaces.C.unsigned_short)
with Convention => C; -- vulkan_core.h:4733
type PFN_vkCmdDispatchBase is access procedure
(arg1 : VkCommandBuffer;
arg2 : Interfaces.C.unsigned_short;
arg3 : Interfaces.C.unsigned_short;
arg4 : Interfaces.C.unsigned_short;
arg5 : Interfaces.C.unsigned_short;
arg6 : Interfaces.C.unsigned_short;
arg7 : Interfaces.C.unsigned_short)
with Convention => C; -- vulkan_core.h:4734
type PFN_vkEnumeratePhysicalDeviceGroups is access function
(arg1 : VkInstance;
arg2 : access Interfaces.C.unsigned_short;
arg3 : access VkPhysicalDeviceGroupProperties) return VkResult
with Convention => C; -- vulkan_core.h:4735
type PFN_vkGetImageMemoryRequirements2 is access procedure
(arg1 : VkDevice;
arg2 : access constant VkImageMemoryRequirementsInfo2;
arg3 : access VkMemoryRequirements2)
with Convention => C; -- vulkan_core.h:4736
type PFN_vkGetBufferMemoryRequirements2 is access procedure
(arg1 : VkDevice;
arg2 : access constant VkBufferMemoryRequirementsInfo2;
arg3 : access VkMemoryRequirements2)
with Convention => C; -- vulkan_core.h:4737
type PFN_vkGetImageSparseMemoryRequirements2 is access procedure
(arg1 : VkDevice;
arg2 : access constant VkImageSparseMemoryRequirementsInfo2;
arg3 : access Interfaces.C.unsigned_short;
arg4 : access VkSparseImageMemoryRequirements2)
with Convention => C; -- vulkan_core.h:4738
type PFN_vkGetPhysicalDeviceFeatures2 is access procedure (arg1 : VkPhysicalDevice; arg2 : access VkPhysicalDeviceFeatures2)
with Convention => C; -- vulkan_core.h:4739
type PFN_vkGetPhysicalDeviceProperties2 is access procedure (arg1 : VkPhysicalDevice; arg2 : access VkPhysicalDeviceProperties2)
with Convention => C; -- vulkan_core.h:4740
type PFN_vkGetPhysicalDeviceFormatProperties2 is access procedure
(arg1 : VkPhysicalDevice;
arg2 : VkFormat;
arg3 : access VkFormatProperties2)
with Convention => C; -- vulkan_core.h:4741
type PFN_vkGetPhysicalDeviceImageFormatProperties2 is access function
(arg1 : VkPhysicalDevice;
arg2 : access constant VkPhysicalDeviceImageFormatInfo2;
arg3 : access VkImageFormatProperties2) return VkResult
with Convention => C; -- vulkan_core.h:4742
type PFN_vkGetPhysicalDeviceQueueFamilyProperties2 is access procedure
(arg1 : VkPhysicalDevice;
arg2 : access Interfaces.C.unsigned_short;
arg3 : access VkQueueFamilyProperties2)
with Convention => C; -- vulkan_core.h:4743
type PFN_vkGetPhysicalDeviceMemoryProperties2 is access procedure (arg1 : VkPhysicalDevice; arg2 : access VkPhysicalDeviceMemoryProperties2)
with Convention => C; -- vulkan_core.h:4744
type PFN_vkGetPhysicalDeviceSparseImageFormatProperties2 is access procedure
(arg1 : VkPhysicalDevice;
arg2 : access constant VkPhysicalDeviceSparseImageFormatInfo2;
arg3 : access Interfaces.C.unsigned_short;
arg4 : access VkSparseImageFormatProperties2)
with Convention => C; -- vulkan_core.h:4745
type PFN_vkTrimCommandPool is access procedure
(arg1 : VkDevice;
arg2 : VkCommandPool;
arg3 : VkCommandPoolTrimFlags)
with Convention => C; -- vulkan_core.h:4746
type PFN_vkGetDeviceQueue2 is access procedure
(arg1 : VkDevice;
arg2 : access constant VkDeviceQueueInfo2;
arg3 : System.Address)
with Convention => C; -- vulkan_core.h:4747
type PFN_vkCreateSamplerYcbcrConversion is access function
(arg1 : VkDevice;
arg2 : access constant VkSamplerYcbcrConversionCreateInfo;
arg3 : access constant VkAllocationCallbacks;
arg4 : System.Address) return VkResult
with Convention => C; -- vulkan_core.h:4748
type PFN_vkDestroySamplerYcbcrConversion is access procedure
(arg1 : VkDevice;
arg2 : VkSamplerYcbcrConversion;
arg3 : access constant VkAllocationCallbacks)
with Convention => C; -- vulkan_core.h:4749
type PFN_vkCreateDescriptorUpdateTemplate is access function
(arg1 : VkDevice;
arg2 : access constant VkDescriptorUpdateTemplateCreateInfo;
arg3 : access constant VkAllocationCallbacks;
arg4 : System.Address) return VkResult
with Convention => C; -- vulkan_core.h:4750
type PFN_vkDestroyDescriptorUpdateTemplate is access procedure
(arg1 : VkDevice;
arg2 : VkDescriptorUpdateTemplate;
arg3 : access constant VkAllocationCallbacks)
with Convention => C; -- vulkan_core.h:4751
type PFN_vkUpdateDescriptorSetWithTemplate is access procedure
(arg1 : VkDevice;
arg2 : VkDescriptorSet;
arg3 : VkDescriptorUpdateTemplate;
arg4 : System.Address)
with Convention => C; -- vulkan_core.h:4752
type PFN_vkGetPhysicalDeviceExternalBufferProperties is access procedure
(arg1 : VkPhysicalDevice;
arg2 : access constant VkPhysicalDeviceExternalBufferInfo;
arg3 : access VkExternalBufferProperties)
with Convention => C; -- vulkan_core.h:4753
type PFN_vkGetPhysicalDeviceExternalFenceProperties is access procedure
(arg1 : VkPhysicalDevice;
arg2 : access constant VkPhysicalDeviceExternalFenceInfo;
arg3 : access VkExternalFenceProperties)
with Convention => C; -- vulkan_core.h:4754
type PFN_vkGetPhysicalDeviceExternalSemaphoreProperties is access procedure
(arg1 : VkPhysicalDevice;
arg2 : access constant VkPhysicalDeviceExternalSemaphoreInfo;
arg3 : access VkExternalSemaphoreProperties)
with Convention => C; -- vulkan_core.h:4755
type PFN_vkGetDescriptorSetLayoutSupport is access procedure
(arg1 : VkDevice;
arg2 : access constant VkDescriptorSetLayoutCreateInfo;
arg3 : access VkDescriptorSetLayoutSupport)
with Convention => C; -- vulkan_core.h:4756
function vkEnumerateInstanceVersion (pApiVersion : access Interfaces.C.unsigned_short) return VkResult -- vulkan_core.h:4759
with Import => True,
Convention => C,
External_Name => "vkEnumerateInstanceVersion";
function vkBindBufferMemory2
(device : VkDevice;
bindInfoCount : Interfaces.C.unsigned_short;
pBindInfos : access constant VkBindBufferMemoryInfo) return VkResult -- vulkan_core.h:4762
with Import => True,
Convention => C,
External_Name => "vkBindBufferMemory2";
function vkBindImageMemory2
(device : VkDevice;
bindInfoCount : Interfaces.C.unsigned_short;
pBindInfos : access constant VkBindImageMemoryInfo) return VkResult -- vulkan_core.h:4767
with Import => True,
Convention => C,
External_Name => "vkBindImageMemory2";
procedure vkGetDeviceGroupPeerMemoryFeatures
(device : VkDevice;
heapIndex : Interfaces.C.unsigned_short;
localDeviceIndex : Interfaces.C.unsigned_short;
remoteDeviceIndex : Interfaces.C.unsigned_short;
pPeerMemoryFeatures : access VkPeerMemoryFeatureFlags) -- vulkan_core.h:4772
with Import => True,
Convention => C,
External_Name => "vkGetDeviceGroupPeerMemoryFeatures";
procedure vkCmdSetDeviceMask (commandBuffer : VkCommandBuffer; deviceMask : Interfaces.C.unsigned_short) -- vulkan_core.h:4779
with Import => True,
Convention => C,
External_Name => "vkCmdSetDeviceMask";
procedure vkCmdDispatchBase
(commandBuffer : VkCommandBuffer;
baseGroupX : Interfaces.C.unsigned_short;
baseGroupY : Interfaces.C.unsigned_short;
baseGroupZ : Interfaces.C.unsigned_short;
groupCountX : Interfaces.C.unsigned_short;
groupCountY : Interfaces.C.unsigned_short;
groupCountZ : Interfaces.C.unsigned_short) -- vulkan_core.h:4783
with Import => True,
Convention => C,
External_Name => "vkCmdDispatchBase";
function vkEnumeratePhysicalDeviceGroups
(instance : VkInstance;
pPhysicalDeviceGroupCount : access Interfaces.C.unsigned_short;
pPhysicalDeviceGroupProperties : access VkPhysicalDeviceGroupProperties) return VkResult -- vulkan_core.h:4792
with Import => True,
Convention => C,
External_Name => "vkEnumeratePhysicalDeviceGroups";
procedure vkGetImageMemoryRequirements2
(device : VkDevice;
pInfo : access constant VkImageMemoryRequirementsInfo2;
pMemoryRequirements : access VkMemoryRequirements2) -- vulkan_core.h:4797
with Import => True,
Convention => C,
External_Name => "vkGetImageMemoryRequirements2";
procedure vkGetBufferMemoryRequirements2
(device : VkDevice;
pInfo : access constant VkBufferMemoryRequirementsInfo2;
pMemoryRequirements : access VkMemoryRequirements2) -- vulkan_core.h:4802
with Import => True,
Convention => C,
External_Name => "vkGetBufferMemoryRequirements2";
procedure vkGetImageSparseMemoryRequirements2
(device : VkDevice;
pInfo : access constant VkImageSparseMemoryRequirementsInfo2;
pSparseMemoryRequirementCount : access Interfaces.C.unsigned_short;
pSparseMemoryRequirements : access VkSparseImageMemoryRequirements2) -- vulkan_core.h:4807
with Import => True,
Convention => C,
External_Name => "vkGetImageSparseMemoryRequirements2";
procedure vkGetPhysicalDeviceFeatures2 (physicalDevice : VkPhysicalDevice; pFeatures : access VkPhysicalDeviceFeatures2) -- vulkan_core.h:4813
with Import => True,
Convention => C,
External_Name => "vkGetPhysicalDeviceFeatures2";
procedure vkGetPhysicalDeviceProperties2 (physicalDevice : VkPhysicalDevice; pProperties : access VkPhysicalDeviceProperties2) -- vulkan_core.h:4817
with Import => True,
Convention => C,
External_Name => "vkGetPhysicalDeviceProperties2";
procedure vkGetPhysicalDeviceFormatProperties2
(physicalDevice : VkPhysicalDevice;
format : VkFormat;
pFormatProperties : access VkFormatProperties2) -- vulkan_core.h:4821
with Import => True,
Convention => C,
External_Name => "vkGetPhysicalDeviceFormatProperties2";
function vkGetPhysicalDeviceImageFormatProperties2
(physicalDevice : VkPhysicalDevice;
pImageFormatInfo : access constant VkPhysicalDeviceImageFormatInfo2;
pImageFormatProperties : access VkImageFormatProperties2) return VkResult -- vulkan_core.h:4826
with Import => True,
Convention => C,
External_Name => "vkGetPhysicalDeviceImageFormatProperties2";
procedure vkGetPhysicalDeviceQueueFamilyProperties2
(physicalDevice : VkPhysicalDevice;
pQueueFamilyPropertyCount : access Interfaces.C.unsigned_short;
pQueueFamilyProperties : access VkQueueFamilyProperties2) -- vulkan_core.h:4831
with Import => True,
Convention => C,
External_Name => "vkGetPhysicalDeviceQueueFamilyProperties2";
procedure vkGetPhysicalDeviceMemoryProperties2 (physicalDevice : VkPhysicalDevice; pMemoryProperties : access VkPhysicalDeviceMemoryProperties2) -- vulkan_core.h:4836
with Import => True,
Convention => C,
External_Name => "vkGetPhysicalDeviceMemoryProperties2";
procedure vkGetPhysicalDeviceSparseImageFormatProperties2
(physicalDevice : VkPhysicalDevice;
pFormatInfo : access constant VkPhysicalDeviceSparseImageFormatInfo2;
pPropertyCount : access Interfaces.C.unsigned_short;
pProperties : access VkSparseImageFormatProperties2) -- vulkan_core.h:4840
with Import => True,
Convention => C,
External_Name => "vkGetPhysicalDeviceSparseImageFormatProperties2";
procedure vkTrimCommandPool
(device : VkDevice;
commandPool : VkCommandPool;
flags : VkCommandPoolTrimFlags) -- vulkan_core.h:4846
with Import => True,
Convention => C,
External_Name => "vkTrimCommandPool";
procedure vkGetDeviceQueue2
(device : VkDevice;
pQueueInfo : access constant VkDeviceQueueInfo2;
pQueue : System.Address) -- vulkan_core.h:4851
with Import => True,
Convention => C,
External_Name => "vkGetDeviceQueue2";
function vkCreateSamplerYcbcrConversion
(device : VkDevice;
pCreateInfo : access constant VkSamplerYcbcrConversionCreateInfo;
pAllocator : access constant VkAllocationCallbacks;
pYcbcrConversion : System.Address) return VkResult -- vulkan_core.h:4856
with Import => True,
Convention => C,
External_Name => "vkCreateSamplerYcbcrConversion";
procedure vkDestroySamplerYcbcrConversion
(device : VkDevice;
ycbcrConversion : VkSamplerYcbcrConversion;
pAllocator : access constant VkAllocationCallbacks) -- vulkan_core.h:4862
with Import => True,
Convention => C,
External_Name => "vkDestroySamplerYcbcrConversion";
function vkCreateDescriptorUpdateTemplate
(device : VkDevice;
pCreateInfo : access constant VkDescriptorUpdateTemplateCreateInfo;
pAllocator : access constant VkAllocationCallbacks;
pDescriptorUpdateTemplate : System.Address) return VkResult -- vulkan_core.h:4867
with Import => True,
Convention => C,
External_Name => "vkCreateDescriptorUpdateTemplate";
procedure vkDestroyDescriptorUpdateTemplate
(device : VkDevice;
descriptorUpdateTemplate : VkDescriptorUpdateTemplate;
pAllocator : access constant VkAllocationCallbacks) -- vulkan_core.h:4873
with Import => True,
Convention => C,
External_Name => "vkDestroyDescriptorUpdateTemplate";
procedure vkUpdateDescriptorSetWithTemplate
(device : VkDevice;
descriptorSet : VkDescriptorSet;
descriptorUpdateTemplate : VkDescriptorUpdateTemplate;
pData : System.Address) -- vulkan_core.h:4878
with Import => True,
Convention => C,
External_Name => "vkUpdateDescriptorSetWithTemplate";
procedure vkGetPhysicalDeviceExternalBufferProperties
(physicalDevice : VkPhysicalDevice;
pExternalBufferInfo : access constant VkPhysicalDeviceExternalBufferInfo;
pExternalBufferProperties : access VkExternalBufferProperties) -- vulkan_core.h:4884
with Import => True,
Convention => C,
External_Name => "vkGetPhysicalDeviceExternalBufferProperties";
procedure vkGetPhysicalDeviceExternalFenceProperties
(physicalDevice : VkPhysicalDevice;
pExternalFenceInfo : access constant VkPhysicalDeviceExternalFenceInfo;
pExternalFenceProperties : access VkExternalFenceProperties) -- vulkan_core.h:4889
with Import => True,
Convention => C,
External_Name => "vkGetPhysicalDeviceExternalFenceProperties";
procedure vkGetPhysicalDeviceExternalSemaphoreProperties
(physicalDevice : VkPhysicalDevice;
pExternalSemaphoreInfo : access constant VkPhysicalDeviceExternalSemaphoreInfo;
pExternalSemaphoreProperties : access VkExternalSemaphoreProperties) -- vulkan_core.h:4894
with Import => True,
Convention => C,
External_Name => "vkGetPhysicalDeviceExternalSemaphoreProperties";
procedure vkGetDescriptorSetLayoutSupport
(device : VkDevice;
pCreateInfo : access constant VkDescriptorSetLayoutCreateInfo;
pSupport : access VkDescriptorSetLayoutSupport) -- vulkan_core.h:4899
with Import => True,
Convention => C,
External_Name => "vkGetDescriptorSetLayoutSupport";
-- Vulkan 1.2 version number
subtype VkDeviceAddress is Interfaces.C.unsigned_long; -- vulkan_core.h:4910
subtype VkDriverId is unsigned;
VK_DRIVER_ID_AMD_PROPRIETARY : constant unsigned := 1;
VK_DRIVER_ID_AMD_OPEN_SOURCE : constant unsigned := 2;
VK_DRIVER_ID_MESA_RADV : constant unsigned := 3;
VK_DRIVER_ID_NVIDIA_PROPRIETARY : constant unsigned := 4;
VK_DRIVER_ID_INTEL_PROPRIETARY_WINDOWS : constant unsigned := 5;
VK_DRIVER_ID_INTEL_OPEN_SOURCE_MESA : constant unsigned := 6;
VK_DRIVER_ID_IMAGINATION_PROPRIETARY : constant unsigned := 7;
VK_DRIVER_ID_QUALCOMM_PROPRIETARY : constant unsigned := 8;
VK_DRIVER_ID_ARM_PROPRIETARY : constant unsigned := 9;
VK_DRIVER_ID_GOOGLE_SWIFTSHADER : constant unsigned := 10;
VK_DRIVER_ID_GGP_PROPRIETARY : constant unsigned := 11;
VK_DRIVER_ID_BROADCOM_PROPRIETARY : constant unsigned := 12;
VK_DRIVER_ID_AMD_PROPRIETARY_KHR : constant unsigned := 1;
VK_DRIVER_ID_AMD_OPEN_SOURCE_KHR : constant unsigned := 2;
VK_DRIVER_ID_MESA_RADV_KHR : constant unsigned := 3;
VK_DRIVER_ID_NVIDIA_PROPRIETARY_KHR : constant unsigned := 4;
VK_DRIVER_ID_INTEL_PROPRIETARY_WINDOWS_KHR : constant unsigned := 5;
VK_DRIVER_ID_INTEL_OPEN_SOURCE_MESA_KHR : constant unsigned := 6;
VK_DRIVER_ID_IMAGINATION_PROPRIETARY_KHR : constant unsigned := 7;
VK_DRIVER_ID_QUALCOMM_PROPRIETARY_KHR : constant unsigned := 8;
VK_DRIVER_ID_ARM_PROPRIETARY_KHR : constant unsigned := 9;
VK_DRIVER_ID_GOOGLE_SWIFTSHADER_KHR : constant unsigned := 10;
VK_DRIVER_ID_GGP_PROPRIETARY_KHR : constant unsigned := 11;
VK_DRIVER_ID_BROADCOM_PROPRIETARY_KHR : constant unsigned := 12;
VK_DRIVER_ID_BEGIN_RANGE : constant unsigned := 1;
VK_DRIVER_ID_END_RANGE : constant unsigned := 12;
VK_DRIVER_ID_RANGE_SIZE : constant unsigned := 12;
VK_DRIVER_ID_MAX_ENUM : constant unsigned := 2147483647; -- vulkan_core.h:4914
subtype VkShaderFloatControlsIndependence is unsigned;
VK_SHADER_FLOAT_CONTROLS_INDEPENDENCE_32_BIT_ONLY : constant unsigned := 0;
VK_SHADER_FLOAT_CONTROLS_INDEPENDENCE_ALL : constant unsigned := 1;
VK_SHADER_FLOAT_CONTROLS_INDEPENDENCE_NONE : constant unsigned := 2;
VK_SHADER_FLOAT_CONTROLS_INDEPENDENCE_32_BIT_ONLY_KHR : constant unsigned := 0;
VK_SHADER_FLOAT_CONTROLS_INDEPENDENCE_ALL_KHR : constant unsigned := 1;
VK_SHADER_FLOAT_CONTROLS_INDEPENDENCE_NONE_KHR : constant unsigned := 2;
VK_SHADER_FLOAT_CONTROLS_INDEPENDENCE_BEGIN_RANGE : constant unsigned := 0;
VK_SHADER_FLOAT_CONTROLS_INDEPENDENCE_END_RANGE : constant unsigned := 2;
VK_SHADER_FLOAT_CONTROLS_INDEPENDENCE_RANGE_SIZE : constant unsigned := 3;
VK_SHADER_FLOAT_CONTROLS_INDEPENDENCE_MAX_ENUM : constant unsigned := 2147483647; -- vulkan_core.h:4945
subtype VkSamplerReductionMode is unsigned;
VK_SAMPLER_REDUCTION_MODE_WEIGHTED_AVERAGE : constant unsigned := 0;
VK_SAMPLER_REDUCTION_MODE_MIN : constant unsigned := 1;
VK_SAMPLER_REDUCTION_MODE_MAX : constant unsigned := 2;
VK_SAMPLER_REDUCTION_MODE_WEIGHTED_AVERAGE_EXT : constant unsigned := 0;
VK_SAMPLER_REDUCTION_MODE_MIN_EXT : constant unsigned := 1;
VK_SAMPLER_REDUCTION_MODE_MAX_EXT : constant unsigned := 2;
VK_SAMPLER_REDUCTION_MODE_BEGIN_RANGE : constant unsigned := 0;
VK_SAMPLER_REDUCTION_MODE_END_RANGE : constant unsigned := 2;
VK_SAMPLER_REDUCTION_MODE_RANGE_SIZE : constant unsigned := 3;
VK_SAMPLER_REDUCTION_MODE_MAX_ENUM : constant unsigned := 2147483647; -- vulkan_core.h:4958
subtype VkSemaphoreType is unsigned;
VK_SEMAPHORE_TYPE_BINARY : constant unsigned := 0;
VK_SEMAPHORE_TYPE_TIMELINE : constant unsigned := 1;
VK_SEMAPHORE_TYPE_BINARY_KHR : constant unsigned := 0;
VK_SEMAPHORE_TYPE_TIMELINE_KHR : constant unsigned := 1;
VK_SEMAPHORE_TYPE_BEGIN_RANGE : constant unsigned := 0;
VK_SEMAPHORE_TYPE_END_RANGE : constant unsigned := 1;
VK_SEMAPHORE_TYPE_RANGE_SIZE : constant unsigned := 2;
VK_SEMAPHORE_TYPE_MAX_ENUM : constant unsigned := 2147483647; -- vulkan_core.h:4971
subtype VkResolveModeFlagBits is unsigned;
VK_RESOLVE_MODE_NONE : constant unsigned := 0;
VK_RESOLVE_MODE_SAMPLE_ZERO_BIT : constant unsigned := 1;
VK_RESOLVE_MODE_AVERAGE_BIT : constant unsigned := 2;
VK_RESOLVE_MODE_MIN_BIT : constant unsigned := 4;
VK_RESOLVE_MODE_MAX_BIT : constant unsigned := 8;
VK_RESOLVE_MODE_NONE_KHR : constant unsigned := 0;
VK_RESOLVE_MODE_SAMPLE_ZERO_BIT_KHR : constant unsigned := 1;
VK_RESOLVE_MODE_AVERAGE_BIT_KHR : constant unsigned := 2;
VK_RESOLVE_MODE_MIN_BIT_KHR : constant unsigned := 4;
VK_RESOLVE_MODE_MAX_BIT_KHR : constant unsigned := 8;
VK_RESOLVE_MODE_FLAG_BITS_MAX_ENUM : constant unsigned := 2147483647; -- vulkan_core.h:4982
subtype VkResolveModeFlags is VkFlags; -- vulkan_core.h:4995
subtype VkDescriptorBindingFlagBits is unsigned;
VK_DESCRIPTOR_BINDING_UPDATE_AFTER_BIND_BIT : constant unsigned := 1;
VK_DESCRIPTOR_BINDING_UPDATE_UNUSED_WHILE_PENDING_BIT : constant unsigned := 2;
VK_DESCRIPTOR_BINDING_PARTIALLY_BOUND_BIT : constant unsigned := 4;
VK_DESCRIPTOR_BINDING_VARIABLE_DESCRIPTOR_COUNT_BIT : constant unsigned := 8;
VK_DESCRIPTOR_BINDING_UPDATE_AFTER_BIND_BIT_EXT : constant unsigned := 1;
VK_DESCRIPTOR_BINDING_UPDATE_UNUSED_WHILE_PENDING_BIT_EXT : constant unsigned := 2;
VK_DESCRIPTOR_BINDING_PARTIALLY_BOUND_BIT_EXT : constant unsigned := 4;
VK_DESCRIPTOR_BINDING_VARIABLE_DESCRIPTOR_COUNT_BIT_EXT : constant unsigned := 8;
VK_DESCRIPTOR_BINDING_FLAG_BITS_MAX_ENUM : constant unsigned := 2147483647; -- vulkan_core.h:4997
subtype VkDescriptorBindingFlags is VkFlags; -- vulkan_core.h:5008
subtype VkSemaphoreWaitFlagBits is unsigned;
VK_SEMAPHORE_WAIT_ANY_BIT : constant unsigned := 1;
VK_SEMAPHORE_WAIT_ANY_BIT_KHR : constant unsigned := 1;
VK_SEMAPHORE_WAIT_FLAG_BITS_MAX_ENUM : constant unsigned := 2147483647; -- vulkan_core.h:5010
subtype VkSemaphoreWaitFlags is VkFlags; -- vulkan_core.h:5015
type VkPhysicalDeviceVulkan11Features is record
sType : aliased VkStructureType; -- vulkan_core.h:5017
pNext : System.Address; -- vulkan_core.h:5018
storageBuffer16BitAccess : aliased VkBool32; -- vulkan_core.h:5019
uniformAndStorageBuffer16BitAccess : aliased VkBool32; -- vulkan_core.h:5020
storagePushConstant16 : aliased VkBool32; -- vulkan_core.h:5021
storageInputOutput16 : aliased VkBool32; -- vulkan_core.h:5022
multiview : aliased VkBool32; -- vulkan_core.h:5023
multiviewGeometryShader : aliased VkBool32; -- vulkan_core.h:5024
multiviewTessellationShader : aliased VkBool32; -- vulkan_core.h:5025
variablePointersStorageBuffer : aliased VkBool32; -- vulkan_core.h:5026
variablePointers : aliased VkBool32; -- vulkan_core.h:5027
protectedMemory : aliased VkBool32; -- vulkan_core.h:5028
samplerYcbcrConversion : aliased VkBool32; -- vulkan_core.h:5029
shaderDrawParameters : aliased VkBool32; -- vulkan_core.h:5030
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:5016
type VkPhysicalDeviceVulkan11Properties_array1345 is array (0 .. 15) of aliased Interfaces.C.unsigned_char;
type VkPhysicalDeviceVulkan11Properties_array3040 is array (0 .. 7) of aliased Interfaces.C.unsigned_char;
type VkPhysicalDeviceVulkan11Properties is record
sType : aliased VkStructureType; -- vulkan_core.h:5034
pNext : System.Address; -- vulkan_core.h:5035
deviceUUID : aliased VkPhysicalDeviceVulkan11Properties_array1345; -- vulkan_core.h:5036
driverUUID : aliased VkPhysicalDeviceVulkan11Properties_array1345; -- vulkan_core.h:5037
deviceLUID : aliased VkPhysicalDeviceVulkan11Properties_array3040; -- vulkan_core.h:5038
deviceNodeMask : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:5039
deviceLUIDValid : aliased VkBool32; -- vulkan_core.h:5040
subgroupSize : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:5041
subgroupSupportedStages : aliased VkShaderStageFlags; -- vulkan_core.h:5042
subgroupSupportedOperations : aliased VkSubgroupFeatureFlags; -- vulkan_core.h:5043
subgroupQuadOperationsInAllStages : aliased VkBool32; -- vulkan_core.h:5044
pointClippingBehavior : aliased VkPointClippingBehavior; -- vulkan_core.h:5045
maxMultiviewViewCount : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:5046
maxMultiviewInstanceIndex : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:5047
protectedNoFault : aliased VkBool32; -- vulkan_core.h:5048
maxPerSetDescriptors : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:5049
maxMemoryAllocationSize : aliased VkDeviceSize; -- vulkan_core.h:5050
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:5033
type VkPhysicalDeviceVulkan12Features is record
sType : aliased VkStructureType; -- vulkan_core.h:5054
pNext : System.Address; -- vulkan_core.h:5055
samplerMirrorClampToEdge : aliased VkBool32; -- vulkan_core.h:5056
drawIndirectCount : aliased VkBool32; -- vulkan_core.h:5057
storageBuffer8BitAccess : aliased VkBool32; -- vulkan_core.h:5058
uniformAndStorageBuffer8BitAccess : aliased VkBool32; -- vulkan_core.h:5059
storagePushConstant8 : aliased VkBool32; -- vulkan_core.h:5060
shaderBufferInt64Atomics : aliased VkBool32; -- vulkan_core.h:5061
shaderSharedInt64Atomics : aliased VkBool32; -- vulkan_core.h:5062
shaderFloat16 : aliased VkBool32; -- vulkan_core.h:5063
shaderInt8 : aliased VkBool32; -- vulkan_core.h:5064
descriptorIndexing : aliased VkBool32; -- vulkan_core.h:5065
shaderInputAttachmentArrayDynamicIndexing : aliased VkBool32; -- vulkan_core.h:5066
shaderUniformTexelBufferArrayDynamicIndexing : aliased VkBool32; -- vulkan_core.h:5067
shaderStorageTexelBufferArrayDynamicIndexing : aliased VkBool32; -- vulkan_core.h:5068
shaderUniformBufferArrayNonUniformIndexing : aliased VkBool32; -- vulkan_core.h:5069
shaderSampledImageArrayNonUniformIndexing : aliased VkBool32; -- vulkan_core.h:5070
shaderStorageBufferArrayNonUniformIndexing : aliased VkBool32; -- vulkan_core.h:5071
shaderStorageImageArrayNonUniformIndexing : aliased VkBool32; -- vulkan_core.h:5072
shaderInputAttachmentArrayNonUniformIndexing : aliased VkBool32; -- vulkan_core.h:5073
shaderUniformTexelBufferArrayNonUniformIndexing : aliased VkBool32; -- vulkan_core.h:5074
shaderStorageTexelBufferArrayNonUniformIndexing : aliased VkBool32; -- vulkan_core.h:5075
descriptorBindingUniformBufferUpdateAfterBind : aliased VkBool32; -- vulkan_core.h:5076
descriptorBindingSampledImageUpdateAfterBind : aliased VkBool32; -- vulkan_core.h:5077
descriptorBindingStorageImageUpdateAfterBind : aliased VkBool32; -- vulkan_core.h:5078
descriptorBindingStorageBufferUpdateAfterBind : aliased VkBool32; -- vulkan_core.h:5079
descriptorBindingUniformTexelBufferUpdateAfterBind : aliased VkBool32; -- vulkan_core.h:5080
descriptorBindingStorageTexelBufferUpdateAfterBind : aliased VkBool32; -- vulkan_core.h:5081
descriptorBindingUpdateUnusedWhilePending : aliased VkBool32; -- vulkan_core.h:5082
descriptorBindingPartiallyBound : aliased VkBool32; -- vulkan_core.h:5083
descriptorBindingVariableDescriptorCount : aliased VkBool32; -- vulkan_core.h:5084
runtimeDescriptorArray : aliased VkBool32; -- vulkan_core.h:5085
samplerFilterMinmax : aliased VkBool32; -- vulkan_core.h:5086
scalarBlockLayout : aliased VkBool32; -- vulkan_core.h:5087
imagelessFramebuffer : aliased VkBool32; -- vulkan_core.h:5088
uniformBufferStandardLayout : aliased VkBool32; -- vulkan_core.h:5089
shaderSubgroupExtendedTypes : aliased VkBool32; -- vulkan_core.h:5090
separateDepthStencilLayouts : aliased VkBool32; -- vulkan_core.h:5091
hostQueryReset : aliased VkBool32; -- vulkan_core.h:5092
timelineSemaphore : aliased VkBool32; -- vulkan_core.h:5093
bufferDeviceAddress : aliased VkBool32; -- vulkan_core.h:5094
bufferDeviceAddressCaptureReplay : aliased VkBool32; -- vulkan_core.h:5095
bufferDeviceAddressMultiDevice : aliased VkBool32; -- vulkan_core.h:5096
vulkanMemoryModel : aliased VkBool32; -- vulkan_core.h:5097
vulkanMemoryModelDeviceScope : aliased VkBool32; -- vulkan_core.h:5098
vulkanMemoryModelAvailabilityVisibilityChains : aliased VkBool32; -- vulkan_core.h:5099
shaderOutputViewportIndex : aliased VkBool32; -- vulkan_core.h:5100
shaderOutputLayer : aliased VkBool32; -- vulkan_core.h:5101
subgroupBroadcastDynamicId : aliased VkBool32; -- vulkan_core.h:5102
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:5053
type VkConformanceVersion is record
major : aliased Interfaces.C.unsigned_char; -- vulkan_core.h:5106
minor : aliased Interfaces.C.unsigned_char; -- vulkan_core.h:5107
subminor : aliased Interfaces.C.unsigned_char; -- vulkan_core.h:5108
patch : aliased Interfaces.C.unsigned_char; -- vulkan_core.h:5109
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:5105
subtype VkPhysicalDeviceVulkan12Properties_array1342 is Interfaces.C.char_array (0 .. 255);
type VkPhysicalDeviceVulkan12Properties is record
sType : aliased VkStructureType; -- vulkan_core.h:5113
pNext : System.Address; -- vulkan_core.h:5114
driverID : aliased VkDriverId; -- vulkan_core.h:5115
driverName : aliased VkPhysicalDeviceVulkan12Properties_array1342; -- vulkan_core.h:5116
driverInfo : aliased VkPhysicalDeviceVulkan12Properties_array1342; -- vulkan_core.h:5117
conformanceVersion : aliased VkConformanceVersion; -- vulkan_core.h:5118
denormBehaviorIndependence : aliased VkShaderFloatControlsIndependence; -- vulkan_core.h:5119
roundingModeIndependence : aliased VkShaderFloatControlsIndependence; -- vulkan_core.h:5120
shaderSignedZeroInfNanPreserveFloat16 : aliased VkBool32; -- vulkan_core.h:5121
shaderSignedZeroInfNanPreserveFloat32 : aliased VkBool32; -- vulkan_core.h:5122
shaderSignedZeroInfNanPreserveFloat64 : aliased VkBool32; -- vulkan_core.h:5123
shaderDenormPreserveFloat16 : aliased VkBool32; -- vulkan_core.h:5124
shaderDenormPreserveFloat32 : aliased VkBool32; -- vulkan_core.h:5125
shaderDenormPreserveFloat64 : aliased VkBool32; -- vulkan_core.h:5126
shaderDenormFlushToZeroFloat16 : aliased VkBool32; -- vulkan_core.h:5127
shaderDenormFlushToZeroFloat32 : aliased VkBool32; -- vulkan_core.h:5128
shaderDenormFlushToZeroFloat64 : aliased VkBool32; -- vulkan_core.h:5129
shaderRoundingModeRTEFloat16 : aliased VkBool32; -- vulkan_core.h:5130
shaderRoundingModeRTEFloat32 : aliased VkBool32; -- vulkan_core.h:5131
shaderRoundingModeRTEFloat64 : aliased VkBool32; -- vulkan_core.h:5132
shaderRoundingModeRTZFloat16 : aliased VkBool32; -- vulkan_core.h:5133
shaderRoundingModeRTZFloat32 : aliased VkBool32; -- vulkan_core.h:5134
shaderRoundingModeRTZFloat64 : aliased VkBool32; -- vulkan_core.h:5135
maxUpdateAfterBindDescriptorsInAllPools : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:5136
shaderUniformBufferArrayNonUniformIndexingNative : aliased VkBool32; -- vulkan_core.h:5137
shaderSampledImageArrayNonUniformIndexingNative : aliased VkBool32; -- vulkan_core.h:5138
shaderStorageBufferArrayNonUniformIndexingNative : aliased VkBool32; -- vulkan_core.h:5139
shaderStorageImageArrayNonUniformIndexingNative : aliased VkBool32; -- vulkan_core.h:5140
shaderInputAttachmentArrayNonUniformIndexingNative : aliased VkBool32; -- vulkan_core.h:5141
robustBufferAccessUpdateAfterBind : aliased VkBool32; -- vulkan_core.h:5142
quadDivergentImplicitLod : aliased VkBool32; -- vulkan_core.h:5143
maxPerStageDescriptorUpdateAfterBindSamplers : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:5144
maxPerStageDescriptorUpdateAfterBindUniformBuffers : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:5145
maxPerStageDescriptorUpdateAfterBindStorageBuffers : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:5146
maxPerStageDescriptorUpdateAfterBindSampledImages : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:5147
maxPerStageDescriptorUpdateAfterBindStorageImages : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:5148
maxPerStageDescriptorUpdateAfterBindInputAttachments : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:5149
maxPerStageUpdateAfterBindResources : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:5150
maxDescriptorSetUpdateAfterBindSamplers : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:5151
maxDescriptorSetUpdateAfterBindUniformBuffers : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:5152
maxDescriptorSetUpdateAfterBindUniformBuffersDynamic : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:5153
maxDescriptorSetUpdateAfterBindStorageBuffers : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:5154
maxDescriptorSetUpdateAfterBindStorageBuffersDynamic : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:5155
maxDescriptorSetUpdateAfterBindSampledImages : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:5156
maxDescriptorSetUpdateAfterBindStorageImages : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:5157
maxDescriptorSetUpdateAfterBindInputAttachments : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:5158
supportedDepthResolveModes : aliased VkResolveModeFlags; -- vulkan_core.h:5159
supportedStencilResolveModes : aliased VkResolveModeFlags; -- vulkan_core.h:5160
independentResolveNone : aliased VkBool32; -- vulkan_core.h:5161
independentResolve : aliased VkBool32; -- vulkan_core.h:5162
filterMinmaxSingleComponentFormats : aliased VkBool32; -- vulkan_core.h:5163
filterMinmaxImageComponentMapping : aliased VkBool32; -- vulkan_core.h:5164
maxTimelineSemaphoreValueDifference : aliased Interfaces.C.unsigned_long; -- vulkan_core.h:5165
framebufferIntegerColorSampleCounts : aliased VkSampleCountFlags; -- vulkan_core.h:5166
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:5112
type VkImageFormatListCreateInfo is record
sType : aliased VkStructureType; -- vulkan_core.h:5170
pNext : System.Address; -- vulkan_core.h:5171
viewFormatCount : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:5172
pViewFormats : access VkFormat; -- vulkan_core.h:5173
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:5169
type VkAttachmentDescription2 is record
sType : aliased VkStructureType; -- vulkan_core.h:5177
pNext : System.Address; -- vulkan_core.h:5178
flags : aliased VkAttachmentDescriptionFlags; -- vulkan_core.h:5179
format : aliased VkFormat; -- vulkan_core.h:5180
samples : aliased VkSampleCountFlagBits; -- vulkan_core.h:5181
loadOp : aliased VkAttachmentLoadOp; -- vulkan_core.h:5182
storeOp : aliased VkAttachmentStoreOp; -- vulkan_core.h:5183
stencilLoadOp : aliased VkAttachmentLoadOp; -- vulkan_core.h:5184
stencilStoreOp : aliased VkAttachmentStoreOp; -- vulkan_core.h:5185
initialLayout : aliased VkImageLayout; -- vulkan_core.h:5186
finalLayout : aliased VkImageLayout; -- vulkan_core.h:5187
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:5176
type VkAttachmentReference2 is record
sType : aliased VkStructureType; -- vulkan_core.h:5191
pNext : System.Address; -- vulkan_core.h:5192
attachment : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:5193
layout : aliased VkImageLayout; -- vulkan_core.h:5194
aspectMask : aliased VkImageAspectFlags; -- vulkan_core.h:5195
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:5190
type VkSubpassDescription2 is record
sType : aliased VkStructureType; -- vulkan_core.h:5199
pNext : System.Address; -- vulkan_core.h:5200
flags : aliased VkSubpassDescriptionFlags; -- vulkan_core.h:5201
pipelineBindPoint : aliased VkPipelineBindPoint; -- vulkan_core.h:5202
viewMask : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:5203
inputAttachmentCount : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:5204
pInputAttachments : access constant VkAttachmentReference2; -- vulkan_core.h:5205
colorAttachmentCount : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:5206
pColorAttachments : access constant VkAttachmentReference2; -- vulkan_core.h:5207
pResolveAttachments : access constant VkAttachmentReference2; -- vulkan_core.h:5208
pDepthStencilAttachment : access constant VkAttachmentReference2; -- vulkan_core.h:5209
preserveAttachmentCount : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:5210
pPreserveAttachments : access Interfaces.C.unsigned_short; -- vulkan_core.h:5211
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:5198
type VkSubpassDependency2 is record
sType : aliased VkStructureType; -- vulkan_core.h:5215
pNext : System.Address; -- vulkan_core.h:5216
srcSubpass : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:5217
dstSubpass : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:5218
srcStageMask : aliased VkPipelineStageFlags; -- vulkan_core.h:5219
dstStageMask : aliased VkPipelineStageFlags; -- vulkan_core.h:5220
srcAccessMask : aliased VkAccessFlags; -- vulkan_core.h:5221
dstAccessMask : aliased VkAccessFlags; -- vulkan_core.h:5222
dependencyFlags : aliased VkDependencyFlags; -- vulkan_core.h:5223
viewOffset : aliased Interfaces.C.short; -- vulkan_core.h:5224
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:5214
type VkRenderPassCreateInfo2 is record
sType : aliased VkStructureType; -- vulkan_core.h:5228
pNext : System.Address; -- vulkan_core.h:5229
flags : aliased VkRenderPassCreateFlags; -- vulkan_core.h:5230
attachmentCount : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:5231
pAttachments : access constant VkAttachmentDescription2; -- vulkan_core.h:5232
subpassCount : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:5233
pSubpasses : access constant VkSubpassDescription2; -- vulkan_core.h:5234
dependencyCount : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:5235
pDependencies : access constant VkSubpassDependency2; -- vulkan_core.h:5236
correlatedViewMaskCount : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:5237
pCorrelatedViewMasks : access Interfaces.C.unsigned_short; -- vulkan_core.h:5238
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:5227
type VkSubpassBeginInfo is record
sType : aliased VkStructureType; -- vulkan_core.h:5242
pNext : System.Address; -- vulkan_core.h:5243
contents : aliased VkSubpassContents; -- vulkan_core.h:5244
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:5241
type VkSubpassEndInfo is record
sType : aliased VkStructureType; -- vulkan_core.h:5248
pNext : System.Address; -- vulkan_core.h:5249
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:5247
type VkPhysicalDevice8BitStorageFeatures is record
sType : aliased VkStructureType; -- vulkan_core.h:5253
pNext : System.Address; -- vulkan_core.h:5254
storageBuffer8BitAccess : aliased VkBool32; -- vulkan_core.h:5255
uniformAndStorageBuffer8BitAccess : aliased VkBool32; -- vulkan_core.h:5256
storagePushConstant8 : aliased VkBool32; -- vulkan_core.h:5257
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:5252
subtype VkPhysicalDeviceDriverProperties_array1342 is Interfaces.C.char_array (0 .. 255);
type VkPhysicalDeviceDriverProperties is record
sType : aliased VkStructureType; -- vulkan_core.h:5261
pNext : System.Address; -- vulkan_core.h:5262
driverID : aliased VkDriverId; -- vulkan_core.h:5263
driverName : aliased VkPhysicalDeviceDriverProperties_array1342; -- vulkan_core.h:5264
driverInfo : aliased VkPhysicalDeviceDriverProperties_array1342; -- vulkan_core.h:5265
conformanceVersion : aliased VkConformanceVersion; -- vulkan_core.h:5266
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:5260
type VkPhysicalDeviceShaderAtomicInt64Features is record
sType : aliased VkStructureType; -- vulkan_core.h:5270
pNext : System.Address; -- vulkan_core.h:5271
shaderBufferInt64Atomics : aliased VkBool32; -- vulkan_core.h:5272
shaderSharedInt64Atomics : aliased VkBool32; -- vulkan_core.h:5273
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:5269
type VkPhysicalDeviceShaderFloat16Int8Features is record
sType : aliased VkStructureType; -- vulkan_core.h:5277
pNext : System.Address; -- vulkan_core.h:5278
shaderFloat16 : aliased VkBool32; -- vulkan_core.h:5279
shaderInt8 : aliased VkBool32; -- vulkan_core.h:5280
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:5276
type VkPhysicalDeviceFloatControlsProperties is record
sType : aliased VkStructureType; -- vulkan_core.h:5284
pNext : System.Address; -- vulkan_core.h:5285
denormBehaviorIndependence : aliased VkShaderFloatControlsIndependence; -- vulkan_core.h:5286
roundingModeIndependence : aliased VkShaderFloatControlsIndependence; -- vulkan_core.h:5287
shaderSignedZeroInfNanPreserveFloat16 : aliased VkBool32; -- vulkan_core.h:5288
shaderSignedZeroInfNanPreserveFloat32 : aliased VkBool32; -- vulkan_core.h:5289
shaderSignedZeroInfNanPreserveFloat64 : aliased VkBool32; -- vulkan_core.h:5290
shaderDenormPreserveFloat16 : aliased VkBool32; -- vulkan_core.h:5291
shaderDenormPreserveFloat32 : aliased VkBool32; -- vulkan_core.h:5292
shaderDenormPreserveFloat64 : aliased VkBool32; -- vulkan_core.h:5293
shaderDenormFlushToZeroFloat16 : aliased VkBool32; -- vulkan_core.h:5294
shaderDenormFlushToZeroFloat32 : aliased VkBool32; -- vulkan_core.h:5295
shaderDenormFlushToZeroFloat64 : aliased VkBool32; -- vulkan_core.h:5296
shaderRoundingModeRTEFloat16 : aliased VkBool32; -- vulkan_core.h:5297
shaderRoundingModeRTEFloat32 : aliased VkBool32; -- vulkan_core.h:5298
shaderRoundingModeRTEFloat64 : aliased VkBool32; -- vulkan_core.h:5299
shaderRoundingModeRTZFloat16 : aliased VkBool32; -- vulkan_core.h:5300
shaderRoundingModeRTZFloat32 : aliased VkBool32; -- vulkan_core.h:5301
shaderRoundingModeRTZFloat64 : aliased VkBool32; -- vulkan_core.h:5302
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:5283
type VkDescriptorSetLayoutBindingFlagsCreateInfo is record
sType : aliased VkStructureType; -- vulkan_core.h:5306
pNext : System.Address; -- vulkan_core.h:5307
bindingCount : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:5308
pBindingFlags : access VkDescriptorBindingFlags; -- vulkan_core.h:5309
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:5305
type VkPhysicalDeviceDescriptorIndexingFeatures is record
sType : aliased VkStructureType; -- vulkan_core.h:5313
pNext : System.Address; -- vulkan_core.h:5314
shaderInputAttachmentArrayDynamicIndexing : aliased VkBool32; -- vulkan_core.h:5315
shaderUniformTexelBufferArrayDynamicIndexing : aliased VkBool32; -- vulkan_core.h:5316
shaderStorageTexelBufferArrayDynamicIndexing : aliased VkBool32; -- vulkan_core.h:5317
shaderUniformBufferArrayNonUniformIndexing : aliased VkBool32; -- vulkan_core.h:5318
shaderSampledImageArrayNonUniformIndexing : aliased VkBool32; -- vulkan_core.h:5319
shaderStorageBufferArrayNonUniformIndexing : aliased VkBool32; -- vulkan_core.h:5320
shaderStorageImageArrayNonUniformIndexing : aliased VkBool32; -- vulkan_core.h:5321
shaderInputAttachmentArrayNonUniformIndexing : aliased VkBool32; -- vulkan_core.h:5322
shaderUniformTexelBufferArrayNonUniformIndexing : aliased VkBool32; -- vulkan_core.h:5323
shaderStorageTexelBufferArrayNonUniformIndexing : aliased VkBool32; -- vulkan_core.h:5324
descriptorBindingUniformBufferUpdateAfterBind : aliased VkBool32; -- vulkan_core.h:5325
descriptorBindingSampledImageUpdateAfterBind : aliased VkBool32; -- vulkan_core.h:5326
descriptorBindingStorageImageUpdateAfterBind : aliased VkBool32; -- vulkan_core.h:5327
descriptorBindingStorageBufferUpdateAfterBind : aliased VkBool32; -- vulkan_core.h:5328
descriptorBindingUniformTexelBufferUpdateAfterBind : aliased VkBool32; -- vulkan_core.h:5329
descriptorBindingStorageTexelBufferUpdateAfterBind : aliased VkBool32; -- vulkan_core.h:5330
descriptorBindingUpdateUnusedWhilePending : aliased VkBool32; -- vulkan_core.h:5331
descriptorBindingPartiallyBound : aliased VkBool32; -- vulkan_core.h:5332
descriptorBindingVariableDescriptorCount : aliased VkBool32; -- vulkan_core.h:5333
runtimeDescriptorArray : aliased VkBool32; -- vulkan_core.h:5334
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:5312
type VkPhysicalDeviceDescriptorIndexingProperties is record
sType : aliased VkStructureType; -- vulkan_core.h:5338
pNext : System.Address; -- vulkan_core.h:5339
maxUpdateAfterBindDescriptorsInAllPools : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:5340
shaderUniformBufferArrayNonUniformIndexingNative : aliased VkBool32; -- vulkan_core.h:5341
shaderSampledImageArrayNonUniformIndexingNative : aliased VkBool32; -- vulkan_core.h:5342
shaderStorageBufferArrayNonUniformIndexingNative : aliased VkBool32; -- vulkan_core.h:5343
shaderStorageImageArrayNonUniformIndexingNative : aliased VkBool32; -- vulkan_core.h:5344
shaderInputAttachmentArrayNonUniformIndexingNative : aliased VkBool32; -- vulkan_core.h:5345
robustBufferAccessUpdateAfterBind : aliased VkBool32; -- vulkan_core.h:5346
quadDivergentImplicitLod : aliased VkBool32; -- vulkan_core.h:5347
maxPerStageDescriptorUpdateAfterBindSamplers : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:5348
maxPerStageDescriptorUpdateAfterBindUniformBuffers : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:5349
maxPerStageDescriptorUpdateAfterBindStorageBuffers : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:5350
maxPerStageDescriptorUpdateAfterBindSampledImages : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:5351
maxPerStageDescriptorUpdateAfterBindStorageImages : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:5352
maxPerStageDescriptorUpdateAfterBindInputAttachments : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:5353
maxPerStageUpdateAfterBindResources : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:5354
maxDescriptorSetUpdateAfterBindSamplers : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:5355
maxDescriptorSetUpdateAfterBindUniformBuffers : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:5356
maxDescriptorSetUpdateAfterBindUniformBuffersDynamic : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:5357
maxDescriptorSetUpdateAfterBindStorageBuffers : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:5358
maxDescriptorSetUpdateAfterBindStorageBuffersDynamic : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:5359
maxDescriptorSetUpdateAfterBindSampledImages : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:5360
maxDescriptorSetUpdateAfterBindStorageImages : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:5361
maxDescriptorSetUpdateAfterBindInputAttachments : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:5362
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:5337
type VkDescriptorSetVariableDescriptorCountAllocateInfo is record
sType : aliased VkStructureType; -- vulkan_core.h:5366
pNext : System.Address; -- vulkan_core.h:5367
descriptorSetCount : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:5368
pDescriptorCounts : access Interfaces.C.unsigned_short; -- vulkan_core.h:5369
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:5365
type VkDescriptorSetVariableDescriptorCountLayoutSupport is record
sType : aliased VkStructureType; -- vulkan_core.h:5373
pNext : System.Address; -- vulkan_core.h:5374
maxVariableDescriptorCount : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:5375
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:5372
type VkSubpassDescriptionDepthStencilResolve is record
sType : aliased VkStructureType; -- vulkan_core.h:5379
pNext : System.Address; -- vulkan_core.h:5380
depthResolveMode : aliased VkResolveModeFlagBits; -- vulkan_core.h:5381
stencilResolveMode : aliased VkResolveModeFlagBits; -- vulkan_core.h:5382
pDepthStencilResolveAttachment : access constant VkAttachmentReference2; -- vulkan_core.h:5383
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:5378
type VkPhysicalDeviceDepthStencilResolveProperties is record
sType : aliased VkStructureType; -- vulkan_core.h:5387
pNext : System.Address; -- vulkan_core.h:5388
supportedDepthResolveModes : aliased VkResolveModeFlags; -- vulkan_core.h:5389
supportedStencilResolveModes : aliased VkResolveModeFlags; -- vulkan_core.h:5390
independentResolveNone : aliased VkBool32; -- vulkan_core.h:5391
independentResolve : aliased VkBool32; -- vulkan_core.h:5392
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:5386
type VkPhysicalDeviceScalarBlockLayoutFeatures is record
sType : aliased VkStructureType; -- vulkan_core.h:5396
pNext : System.Address; -- vulkan_core.h:5397
scalarBlockLayout : aliased VkBool32; -- vulkan_core.h:5398
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:5395
type VkImageStencilUsageCreateInfo is record
sType : aliased VkStructureType; -- vulkan_core.h:5402
pNext : System.Address; -- vulkan_core.h:5403
stencilUsage : aliased VkImageUsageFlags; -- vulkan_core.h:5404
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:5401
type VkSamplerReductionModeCreateInfo is record
sType : aliased VkStructureType; -- vulkan_core.h:5408
pNext : System.Address; -- vulkan_core.h:5409
reductionMode : aliased VkSamplerReductionMode; -- vulkan_core.h:5410
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:5407
type VkPhysicalDeviceSamplerFilterMinmaxProperties is record
sType : aliased VkStructureType; -- vulkan_core.h:5414
pNext : System.Address; -- vulkan_core.h:5415
filterMinmaxSingleComponentFormats : aliased VkBool32; -- vulkan_core.h:5416
filterMinmaxImageComponentMapping : aliased VkBool32; -- vulkan_core.h:5417
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:5413
type VkPhysicalDeviceVulkanMemoryModelFeatures is record
sType : aliased VkStructureType; -- vulkan_core.h:5421
pNext : System.Address; -- vulkan_core.h:5422
vulkanMemoryModel : aliased VkBool32; -- vulkan_core.h:5423
vulkanMemoryModelDeviceScope : aliased VkBool32; -- vulkan_core.h:5424
vulkanMemoryModelAvailabilityVisibilityChains : aliased VkBool32; -- vulkan_core.h:5425
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:5420
type VkPhysicalDeviceImagelessFramebufferFeatures is record
sType : aliased VkStructureType; -- vulkan_core.h:5429
pNext : System.Address; -- vulkan_core.h:5430
imagelessFramebuffer : aliased VkBool32; -- vulkan_core.h:5431
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:5428
type VkFramebufferAttachmentImageInfo is record
sType : aliased VkStructureType; -- vulkan_core.h:5435
pNext : System.Address; -- vulkan_core.h:5436
flags : aliased VkImageCreateFlags; -- vulkan_core.h:5437
usage : aliased VkImageUsageFlags; -- vulkan_core.h:5438
width : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:5439
height : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:5440
layerCount : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:5441
viewFormatCount : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:5442
pViewFormats : access VkFormat; -- vulkan_core.h:5443
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:5434
type VkFramebufferAttachmentsCreateInfo is record
sType : aliased VkStructureType; -- vulkan_core.h:5447
pNext : System.Address; -- vulkan_core.h:5448
attachmentImageInfoCount : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:5449
pAttachmentImageInfos : access constant VkFramebufferAttachmentImageInfo; -- vulkan_core.h:5450
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:5446
type VkRenderPassAttachmentBeginInfo is record
sType : aliased VkStructureType; -- vulkan_core.h:5454
pNext : System.Address; -- vulkan_core.h:5455
attachmentCount : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:5456
pAttachments : System.Address; -- vulkan_core.h:5457
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:5453
type VkPhysicalDeviceUniformBufferStandardLayoutFeatures is record
sType : aliased VkStructureType; -- vulkan_core.h:5461
pNext : System.Address; -- vulkan_core.h:5462
uniformBufferStandardLayout : aliased VkBool32; -- vulkan_core.h:5463
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:5460
type VkPhysicalDeviceShaderSubgroupExtendedTypesFeatures is record
sType : aliased VkStructureType; -- vulkan_core.h:5467
pNext : System.Address; -- vulkan_core.h:5468
shaderSubgroupExtendedTypes : aliased VkBool32; -- vulkan_core.h:5469
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:5466
type VkPhysicalDeviceSeparateDepthStencilLayoutsFeatures is record
sType : aliased VkStructureType; -- vulkan_core.h:5473
pNext : System.Address; -- vulkan_core.h:5474
separateDepthStencilLayouts : aliased VkBool32; -- vulkan_core.h:5475
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:5472
type VkAttachmentReferenceStencilLayout is record
sType : aliased VkStructureType; -- vulkan_core.h:5479
pNext : System.Address; -- vulkan_core.h:5480
stencilLayout : aliased VkImageLayout; -- vulkan_core.h:5481
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:5478
type VkAttachmentDescriptionStencilLayout is record
sType : aliased VkStructureType; -- vulkan_core.h:5485
pNext : System.Address; -- vulkan_core.h:5486
stencilInitialLayout : aliased VkImageLayout; -- vulkan_core.h:5487
stencilFinalLayout : aliased VkImageLayout; -- vulkan_core.h:5488
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:5484
type VkPhysicalDeviceHostQueryResetFeatures is record
sType : aliased VkStructureType; -- vulkan_core.h:5492
pNext : System.Address; -- vulkan_core.h:5493
hostQueryReset : aliased VkBool32; -- vulkan_core.h:5494
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:5491
type VkPhysicalDeviceTimelineSemaphoreFeatures is record
sType : aliased VkStructureType; -- vulkan_core.h:5498
pNext : System.Address; -- vulkan_core.h:5499
timelineSemaphore : aliased VkBool32; -- vulkan_core.h:5500
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:5497
type VkPhysicalDeviceTimelineSemaphoreProperties is record
sType : aliased VkStructureType; -- vulkan_core.h:5504
pNext : System.Address; -- vulkan_core.h:5505
maxTimelineSemaphoreValueDifference : aliased Interfaces.C.unsigned_long; -- vulkan_core.h:5506
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:5503
type VkSemaphoreTypeCreateInfo is record
sType : aliased VkStructureType; -- vulkan_core.h:5510
pNext : System.Address; -- vulkan_core.h:5511
semaphoreType : aliased VkSemaphoreType; -- vulkan_core.h:5512
initialValue : aliased Interfaces.C.unsigned_long; -- vulkan_core.h:5513
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:5509
type VkTimelineSemaphoreSubmitInfo is record
sType : aliased VkStructureType; -- vulkan_core.h:5517
pNext : System.Address; -- vulkan_core.h:5518
waitSemaphoreValueCount : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:5519
pWaitSemaphoreValues : access Interfaces.C.unsigned_long; -- vulkan_core.h:5520
signalSemaphoreValueCount : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:5521
pSignalSemaphoreValues : access Interfaces.C.unsigned_long; -- vulkan_core.h:5522
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:5516
type VkSemaphoreWaitInfo is record
sType : aliased VkStructureType; -- vulkan_core.h:5526
pNext : System.Address; -- vulkan_core.h:5527
flags : aliased VkSemaphoreWaitFlags; -- vulkan_core.h:5528
semaphoreCount : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:5529
pSemaphores : System.Address; -- vulkan_core.h:5530
pValues : access Interfaces.C.unsigned_long; -- vulkan_core.h:5531
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:5525
type VkSemaphoreSignalInfo is record
sType : aliased VkStructureType; -- vulkan_core.h:5535
pNext : System.Address; -- vulkan_core.h:5536
semaphore : VkSemaphore; -- vulkan_core.h:5537
value : aliased Interfaces.C.unsigned_long; -- vulkan_core.h:5538
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:5534
type VkPhysicalDeviceBufferDeviceAddressFeatures is record
sType : aliased VkStructureType; -- vulkan_core.h:5542
pNext : System.Address; -- vulkan_core.h:5543
bufferDeviceAddress : aliased VkBool32; -- vulkan_core.h:5544
bufferDeviceAddressCaptureReplay : aliased VkBool32; -- vulkan_core.h:5545
bufferDeviceAddressMultiDevice : aliased VkBool32; -- vulkan_core.h:5546
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:5541
type VkBufferDeviceAddressInfo is record
sType : aliased VkStructureType; -- vulkan_core.h:5550
pNext : System.Address; -- vulkan_core.h:5551
buffer : VkBuffer; -- vulkan_core.h:5552
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:5549
type VkBufferOpaqueCaptureAddressCreateInfo is record
sType : aliased VkStructureType; -- vulkan_core.h:5556
pNext : System.Address; -- vulkan_core.h:5557
opaqueCaptureAddress : aliased Interfaces.C.unsigned_long; -- vulkan_core.h:5558
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:5555
type VkMemoryOpaqueCaptureAddressAllocateInfo is record
sType : aliased VkStructureType; -- vulkan_core.h:5562
pNext : System.Address; -- vulkan_core.h:5563
opaqueCaptureAddress : aliased Interfaces.C.unsigned_long; -- vulkan_core.h:5564
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:5561
type VkDeviceMemoryOpaqueCaptureAddressInfo is record
sType : aliased VkStructureType; -- vulkan_core.h:5568
pNext : System.Address; -- vulkan_core.h:5569
memory : VkDeviceMemory; -- vulkan_core.h:5570
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:5567
type PFN_vkCmdDrawIndirectCount is access procedure
(arg1 : VkCommandBuffer;
arg2 : VkBuffer;
arg3 : VkDeviceSize;
arg4 : VkBuffer;
arg5 : VkDeviceSize;
arg6 : Interfaces.C.unsigned_short;
arg7 : Interfaces.C.unsigned_short)
with Convention => C; -- vulkan_core.h:5573
type PFN_vkCmdDrawIndexedIndirectCount is access procedure
(arg1 : VkCommandBuffer;
arg2 : VkBuffer;
arg3 : VkDeviceSize;
arg4 : VkBuffer;
arg5 : VkDeviceSize;
arg6 : Interfaces.C.unsigned_short;
arg7 : Interfaces.C.unsigned_short)
with Convention => C; -- vulkan_core.h:5574
type PFN_vkCreateRenderPass2 is access function
(arg1 : VkDevice;
arg2 : access constant VkRenderPassCreateInfo2;
arg3 : access constant VkAllocationCallbacks;
arg4 : System.Address) return VkResult
with Convention => C; -- vulkan_core.h:5575
type PFN_vkCmdBeginRenderPass2 is access procedure
(arg1 : VkCommandBuffer;
arg2 : access constant VkRenderPassBeginInfo;
arg3 : access constant VkSubpassBeginInfo)
with Convention => C; -- vulkan_core.h:5576
type PFN_vkCmdNextSubpass2 is access procedure
(arg1 : VkCommandBuffer;
arg2 : access constant VkSubpassBeginInfo;
arg3 : access constant VkSubpassEndInfo)
with Convention => C; -- vulkan_core.h:5577
type PFN_vkCmdEndRenderPass2 is access procedure (arg1 : VkCommandBuffer; arg2 : access constant VkSubpassEndInfo)
with Convention => C; -- vulkan_core.h:5578
type PFN_vkResetQueryPool is access procedure
(arg1 : VkDevice;
arg2 : VkQueryPool;
arg3 : Interfaces.C.unsigned_short;
arg4 : Interfaces.C.unsigned_short)
with Convention => C; -- vulkan_core.h:5579
type PFN_vkGetSemaphoreCounterValue is access function
(arg1 : VkDevice;
arg2 : VkSemaphore;
arg3 : access Interfaces.C.unsigned_long) return VkResult
with Convention => C; -- vulkan_core.h:5580
type PFN_vkWaitSemaphores is access function
(arg1 : VkDevice;
arg2 : access constant VkSemaphoreWaitInfo;
arg3 : Interfaces.C.unsigned_long) return VkResult
with Convention => C; -- vulkan_core.h:5581
type PFN_vkSignalSemaphore is access function (arg1 : VkDevice; arg2 : access constant VkSemaphoreSignalInfo) return VkResult
with Convention => C; -- vulkan_core.h:5582
type PFN_vkGetBufferDeviceAddress is access function (arg1 : VkDevice; arg2 : access constant VkBufferDeviceAddressInfo) return VkDeviceAddress
with Convention => C; -- vulkan_core.h:5583
type PFN_vkGetBufferOpaqueCaptureAddress is access function (arg1 : VkDevice; arg2 : access constant VkBufferDeviceAddressInfo) return Interfaces.C.unsigned_long
with Convention => C; -- vulkan_core.h:5584
type PFN_vkGetDeviceMemoryOpaqueCaptureAddress is access function (arg1 : VkDevice; arg2 : access constant VkDeviceMemoryOpaqueCaptureAddressInfo) return Interfaces.C.unsigned_long
with Convention => C; -- vulkan_core.h:5585
procedure vkCmdDrawIndirectCount
(commandBuffer : VkCommandBuffer;
buffer : VkBuffer;
offset : VkDeviceSize;
countBuffer : VkBuffer;
countBufferOffset : VkDeviceSize;
maxDrawCount : Interfaces.C.unsigned_short;
stride : Interfaces.C.unsigned_short) -- vulkan_core.h:5588
with Import => True,
Convention => C,
External_Name => "vkCmdDrawIndirectCount";
procedure vkCmdDrawIndexedIndirectCount
(commandBuffer : VkCommandBuffer;
buffer : VkBuffer;
offset : VkDeviceSize;
countBuffer : VkBuffer;
countBufferOffset : VkDeviceSize;
maxDrawCount : Interfaces.C.unsigned_short;
stride : Interfaces.C.unsigned_short) -- vulkan_core.h:5597
with Import => True,
Convention => C,
External_Name => "vkCmdDrawIndexedIndirectCount";
function vkCreateRenderPass2
(device : VkDevice;
pCreateInfo : access constant VkRenderPassCreateInfo2;
pAllocator : access constant VkAllocationCallbacks;
pRenderPass : System.Address) return VkResult -- vulkan_core.h:5606
with Import => True,
Convention => C,
External_Name => "vkCreateRenderPass2";
procedure vkCmdBeginRenderPass2
(commandBuffer : VkCommandBuffer;
pRenderPassBegin : access constant VkRenderPassBeginInfo;
pSubpassBeginInfo : access constant VkSubpassBeginInfo) -- vulkan_core.h:5612
with Import => True,
Convention => C,
External_Name => "vkCmdBeginRenderPass2";
procedure vkCmdNextSubpass2
(commandBuffer : VkCommandBuffer;
pSubpassBeginInfo : access constant VkSubpassBeginInfo;
pSubpassEndInfo : access constant VkSubpassEndInfo) -- vulkan_core.h:5617
with Import => True,
Convention => C,
External_Name => "vkCmdNextSubpass2";
procedure vkCmdEndRenderPass2 (commandBuffer : VkCommandBuffer; pSubpassEndInfo : access constant VkSubpassEndInfo) -- vulkan_core.h:5622
with Import => True,
Convention => C,
External_Name => "vkCmdEndRenderPass2";
procedure vkResetQueryPool
(device : VkDevice;
queryPool : VkQueryPool;
firstQuery : Interfaces.C.unsigned_short;
queryCount : Interfaces.C.unsigned_short) -- vulkan_core.h:5626
with Import => True,
Convention => C,
External_Name => "vkResetQueryPool";
function vkGetSemaphoreCounterValue
(device : VkDevice;
semaphore : VkSemaphore;
pValue : access Interfaces.C.unsigned_long) return VkResult -- vulkan_core.h:5632
with Import => True,
Convention => C,
External_Name => "vkGetSemaphoreCounterValue";
function vkWaitSemaphores
(device : VkDevice;
pWaitInfo : access constant VkSemaphoreWaitInfo;
timeout : Interfaces.C.unsigned_long) return VkResult -- vulkan_core.h:5637
with Import => True,
Convention => C,
External_Name => "vkWaitSemaphores";
function vkSignalSemaphore (device : VkDevice; pSignalInfo : access constant VkSemaphoreSignalInfo) return VkResult -- vulkan_core.h:5642
with Import => True,
Convention => C,
External_Name => "vkSignalSemaphore";
function vkGetBufferDeviceAddress (device : VkDevice; pInfo : access constant VkBufferDeviceAddressInfo) return VkDeviceAddress -- vulkan_core.h:5646
with Import => True,
Convention => C,
External_Name => "vkGetBufferDeviceAddress";
function vkGetBufferOpaqueCaptureAddress (device : VkDevice; pInfo : access constant VkBufferDeviceAddressInfo) return Interfaces.C.unsigned_long -- vulkan_core.h:5650
with Import => True,
Convention => C,
External_Name => "vkGetBufferOpaqueCaptureAddress";
function vkGetDeviceMemoryOpaqueCaptureAddress (device : VkDevice; pInfo : access constant VkDeviceMemoryOpaqueCaptureAddressInfo) return Interfaces.C.unsigned_long -- vulkan_core.h:5654
with Import => True,
Convention => C,
External_Name => "vkGetDeviceMemoryOpaqueCaptureAddress";
type VkSurfaceKHR_T is null record; -- incomplete struct
type VkSurfaceKHR is access all VkSurfaceKHR_T; -- vulkan_core.h:5661
subtype VkColorSpaceKHR is unsigned;
VK_COLOR_SPACE_SRGB_NONLINEAR_KHR : constant unsigned := 0;
VK_COLOR_SPACE_DISPLAY_P3_NONLINEAR_EXT : constant unsigned := 1000104001;
VK_COLOR_SPACE_EXTENDED_SRGB_LINEAR_EXT : constant unsigned := 1000104002;
VK_COLOR_SPACE_DISPLAY_P3_LINEAR_EXT : constant unsigned := 1000104003;
VK_COLOR_SPACE_DCI_P3_NONLINEAR_EXT : constant unsigned := 1000104004;
VK_COLOR_SPACE_BT709_LINEAR_EXT : constant unsigned := 1000104005;
VK_COLOR_SPACE_BT709_NONLINEAR_EXT : constant unsigned := 1000104006;
VK_COLOR_SPACE_BT2020_LINEAR_EXT : constant unsigned := 1000104007;
VK_COLOR_SPACE_HDR10_ST2084_EXT : constant unsigned := 1000104008;
VK_COLOR_SPACE_DOLBYVISION_EXT : constant unsigned := 1000104009;
VK_COLOR_SPACE_HDR10_HLG_EXT : constant unsigned := 1000104010;
VK_COLOR_SPACE_ADOBERGB_LINEAR_EXT : constant unsigned := 1000104011;
VK_COLOR_SPACE_ADOBERGB_NONLINEAR_EXT : constant unsigned := 1000104012;
VK_COLOR_SPACE_PASS_THROUGH_EXT : constant unsigned := 1000104013;
VK_COLOR_SPACE_EXTENDED_SRGB_NONLINEAR_EXT : constant unsigned := 1000104014;
VK_COLOR_SPACE_DISPLAY_NATIVE_AMD : constant unsigned := 1000213000;
VK_COLORSPACE_SRGB_NONLINEAR_KHR : constant unsigned := 0;
VK_COLOR_SPACE_DCI_P3_LINEAR_EXT : constant unsigned := 1000104003;
VK_COLOR_SPACE_BEGIN_RANGE_KHR : constant unsigned := 0;
VK_COLOR_SPACE_END_RANGE_KHR : constant unsigned := 0;
VK_COLOR_SPACE_RANGE_SIZE_KHR : constant unsigned := 1;
VK_COLOR_SPACE_MAX_ENUM_KHR : constant unsigned := 2147483647; -- vulkan_core.h:5665
subtype VkPresentModeKHR is unsigned;
VK_PRESENT_MODE_IMMEDIATE_KHR : constant unsigned := 0;
VK_PRESENT_MODE_MAILBOX_KHR : constant unsigned := 1;
VK_PRESENT_MODE_FIFO_KHR : constant unsigned := 2;
VK_PRESENT_MODE_FIFO_RELAXED_KHR : constant unsigned := 3;
VK_PRESENT_MODE_SHARED_DEMAND_REFRESH_KHR : constant unsigned := 1000111000;
VK_PRESENT_MODE_SHARED_CONTINUOUS_REFRESH_KHR : constant unsigned := 1000111001;
VK_PRESENT_MODE_BEGIN_RANGE_KHR : constant unsigned := 0;
VK_PRESENT_MODE_END_RANGE_KHR : constant unsigned := 3;
VK_PRESENT_MODE_RANGE_SIZE_KHR : constant unsigned := 4;
VK_PRESENT_MODE_MAX_ENUM_KHR : constant unsigned := 2147483647; -- vulkan_core.h:5690
subtype VkSurfaceTransformFlagBitsKHR is unsigned;
VK_SURFACE_TRANSFORM_IDENTITY_BIT_KHR : constant unsigned := 1;
VK_SURFACE_TRANSFORM_ROTATE_90_BIT_KHR : constant unsigned := 2;
VK_SURFACE_TRANSFORM_ROTATE_180_BIT_KHR : constant unsigned := 4;
VK_SURFACE_TRANSFORM_ROTATE_270_BIT_KHR : constant unsigned := 8;
VK_SURFACE_TRANSFORM_HORIZONTAL_MIRROR_BIT_KHR : constant unsigned := 16;
VK_SURFACE_TRANSFORM_HORIZONTAL_MIRROR_ROTATE_90_BIT_KHR : constant unsigned := 32;
VK_SURFACE_TRANSFORM_HORIZONTAL_MIRROR_ROTATE_180_BIT_KHR : constant unsigned := 64;
VK_SURFACE_TRANSFORM_HORIZONTAL_MIRROR_ROTATE_270_BIT_KHR : constant unsigned := 128;
VK_SURFACE_TRANSFORM_INHERIT_BIT_KHR : constant unsigned := 256;
VK_SURFACE_TRANSFORM_FLAG_BITS_MAX_ENUM_KHR : constant unsigned := 2147483647; -- vulkan_core.h:5703
subtype VkSurfaceTransformFlagsKHR is VkFlags; -- vulkan_core.h:5715
subtype VkCompositeAlphaFlagBitsKHR is unsigned;
VK_COMPOSITE_ALPHA_OPAQUE_BIT_KHR : constant unsigned := 1;
VK_COMPOSITE_ALPHA_PRE_MULTIPLIED_BIT_KHR : constant unsigned := 2;
VK_COMPOSITE_ALPHA_POST_MULTIPLIED_BIT_KHR : constant unsigned := 4;
VK_COMPOSITE_ALPHA_INHERIT_BIT_KHR : constant unsigned := 8;
VK_COMPOSITE_ALPHA_FLAG_BITS_MAX_ENUM_KHR : constant unsigned := 2147483647; -- vulkan_core.h:5717
subtype VkCompositeAlphaFlagsKHR is VkFlags; -- vulkan_core.h:5724
type VkSurfaceCapabilitiesKHR is record
minImageCount : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:5726
maxImageCount : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:5727
currentExtent : aliased VkExtent2D; -- vulkan_core.h:5728
minImageExtent : aliased VkExtent2D; -- vulkan_core.h:5729
maxImageExtent : aliased VkExtent2D; -- vulkan_core.h:5730
maxImageArrayLayers : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:5731
supportedTransforms : aliased VkSurfaceTransformFlagsKHR; -- vulkan_core.h:5732
currentTransform : aliased VkSurfaceTransformFlagBitsKHR; -- vulkan_core.h:5733
supportedCompositeAlpha : aliased VkCompositeAlphaFlagsKHR; -- vulkan_core.h:5734
supportedUsageFlags : aliased VkImageUsageFlags; -- vulkan_core.h:5735
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:5725
type VkSurfaceFormatKHR is record
format : aliased VkFormat; -- vulkan_core.h:5739
colorSpace : aliased VkColorSpaceKHR; -- vulkan_core.h:5740
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:5738
type PFN_vkDestroySurfaceKHR is access procedure
(arg1 : VkInstance;
arg2 : VkSurfaceKHR;
arg3 : access constant VkAllocationCallbacks)
with Convention => C; -- vulkan_core.h:5743
type PFN_vkGetPhysicalDeviceSurfaceSupportKHR is access function
(arg1 : VkPhysicalDevice;
arg2 : Interfaces.C.unsigned_short;
arg3 : VkSurfaceKHR;
arg4 : access VkBool32) return VkResult
with Convention => C; -- vulkan_core.h:5744
type PFN_vkGetPhysicalDeviceSurfaceCapabilitiesKHR is access function
(arg1 : VkPhysicalDevice;
arg2 : VkSurfaceKHR;
arg3 : access VkSurfaceCapabilitiesKHR) return VkResult
with Convention => C; -- vulkan_core.h:5745
type PFN_vkGetPhysicalDeviceSurfaceFormatsKHR is access function
(arg1 : VkPhysicalDevice;
arg2 : VkSurfaceKHR;
arg3 : access Interfaces.C.unsigned_short;
arg4 : access VkSurfaceFormatKHR) return VkResult
with Convention => C; -- vulkan_core.h:5746
type PFN_vkGetPhysicalDeviceSurfacePresentModesKHR is access function
(arg1 : VkPhysicalDevice;
arg2 : VkSurfaceKHR;
arg3 : access Interfaces.C.unsigned_short;
arg4 : access VkPresentModeKHR) return VkResult
with Convention => C; -- vulkan_core.h:5747
procedure vkDestroySurfaceKHR
(instance : VkInstance;
surface : VkSurfaceKHR;
pAllocator : access constant VkAllocationCallbacks) -- vulkan_core.h:5750
with Import => True,
Convention => C,
External_Name => "vkDestroySurfaceKHR";
function vkGetPhysicalDeviceSurfaceSupportKHR
(physicalDevice : VkPhysicalDevice;
queueFamilyIndex : Interfaces.C.unsigned_short;
surface : VkSurfaceKHR;
pSupported : access VkBool32) return VkResult -- vulkan_core.h:5755
with Import => True,
Convention => C,
External_Name => "vkGetPhysicalDeviceSurfaceSupportKHR";
function vkGetPhysicalDeviceSurfaceCapabilitiesKHR
(physicalDevice : VkPhysicalDevice;
surface : VkSurfaceKHR;
pSurfaceCapabilities : access VkSurfaceCapabilitiesKHR) return VkResult -- vulkan_core.h:5761
with Import => True,
Convention => C,
External_Name => "vkGetPhysicalDeviceSurfaceCapabilitiesKHR";
function vkGetPhysicalDeviceSurfaceFormatsKHR
(physicalDevice : VkPhysicalDevice;
surface : VkSurfaceKHR;
pSurfaceFormatCount : access Interfaces.C.unsigned_short;
pSurfaceFormats : access VkSurfaceFormatKHR) return VkResult -- vulkan_core.h:5766
with Import => True,
Convention => C,
External_Name => "vkGetPhysicalDeviceSurfaceFormatsKHR";
function vkGetPhysicalDeviceSurfacePresentModesKHR
(physicalDevice : VkPhysicalDevice;
surface : VkSurfaceKHR;
pPresentModeCount : access Interfaces.C.unsigned_short;
pPresentModes : access VkPresentModeKHR) return VkResult -- vulkan_core.h:5772
with Import => True,
Convention => C,
External_Name => "vkGetPhysicalDeviceSurfacePresentModesKHR";
type VkSwapchainKHR_T is null record; -- incomplete struct
type VkSwapchainKHR is access all VkSwapchainKHR_T; -- vulkan_core.h:5781
subtype VkSwapchainCreateFlagBitsKHR is unsigned;
VK_SWAPCHAIN_CREATE_SPLIT_INSTANCE_BIND_REGIONS_BIT_KHR : constant unsigned := 1;
VK_SWAPCHAIN_CREATE_PROTECTED_BIT_KHR : constant unsigned := 2;
VK_SWAPCHAIN_CREATE_MUTABLE_FORMAT_BIT_KHR : constant unsigned := 4;
VK_SWAPCHAIN_CREATE_FLAG_BITS_MAX_ENUM_KHR : constant unsigned := 2147483647; -- vulkan_core.h:5785
subtype VkSwapchainCreateFlagsKHR is VkFlags; -- vulkan_core.h:5791
subtype VkDeviceGroupPresentModeFlagBitsKHR is unsigned;
VK_DEVICE_GROUP_PRESENT_MODE_LOCAL_BIT_KHR : constant unsigned := 1;
VK_DEVICE_GROUP_PRESENT_MODE_REMOTE_BIT_KHR : constant unsigned := 2;
VK_DEVICE_GROUP_PRESENT_MODE_SUM_BIT_KHR : constant unsigned := 4;
VK_DEVICE_GROUP_PRESENT_MODE_LOCAL_MULTI_DEVICE_BIT_KHR : constant unsigned := 8;
VK_DEVICE_GROUP_PRESENT_MODE_FLAG_BITS_MAX_ENUM_KHR : constant unsigned := 2147483647; -- vulkan_core.h:5793
subtype VkDeviceGroupPresentModeFlagsKHR is VkFlags; -- vulkan_core.h:5800
type VkSwapchainCreateInfoKHR is record
sType : aliased VkStructureType; -- vulkan_core.h:5802
pNext : System.Address; -- vulkan_core.h:5803
flags : aliased VkSwapchainCreateFlagsKHR; -- vulkan_core.h:5804
surface : VkSurfaceKHR; -- vulkan_core.h:5805
minImageCount : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:5806
imageFormat : aliased VkFormat; -- vulkan_core.h:5807
imageColorSpace : aliased VkColorSpaceKHR; -- vulkan_core.h:5808
imageExtent : aliased VkExtent2D; -- vulkan_core.h:5809
imageArrayLayers : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:5810
imageUsage : aliased VkImageUsageFlags; -- vulkan_core.h:5811
imageSharingMode : aliased VkSharingMode; -- vulkan_core.h:5812
queueFamilyIndexCount : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:5813
pQueueFamilyIndices : access Interfaces.C.unsigned_short; -- vulkan_core.h:5814
preTransform : aliased VkSurfaceTransformFlagBitsKHR; -- vulkan_core.h:5815
compositeAlpha : aliased VkCompositeAlphaFlagBitsKHR; -- vulkan_core.h:5816
presentMode : aliased VkPresentModeKHR; -- vulkan_core.h:5817
clipped : aliased VkBool32; -- vulkan_core.h:5818
oldSwapchain : VkSwapchainKHR; -- vulkan_core.h:5819
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:5801
type VkPresentInfoKHR is record
sType : aliased VkStructureType; -- vulkan_core.h:5823
pNext : System.Address; -- vulkan_core.h:5824
waitSemaphoreCount : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:5825
pWaitSemaphores : System.Address; -- vulkan_core.h:5826
swapchainCount : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:5827
pSwapchains : System.Address; -- vulkan_core.h:5828
pImageIndices : access Interfaces.C.unsigned_short; -- vulkan_core.h:5829
pResults : access VkResult; -- vulkan_core.h:5830
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:5822
type VkImageSwapchainCreateInfoKHR is record
sType : aliased VkStructureType; -- vulkan_core.h:5834
pNext : System.Address; -- vulkan_core.h:5835
swapchain : VkSwapchainKHR; -- vulkan_core.h:5836
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:5833
type VkBindImageMemorySwapchainInfoKHR is record
sType : aliased VkStructureType; -- vulkan_core.h:5840
pNext : System.Address; -- vulkan_core.h:5841
swapchain : VkSwapchainKHR; -- vulkan_core.h:5842
imageIndex : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:5843
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:5839
type VkAcquireNextImageInfoKHR is record
sType : aliased VkStructureType; -- vulkan_core.h:5847
pNext : System.Address; -- vulkan_core.h:5848
swapchain : VkSwapchainKHR; -- vulkan_core.h:5849
timeout : aliased Interfaces.C.unsigned_long; -- vulkan_core.h:5850
semaphore : VkSemaphore; -- vulkan_core.h:5851
fence : VkFence; -- vulkan_core.h:5852
deviceMask : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:5853
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:5846
type VkDeviceGroupPresentCapabilitiesKHR_array3688 is array (0 .. 31) of aliased Interfaces.C.unsigned_short;
type VkDeviceGroupPresentCapabilitiesKHR is record
sType : aliased VkStructureType; -- vulkan_core.h:5857
pNext : System.Address; -- vulkan_core.h:5858
presentMask : aliased VkDeviceGroupPresentCapabilitiesKHR_array3688; -- vulkan_core.h:5859
modes : aliased VkDeviceGroupPresentModeFlagsKHR; -- vulkan_core.h:5860
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:5856
type VkDeviceGroupPresentInfoKHR is record
sType : aliased VkStructureType; -- vulkan_core.h:5864
pNext : System.Address; -- vulkan_core.h:5865
swapchainCount : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:5866
pDeviceMasks : access Interfaces.C.unsigned_short; -- vulkan_core.h:5867
mode : aliased VkDeviceGroupPresentModeFlagBitsKHR; -- vulkan_core.h:5868
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:5863
type VkDeviceGroupSwapchainCreateInfoKHR is record
sType : aliased VkStructureType; -- vulkan_core.h:5872
pNext : System.Address; -- vulkan_core.h:5873
modes : aliased VkDeviceGroupPresentModeFlagsKHR; -- vulkan_core.h:5874
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:5871
type PFN_vkCreateSwapchainKHR is access function
(arg1 : VkDevice;
arg2 : access constant VkSwapchainCreateInfoKHR;
arg3 : access constant VkAllocationCallbacks;
arg4 : System.Address) return VkResult
with Convention => C; -- vulkan_core.h:5877
type PFN_vkDestroySwapchainKHR is access procedure
(arg1 : VkDevice;
arg2 : VkSwapchainKHR;
arg3 : access constant VkAllocationCallbacks)
with Convention => C; -- vulkan_core.h:5878
type PFN_vkGetSwapchainImagesKHR is access function
(arg1 : VkDevice;
arg2 : VkSwapchainKHR;
arg3 : access Interfaces.C.unsigned_short;
arg4 : System.Address) return VkResult
with Convention => C; -- vulkan_core.h:5879
type PFN_vkAcquireNextImageKHR is access function
(arg1 : VkDevice;
arg2 : VkSwapchainKHR;
arg3 : Interfaces.C.unsigned_long;
arg4 : VkSemaphore;
arg5 : VkFence;
arg6 : access Interfaces.C.unsigned_short) return VkResult
with Convention => C; -- vulkan_core.h:5880
type PFN_vkQueuePresentKHR is access function (arg1 : VkQueue; arg2 : access constant VkPresentInfoKHR) return VkResult
with Convention => C; -- vulkan_core.h:5881
type PFN_vkGetDeviceGroupPresentCapabilitiesKHR is access function (arg1 : VkDevice; arg2 : access VkDeviceGroupPresentCapabilitiesKHR) return VkResult
with Convention => C; -- vulkan_core.h:5882
type PFN_vkGetDeviceGroupSurfacePresentModesKHR is access function
(arg1 : VkDevice;
arg2 : VkSurfaceKHR;
arg3 : access VkDeviceGroupPresentModeFlagsKHR) return VkResult
with Convention => C; -- vulkan_core.h:5883
type PFN_vkGetPhysicalDevicePresentRectanglesKHR is access function
(arg1 : VkPhysicalDevice;
arg2 : VkSurfaceKHR;
arg3 : access Interfaces.C.unsigned_short;
arg4 : access VkRect2D) return VkResult
with Convention => C; -- vulkan_core.h:5884
type PFN_vkAcquireNextImage2KHR is access function
(arg1 : VkDevice;
arg2 : access constant VkAcquireNextImageInfoKHR;
arg3 : access Interfaces.C.unsigned_short) return VkResult
with Convention => C; -- vulkan_core.h:5885
function vkCreateSwapchainKHR
(device : VkDevice;
pCreateInfo : access constant VkSwapchainCreateInfoKHR;
pAllocator : access constant VkAllocationCallbacks;
pSwapchain : System.Address) return VkResult -- vulkan_core.h:5888
with Import => True,
Convention => C,
External_Name => "vkCreateSwapchainKHR";
procedure vkDestroySwapchainKHR
(device : VkDevice;
swapchain : VkSwapchainKHR;
pAllocator : access constant VkAllocationCallbacks) -- vulkan_core.h:5894
with Import => True,
Convention => C,
External_Name => "vkDestroySwapchainKHR";
function vkGetSwapchainImagesKHR
(device : VkDevice;
swapchain : VkSwapchainKHR;
pSwapchainImageCount : access Interfaces.C.unsigned_short;
pSwapchainImages : System.Address) return VkResult -- vulkan_core.h:5899
with Import => True,
Convention => C,
External_Name => "vkGetSwapchainImagesKHR";
function vkAcquireNextImageKHR
(device : VkDevice;
swapchain : VkSwapchainKHR;
timeout : Interfaces.C.unsigned_long;
semaphore : VkSemaphore;
fence : VkFence;
pImageIndex : access Interfaces.C.unsigned_short) return VkResult -- vulkan_core.h:5905
with Import => True,
Convention => C,
External_Name => "vkAcquireNextImageKHR";
function vkQueuePresentKHR (queue : VkQueue; pPresentInfo : access constant VkPresentInfoKHR) return VkResult -- vulkan_core.h:5913
with Import => True,
Convention => C,
External_Name => "vkQueuePresentKHR";
function vkGetDeviceGroupPresentCapabilitiesKHR (device : VkDevice; pDeviceGroupPresentCapabilities : access VkDeviceGroupPresentCapabilitiesKHR) return VkResult -- vulkan_core.h:5917
with Import => True,
Convention => C,
External_Name => "vkGetDeviceGroupPresentCapabilitiesKHR";
function vkGetDeviceGroupSurfacePresentModesKHR
(device : VkDevice;
surface : VkSurfaceKHR;
pModes : access VkDeviceGroupPresentModeFlagsKHR) return VkResult -- vulkan_core.h:5921
with Import => True,
Convention => C,
External_Name => "vkGetDeviceGroupSurfacePresentModesKHR";
function vkGetPhysicalDevicePresentRectanglesKHR
(physicalDevice : VkPhysicalDevice;
surface : VkSurfaceKHR;
pRectCount : access Interfaces.C.unsigned_short;
pRects : access VkRect2D) return VkResult -- vulkan_core.h:5926
with Import => True,
Convention => C,
External_Name => "vkGetPhysicalDevicePresentRectanglesKHR";
function vkAcquireNextImage2KHR
(device : VkDevice;
pAcquireInfo : access constant VkAcquireNextImageInfoKHR;
pImageIndex : access Interfaces.C.unsigned_short) return VkResult -- vulkan_core.h:5932
with Import => True,
Convention => C,
External_Name => "vkAcquireNextImage2KHR";
type VkDisplayKHR_T is null record; -- incomplete struct
type VkDisplayKHR is access all VkDisplayKHR_T; -- vulkan_core.h:5940
type VkDisplayModeKHR_T is null record; -- incomplete struct
type VkDisplayModeKHR is access all VkDisplayModeKHR_T; -- vulkan_core.h:5941
subtype VkDisplayPlaneAlphaFlagBitsKHR is unsigned;
VK_DISPLAY_PLANE_ALPHA_OPAQUE_BIT_KHR : constant unsigned := 1;
VK_DISPLAY_PLANE_ALPHA_GLOBAL_BIT_KHR : constant unsigned := 2;
VK_DISPLAY_PLANE_ALPHA_PER_PIXEL_BIT_KHR : constant unsigned := 4;
VK_DISPLAY_PLANE_ALPHA_PER_PIXEL_PREMULTIPLIED_BIT_KHR : constant unsigned := 8;
VK_DISPLAY_PLANE_ALPHA_FLAG_BITS_MAX_ENUM_KHR : constant unsigned := 2147483647; -- vulkan_core.h:5945
subtype VkDisplayPlaneAlphaFlagsKHR is VkFlags; -- vulkan_core.h:5952
subtype VkDisplayModeCreateFlagsKHR is VkFlags; -- vulkan_core.h:5953
subtype VkDisplaySurfaceCreateFlagsKHR is VkFlags; -- vulkan_core.h:5954
type VkDisplayPropertiesKHR is record
display : VkDisplayKHR; -- vulkan_core.h:5956
displayName : Interfaces.C.Strings.chars_ptr; -- vulkan_core.h:5957
physicalDimensions : aliased VkExtent2D; -- vulkan_core.h:5958
physicalResolution : aliased VkExtent2D; -- vulkan_core.h:5959
supportedTransforms : aliased VkSurfaceTransformFlagsKHR; -- vulkan_core.h:5960
planeReorderPossible : aliased VkBool32; -- vulkan_core.h:5961
persistentContent : aliased VkBool32; -- vulkan_core.h:5962
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:5955
type VkDisplayModeParametersKHR is record
visibleRegion : aliased VkExtent2D; -- vulkan_core.h:5966
refreshRate : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:5967
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:5965
type VkDisplayModePropertiesKHR is record
displayMode : VkDisplayModeKHR; -- vulkan_core.h:5971
parameters : aliased VkDisplayModeParametersKHR; -- vulkan_core.h:5972
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:5970
type VkDisplayModeCreateInfoKHR is record
sType : aliased VkStructureType; -- vulkan_core.h:5976
pNext : System.Address; -- vulkan_core.h:5977
flags : aliased VkDisplayModeCreateFlagsKHR; -- vulkan_core.h:5978
parameters : aliased VkDisplayModeParametersKHR; -- vulkan_core.h:5979
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:5975
type VkDisplayPlaneCapabilitiesKHR is record
supportedAlpha : aliased VkDisplayPlaneAlphaFlagsKHR; -- vulkan_core.h:5983
minSrcPosition : aliased VkOffset2D; -- vulkan_core.h:5984
maxSrcPosition : aliased VkOffset2D; -- vulkan_core.h:5985
minSrcExtent : aliased VkExtent2D; -- vulkan_core.h:5986
maxSrcExtent : aliased VkExtent2D; -- vulkan_core.h:5987
minDstPosition : aliased VkOffset2D; -- vulkan_core.h:5988
maxDstPosition : aliased VkOffset2D; -- vulkan_core.h:5989
minDstExtent : aliased VkExtent2D; -- vulkan_core.h:5990
maxDstExtent : aliased VkExtent2D; -- vulkan_core.h:5991
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:5982
type VkDisplayPlanePropertiesKHR is record
currentDisplay : VkDisplayKHR; -- vulkan_core.h:5995
currentStackIndex : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:5996
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:5994
type VkDisplaySurfaceCreateInfoKHR is record
sType : aliased VkStructureType; -- vulkan_core.h:6000
pNext : System.Address; -- vulkan_core.h:6001
flags : aliased VkDisplaySurfaceCreateFlagsKHR; -- vulkan_core.h:6002
displayMode : VkDisplayModeKHR; -- vulkan_core.h:6003
planeIndex : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:6004
planeStackIndex : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:6005
transform : aliased VkSurfaceTransformFlagBitsKHR; -- vulkan_core.h:6006
globalAlpha : aliased float; -- vulkan_core.h:6007
alphaMode : aliased VkDisplayPlaneAlphaFlagBitsKHR; -- vulkan_core.h:6008
imageExtent : aliased VkExtent2D; -- vulkan_core.h:6009
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:5999
type PFN_vkGetPhysicalDeviceDisplayPropertiesKHR is access function
(arg1 : VkPhysicalDevice;
arg2 : access Interfaces.C.unsigned_short;
arg3 : access VkDisplayPropertiesKHR) return VkResult
with Convention => C; -- vulkan_core.h:6012
type PFN_vkGetPhysicalDeviceDisplayPlanePropertiesKHR is access function
(arg1 : VkPhysicalDevice;
arg2 : access Interfaces.C.unsigned_short;
arg3 : access VkDisplayPlanePropertiesKHR) return VkResult
with Convention => C; -- vulkan_core.h:6013
type PFN_vkGetDisplayPlaneSupportedDisplaysKHR is access function
(arg1 : VkPhysicalDevice;
arg2 : Interfaces.C.unsigned_short;
arg3 : access Interfaces.C.unsigned_short;
arg4 : System.Address) return VkResult
with Convention => C; -- vulkan_core.h:6014
type PFN_vkGetDisplayModePropertiesKHR is access function
(arg1 : VkPhysicalDevice;
arg2 : VkDisplayKHR;
arg3 : access Interfaces.C.unsigned_short;
arg4 : access VkDisplayModePropertiesKHR) return VkResult
with Convention => C; -- vulkan_core.h:6015
type PFN_vkCreateDisplayModeKHR is access function
(arg1 : VkPhysicalDevice;
arg2 : VkDisplayKHR;
arg3 : access constant VkDisplayModeCreateInfoKHR;
arg4 : access constant VkAllocationCallbacks;
arg5 : System.Address) return VkResult
with Convention => C; -- vulkan_core.h:6016
type PFN_vkGetDisplayPlaneCapabilitiesKHR is access function
(arg1 : VkPhysicalDevice;
arg2 : VkDisplayModeKHR;
arg3 : Interfaces.C.unsigned_short;
arg4 : access VkDisplayPlaneCapabilitiesKHR) return VkResult
with Convention => C; -- vulkan_core.h:6017
type PFN_vkCreateDisplayPlaneSurfaceKHR is access function
(arg1 : VkInstance;
arg2 : access constant VkDisplaySurfaceCreateInfoKHR;
arg3 : access constant VkAllocationCallbacks;
arg4 : System.Address) return VkResult
with Convention => C; -- vulkan_core.h:6018
function vkGetPhysicalDeviceDisplayPropertiesKHR
(physicalDevice : VkPhysicalDevice;
pPropertyCount : access Interfaces.C.unsigned_short;
pProperties : access VkDisplayPropertiesKHR) return VkResult -- vulkan_core.h:6021
with Import => True,
Convention => C,
External_Name => "vkGetPhysicalDeviceDisplayPropertiesKHR";
function vkGetPhysicalDeviceDisplayPlanePropertiesKHR
(physicalDevice : VkPhysicalDevice;
pPropertyCount : access Interfaces.C.unsigned_short;
pProperties : access VkDisplayPlanePropertiesKHR) return VkResult -- vulkan_core.h:6026
with Import => True,
Convention => C,
External_Name => "vkGetPhysicalDeviceDisplayPlanePropertiesKHR";
function vkGetDisplayPlaneSupportedDisplaysKHR
(physicalDevice : VkPhysicalDevice;
planeIndex : Interfaces.C.unsigned_short;
pDisplayCount : access Interfaces.C.unsigned_short;
pDisplays : System.Address) return VkResult -- vulkan_core.h:6031
with Import => True,
Convention => C,
External_Name => "vkGetDisplayPlaneSupportedDisplaysKHR";
function vkGetDisplayModePropertiesKHR
(physicalDevice : VkPhysicalDevice;
display : VkDisplayKHR;
pPropertyCount : access Interfaces.C.unsigned_short;
pProperties : access VkDisplayModePropertiesKHR) return VkResult -- vulkan_core.h:6037
with Import => True,
Convention => C,
External_Name => "vkGetDisplayModePropertiesKHR";
function vkCreateDisplayModeKHR
(physicalDevice : VkPhysicalDevice;
display : VkDisplayKHR;
pCreateInfo : access constant VkDisplayModeCreateInfoKHR;
pAllocator : access constant VkAllocationCallbacks;
pMode : System.Address) return VkResult -- vulkan_core.h:6043
with Import => True,
Convention => C,
External_Name => "vkCreateDisplayModeKHR";
function vkGetDisplayPlaneCapabilitiesKHR
(physicalDevice : VkPhysicalDevice;
mode : VkDisplayModeKHR;
planeIndex : Interfaces.C.unsigned_short;
pCapabilities : access VkDisplayPlaneCapabilitiesKHR) return VkResult -- vulkan_core.h:6050
with Import => True,
Convention => C,
External_Name => "vkGetDisplayPlaneCapabilitiesKHR";
function vkCreateDisplayPlaneSurfaceKHR
(instance : VkInstance;
pCreateInfo : access constant VkDisplaySurfaceCreateInfoKHR;
pAllocator : access constant VkAllocationCallbacks;
pSurface : System.Address) return VkResult -- vulkan_core.h:6056
with Import => True,
Convention => C,
External_Name => "vkCreateDisplayPlaneSurfaceKHR";
type VkDisplayPresentInfoKHR is record
sType : aliased VkStructureType; -- vulkan_core.h:6068
pNext : System.Address; -- vulkan_core.h:6069
srcRect : aliased VkRect2D; -- vulkan_core.h:6070
dstRect : aliased VkRect2D; -- vulkan_core.h:6071
persistent : aliased VkBool32; -- vulkan_core.h:6072
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:6067
type PFN_vkCreateSharedSwapchainsKHR is access function
(arg1 : VkDevice;
arg2 : Interfaces.C.unsigned_short;
arg3 : access constant VkSwapchainCreateInfoKHR;
arg4 : access constant VkAllocationCallbacks;
arg5 : System.Address) return VkResult
with Convention => C; -- vulkan_core.h:6075
function vkCreateSharedSwapchainsKHR
(device : VkDevice;
swapchainCount : Interfaces.C.unsigned_short;
pCreateInfos : access constant VkSwapchainCreateInfoKHR;
pAllocator : access constant VkAllocationCallbacks;
pSwapchains : System.Address) return VkResult -- vulkan_core.h:6078
with Import => True,
Convention => C,
External_Name => "vkCreateSharedSwapchainsKHR";
subtype VkRenderPassMultiviewCreateInfoKHR is VkRenderPassMultiviewCreateInfo; -- vulkan_core.h:6095
subtype VkPhysicalDeviceMultiviewFeaturesKHR is VkPhysicalDeviceMultiviewFeatures; -- vulkan_core.h:6097
subtype VkPhysicalDeviceMultiviewPropertiesKHR is VkPhysicalDeviceMultiviewProperties; -- vulkan_core.h:6099
subtype VkPhysicalDeviceFeatures2KHR is VkPhysicalDeviceFeatures2; -- vulkan_core.h:6106
subtype VkPhysicalDeviceProperties2KHR is VkPhysicalDeviceProperties2; -- vulkan_core.h:6108
subtype VkFormatProperties2KHR is VkFormatProperties2; -- vulkan_core.h:6110
subtype VkImageFormatProperties2KHR is VkImageFormatProperties2; -- vulkan_core.h:6112
subtype VkPhysicalDeviceImageFormatInfo2KHR is VkPhysicalDeviceImageFormatInfo2; -- vulkan_core.h:6114
subtype VkQueueFamilyProperties2KHR is VkQueueFamilyProperties2; -- vulkan_core.h:6116
subtype VkPhysicalDeviceMemoryProperties2KHR is VkPhysicalDeviceMemoryProperties2; -- vulkan_core.h:6118
subtype VkSparseImageFormatProperties2KHR is VkSparseImageFormatProperties2; -- vulkan_core.h:6120
subtype VkPhysicalDeviceSparseImageFormatInfo2KHR is VkPhysicalDeviceSparseImageFormatInfo2; -- vulkan_core.h:6122
type PFN_vkGetPhysicalDeviceFeatures2KHR is access procedure (arg1 : VkPhysicalDevice; arg2 : access VkPhysicalDeviceFeatures2)
with Convention => C; -- vulkan_core.h:6124
type PFN_vkGetPhysicalDeviceProperties2KHR is access procedure (arg1 : VkPhysicalDevice; arg2 : access VkPhysicalDeviceProperties2)
with Convention => C; -- vulkan_core.h:6125
type PFN_vkGetPhysicalDeviceFormatProperties2KHR is access procedure
(arg1 : VkPhysicalDevice;
arg2 : VkFormat;
arg3 : access VkFormatProperties2)
with Convention => C; -- vulkan_core.h:6126
type PFN_vkGetPhysicalDeviceImageFormatProperties2KHR is access function
(arg1 : VkPhysicalDevice;
arg2 : access constant VkPhysicalDeviceImageFormatInfo2;
arg3 : access VkImageFormatProperties2) return VkResult
with Convention => C; -- vulkan_core.h:6127
type PFN_vkGetPhysicalDeviceQueueFamilyProperties2KHR is access procedure
(arg1 : VkPhysicalDevice;
arg2 : access Interfaces.C.unsigned_short;
arg3 : access VkQueueFamilyProperties2)
with Convention => C; -- vulkan_core.h:6128
type PFN_vkGetPhysicalDeviceMemoryProperties2KHR is access procedure (arg1 : VkPhysicalDevice; arg2 : access VkPhysicalDeviceMemoryProperties2)
with Convention => C; -- vulkan_core.h:6129
type PFN_vkGetPhysicalDeviceSparseImageFormatProperties2KHR is access procedure
(arg1 : VkPhysicalDevice;
arg2 : access constant VkPhysicalDeviceSparseImageFormatInfo2;
arg3 : access Interfaces.C.unsigned_short;
arg4 : access VkSparseImageFormatProperties2)
with Convention => C; -- vulkan_core.h:6130
procedure vkGetPhysicalDeviceFeatures2KHR (physicalDevice : VkPhysicalDevice; pFeatures : access VkPhysicalDeviceFeatures2) -- vulkan_core.h:6133
with Import => True,
Convention => C,
External_Name => "vkGetPhysicalDeviceFeatures2KHR";
procedure vkGetPhysicalDeviceProperties2KHR (physicalDevice : VkPhysicalDevice; pProperties : access VkPhysicalDeviceProperties2) -- vulkan_core.h:6137
with Import => True,
Convention => C,
External_Name => "vkGetPhysicalDeviceProperties2KHR";
procedure vkGetPhysicalDeviceFormatProperties2KHR
(physicalDevice : VkPhysicalDevice;
format : VkFormat;
pFormatProperties : access VkFormatProperties2) -- vulkan_core.h:6141
with Import => True,
Convention => C,
External_Name => "vkGetPhysicalDeviceFormatProperties2KHR";
function vkGetPhysicalDeviceImageFormatProperties2KHR
(physicalDevice : VkPhysicalDevice;
pImageFormatInfo : access constant VkPhysicalDeviceImageFormatInfo2;
pImageFormatProperties : access VkImageFormatProperties2) return VkResult -- vulkan_core.h:6146
with Import => True,
Convention => C,
External_Name => "vkGetPhysicalDeviceImageFormatProperties2KHR";
procedure vkGetPhysicalDeviceQueueFamilyProperties2KHR
(physicalDevice : VkPhysicalDevice;
pQueueFamilyPropertyCount : access Interfaces.C.unsigned_short;
pQueueFamilyProperties : access VkQueueFamilyProperties2) -- vulkan_core.h:6151
with Import => True,
Convention => C,
External_Name => "vkGetPhysicalDeviceQueueFamilyProperties2KHR";
procedure vkGetPhysicalDeviceMemoryProperties2KHR (physicalDevice : VkPhysicalDevice; pMemoryProperties : access VkPhysicalDeviceMemoryProperties2) -- vulkan_core.h:6156
with Import => True,
Convention => C,
External_Name => "vkGetPhysicalDeviceMemoryProperties2KHR";
procedure vkGetPhysicalDeviceSparseImageFormatProperties2KHR
(physicalDevice : VkPhysicalDevice;
pFormatInfo : access constant VkPhysicalDeviceSparseImageFormatInfo2;
pPropertyCount : access Interfaces.C.unsigned_short;
pProperties : access VkSparseImageFormatProperties2) -- vulkan_core.h:6160
with Import => True,
Convention => C,
External_Name => "vkGetPhysicalDeviceSparseImageFormatProperties2KHR";
subtype VkPeerMemoryFeatureFlagsKHR is VkPeerMemoryFeatureFlags; -- vulkan_core.h:6171
subtype VkPeerMemoryFeatureFlagBitsKHR is VkPeerMemoryFeatureFlagBits; -- vulkan_core.h:6173
subtype VkMemoryAllocateFlagsKHR is VkMemoryAllocateFlags; -- vulkan_core.h:6175
subtype VkMemoryAllocateFlagBitsKHR is VkMemoryAllocateFlagBits; -- vulkan_core.h:6177
subtype VkMemoryAllocateFlagsInfoKHR is VkMemoryAllocateFlagsInfo; -- vulkan_core.h:6179
subtype VkDeviceGroupRenderPassBeginInfoKHR is VkDeviceGroupRenderPassBeginInfo; -- vulkan_core.h:6181
subtype VkDeviceGroupCommandBufferBeginInfoKHR is VkDeviceGroupCommandBufferBeginInfo; -- vulkan_core.h:6183
subtype VkDeviceGroupSubmitInfoKHR is VkDeviceGroupSubmitInfo; -- vulkan_core.h:6185
subtype VkDeviceGroupBindSparseInfoKHR is VkDeviceGroupBindSparseInfo; -- vulkan_core.h:6187
subtype VkBindBufferMemoryDeviceGroupInfoKHR is VkBindBufferMemoryDeviceGroupInfo; -- vulkan_core.h:6189
subtype VkBindImageMemoryDeviceGroupInfoKHR is VkBindImageMemoryDeviceGroupInfo; -- vulkan_core.h:6191
type PFN_vkGetDeviceGroupPeerMemoryFeaturesKHR is access procedure
(arg1 : VkDevice;
arg2 : Interfaces.C.unsigned_short;
arg3 : Interfaces.C.unsigned_short;
arg4 : Interfaces.C.unsigned_short;
arg5 : access VkPeerMemoryFeatureFlags)
with Convention => C; -- vulkan_core.h:6193
type PFN_vkCmdSetDeviceMaskKHR is access procedure (arg1 : VkCommandBuffer; arg2 : Interfaces.C.unsigned_short)
with Convention => C; -- vulkan_core.h:6194
type PFN_vkCmdDispatchBaseKHR is access procedure
(arg1 : VkCommandBuffer;
arg2 : Interfaces.C.unsigned_short;
arg3 : Interfaces.C.unsigned_short;
arg4 : Interfaces.C.unsigned_short;
arg5 : Interfaces.C.unsigned_short;
arg6 : Interfaces.C.unsigned_short;
arg7 : Interfaces.C.unsigned_short)
with Convention => C; -- vulkan_core.h:6195
procedure vkGetDeviceGroupPeerMemoryFeaturesKHR
(device : VkDevice;
heapIndex : Interfaces.C.unsigned_short;
localDeviceIndex : Interfaces.C.unsigned_short;
remoteDeviceIndex : Interfaces.C.unsigned_short;
pPeerMemoryFeatures : access VkPeerMemoryFeatureFlags) -- vulkan_core.h:6198
with Import => True,
Convention => C,
External_Name => "vkGetDeviceGroupPeerMemoryFeaturesKHR";
procedure vkCmdSetDeviceMaskKHR (commandBuffer : VkCommandBuffer; deviceMask : Interfaces.C.unsigned_short) -- vulkan_core.h:6205
with Import => True,
Convention => C,
External_Name => "vkCmdSetDeviceMaskKHR";
procedure vkCmdDispatchBaseKHR
(commandBuffer : VkCommandBuffer;
baseGroupX : Interfaces.C.unsigned_short;
baseGroupY : Interfaces.C.unsigned_short;
baseGroupZ : Interfaces.C.unsigned_short;
groupCountX : Interfaces.C.unsigned_short;
groupCountY : Interfaces.C.unsigned_short;
groupCountZ : Interfaces.C.unsigned_short) -- vulkan_core.h:6209
with Import => True,
Convention => C,
External_Name => "vkCmdDispatchBaseKHR";
subtype VkCommandPoolTrimFlagsKHR is VkCommandPoolTrimFlags; -- vulkan_core.h:6228
type PFN_vkTrimCommandPoolKHR is access procedure
(arg1 : VkDevice;
arg2 : VkCommandPool;
arg3 : VkCommandPoolTrimFlags)
with Convention => C; -- vulkan_core.h:6230
procedure vkTrimCommandPoolKHR
(device : VkDevice;
commandPool : VkCommandPool;
flags : VkCommandPoolTrimFlags) -- vulkan_core.h:6233
with Import => True,
Convention => C,
External_Name => "vkTrimCommandPoolKHR";
subtype VkPhysicalDeviceGroupPropertiesKHR is VkPhysicalDeviceGroupProperties; -- vulkan_core.h:6244
subtype VkDeviceGroupDeviceCreateInfoKHR is VkDeviceGroupDeviceCreateInfo; -- vulkan_core.h:6246
type PFN_vkEnumeratePhysicalDeviceGroupsKHR is access function
(arg1 : VkInstance;
arg2 : access Interfaces.C.unsigned_short;
arg3 : access VkPhysicalDeviceGroupProperties) return VkResult
with Convention => C; -- vulkan_core.h:6248
function vkEnumeratePhysicalDeviceGroupsKHR
(instance : VkInstance;
pPhysicalDeviceGroupCount : access Interfaces.C.unsigned_short;
pPhysicalDeviceGroupProperties : access VkPhysicalDeviceGroupProperties) return VkResult -- vulkan_core.h:6251
with Import => True,
Convention => C,
External_Name => "vkEnumeratePhysicalDeviceGroupsKHR";
subtype VkExternalMemoryHandleTypeFlagsKHR is VkExternalMemoryHandleTypeFlags; -- vulkan_core.h:6262
subtype VkExternalMemoryHandleTypeFlagBitsKHR is VkExternalMemoryHandleTypeFlagBits; -- vulkan_core.h:6264
subtype VkExternalMemoryFeatureFlagsKHR is VkExternalMemoryFeatureFlags; -- vulkan_core.h:6266
subtype VkExternalMemoryFeatureFlagBitsKHR is VkExternalMemoryFeatureFlagBits; -- vulkan_core.h:6268
subtype VkExternalMemoryPropertiesKHR is VkExternalMemoryProperties; -- vulkan_core.h:6270
subtype VkPhysicalDeviceExternalImageFormatInfoKHR is VkPhysicalDeviceExternalImageFormatInfo; -- vulkan_core.h:6272
subtype VkExternalImageFormatPropertiesKHR is VkExternalImageFormatProperties; -- vulkan_core.h:6274
subtype VkPhysicalDeviceExternalBufferInfoKHR is VkPhysicalDeviceExternalBufferInfo; -- vulkan_core.h:6276
subtype VkExternalBufferPropertiesKHR is VkExternalBufferProperties; -- vulkan_core.h:6278
subtype VkPhysicalDeviceIDPropertiesKHR is VkPhysicalDeviceIDProperties; -- vulkan_core.h:6280
type PFN_vkGetPhysicalDeviceExternalBufferPropertiesKHR is access procedure
(arg1 : VkPhysicalDevice;
arg2 : access constant VkPhysicalDeviceExternalBufferInfo;
arg3 : access VkExternalBufferProperties)
with Convention => C; -- vulkan_core.h:6282
procedure vkGetPhysicalDeviceExternalBufferPropertiesKHR
(physicalDevice : VkPhysicalDevice;
pExternalBufferInfo : access constant VkPhysicalDeviceExternalBufferInfo;
pExternalBufferProperties : access VkExternalBufferProperties) -- vulkan_core.h:6285
with Import => True,
Convention => C,
External_Name => "vkGetPhysicalDeviceExternalBufferPropertiesKHR";
subtype VkExternalMemoryImageCreateInfoKHR is VkExternalMemoryImageCreateInfo; -- vulkan_core.h:6296
subtype VkExternalMemoryBufferCreateInfoKHR is VkExternalMemoryBufferCreateInfo; -- vulkan_core.h:6298
subtype VkExportMemoryAllocateInfoKHR is VkExportMemoryAllocateInfo; -- vulkan_core.h:6300
type VkImportMemoryFdInfoKHR is record
sType : aliased VkStructureType; -- vulkan_core.h:6308
pNext : System.Address; -- vulkan_core.h:6309
handleType : aliased VkExternalMemoryHandleTypeFlagBits; -- vulkan_core.h:6310
fd : aliased int; -- vulkan_core.h:6311
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:6307
type VkMemoryFdPropertiesKHR is record
sType : aliased VkStructureType; -- vulkan_core.h:6315
pNext : System.Address; -- vulkan_core.h:6316
memoryTypeBits : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:6317
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:6314
type VkMemoryGetFdInfoKHR is record
sType : aliased VkStructureType; -- vulkan_core.h:6321
pNext : System.Address; -- vulkan_core.h:6322
memory : VkDeviceMemory; -- vulkan_core.h:6323
handleType : aliased VkExternalMemoryHandleTypeFlagBits; -- vulkan_core.h:6324
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:6320
type PFN_vkGetMemoryFdKHR is access function
(arg1 : VkDevice;
arg2 : access constant VkMemoryGetFdInfoKHR;
arg3 : access int) return VkResult
with Convention => C; -- vulkan_core.h:6327
type PFN_vkGetMemoryFdPropertiesKHR is access function
(arg1 : VkDevice;
arg2 : VkExternalMemoryHandleTypeFlagBits;
arg3 : int;
arg4 : access VkMemoryFdPropertiesKHR) return VkResult
with Convention => C; -- vulkan_core.h:6328
function vkGetMemoryFdKHR
(device : VkDevice;
pGetFdInfo : access constant VkMemoryGetFdInfoKHR;
pFd : access int) return VkResult -- vulkan_core.h:6331
with Import => True,
Convention => C,
External_Name => "vkGetMemoryFdKHR";
function vkGetMemoryFdPropertiesKHR
(device : VkDevice;
handleType : VkExternalMemoryHandleTypeFlagBits;
fd : int;
pMemoryFdProperties : access VkMemoryFdPropertiesKHR) return VkResult -- vulkan_core.h:6336
with Import => True,
Convention => C,
External_Name => "vkGetMemoryFdPropertiesKHR";
subtype VkExternalSemaphoreHandleTypeFlagsKHR is VkExternalSemaphoreHandleTypeFlags; -- vulkan_core.h:6347
subtype VkExternalSemaphoreHandleTypeFlagBitsKHR is VkExternalSemaphoreHandleTypeFlagBits; -- vulkan_core.h:6349
subtype VkExternalSemaphoreFeatureFlagsKHR is VkExternalSemaphoreFeatureFlags; -- vulkan_core.h:6351
subtype VkExternalSemaphoreFeatureFlagBitsKHR is VkExternalSemaphoreFeatureFlagBits; -- vulkan_core.h:6353
subtype VkPhysicalDeviceExternalSemaphoreInfoKHR is VkPhysicalDeviceExternalSemaphoreInfo; -- vulkan_core.h:6355
subtype VkExternalSemaphorePropertiesKHR is VkExternalSemaphoreProperties; -- vulkan_core.h:6357
type PFN_vkGetPhysicalDeviceExternalSemaphorePropertiesKHR is access procedure
(arg1 : VkPhysicalDevice;
arg2 : access constant VkPhysicalDeviceExternalSemaphoreInfo;
arg3 : access VkExternalSemaphoreProperties)
with Convention => C; -- vulkan_core.h:6359
procedure vkGetPhysicalDeviceExternalSemaphorePropertiesKHR
(physicalDevice : VkPhysicalDevice;
pExternalSemaphoreInfo : access constant VkPhysicalDeviceExternalSemaphoreInfo;
pExternalSemaphoreProperties : access VkExternalSemaphoreProperties) -- vulkan_core.h:6362
with Import => True,
Convention => C,
External_Name => "vkGetPhysicalDeviceExternalSemaphorePropertiesKHR";
subtype VkSemaphoreImportFlagsKHR is VkSemaphoreImportFlags; -- vulkan_core.h:6372
subtype VkSemaphoreImportFlagBitsKHR is VkSemaphoreImportFlagBits; -- vulkan_core.h:6374
subtype VkExportSemaphoreCreateInfoKHR is VkExportSemaphoreCreateInfo; -- vulkan_core.h:6376
type VkImportSemaphoreFdInfoKHR is record
sType : aliased VkStructureType; -- vulkan_core.h:6384
pNext : System.Address; -- vulkan_core.h:6385
semaphore : VkSemaphore; -- vulkan_core.h:6386
flags : aliased VkSemaphoreImportFlags; -- vulkan_core.h:6387
handleType : aliased VkExternalSemaphoreHandleTypeFlagBits; -- vulkan_core.h:6388
fd : aliased int; -- vulkan_core.h:6389
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:6383
type VkSemaphoreGetFdInfoKHR is record
sType : aliased VkStructureType; -- vulkan_core.h:6393
pNext : System.Address; -- vulkan_core.h:6394
semaphore : VkSemaphore; -- vulkan_core.h:6395
handleType : aliased VkExternalSemaphoreHandleTypeFlagBits; -- vulkan_core.h:6396
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:6392
type PFN_vkImportSemaphoreFdKHR is access function (arg1 : VkDevice; arg2 : access constant VkImportSemaphoreFdInfoKHR) return VkResult
with Convention => C; -- vulkan_core.h:6399
type PFN_vkGetSemaphoreFdKHR is access function
(arg1 : VkDevice;
arg2 : access constant VkSemaphoreGetFdInfoKHR;
arg3 : access int) return VkResult
with Convention => C; -- vulkan_core.h:6400
function vkImportSemaphoreFdKHR (device : VkDevice; pImportSemaphoreFdInfo : access constant VkImportSemaphoreFdInfoKHR) return VkResult -- vulkan_core.h:6403
with Import => True,
Convention => C,
External_Name => "vkImportSemaphoreFdKHR";
function vkGetSemaphoreFdKHR
(device : VkDevice;
pGetFdInfo : access constant VkSemaphoreGetFdInfoKHR;
pFd : access int) return VkResult -- vulkan_core.h:6407
with Import => True,
Convention => C,
External_Name => "vkGetSemaphoreFdKHR";
type VkPhysicalDevicePushDescriptorPropertiesKHR is record
sType : aliased VkStructureType; -- vulkan_core.h:6418
pNext : System.Address; -- vulkan_core.h:6419
maxPushDescriptors : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:6420
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:6417
type PFN_vkCmdPushDescriptorSetKHR is access procedure
(arg1 : VkCommandBuffer;
arg2 : VkPipelineBindPoint;
arg3 : VkPipelineLayout;
arg4 : Interfaces.C.unsigned_short;
arg5 : Interfaces.C.unsigned_short;
arg6 : access constant VkWriteDescriptorSet)
with Convention => C; -- vulkan_core.h:6423
type PFN_vkCmdPushDescriptorSetWithTemplateKHR is access procedure
(arg1 : VkCommandBuffer;
arg2 : VkDescriptorUpdateTemplate;
arg3 : VkPipelineLayout;
arg4 : Interfaces.C.unsigned_short;
arg5 : System.Address)
with Convention => C; -- vulkan_core.h:6424
procedure vkCmdPushDescriptorSetKHR
(commandBuffer : VkCommandBuffer;
pipelineBindPoint : VkPipelineBindPoint;
layout : VkPipelineLayout;
set : Interfaces.C.unsigned_short;
descriptorWriteCount : Interfaces.C.unsigned_short;
pDescriptorWrites : access constant VkWriteDescriptorSet) -- vulkan_core.h:6427
with Import => True,
Convention => C,
External_Name => "vkCmdPushDescriptorSetKHR";
procedure vkCmdPushDescriptorSetWithTemplateKHR
(commandBuffer : VkCommandBuffer;
descriptorUpdateTemplate : VkDescriptorUpdateTemplate;
layout : VkPipelineLayout;
set : Interfaces.C.unsigned_short;
pData : System.Address) -- vulkan_core.h:6435
with Import => True,
Convention => C,
External_Name => "vkCmdPushDescriptorSetWithTemplateKHR";
subtype VkPhysicalDeviceShaderFloat16Int8FeaturesKHR is VkPhysicalDeviceShaderFloat16Int8Features; -- vulkan_core.h:6447
subtype VkPhysicalDeviceFloat16Int8FeaturesKHR is VkPhysicalDeviceShaderFloat16Int8Features; -- vulkan_core.h:6449
subtype VkPhysicalDevice16BitStorageFeaturesKHR is VkPhysicalDevice16BitStorageFeatures; -- vulkan_core.h:6456
type VkRectLayerKHR is record
offset : aliased VkOffset2D; -- vulkan_core.h:6464
extent : aliased VkExtent2D; -- vulkan_core.h:6465
layer : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:6466
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:6463
type VkPresentRegionKHR is record
rectangleCount : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:6470
pRectangles : access constant VkRectLayerKHR; -- vulkan_core.h:6471
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:6469
type VkPresentRegionsKHR is record
sType : aliased VkStructureType; -- vulkan_core.h:6475
pNext : System.Address; -- vulkan_core.h:6476
swapchainCount : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:6477
pRegions : access constant VkPresentRegionKHR; -- vulkan_core.h:6478
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:6474
subtype VkDescriptorUpdateTemplateKHR is VkDescriptorUpdateTemplate; -- vulkan_core.h:6484
subtype VkDescriptorUpdateTemplateTypeKHR is VkDescriptorUpdateTemplateType; -- vulkan_core.h:6488
subtype VkDescriptorUpdateTemplateCreateFlagsKHR is VkDescriptorUpdateTemplateCreateFlags; -- vulkan_core.h:6490
subtype VkDescriptorUpdateTemplateEntryKHR is VkDescriptorUpdateTemplateEntry; -- vulkan_core.h:6492
subtype VkDescriptorUpdateTemplateCreateInfoKHR is VkDescriptorUpdateTemplateCreateInfo; -- vulkan_core.h:6494
type PFN_vkCreateDescriptorUpdateTemplateKHR is access function
(arg1 : VkDevice;
arg2 : access constant VkDescriptorUpdateTemplateCreateInfo;
arg3 : access constant VkAllocationCallbacks;
arg4 : System.Address) return VkResult
with Convention => C; -- vulkan_core.h:6496
type PFN_vkDestroyDescriptorUpdateTemplateKHR is access procedure
(arg1 : VkDevice;
arg2 : VkDescriptorUpdateTemplate;
arg3 : access constant VkAllocationCallbacks)
with Convention => C; -- vulkan_core.h:6497
type PFN_vkUpdateDescriptorSetWithTemplateKHR is access procedure
(arg1 : VkDevice;
arg2 : VkDescriptorSet;
arg3 : VkDescriptorUpdateTemplate;
arg4 : System.Address)
with Convention => C; -- vulkan_core.h:6498
function vkCreateDescriptorUpdateTemplateKHR
(device : VkDevice;
pCreateInfo : access constant VkDescriptorUpdateTemplateCreateInfo;
pAllocator : access constant VkAllocationCallbacks;
pDescriptorUpdateTemplate : System.Address) return VkResult -- vulkan_core.h:6501
with Import => True,
Convention => C,
External_Name => "vkCreateDescriptorUpdateTemplateKHR";
procedure vkDestroyDescriptorUpdateTemplateKHR
(device : VkDevice;
descriptorUpdateTemplate : VkDescriptorUpdateTemplate;
pAllocator : access constant VkAllocationCallbacks) -- vulkan_core.h:6507
with Import => True,
Convention => C,
External_Name => "vkDestroyDescriptorUpdateTemplateKHR";
procedure vkUpdateDescriptorSetWithTemplateKHR
(device : VkDevice;
descriptorSet : VkDescriptorSet;
descriptorUpdateTemplate : VkDescriptorUpdateTemplate;
pData : System.Address) -- vulkan_core.h:6512
with Import => True,
Convention => C,
External_Name => "vkUpdateDescriptorSetWithTemplateKHR";
subtype VkPhysicalDeviceImagelessFramebufferFeaturesKHR is VkPhysicalDeviceImagelessFramebufferFeatures; -- vulkan_core.h:6523
subtype VkFramebufferAttachmentsCreateInfoKHR is VkFramebufferAttachmentsCreateInfo; -- vulkan_core.h:6525
subtype VkFramebufferAttachmentImageInfoKHR is VkFramebufferAttachmentImageInfo; -- vulkan_core.h:6527
subtype VkRenderPassAttachmentBeginInfoKHR is VkRenderPassAttachmentBeginInfo; -- vulkan_core.h:6529
subtype VkRenderPassCreateInfo2KHR is VkRenderPassCreateInfo2; -- vulkan_core.h:6536
subtype VkAttachmentDescription2KHR is VkAttachmentDescription2; -- vulkan_core.h:6538
subtype VkAttachmentReference2KHR is VkAttachmentReference2; -- vulkan_core.h:6540
subtype VkSubpassDescription2KHR is VkSubpassDescription2; -- vulkan_core.h:6542
subtype VkSubpassDependency2KHR is VkSubpassDependency2; -- vulkan_core.h:6544
subtype VkSubpassBeginInfoKHR is VkSubpassBeginInfo; -- vulkan_core.h:6546
subtype VkSubpassEndInfoKHR is VkSubpassEndInfo; -- vulkan_core.h:6548
type PFN_vkCreateRenderPass2KHR is access function
(arg1 : VkDevice;
arg2 : access constant VkRenderPassCreateInfo2;
arg3 : access constant VkAllocationCallbacks;
arg4 : System.Address) return VkResult
with Convention => C; -- vulkan_core.h:6550
type PFN_vkCmdBeginRenderPass2KHR is access procedure
(arg1 : VkCommandBuffer;
arg2 : access constant VkRenderPassBeginInfo;
arg3 : access constant VkSubpassBeginInfo)
with Convention => C; -- vulkan_core.h:6551
type PFN_vkCmdNextSubpass2KHR is access procedure
(arg1 : VkCommandBuffer;
arg2 : access constant VkSubpassBeginInfo;
arg3 : access constant VkSubpassEndInfo)
with Convention => C; -- vulkan_core.h:6552
type PFN_vkCmdEndRenderPass2KHR is access procedure (arg1 : VkCommandBuffer; arg2 : access constant VkSubpassEndInfo)
with Convention => C; -- vulkan_core.h:6553
function vkCreateRenderPass2KHR
(device : VkDevice;
pCreateInfo : access constant VkRenderPassCreateInfo2;
pAllocator : access constant VkAllocationCallbacks;
pRenderPass : System.Address) return VkResult -- vulkan_core.h:6556
with Import => True,
Convention => C,
External_Name => "vkCreateRenderPass2KHR";
procedure vkCmdBeginRenderPass2KHR
(commandBuffer : VkCommandBuffer;
pRenderPassBegin : access constant VkRenderPassBeginInfo;
pSubpassBeginInfo : access constant VkSubpassBeginInfo) -- vulkan_core.h:6562
with Import => True,
Convention => C,
External_Name => "vkCmdBeginRenderPass2KHR";
procedure vkCmdNextSubpass2KHR
(commandBuffer : VkCommandBuffer;
pSubpassBeginInfo : access constant VkSubpassBeginInfo;
pSubpassEndInfo : access constant VkSubpassEndInfo) -- vulkan_core.h:6567
with Import => True,
Convention => C,
External_Name => "vkCmdNextSubpass2KHR";
procedure vkCmdEndRenderPass2KHR (commandBuffer : VkCommandBuffer; pSubpassEndInfo : access constant VkSubpassEndInfo) -- vulkan_core.h:6572
with Import => True,
Convention => C,
External_Name => "vkCmdEndRenderPass2KHR";
type VkSharedPresentSurfaceCapabilitiesKHR is record
sType : aliased VkStructureType; -- vulkan_core.h:6582
pNext : System.Address; -- vulkan_core.h:6583
sharedPresentSupportedUsageFlags : aliased VkImageUsageFlags; -- vulkan_core.h:6584
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:6581
type PFN_vkGetSwapchainStatusKHR is access function (arg1 : VkDevice; arg2 : VkSwapchainKHR) return VkResult
with Convention => C; -- vulkan_core.h:6587
function vkGetSwapchainStatusKHR (device : VkDevice; swapchain : VkSwapchainKHR) return VkResult -- vulkan_core.h:6590
with Import => True,
Convention => C,
External_Name => "vkGetSwapchainStatusKHR";
subtype VkExternalFenceHandleTypeFlagsKHR is VkExternalFenceHandleTypeFlags; -- vulkan_core.h:6599
subtype VkExternalFenceHandleTypeFlagBitsKHR is VkExternalFenceHandleTypeFlagBits; -- vulkan_core.h:6601
subtype VkExternalFenceFeatureFlagsKHR is VkExternalFenceFeatureFlags; -- vulkan_core.h:6603
subtype VkExternalFenceFeatureFlagBitsKHR is VkExternalFenceFeatureFlagBits; -- vulkan_core.h:6605
subtype VkPhysicalDeviceExternalFenceInfoKHR is VkPhysicalDeviceExternalFenceInfo; -- vulkan_core.h:6607
subtype VkExternalFencePropertiesKHR is VkExternalFenceProperties; -- vulkan_core.h:6609
type PFN_vkGetPhysicalDeviceExternalFencePropertiesKHR is access procedure
(arg1 : VkPhysicalDevice;
arg2 : access constant VkPhysicalDeviceExternalFenceInfo;
arg3 : access VkExternalFenceProperties)
with Convention => C; -- vulkan_core.h:6611
procedure vkGetPhysicalDeviceExternalFencePropertiesKHR
(physicalDevice : VkPhysicalDevice;
pExternalFenceInfo : access constant VkPhysicalDeviceExternalFenceInfo;
pExternalFenceProperties : access VkExternalFenceProperties) -- vulkan_core.h:6614
with Import => True,
Convention => C,
External_Name => "vkGetPhysicalDeviceExternalFencePropertiesKHR";
subtype VkFenceImportFlagsKHR is VkFenceImportFlags; -- vulkan_core.h:6624
subtype VkFenceImportFlagBitsKHR is VkFenceImportFlagBits; -- vulkan_core.h:6626
subtype VkExportFenceCreateInfoKHR is VkExportFenceCreateInfo; -- vulkan_core.h:6628
type VkImportFenceFdInfoKHR is record
sType : aliased VkStructureType; -- vulkan_core.h:6636
pNext : System.Address; -- vulkan_core.h:6637
fence : VkFence; -- vulkan_core.h:6638
flags : aliased VkFenceImportFlags; -- vulkan_core.h:6639
handleType : aliased VkExternalFenceHandleTypeFlagBits; -- vulkan_core.h:6640
fd : aliased int; -- vulkan_core.h:6641
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:6635
type VkFenceGetFdInfoKHR is record
sType : aliased VkStructureType; -- vulkan_core.h:6645
pNext : System.Address; -- vulkan_core.h:6646
fence : VkFence; -- vulkan_core.h:6647
handleType : aliased VkExternalFenceHandleTypeFlagBits; -- vulkan_core.h:6648
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:6644
type PFN_vkImportFenceFdKHR is access function (arg1 : VkDevice; arg2 : access constant VkImportFenceFdInfoKHR) return VkResult
with Convention => C; -- vulkan_core.h:6651
type PFN_vkGetFenceFdKHR is access function
(arg1 : VkDevice;
arg2 : access constant VkFenceGetFdInfoKHR;
arg3 : access int) return VkResult
with Convention => C; -- vulkan_core.h:6652
function vkImportFenceFdKHR (device : VkDevice; pImportFenceFdInfo : access constant VkImportFenceFdInfoKHR) return VkResult -- vulkan_core.h:6655
with Import => True,
Convention => C,
External_Name => "vkImportFenceFdKHR";
function vkGetFenceFdKHR
(device : VkDevice;
pGetFdInfo : access constant VkFenceGetFdInfoKHR;
pFd : access int) return VkResult -- vulkan_core.h:6659
with Import => True,
Convention => C,
External_Name => "vkGetFenceFdKHR";
subtype VkPerformanceCounterUnitKHR is unsigned;
VK_PERFORMANCE_COUNTER_UNIT_GENERIC_KHR : constant unsigned := 0;
VK_PERFORMANCE_COUNTER_UNIT_PERCENTAGE_KHR : constant unsigned := 1;
VK_PERFORMANCE_COUNTER_UNIT_NANOSECONDS_KHR : constant unsigned := 2;
VK_PERFORMANCE_COUNTER_UNIT_BYTES_KHR : constant unsigned := 3;
VK_PERFORMANCE_COUNTER_UNIT_BYTES_PER_SECOND_KHR : constant unsigned := 4;
VK_PERFORMANCE_COUNTER_UNIT_KELVIN_KHR : constant unsigned := 5;
VK_PERFORMANCE_COUNTER_UNIT_WATTS_KHR : constant unsigned := 6;
VK_PERFORMANCE_COUNTER_UNIT_VOLTS_KHR : constant unsigned := 7;
VK_PERFORMANCE_COUNTER_UNIT_AMPS_KHR : constant unsigned := 8;
VK_PERFORMANCE_COUNTER_UNIT_HERTZ_KHR : constant unsigned := 9;
VK_PERFORMANCE_COUNTER_UNIT_CYCLES_KHR : constant unsigned := 10;
VK_PERFORMANCE_COUNTER_UNIT_BEGIN_RANGE_KHR : constant unsigned := 0;
VK_PERFORMANCE_COUNTER_UNIT_END_RANGE_KHR : constant unsigned := 10;
VK_PERFORMANCE_COUNTER_UNIT_RANGE_SIZE_KHR : constant unsigned := 11;
VK_PERFORMANCE_COUNTER_UNIT_MAX_ENUM_KHR : constant unsigned := 2147483647; -- vulkan_core.h:6670
subtype VkPerformanceCounterScopeKHR is unsigned;
VK_PERFORMANCE_COUNTER_SCOPE_COMMAND_BUFFER_KHR : constant unsigned := 0;
VK_PERFORMANCE_COUNTER_SCOPE_RENDER_PASS_KHR : constant unsigned := 1;
VK_PERFORMANCE_COUNTER_SCOPE_COMMAND_KHR : constant unsigned := 2;
VK_QUERY_SCOPE_COMMAND_BUFFER_KHR : constant unsigned := 0;
VK_QUERY_SCOPE_RENDER_PASS_KHR : constant unsigned := 1;
VK_QUERY_SCOPE_COMMAND_KHR : constant unsigned := 2;
VK_PERFORMANCE_COUNTER_SCOPE_BEGIN_RANGE_KHR : constant unsigned := 0;
VK_PERFORMANCE_COUNTER_SCOPE_END_RANGE_KHR : constant unsigned := 2;
VK_PERFORMANCE_COUNTER_SCOPE_RANGE_SIZE_KHR : constant unsigned := 3;
VK_PERFORMANCE_COUNTER_SCOPE_MAX_ENUM_KHR : constant unsigned := 2147483647; -- vulkan_core.h:6688
subtype VkPerformanceCounterStorageKHR is unsigned;
VK_PERFORMANCE_COUNTER_STORAGE_INT32_KHR : constant unsigned := 0;
VK_PERFORMANCE_COUNTER_STORAGE_INT64_KHR : constant unsigned := 1;
VK_PERFORMANCE_COUNTER_STORAGE_UINT32_KHR : constant unsigned := 2;
VK_PERFORMANCE_COUNTER_STORAGE_UINT64_KHR : constant unsigned := 3;
VK_PERFORMANCE_COUNTER_STORAGE_FLOAT32_KHR : constant unsigned := 4;
VK_PERFORMANCE_COUNTER_STORAGE_FLOAT64_KHR : constant unsigned := 5;
VK_PERFORMANCE_COUNTER_STORAGE_BEGIN_RANGE_KHR : constant unsigned := 0;
VK_PERFORMANCE_COUNTER_STORAGE_END_RANGE_KHR : constant unsigned := 5;
VK_PERFORMANCE_COUNTER_STORAGE_RANGE_SIZE_KHR : constant unsigned := 6;
VK_PERFORMANCE_COUNTER_STORAGE_MAX_ENUM_KHR : constant unsigned := 2147483647; -- vulkan_core.h:6701
subtype VkPerformanceCounterDescriptionFlagBitsKHR is unsigned;
VK_PERFORMANCE_COUNTER_DESCRIPTION_PERFORMANCE_IMPACTING_KHR : constant unsigned := 1;
VK_PERFORMANCE_COUNTER_DESCRIPTION_CONCURRENTLY_IMPACTED_KHR : constant unsigned := 2;
VK_PERFORMANCE_COUNTER_DESCRIPTION_FLAG_BITS_MAX_ENUM_KHR : constant unsigned := 2147483647; -- vulkan_core.h:6714
subtype VkPerformanceCounterDescriptionFlagsKHR is VkFlags; -- vulkan_core.h:6719
subtype VkAcquireProfilingLockFlagBitsKHR is unsigned;
VK_ACQUIRE_PROFILING_LOCK_FLAG_BITS_MAX_ENUM_KHR : constant unsigned := 2147483647; -- vulkan_core.h:6721
subtype VkAcquireProfilingLockFlagsKHR is VkFlags; -- vulkan_core.h:6724
type VkPhysicalDevicePerformanceQueryFeaturesKHR is record
sType : aliased VkStructureType; -- vulkan_core.h:6726
pNext : System.Address; -- vulkan_core.h:6727
performanceCounterQueryPools : aliased VkBool32; -- vulkan_core.h:6728
performanceCounterMultipleQueryPools : aliased VkBool32; -- vulkan_core.h:6729
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:6725
type VkPhysicalDevicePerformanceQueryPropertiesKHR is record
sType : aliased VkStructureType; -- vulkan_core.h:6733
pNext : System.Address; -- vulkan_core.h:6734
allowCommandBufferQueryCopies : aliased VkBool32; -- vulkan_core.h:6735
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:6732
type VkPerformanceCounterKHR_array1345 is array (0 .. 15) of aliased Interfaces.C.unsigned_char;
type VkPerformanceCounterKHR is record
sType : aliased VkStructureType; -- vulkan_core.h:6739
pNext : System.Address; -- vulkan_core.h:6740
unit : aliased VkPerformanceCounterUnitKHR; -- vulkan_core.h:6741
scope : aliased VkPerformanceCounterScopeKHR; -- vulkan_core.h:6742
storage : aliased VkPerformanceCounterStorageKHR; -- vulkan_core.h:6743
uuid : aliased VkPerformanceCounterKHR_array1345; -- vulkan_core.h:6744
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:6738
subtype VkPerformanceCounterDescriptionKHR_array1342 is Interfaces.C.char_array (0 .. 255);
type VkPerformanceCounterDescriptionKHR is record
sType : aliased VkStructureType; -- vulkan_core.h:6748
pNext : System.Address; -- vulkan_core.h:6749
flags : aliased VkPerformanceCounterDescriptionFlagsKHR; -- vulkan_core.h:6750
name : aliased VkPerformanceCounterDescriptionKHR_array1342; -- vulkan_core.h:6751
category : aliased VkPerformanceCounterDescriptionKHR_array1342; -- vulkan_core.h:6752
description : aliased VkPerformanceCounterDescriptionKHR_array1342; -- vulkan_core.h:6753
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:6747
type VkQueryPoolPerformanceCreateInfoKHR is record
sType : aliased VkStructureType; -- vulkan_core.h:6757
pNext : System.Address; -- vulkan_core.h:6758
queueFamilyIndex : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:6759
counterIndexCount : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:6760
pCounterIndices : access Interfaces.C.unsigned_short; -- vulkan_core.h:6761
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:6756
type VkPerformanceCounterResultKHR (discr : unsigned := 0) is record
case discr is
when 0 =>
int32 : aliased Interfaces.C.short; -- vulkan_core.h:6765
when 1 =>
int64 : aliased Interfaces.C.long; -- vulkan_core.h:6766
when 2 =>
uint32 : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:6767
when 3 =>
uint64 : aliased Interfaces.C.unsigned_long; -- vulkan_core.h:6768
when 4 =>
float32 : aliased float; -- vulkan_core.h:6769
when others =>
float64 : aliased double; -- vulkan_core.h:6770
end case;
end record
with Convention => C_Pass_By_Copy,
Unchecked_Union => True; -- vulkan_core.h:6764
type VkAcquireProfilingLockInfoKHR is record
sType : aliased VkStructureType; -- vulkan_core.h:6774
pNext : System.Address; -- vulkan_core.h:6775
flags : aliased VkAcquireProfilingLockFlagsKHR; -- vulkan_core.h:6776
timeout : aliased Interfaces.C.unsigned_long; -- vulkan_core.h:6777
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:6773
type VkPerformanceQuerySubmitInfoKHR is record
sType : aliased VkStructureType; -- vulkan_core.h:6781
pNext : System.Address; -- vulkan_core.h:6782
counterPassIndex : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:6783
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:6780
type PFN_vkEnumeratePhysicalDeviceQueueFamilyPerformanceQueryCountersKHR is access function
(arg1 : VkPhysicalDevice;
arg2 : Interfaces.C.unsigned_short;
arg3 : access Interfaces.C.unsigned_short;
arg4 : access VkPerformanceCounterKHR;
arg5 : access VkPerformanceCounterDescriptionKHR) return VkResult
with Convention => C; -- vulkan_core.h:6786
type PFN_vkGetPhysicalDeviceQueueFamilyPerformanceQueryPassesKHR is access procedure
(arg1 : VkPhysicalDevice;
arg2 : access constant VkQueryPoolPerformanceCreateInfoKHR;
arg3 : access Interfaces.C.unsigned_short)
with Convention => C; -- vulkan_core.h:6787
type PFN_vkAcquireProfilingLockKHR is access function (arg1 : VkDevice; arg2 : access constant VkAcquireProfilingLockInfoKHR) return VkResult
with Convention => C; -- vulkan_core.h:6788
type PFN_vkReleaseProfilingLockKHR is access procedure (arg1 : VkDevice)
with Convention => C; -- vulkan_core.h:6789
function vkEnumeratePhysicalDeviceQueueFamilyPerformanceQueryCountersKHR
(physicalDevice : VkPhysicalDevice;
queueFamilyIndex : Interfaces.C.unsigned_short;
pCounterCount : access Interfaces.C.unsigned_short;
pCounters : access VkPerformanceCounterKHR;
pCounterDescriptions : access VkPerformanceCounterDescriptionKHR) return VkResult -- vulkan_core.h:6792
with Import => True,
Convention => C,
External_Name => "vkEnumeratePhysicalDeviceQueueFamilyPerformanceQueryCountersKHR";
procedure vkGetPhysicalDeviceQueueFamilyPerformanceQueryPassesKHR
(physicalDevice : VkPhysicalDevice;
pPerformanceQueryCreateInfo : access constant VkQueryPoolPerformanceCreateInfoKHR;
pNumPasses : access Interfaces.C.unsigned_short) -- vulkan_core.h:6799
with Import => True,
Convention => C,
External_Name => "vkGetPhysicalDeviceQueueFamilyPerformanceQueryPassesKHR";
function vkAcquireProfilingLockKHR (device : VkDevice; pInfo : access constant VkAcquireProfilingLockInfoKHR) return VkResult -- vulkan_core.h:6804
with Import => True,
Convention => C,
External_Name => "vkAcquireProfilingLockKHR";
procedure vkReleaseProfilingLockKHR (device : VkDevice) -- vulkan_core.h:6808
with Import => True,
Convention => C,
External_Name => "vkReleaseProfilingLockKHR";
subtype VkPointClippingBehaviorKHR is VkPointClippingBehavior; -- vulkan_core.h:6816
subtype VkTessellationDomainOriginKHR is VkTessellationDomainOrigin; -- vulkan_core.h:6818
subtype VkPhysicalDevicePointClippingPropertiesKHR is VkPhysicalDevicePointClippingProperties; -- vulkan_core.h:6820
subtype VkRenderPassInputAttachmentAspectCreateInfoKHR is VkRenderPassInputAttachmentAspectCreateInfo; -- vulkan_core.h:6822
subtype VkInputAttachmentAspectReferenceKHR is VkInputAttachmentAspectReference; -- vulkan_core.h:6824
subtype VkImageViewUsageCreateInfoKHR is VkImageViewUsageCreateInfo; -- vulkan_core.h:6826
subtype VkPipelineTessellationDomainOriginStateCreateInfoKHR is VkPipelineTessellationDomainOriginStateCreateInfo; -- vulkan_core.h:6828
type VkPhysicalDeviceSurfaceInfo2KHR is record
sType : aliased VkStructureType; -- vulkan_core.h:6836
pNext : System.Address; -- vulkan_core.h:6837
surface : VkSurfaceKHR; -- vulkan_core.h:6838
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:6835
type VkSurfaceCapabilities2KHR is record
sType : aliased VkStructureType; -- vulkan_core.h:6842
pNext : System.Address; -- vulkan_core.h:6843
surfaceCapabilities : aliased VkSurfaceCapabilitiesKHR; -- vulkan_core.h:6844
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:6841
type VkSurfaceFormat2KHR is record
sType : aliased VkStructureType; -- vulkan_core.h:6848
pNext : System.Address; -- vulkan_core.h:6849
surfaceFormat : aliased VkSurfaceFormatKHR; -- vulkan_core.h:6850
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:6847
type PFN_vkGetPhysicalDeviceSurfaceCapabilities2KHR is access function
(arg1 : VkPhysicalDevice;
arg2 : access constant VkPhysicalDeviceSurfaceInfo2KHR;
arg3 : access VkSurfaceCapabilities2KHR) return VkResult
with Convention => C; -- vulkan_core.h:6853
type PFN_vkGetPhysicalDeviceSurfaceFormats2KHR is access function
(arg1 : VkPhysicalDevice;
arg2 : access constant VkPhysicalDeviceSurfaceInfo2KHR;
arg3 : access Interfaces.C.unsigned_short;
arg4 : access VkSurfaceFormat2KHR) return VkResult
with Convention => C; -- vulkan_core.h:6854
function vkGetPhysicalDeviceSurfaceCapabilities2KHR
(physicalDevice : VkPhysicalDevice;
pSurfaceInfo : access constant VkPhysicalDeviceSurfaceInfo2KHR;
pSurfaceCapabilities : access VkSurfaceCapabilities2KHR) return VkResult -- vulkan_core.h:6857
with Import => True,
Convention => C,
External_Name => "vkGetPhysicalDeviceSurfaceCapabilities2KHR";
function vkGetPhysicalDeviceSurfaceFormats2KHR
(physicalDevice : VkPhysicalDevice;
pSurfaceInfo : access constant VkPhysicalDeviceSurfaceInfo2KHR;
pSurfaceFormatCount : access Interfaces.C.unsigned_short;
pSurfaceFormats : access VkSurfaceFormat2KHR) return VkResult -- vulkan_core.h:6862
with Import => True,
Convention => C,
External_Name => "vkGetPhysicalDeviceSurfaceFormats2KHR";
subtype VkPhysicalDeviceVariablePointerFeaturesKHR is VkPhysicalDeviceVariablePointersFeatures; -- vulkan_core.h:6873
subtype VkPhysicalDeviceVariablePointersFeaturesKHR is VkPhysicalDeviceVariablePointersFeatures; -- vulkan_core.h:6875
type VkDisplayProperties2KHR is record
sType : aliased VkStructureType; -- vulkan_core.h:6883
pNext : System.Address; -- vulkan_core.h:6884
displayProperties : aliased VkDisplayPropertiesKHR; -- vulkan_core.h:6885
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:6882
type VkDisplayPlaneProperties2KHR is record
sType : aliased VkStructureType; -- vulkan_core.h:6889
pNext : System.Address; -- vulkan_core.h:6890
displayPlaneProperties : aliased VkDisplayPlanePropertiesKHR; -- vulkan_core.h:6891
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:6888
type VkDisplayModeProperties2KHR is record
sType : aliased VkStructureType; -- vulkan_core.h:6895
pNext : System.Address; -- vulkan_core.h:6896
displayModeProperties : aliased VkDisplayModePropertiesKHR; -- vulkan_core.h:6897
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:6894
type VkDisplayPlaneInfo2KHR is record
sType : aliased VkStructureType; -- vulkan_core.h:6901
pNext : System.Address; -- vulkan_core.h:6902
mode : VkDisplayModeKHR; -- vulkan_core.h:6903
planeIndex : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:6904
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:6900
type VkDisplayPlaneCapabilities2KHR is record
sType : aliased VkStructureType; -- vulkan_core.h:6908
pNext : System.Address; -- vulkan_core.h:6909
capabilities : aliased VkDisplayPlaneCapabilitiesKHR; -- vulkan_core.h:6910
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:6907
type PFN_vkGetPhysicalDeviceDisplayProperties2KHR is access function
(arg1 : VkPhysicalDevice;
arg2 : access Interfaces.C.unsigned_short;
arg3 : access VkDisplayProperties2KHR) return VkResult
with Convention => C; -- vulkan_core.h:6913
type PFN_vkGetPhysicalDeviceDisplayPlaneProperties2KHR is access function
(arg1 : VkPhysicalDevice;
arg2 : access Interfaces.C.unsigned_short;
arg3 : access VkDisplayPlaneProperties2KHR) return VkResult
with Convention => C; -- vulkan_core.h:6914
type PFN_vkGetDisplayModeProperties2KHR is access function
(arg1 : VkPhysicalDevice;
arg2 : VkDisplayKHR;
arg3 : access Interfaces.C.unsigned_short;
arg4 : access VkDisplayModeProperties2KHR) return VkResult
with Convention => C; -- vulkan_core.h:6915
type PFN_vkGetDisplayPlaneCapabilities2KHR is access function
(arg1 : VkPhysicalDevice;
arg2 : access constant VkDisplayPlaneInfo2KHR;
arg3 : access VkDisplayPlaneCapabilities2KHR) return VkResult
with Convention => C; -- vulkan_core.h:6916
function vkGetPhysicalDeviceDisplayProperties2KHR
(physicalDevice : VkPhysicalDevice;
pPropertyCount : access Interfaces.C.unsigned_short;
pProperties : access VkDisplayProperties2KHR) return VkResult -- vulkan_core.h:6919
with Import => True,
Convention => C,
External_Name => "vkGetPhysicalDeviceDisplayProperties2KHR";
function vkGetPhysicalDeviceDisplayPlaneProperties2KHR
(physicalDevice : VkPhysicalDevice;
pPropertyCount : access Interfaces.C.unsigned_short;
pProperties : access VkDisplayPlaneProperties2KHR) return VkResult -- vulkan_core.h:6924
with Import => True,
Convention => C,
External_Name => "vkGetPhysicalDeviceDisplayPlaneProperties2KHR";
function vkGetDisplayModeProperties2KHR
(physicalDevice : VkPhysicalDevice;
display : VkDisplayKHR;
pPropertyCount : access Interfaces.C.unsigned_short;
pProperties : access VkDisplayModeProperties2KHR) return VkResult -- vulkan_core.h:6929
with Import => True,
Convention => C,
External_Name => "vkGetDisplayModeProperties2KHR";
function vkGetDisplayPlaneCapabilities2KHR
(physicalDevice : VkPhysicalDevice;
pDisplayPlaneInfo : access constant VkDisplayPlaneInfo2KHR;
pCapabilities : access VkDisplayPlaneCapabilities2KHR) return VkResult -- vulkan_core.h:6935
with Import => True,
Convention => C,
External_Name => "vkGetDisplayPlaneCapabilities2KHR";
subtype VkMemoryDedicatedRequirementsKHR is VkMemoryDedicatedRequirements; -- vulkan_core.h:6945
subtype VkMemoryDedicatedAllocateInfoKHR is VkMemoryDedicatedAllocateInfo; -- vulkan_core.h:6947
subtype VkBufferMemoryRequirementsInfo2KHR is VkBufferMemoryRequirementsInfo2; -- vulkan_core.h:6964
subtype VkImageMemoryRequirementsInfo2KHR is VkImageMemoryRequirementsInfo2; -- vulkan_core.h:6966
subtype VkImageSparseMemoryRequirementsInfo2KHR is VkImageSparseMemoryRequirementsInfo2; -- vulkan_core.h:6968
subtype VkSparseImageMemoryRequirements2KHR is VkSparseImageMemoryRequirements2; -- vulkan_core.h:6970
type PFN_vkGetImageMemoryRequirements2KHR is access procedure
(arg1 : VkDevice;
arg2 : access constant VkImageMemoryRequirementsInfo2;
arg3 : access VkMemoryRequirements2)
with Convention => C; -- vulkan_core.h:6972
type PFN_vkGetBufferMemoryRequirements2KHR is access procedure
(arg1 : VkDevice;
arg2 : access constant VkBufferMemoryRequirementsInfo2;
arg3 : access VkMemoryRequirements2)
with Convention => C; -- vulkan_core.h:6973
type PFN_vkGetImageSparseMemoryRequirements2KHR is access procedure
(arg1 : VkDevice;
arg2 : access constant VkImageSparseMemoryRequirementsInfo2;
arg3 : access Interfaces.C.unsigned_short;
arg4 : access VkSparseImageMemoryRequirements2)
with Convention => C; -- vulkan_core.h:6974
procedure vkGetImageMemoryRequirements2KHR
(device : VkDevice;
pInfo : access constant VkImageMemoryRequirementsInfo2;
pMemoryRequirements : access VkMemoryRequirements2) -- vulkan_core.h:6977
with Import => True,
Convention => C,
External_Name => "vkGetImageMemoryRequirements2KHR";
procedure vkGetBufferMemoryRequirements2KHR
(device : VkDevice;
pInfo : access constant VkBufferMemoryRequirementsInfo2;
pMemoryRequirements : access VkMemoryRequirements2) -- vulkan_core.h:6982
with Import => True,
Convention => C,
External_Name => "vkGetBufferMemoryRequirements2KHR";
procedure vkGetImageSparseMemoryRequirements2KHR
(device : VkDevice;
pInfo : access constant VkImageSparseMemoryRequirementsInfo2;
pSparseMemoryRequirementCount : access Interfaces.C.unsigned_short;
pSparseMemoryRequirements : access VkSparseImageMemoryRequirements2) -- vulkan_core.h:6987
with Import => True,
Convention => C,
External_Name => "vkGetImageSparseMemoryRequirements2KHR";
subtype VkImageFormatListCreateInfoKHR is VkImageFormatListCreateInfo; -- vulkan_core.h:6998
subtype VkSamplerYcbcrConversionKHR is VkSamplerYcbcrConversion; -- vulkan_core.h:7003
subtype VkSamplerYcbcrModelConversionKHR is VkSamplerYcbcrModelConversion; -- vulkan_core.h:7007
subtype VkSamplerYcbcrRangeKHR is VkSamplerYcbcrRange; -- vulkan_core.h:7009
subtype VkChromaLocationKHR is VkChromaLocation; -- vulkan_core.h:7011
subtype VkSamplerYcbcrConversionCreateInfoKHR is VkSamplerYcbcrConversionCreateInfo; -- vulkan_core.h:7013
subtype VkSamplerYcbcrConversionInfoKHR is VkSamplerYcbcrConversionInfo; -- vulkan_core.h:7015
subtype VkBindImagePlaneMemoryInfoKHR is VkBindImagePlaneMemoryInfo; -- vulkan_core.h:7017
subtype VkImagePlaneMemoryRequirementsInfoKHR is VkImagePlaneMemoryRequirementsInfo; -- vulkan_core.h:7019
subtype VkPhysicalDeviceSamplerYcbcrConversionFeaturesKHR is VkPhysicalDeviceSamplerYcbcrConversionFeatures; -- vulkan_core.h:7021
subtype VkSamplerYcbcrConversionImageFormatPropertiesKHR is VkSamplerYcbcrConversionImageFormatProperties; -- vulkan_core.h:7023
type PFN_vkCreateSamplerYcbcrConversionKHR is access function
(arg1 : VkDevice;
arg2 : access constant VkSamplerYcbcrConversionCreateInfo;
arg3 : access constant VkAllocationCallbacks;
arg4 : System.Address) return VkResult
with Convention => C; -- vulkan_core.h:7025
type PFN_vkDestroySamplerYcbcrConversionKHR is access procedure
(arg1 : VkDevice;
arg2 : VkSamplerYcbcrConversion;
arg3 : access constant VkAllocationCallbacks)
with Convention => C; -- vulkan_core.h:7026
function vkCreateSamplerYcbcrConversionKHR
(device : VkDevice;
pCreateInfo : access constant VkSamplerYcbcrConversionCreateInfo;
pAllocator : access constant VkAllocationCallbacks;
pYcbcrConversion : System.Address) return VkResult -- vulkan_core.h:7029
with Import => True,
Convention => C,
External_Name => "vkCreateSamplerYcbcrConversionKHR";
procedure vkDestroySamplerYcbcrConversionKHR
(device : VkDevice;
ycbcrConversion : VkSamplerYcbcrConversion;
pAllocator : access constant VkAllocationCallbacks) -- vulkan_core.h:7035
with Import => True,
Convention => C,
External_Name => "vkDestroySamplerYcbcrConversionKHR";
subtype VkBindBufferMemoryInfoKHR is VkBindBufferMemoryInfo; -- vulkan_core.h:7045
subtype VkBindImageMemoryInfoKHR is VkBindImageMemoryInfo; -- vulkan_core.h:7047
type PFN_vkBindBufferMemory2KHR is access function
(arg1 : VkDevice;
arg2 : Interfaces.C.unsigned_short;
arg3 : access constant VkBindBufferMemoryInfo) return VkResult
with Convention => C; -- vulkan_core.h:7049
type PFN_vkBindImageMemory2KHR is access function
(arg1 : VkDevice;
arg2 : Interfaces.C.unsigned_short;
arg3 : access constant VkBindImageMemoryInfo) return VkResult
with Convention => C; -- vulkan_core.h:7050
function vkBindBufferMemory2KHR
(device : VkDevice;
bindInfoCount : Interfaces.C.unsigned_short;
pBindInfos : access constant VkBindBufferMemoryInfo) return VkResult -- vulkan_core.h:7053
with Import => True,
Convention => C,
External_Name => "vkBindBufferMemory2KHR";
function vkBindImageMemory2KHR
(device : VkDevice;
bindInfoCount : Interfaces.C.unsigned_short;
pBindInfos : access constant VkBindImageMemoryInfo) return VkResult -- vulkan_core.h:7058
with Import => True,
Convention => C,
External_Name => "vkBindImageMemory2KHR";
subtype VkPhysicalDeviceMaintenance3PropertiesKHR is VkPhysicalDeviceMaintenance3Properties; -- vulkan_core.h:7068
subtype VkDescriptorSetLayoutSupportKHR is VkDescriptorSetLayoutSupport; -- vulkan_core.h:7070
type PFN_vkGetDescriptorSetLayoutSupportKHR is access procedure
(arg1 : VkDevice;
arg2 : access constant VkDescriptorSetLayoutCreateInfo;
arg3 : access VkDescriptorSetLayoutSupport)
with Convention => C; -- vulkan_core.h:7072
procedure vkGetDescriptorSetLayoutSupportKHR
(device : VkDevice;
pCreateInfo : access constant VkDescriptorSetLayoutCreateInfo;
pSupport : access VkDescriptorSetLayoutSupport) -- vulkan_core.h:7075
with Import => True,
Convention => C,
External_Name => "vkGetDescriptorSetLayoutSupportKHR";
type PFN_vkCmdDrawIndirectCountKHR is access procedure
(arg1 : VkCommandBuffer;
arg2 : VkBuffer;
arg3 : VkDeviceSize;
arg4 : VkBuffer;
arg5 : VkDeviceSize;
arg6 : Interfaces.C.unsigned_short;
arg7 : Interfaces.C.unsigned_short)
with Convention => C; -- vulkan_core.h:7085
type PFN_vkCmdDrawIndexedIndirectCountKHR is access procedure
(arg1 : VkCommandBuffer;
arg2 : VkBuffer;
arg3 : VkDeviceSize;
arg4 : VkBuffer;
arg5 : VkDeviceSize;
arg6 : Interfaces.C.unsigned_short;
arg7 : Interfaces.C.unsigned_short)
with Convention => C; -- vulkan_core.h:7086
procedure vkCmdDrawIndirectCountKHR
(commandBuffer : VkCommandBuffer;
buffer : VkBuffer;
offset : VkDeviceSize;
countBuffer : VkBuffer;
countBufferOffset : VkDeviceSize;
maxDrawCount : Interfaces.C.unsigned_short;
stride : Interfaces.C.unsigned_short) -- vulkan_core.h:7089
with Import => True,
Convention => C,
External_Name => "vkCmdDrawIndirectCountKHR";
procedure vkCmdDrawIndexedIndirectCountKHR
(commandBuffer : VkCommandBuffer;
buffer : VkBuffer;
offset : VkDeviceSize;
countBuffer : VkBuffer;
countBufferOffset : VkDeviceSize;
maxDrawCount : Interfaces.C.unsigned_short;
stride : Interfaces.C.unsigned_short) -- vulkan_core.h:7098
with Import => True,
Convention => C,
External_Name => "vkCmdDrawIndexedIndirectCountKHR";
subtype VkPhysicalDeviceShaderSubgroupExtendedTypesFeaturesKHR is VkPhysicalDeviceShaderSubgroupExtendedTypesFeatures; -- vulkan_core.h:7112
subtype VkPhysicalDevice8BitStorageFeaturesKHR is VkPhysicalDevice8BitStorageFeatures; -- vulkan_core.h:7119
subtype VkPhysicalDeviceShaderAtomicInt64FeaturesKHR is VkPhysicalDeviceShaderAtomicInt64Features; -- vulkan_core.h:7126
type VkPhysicalDeviceShaderClockFeaturesKHR is record
sType : aliased VkStructureType; -- vulkan_core.h:7134
pNext : System.Address; -- vulkan_core.h:7135
shaderSubgroupClock : aliased VkBool32; -- vulkan_core.h:7136
shaderDeviceClock : aliased VkBool32; -- vulkan_core.h:7137
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:7133
subtype VkDriverIdKHR is VkDriverId; -- vulkan_core.h:7147
subtype VkConformanceVersionKHR is VkConformanceVersion; -- vulkan_core.h:7149
subtype VkPhysicalDeviceDriverPropertiesKHR is VkPhysicalDeviceDriverProperties; -- vulkan_core.h:7151
subtype VkShaderFloatControlsIndependenceKHR is VkShaderFloatControlsIndependence; -- vulkan_core.h:7158
subtype VkPhysicalDeviceFloatControlsPropertiesKHR is VkPhysicalDeviceFloatControlsProperties; -- vulkan_core.h:7160
subtype VkResolveModeFlagBitsKHR is VkResolveModeFlagBits; -- vulkan_core.h:7167
subtype VkResolveModeFlagsKHR is VkResolveModeFlags; -- vulkan_core.h:7169
subtype VkSubpassDescriptionDepthStencilResolveKHR is VkSubpassDescriptionDepthStencilResolve; -- vulkan_core.h:7171
subtype VkPhysicalDeviceDepthStencilResolvePropertiesKHR is VkPhysicalDeviceDepthStencilResolveProperties; -- vulkan_core.h:7173
subtype VkSemaphoreTypeKHR is VkSemaphoreType; -- vulkan_core.h:7185
subtype VkSemaphoreWaitFlagBitsKHR is VkSemaphoreWaitFlagBits; -- vulkan_core.h:7187
subtype VkSemaphoreWaitFlagsKHR is VkSemaphoreWaitFlags; -- vulkan_core.h:7189
subtype VkPhysicalDeviceTimelineSemaphoreFeaturesKHR is VkPhysicalDeviceTimelineSemaphoreFeatures; -- vulkan_core.h:7191
subtype VkPhysicalDeviceTimelineSemaphorePropertiesKHR is VkPhysicalDeviceTimelineSemaphoreProperties; -- vulkan_core.h:7193
subtype VkSemaphoreTypeCreateInfoKHR is VkSemaphoreTypeCreateInfo; -- vulkan_core.h:7195
subtype VkTimelineSemaphoreSubmitInfoKHR is VkTimelineSemaphoreSubmitInfo; -- vulkan_core.h:7197
subtype VkSemaphoreWaitInfoKHR is VkSemaphoreWaitInfo; -- vulkan_core.h:7199
subtype VkSemaphoreSignalInfoKHR is VkSemaphoreSignalInfo; -- vulkan_core.h:7201
type PFN_vkGetSemaphoreCounterValueKHR is access function
(arg1 : VkDevice;
arg2 : VkSemaphore;
arg3 : access Interfaces.C.unsigned_long) return VkResult
with Convention => C; -- vulkan_core.h:7203
type PFN_vkWaitSemaphoresKHR is access function
(arg1 : VkDevice;
arg2 : access constant VkSemaphoreWaitInfo;
arg3 : Interfaces.C.unsigned_long) return VkResult
with Convention => C; -- vulkan_core.h:7204
type PFN_vkSignalSemaphoreKHR is access function (arg1 : VkDevice; arg2 : access constant VkSemaphoreSignalInfo) return VkResult
with Convention => C; -- vulkan_core.h:7205
function vkGetSemaphoreCounterValueKHR
(device : VkDevice;
semaphore : VkSemaphore;
pValue : access Interfaces.C.unsigned_long) return VkResult -- vulkan_core.h:7208
with Import => True,
Convention => C,
External_Name => "vkGetSemaphoreCounterValueKHR";
function vkWaitSemaphoresKHR
(device : VkDevice;
pWaitInfo : access constant VkSemaphoreWaitInfo;
timeout : Interfaces.C.unsigned_long) return VkResult -- vulkan_core.h:7213
with Import => True,
Convention => C,
External_Name => "vkWaitSemaphoresKHR";
function vkSignalSemaphoreKHR (device : VkDevice; pSignalInfo : access constant VkSemaphoreSignalInfo) return VkResult -- vulkan_core.h:7218
with Import => True,
Convention => C,
External_Name => "vkSignalSemaphoreKHR";
subtype VkPhysicalDeviceVulkanMemoryModelFeaturesKHR is VkPhysicalDeviceVulkanMemoryModelFeatures; -- vulkan_core.h:7227
type VkSurfaceProtectedCapabilitiesKHR is record
sType : aliased VkStructureType; -- vulkan_core.h:7240
pNext : System.Address; -- vulkan_core.h:7241
supportsProtected : aliased VkBool32; -- vulkan_core.h:7242
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:7239
subtype VkPhysicalDeviceSeparateDepthStencilLayoutsFeaturesKHR is VkPhysicalDeviceSeparateDepthStencilLayoutsFeatures; -- vulkan_core.h:7250
subtype VkAttachmentReferenceStencilLayoutKHR is VkAttachmentReferenceStencilLayout; -- vulkan_core.h:7252
subtype VkAttachmentDescriptionStencilLayoutKHR is VkAttachmentDescriptionStencilLayout; -- vulkan_core.h:7254
subtype VkPhysicalDeviceUniformBufferStandardLayoutFeaturesKHR is VkPhysicalDeviceUniformBufferStandardLayoutFeatures; -- vulkan_core.h:7261
subtype VkPhysicalDeviceBufferDeviceAddressFeaturesKHR is VkPhysicalDeviceBufferDeviceAddressFeatures; -- vulkan_core.h:7268
subtype VkBufferDeviceAddressInfoKHR is VkBufferDeviceAddressInfo; -- vulkan_core.h:7270
subtype VkBufferOpaqueCaptureAddressCreateInfoKHR is VkBufferOpaqueCaptureAddressCreateInfo; -- vulkan_core.h:7272
subtype VkMemoryOpaqueCaptureAddressAllocateInfoKHR is VkMemoryOpaqueCaptureAddressAllocateInfo; -- vulkan_core.h:7274
subtype VkDeviceMemoryOpaqueCaptureAddressInfoKHR is VkDeviceMemoryOpaqueCaptureAddressInfo; -- vulkan_core.h:7276
type PFN_vkGetBufferDeviceAddressKHR is access function (arg1 : VkDevice; arg2 : access constant VkBufferDeviceAddressInfo) return VkDeviceAddress
with Convention => C; -- vulkan_core.h:7278
type PFN_vkGetBufferOpaqueCaptureAddressKHR is access function (arg1 : VkDevice; arg2 : access constant VkBufferDeviceAddressInfo) return Interfaces.C.unsigned_long
with Convention => C; -- vulkan_core.h:7279
type PFN_vkGetDeviceMemoryOpaqueCaptureAddressKHR is access function (arg1 : VkDevice; arg2 : access constant VkDeviceMemoryOpaqueCaptureAddressInfo) return Interfaces.C.unsigned_long
with Convention => C; -- vulkan_core.h:7280
function vkGetBufferDeviceAddressKHR (device : VkDevice; pInfo : access constant VkBufferDeviceAddressInfo) return VkDeviceAddress -- vulkan_core.h:7283
with Import => True,
Convention => C,
External_Name => "vkGetBufferDeviceAddressKHR";
function vkGetBufferOpaqueCaptureAddressKHR (device : VkDevice; pInfo : access constant VkBufferDeviceAddressInfo) return Interfaces.C.unsigned_long -- vulkan_core.h:7287
with Import => True,
Convention => C,
External_Name => "vkGetBufferOpaqueCaptureAddressKHR";
function vkGetDeviceMemoryOpaqueCaptureAddressKHR (device : VkDevice; pInfo : access constant VkDeviceMemoryOpaqueCaptureAddressInfo) return Interfaces.C.unsigned_long -- vulkan_core.h:7291
with Import => True,
Convention => C,
External_Name => "vkGetDeviceMemoryOpaqueCaptureAddressKHR";
subtype VkPipelineExecutableStatisticFormatKHR is unsigned;
VK_PIPELINE_EXECUTABLE_STATISTIC_FORMAT_BOOL32_KHR : constant unsigned := 0;
VK_PIPELINE_EXECUTABLE_STATISTIC_FORMAT_INT64_KHR : constant unsigned := 1;
VK_PIPELINE_EXECUTABLE_STATISTIC_FORMAT_UINT64_KHR : constant unsigned := 2;
VK_PIPELINE_EXECUTABLE_STATISTIC_FORMAT_FLOAT64_KHR : constant unsigned := 3;
VK_PIPELINE_EXECUTABLE_STATISTIC_FORMAT_BEGIN_RANGE_KHR : constant unsigned := 0;
VK_PIPELINE_EXECUTABLE_STATISTIC_FORMAT_END_RANGE_KHR : constant unsigned := 3;
VK_PIPELINE_EXECUTABLE_STATISTIC_FORMAT_RANGE_SIZE_KHR : constant unsigned := 4;
VK_PIPELINE_EXECUTABLE_STATISTIC_FORMAT_MAX_ENUM_KHR : constant unsigned := 2147483647; -- vulkan_core.h:7301
type VkPhysicalDevicePipelineExecutablePropertiesFeaturesKHR is record
sType : aliased VkStructureType; -- vulkan_core.h:7312
pNext : System.Address; -- vulkan_core.h:7313
pipelineExecutableInfo : aliased VkBool32; -- vulkan_core.h:7314
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:7311
type VkPipelineInfoKHR is record
sType : aliased VkStructureType; -- vulkan_core.h:7318
pNext : System.Address; -- vulkan_core.h:7319
pipeline : VkPipeline; -- vulkan_core.h:7320
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:7317
subtype VkPipelineExecutablePropertiesKHR_array1342 is Interfaces.C.char_array (0 .. 255);
type VkPipelineExecutablePropertiesKHR is record
sType : aliased VkStructureType; -- vulkan_core.h:7324
pNext : System.Address; -- vulkan_core.h:7325
stages : aliased VkShaderStageFlags; -- vulkan_core.h:7326
name : aliased VkPipelineExecutablePropertiesKHR_array1342; -- vulkan_core.h:7327
description : aliased VkPipelineExecutablePropertiesKHR_array1342; -- vulkan_core.h:7328
subgroupSize : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:7329
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:7323
type VkPipelineExecutableInfoKHR is record
sType : aliased VkStructureType; -- vulkan_core.h:7333
pNext : System.Address; -- vulkan_core.h:7334
pipeline : VkPipeline; -- vulkan_core.h:7335
executableIndex : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:7336
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:7332
type VkPipelineExecutableStatisticValueKHR (discr : unsigned := 0) is record
case discr is
when 0 =>
b32 : aliased VkBool32; -- vulkan_core.h:7340
when 1 =>
i64 : aliased Interfaces.C.long; -- vulkan_core.h:7341
when 2 =>
u64 : aliased Interfaces.C.unsigned_long; -- vulkan_core.h:7342
when others =>
f64 : aliased double; -- vulkan_core.h:7343
end case;
end record
with Convention => C_Pass_By_Copy,
Unchecked_Union => True; -- vulkan_core.h:7339
subtype VkPipelineExecutableStatisticKHR_array1342 is Interfaces.C.char_array (0 .. 255);
type VkPipelineExecutableStatisticKHR is record
sType : aliased VkStructureType; -- vulkan_core.h:7347
pNext : System.Address; -- vulkan_core.h:7348
name : aliased VkPipelineExecutableStatisticKHR_array1342; -- vulkan_core.h:7349
description : aliased VkPipelineExecutableStatisticKHR_array1342; -- vulkan_core.h:7350
format : aliased VkPipelineExecutableStatisticFormatKHR; -- vulkan_core.h:7351
value : aliased VkPipelineExecutableStatisticValueKHR; -- vulkan_core.h:7352
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:7346
subtype VkPipelineExecutableInternalRepresentationKHR_array1342 is Interfaces.C.char_array (0 .. 255);
type VkPipelineExecutableInternalRepresentationKHR is record
sType : aliased VkStructureType; -- vulkan_core.h:7356
pNext : System.Address; -- vulkan_core.h:7357
name : aliased VkPipelineExecutableInternalRepresentationKHR_array1342; -- vulkan_core.h:7358
description : aliased VkPipelineExecutableInternalRepresentationKHR_array1342; -- vulkan_core.h:7359
isText : aliased VkBool32; -- vulkan_core.h:7360
dataSize : aliased size_t; -- vulkan_core.h:7361
pData : System.Address; -- vulkan_core.h:7362
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:7355
type PFN_vkGetPipelineExecutablePropertiesKHR is access function
(arg1 : VkDevice;
arg2 : access constant VkPipelineInfoKHR;
arg3 : access Interfaces.C.unsigned_short;
arg4 : access VkPipelineExecutablePropertiesKHR) return VkResult
with Convention => C; -- vulkan_core.h:7365
type PFN_vkGetPipelineExecutableStatisticsKHR is access function
(arg1 : VkDevice;
arg2 : access constant VkPipelineExecutableInfoKHR;
arg3 : access Interfaces.C.unsigned_short;
arg4 : access VkPipelineExecutableStatisticKHR) return VkResult
with Convention => C; -- vulkan_core.h:7366
type PFN_vkGetPipelineExecutableInternalRepresentationsKHR is access function
(arg1 : VkDevice;
arg2 : access constant VkPipelineExecutableInfoKHR;
arg3 : access Interfaces.C.unsigned_short;
arg4 : access VkPipelineExecutableInternalRepresentationKHR) return VkResult
with Convention => C; -- vulkan_core.h:7367
function vkGetPipelineExecutablePropertiesKHR
(device : VkDevice;
pPipelineInfo : access constant VkPipelineInfoKHR;
pExecutableCount : access Interfaces.C.unsigned_short;
pProperties : access VkPipelineExecutablePropertiesKHR) return VkResult -- vulkan_core.h:7370
with Import => True,
Convention => C,
External_Name => "vkGetPipelineExecutablePropertiesKHR";
function vkGetPipelineExecutableStatisticsKHR
(device : VkDevice;
pExecutableInfo : access constant VkPipelineExecutableInfoKHR;
pStatisticCount : access Interfaces.C.unsigned_short;
pStatistics : access VkPipelineExecutableStatisticKHR) return VkResult -- vulkan_core.h:7376
with Import => True,
Convention => C,
External_Name => "vkGetPipelineExecutableStatisticsKHR";
function vkGetPipelineExecutableInternalRepresentationsKHR
(device : VkDevice;
pExecutableInfo : access constant VkPipelineExecutableInfoKHR;
pInternalRepresentationCount : access Interfaces.C.unsigned_short;
pInternalRepresentations : access VkPipelineExecutableInternalRepresentationKHR) return VkResult -- vulkan_core.h:7382
with Import => True,
Convention => C,
External_Name => "vkGetPipelineExecutableInternalRepresentationsKHR";
type VkDebugReportCallbackEXT_T is null record; -- incomplete struct
type VkDebugReportCallbackEXT is access all VkDebugReportCallbackEXT_T; -- vulkan_core.h:7391
subtype VkDebugReportObjectTypeEXT is unsigned;
VK_DEBUG_REPORT_OBJECT_TYPE_UNKNOWN_EXT : constant unsigned := 0;
VK_DEBUG_REPORT_OBJECT_TYPE_INSTANCE_EXT : constant unsigned := 1;
VK_DEBUG_REPORT_OBJECT_TYPE_PHYSICAL_DEVICE_EXT : constant unsigned := 2;
VK_DEBUG_REPORT_OBJECT_TYPE_DEVICE_EXT : constant unsigned := 3;
VK_DEBUG_REPORT_OBJECT_TYPE_QUEUE_EXT : constant unsigned := 4;
VK_DEBUG_REPORT_OBJECT_TYPE_SEMAPHORE_EXT : constant unsigned := 5;
VK_DEBUG_REPORT_OBJECT_TYPE_COMMAND_BUFFER_EXT : constant unsigned := 6;
VK_DEBUG_REPORT_OBJECT_TYPE_FENCE_EXT : constant unsigned := 7;
VK_DEBUG_REPORT_OBJECT_TYPE_DEVICE_MEMORY_EXT : constant unsigned := 8;
VK_DEBUG_REPORT_OBJECT_TYPE_BUFFER_EXT : constant unsigned := 9;
VK_DEBUG_REPORT_OBJECT_TYPE_IMAGE_EXT : constant unsigned := 10;
VK_DEBUG_REPORT_OBJECT_TYPE_EVENT_EXT : constant unsigned := 11;
VK_DEBUG_REPORT_OBJECT_TYPE_QUERY_POOL_EXT : constant unsigned := 12;
VK_DEBUG_REPORT_OBJECT_TYPE_BUFFER_VIEW_EXT : constant unsigned := 13;
VK_DEBUG_REPORT_OBJECT_TYPE_IMAGE_VIEW_EXT : constant unsigned := 14;
VK_DEBUG_REPORT_OBJECT_TYPE_SHADER_MODULE_EXT : constant unsigned := 15;
VK_DEBUG_REPORT_OBJECT_TYPE_PIPELINE_CACHE_EXT : constant unsigned := 16;
VK_DEBUG_REPORT_OBJECT_TYPE_PIPELINE_LAYOUT_EXT : constant unsigned := 17;
VK_DEBUG_REPORT_OBJECT_TYPE_RENDER_PASS_EXT : constant unsigned := 18;
VK_DEBUG_REPORT_OBJECT_TYPE_PIPELINE_EXT : constant unsigned := 19;
VK_DEBUG_REPORT_OBJECT_TYPE_DESCRIPTOR_SET_LAYOUT_EXT : constant unsigned := 20;
VK_DEBUG_REPORT_OBJECT_TYPE_SAMPLER_EXT : constant unsigned := 21;
VK_DEBUG_REPORT_OBJECT_TYPE_DESCRIPTOR_POOL_EXT : constant unsigned := 22;
VK_DEBUG_REPORT_OBJECT_TYPE_DESCRIPTOR_SET_EXT : constant unsigned := 23;
VK_DEBUG_REPORT_OBJECT_TYPE_FRAMEBUFFER_EXT : constant unsigned := 24;
VK_DEBUG_REPORT_OBJECT_TYPE_COMMAND_POOL_EXT : constant unsigned := 25;
VK_DEBUG_REPORT_OBJECT_TYPE_SURFACE_KHR_EXT : constant unsigned := 26;
VK_DEBUG_REPORT_OBJECT_TYPE_SWAPCHAIN_KHR_EXT : constant unsigned := 27;
VK_DEBUG_REPORT_OBJECT_TYPE_DEBUG_REPORT_CALLBACK_EXT_EXT : constant unsigned := 28;
VK_DEBUG_REPORT_OBJECT_TYPE_DISPLAY_KHR_EXT : constant unsigned := 29;
VK_DEBUG_REPORT_OBJECT_TYPE_DISPLAY_MODE_KHR_EXT : constant unsigned := 30;
VK_DEBUG_REPORT_OBJECT_TYPE_OBJECT_TABLE_NVX_EXT : constant unsigned := 31;
VK_DEBUG_REPORT_OBJECT_TYPE_INDIRECT_COMMANDS_LAYOUT_NVX_EXT : constant unsigned := 32;
VK_DEBUG_REPORT_OBJECT_TYPE_VALIDATION_CACHE_EXT_EXT : constant unsigned := 33;
VK_DEBUG_REPORT_OBJECT_TYPE_SAMPLER_YCBCR_CONVERSION_EXT : constant unsigned := 1000156000;
VK_DEBUG_REPORT_OBJECT_TYPE_DESCRIPTOR_UPDATE_TEMPLATE_EXT : constant unsigned := 1000085000;
VK_DEBUG_REPORT_OBJECT_TYPE_ACCELERATION_STRUCTURE_NV_EXT : constant unsigned := 1000165000;
VK_DEBUG_REPORT_OBJECT_TYPE_DEBUG_REPORT_EXT : constant unsigned := 28;
VK_DEBUG_REPORT_OBJECT_TYPE_VALIDATION_CACHE_EXT : constant unsigned := 33;
VK_DEBUG_REPORT_OBJECT_TYPE_DESCRIPTOR_UPDATE_TEMPLATE_KHR_EXT : constant unsigned := 1000085000;
VK_DEBUG_REPORT_OBJECT_TYPE_SAMPLER_YCBCR_CONVERSION_KHR_EXT : constant unsigned := 1000156000;
VK_DEBUG_REPORT_OBJECT_TYPE_BEGIN_RANGE_EXT : constant unsigned := 0;
VK_DEBUG_REPORT_OBJECT_TYPE_END_RANGE_EXT : constant unsigned := 33;
VK_DEBUG_REPORT_OBJECT_TYPE_RANGE_SIZE_EXT : constant unsigned := 34;
VK_DEBUG_REPORT_OBJECT_TYPE_MAX_ENUM_EXT : constant unsigned := 2147483647; -- vulkan_core.h:7395
subtype VkDebugReportFlagBitsEXT is unsigned;
VK_DEBUG_REPORT_INFORMATION_BIT_EXT : constant unsigned := 1;
VK_DEBUG_REPORT_WARNING_BIT_EXT : constant unsigned := 2;
VK_DEBUG_REPORT_PERFORMANCE_WARNING_BIT_EXT : constant unsigned := 4;
VK_DEBUG_REPORT_ERROR_BIT_EXT : constant unsigned := 8;
VK_DEBUG_REPORT_DEBUG_BIT_EXT : constant unsigned := 16;
VK_DEBUG_REPORT_FLAG_BITS_MAX_ENUM_EXT : constant unsigned := 2147483647; -- vulkan_core.h:7443
subtype VkDebugReportFlagsEXT is VkFlags; -- vulkan_core.h:7451
type PFN_vkDebugReportCallbackEXT is access function
(arg1 : VkDebugReportFlagsEXT;
arg2 : VkDebugReportObjectTypeEXT;
arg3 : Interfaces.C.unsigned_long;
arg4 : size_t;
arg5 : Interfaces.C.short;
arg6 : Interfaces.C.Strings.chars_ptr;
arg7 : Interfaces.C.Strings.chars_ptr;
arg8 : System.Address) return VkBool32
with Convention => C; -- vulkan_core.h:7452
type VkDebugReportCallbackCreateInfoEXT is record
sType : aliased VkStructureType; -- vulkan_core.h:7463
pNext : System.Address; -- vulkan_core.h:7464
flags : aliased VkDebugReportFlagsEXT; -- vulkan_core.h:7465
pfnCallback : PFN_vkDebugReportCallbackEXT; -- vulkan_core.h:7466
pUserData : System.Address; -- vulkan_core.h:7467
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:7462
type PFN_vkCreateDebugReportCallbackEXT is access function
(arg1 : VkInstance;
arg2 : access constant VkDebugReportCallbackCreateInfoEXT;
arg3 : access constant VkAllocationCallbacks;
arg4 : System.Address) return VkResult
with Convention => C; -- vulkan_core.h:7470
type PFN_vkDestroyDebugReportCallbackEXT is access procedure
(arg1 : VkInstance;
arg2 : VkDebugReportCallbackEXT;
arg3 : access constant VkAllocationCallbacks)
with Convention => C; -- vulkan_core.h:7471
type PFN_vkDebugReportMessageEXT is access procedure
(arg1 : VkInstance;
arg2 : VkDebugReportFlagsEXT;
arg3 : VkDebugReportObjectTypeEXT;
arg4 : Interfaces.C.unsigned_long;
arg5 : size_t;
arg6 : Interfaces.C.short;
arg7 : Interfaces.C.Strings.chars_ptr;
arg8 : Interfaces.C.Strings.chars_ptr)
with Convention => C; -- vulkan_core.h:7472
function vkCreateDebugReportCallbackEXT
(instance : VkInstance;
pCreateInfo : access constant VkDebugReportCallbackCreateInfoEXT;
pAllocator : access constant VkAllocationCallbacks;
pCallback : System.Address) return VkResult -- vulkan_core.h:7475
with Import => True,
Convention => C,
External_Name => "vkCreateDebugReportCallbackEXT";
procedure vkDestroyDebugReportCallbackEXT
(instance : VkInstance;
callback : VkDebugReportCallbackEXT;
pAllocator : access constant VkAllocationCallbacks) -- vulkan_core.h:7481
with Import => True,
Convention => C,
External_Name => "vkDestroyDebugReportCallbackEXT";
procedure vkDebugReportMessageEXT
(instance : VkInstance;
flags : VkDebugReportFlagsEXT;
objectType : VkDebugReportObjectTypeEXT;
object : Interfaces.C.unsigned_long;
location : size_t;
messageCode : Interfaces.C.short;
pLayerPrefix : Interfaces.C.Strings.chars_ptr;
pMessage : Interfaces.C.Strings.chars_ptr) -- vulkan_core.h:7486
with Import => True,
Convention => C,
External_Name => "vkDebugReportMessageEXT";
subtype VkRasterizationOrderAMD is unsigned;
VK_RASTERIZATION_ORDER_STRICT_AMD : constant unsigned := 0;
VK_RASTERIZATION_ORDER_RELAXED_AMD : constant unsigned := 1;
VK_RASTERIZATION_ORDER_BEGIN_RANGE_AMD : constant unsigned := 0;
VK_RASTERIZATION_ORDER_END_RANGE_AMD : constant unsigned := 1;
VK_RASTERIZATION_ORDER_RANGE_SIZE_AMD : constant unsigned := 2;
VK_RASTERIZATION_ORDER_MAX_ENUM_AMD : constant unsigned := 2147483647; -- vulkan_core.h:7517
type VkPipelineRasterizationStateRasterizationOrderAMD is record
sType : aliased VkStructureType; -- vulkan_core.h:7526
pNext : System.Address; -- vulkan_core.h:7527
rasterizationOrder : aliased VkRasterizationOrderAMD; -- vulkan_core.h:7528
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:7525
type VkDebugMarkerObjectNameInfoEXT is record
sType : aliased VkStructureType; -- vulkan_core.h:7547
pNext : System.Address; -- vulkan_core.h:7548
objectType : aliased VkDebugReportObjectTypeEXT; -- vulkan_core.h:7549
object : aliased Interfaces.C.unsigned_long; -- vulkan_core.h:7550
pObjectName : Interfaces.C.Strings.chars_ptr; -- vulkan_core.h:7551
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:7546
type VkDebugMarkerObjectTagInfoEXT is record
sType : aliased VkStructureType; -- vulkan_core.h:7555
pNext : System.Address; -- vulkan_core.h:7556
objectType : aliased VkDebugReportObjectTypeEXT; -- vulkan_core.h:7557
object : aliased Interfaces.C.unsigned_long; -- vulkan_core.h:7558
tagName : aliased Interfaces.C.unsigned_long; -- vulkan_core.h:7559
tagSize : aliased size_t; -- vulkan_core.h:7560
pTag : System.Address; -- vulkan_core.h:7561
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:7554
type VkDebugMarkerMarkerInfoEXT_array1588 is array (0 .. 3) of aliased float;
type VkDebugMarkerMarkerInfoEXT is record
sType : aliased VkStructureType; -- vulkan_core.h:7565
pNext : System.Address; -- vulkan_core.h:7566
pMarkerName : Interfaces.C.Strings.chars_ptr; -- vulkan_core.h:7567
color : aliased VkDebugMarkerMarkerInfoEXT_array1588; -- vulkan_core.h:7568
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:7564
type PFN_vkDebugMarkerSetObjectTagEXT is access function (arg1 : VkDevice; arg2 : access constant VkDebugMarkerObjectTagInfoEXT) return VkResult
with Convention => C; -- vulkan_core.h:7571
type PFN_vkDebugMarkerSetObjectNameEXT is access function (arg1 : VkDevice; arg2 : access constant VkDebugMarkerObjectNameInfoEXT) return VkResult
with Convention => C; -- vulkan_core.h:7572
type PFN_vkCmdDebugMarkerBeginEXT is access procedure (arg1 : VkCommandBuffer; arg2 : access constant VkDebugMarkerMarkerInfoEXT)
with Convention => C; -- vulkan_core.h:7573
type PFN_vkCmdDebugMarkerEndEXT is access procedure (arg1 : VkCommandBuffer)
with Convention => C; -- vulkan_core.h:7574
type PFN_vkCmdDebugMarkerInsertEXT is access procedure (arg1 : VkCommandBuffer; arg2 : access constant VkDebugMarkerMarkerInfoEXT)
with Convention => C; -- vulkan_core.h:7575
function vkDebugMarkerSetObjectTagEXT (device : VkDevice; pTagInfo : access constant VkDebugMarkerObjectTagInfoEXT) return VkResult -- vulkan_core.h:7578
with Import => True,
Convention => C,
External_Name => "vkDebugMarkerSetObjectTagEXT";
function vkDebugMarkerSetObjectNameEXT (device : VkDevice; pNameInfo : access constant VkDebugMarkerObjectNameInfoEXT) return VkResult -- vulkan_core.h:7582
with Import => True,
Convention => C,
External_Name => "vkDebugMarkerSetObjectNameEXT";
procedure vkCmdDebugMarkerBeginEXT (commandBuffer : VkCommandBuffer; pMarkerInfo : access constant VkDebugMarkerMarkerInfoEXT) -- vulkan_core.h:7586
with Import => True,
Convention => C,
External_Name => "vkCmdDebugMarkerBeginEXT";
procedure vkCmdDebugMarkerEndEXT (commandBuffer : VkCommandBuffer) -- vulkan_core.h:7590
with Import => True,
Convention => C,
External_Name => "vkCmdDebugMarkerEndEXT";
procedure vkCmdDebugMarkerInsertEXT (commandBuffer : VkCommandBuffer; pMarkerInfo : access constant VkDebugMarkerMarkerInfoEXT) -- vulkan_core.h:7593
with Import => True,
Convention => C,
External_Name => "vkCmdDebugMarkerInsertEXT";
type VkDedicatedAllocationImageCreateInfoNV is record
sType : aliased VkStructureType; -- vulkan_core.h:7608
pNext : System.Address; -- vulkan_core.h:7609
dedicatedAllocation : aliased VkBool32; -- vulkan_core.h:7610
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:7607
type VkDedicatedAllocationBufferCreateInfoNV is record
sType : aliased VkStructureType; -- vulkan_core.h:7614
pNext : System.Address; -- vulkan_core.h:7615
dedicatedAllocation : aliased VkBool32; -- vulkan_core.h:7616
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:7613
type VkDedicatedAllocationMemoryAllocateInfoNV is record
sType : aliased VkStructureType; -- vulkan_core.h:7620
pNext : System.Address; -- vulkan_core.h:7621
image : VkImage; -- vulkan_core.h:7622
buffer : VkBuffer; -- vulkan_core.h:7623
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:7619
subtype VkPipelineRasterizationStateStreamCreateFlagsEXT is VkFlags; -- vulkan_core.h:7631
type VkPhysicalDeviceTransformFeedbackFeaturesEXT is record
sType : aliased VkStructureType; -- vulkan_core.h:7633
pNext : System.Address; -- vulkan_core.h:7634
transformFeedback : aliased VkBool32; -- vulkan_core.h:7635
geometryStreams : aliased VkBool32; -- vulkan_core.h:7636
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:7632
type VkPhysicalDeviceTransformFeedbackPropertiesEXT is record
sType : aliased VkStructureType; -- vulkan_core.h:7640
pNext : System.Address; -- vulkan_core.h:7641
maxTransformFeedbackStreams : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:7642
maxTransformFeedbackBuffers : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:7643
maxTransformFeedbackBufferSize : aliased VkDeviceSize; -- vulkan_core.h:7644
maxTransformFeedbackStreamDataSize : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:7645
maxTransformFeedbackBufferDataSize : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:7646
maxTransformFeedbackBufferDataStride : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:7647
transformFeedbackQueries : aliased VkBool32; -- vulkan_core.h:7648
transformFeedbackStreamsLinesTriangles : aliased VkBool32; -- vulkan_core.h:7649
transformFeedbackRasterizationStreamSelect : aliased VkBool32; -- vulkan_core.h:7650
transformFeedbackDraw : aliased VkBool32; -- vulkan_core.h:7651
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:7639
type VkPipelineRasterizationStateStreamCreateInfoEXT is record
sType : aliased VkStructureType; -- vulkan_core.h:7655
pNext : System.Address; -- vulkan_core.h:7656
flags : aliased VkPipelineRasterizationStateStreamCreateFlagsEXT; -- vulkan_core.h:7657
rasterizationStream : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:7658
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:7654
type PFN_vkCmdBindTransformFeedbackBuffersEXT is access procedure
(arg1 : VkCommandBuffer;
arg2 : Interfaces.C.unsigned_short;
arg3 : Interfaces.C.unsigned_short;
arg4 : System.Address;
arg5 : access VkDeviceSize;
arg6 : access VkDeviceSize)
with Convention => C; -- vulkan_core.h:7661
type PFN_vkCmdBeginTransformFeedbackEXT is access procedure
(arg1 : VkCommandBuffer;
arg2 : Interfaces.C.unsigned_short;
arg3 : Interfaces.C.unsigned_short;
arg4 : System.Address;
arg5 : access VkDeviceSize)
with Convention => C; -- vulkan_core.h:7662
type PFN_vkCmdEndTransformFeedbackEXT is access procedure
(arg1 : VkCommandBuffer;
arg2 : Interfaces.C.unsigned_short;
arg3 : Interfaces.C.unsigned_short;
arg4 : System.Address;
arg5 : access VkDeviceSize)
with Convention => C; -- vulkan_core.h:7663
type PFN_vkCmdBeginQueryIndexedEXT is access procedure
(arg1 : VkCommandBuffer;
arg2 : VkQueryPool;
arg3 : Interfaces.C.unsigned_short;
arg4 : VkQueryControlFlags;
arg5 : Interfaces.C.unsigned_short)
with Convention => C; -- vulkan_core.h:7664
type PFN_vkCmdEndQueryIndexedEXT is access procedure
(arg1 : VkCommandBuffer;
arg2 : VkQueryPool;
arg3 : Interfaces.C.unsigned_short;
arg4 : Interfaces.C.unsigned_short)
with Convention => C; -- vulkan_core.h:7665
type PFN_vkCmdDrawIndirectByteCountEXT is access procedure
(arg1 : VkCommandBuffer;
arg2 : Interfaces.C.unsigned_short;
arg3 : Interfaces.C.unsigned_short;
arg4 : VkBuffer;
arg5 : VkDeviceSize;
arg6 : Interfaces.C.unsigned_short;
arg7 : Interfaces.C.unsigned_short)
with Convention => C; -- vulkan_core.h:7666
procedure vkCmdBindTransformFeedbackBuffersEXT
(commandBuffer : VkCommandBuffer;
firstBinding : Interfaces.C.unsigned_short;
bindingCount : Interfaces.C.unsigned_short;
pBuffers : System.Address;
pOffsets : access VkDeviceSize;
pSizes : access VkDeviceSize) -- vulkan_core.h:7669
with Import => True,
Convention => C,
External_Name => "vkCmdBindTransformFeedbackBuffersEXT";
procedure vkCmdBeginTransformFeedbackEXT
(commandBuffer : VkCommandBuffer;
firstCounterBuffer : Interfaces.C.unsigned_short;
counterBufferCount : Interfaces.C.unsigned_short;
pCounterBuffers : System.Address;
pCounterBufferOffsets : access VkDeviceSize) -- vulkan_core.h:7677
with Import => True,
Convention => C,
External_Name => "vkCmdBeginTransformFeedbackEXT";
procedure vkCmdEndTransformFeedbackEXT
(commandBuffer : VkCommandBuffer;
firstCounterBuffer : Interfaces.C.unsigned_short;
counterBufferCount : Interfaces.C.unsigned_short;
pCounterBuffers : System.Address;
pCounterBufferOffsets : access VkDeviceSize) -- vulkan_core.h:7684
with Import => True,
Convention => C,
External_Name => "vkCmdEndTransformFeedbackEXT";
procedure vkCmdBeginQueryIndexedEXT
(commandBuffer : VkCommandBuffer;
queryPool : VkQueryPool;
query : Interfaces.C.unsigned_short;
flags : VkQueryControlFlags;
index : Interfaces.C.unsigned_short) -- vulkan_core.h:7691
with Import => True,
Convention => C,
External_Name => "vkCmdBeginQueryIndexedEXT";
procedure vkCmdEndQueryIndexedEXT
(commandBuffer : VkCommandBuffer;
queryPool : VkQueryPool;
query : Interfaces.C.unsigned_short;
index : Interfaces.C.unsigned_short) -- vulkan_core.h:7698
with Import => True,
Convention => C,
External_Name => "vkCmdEndQueryIndexedEXT";
procedure vkCmdDrawIndirectByteCountEXT
(commandBuffer : VkCommandBuffer;
instanceCount : Interfaces.C.unsigned_short;
firstInstance : Interfaces.C.unsigned_short;
counterBuffer : VkBuffer;
counterBufferOffset : VkDeviceSize;
counterOffset : Interfaces.C.unsigned_short;
vertexStride : Interfaces.C.unsigned_short) -- vulkan_core.h:7704
with Import => True,
Convention => C,
External_Name => "vkCmdDrawIndirectByteCountEXT";
type VkImageViewHandleInfoNVX is record
sType : aliased VkStructureType; -- vulkan_core.h:7719
pNext : System.Address; -- vulkan_core.h:7720
imageView : VkImageView; -- vulkan_core.h:7721
descriptorType : aliased VkDescriptorType; -- vulkan_core.h:7722
sampler : VkSampler; -- vulkan_core.h:7723
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:7718
type PFN_vkGetImageViewHandleNVX is access function (arg1 : VkDevice; arg2 : access constant VkImageViewHandleInfoNVX) return Interfaces.C.unsigned_short
with Convention => C; -- vulkan_core.h:7726
function vkGetImageViewHandleNVX (device : VkDevice; pInfo : access constant VkImageViewHandleInfoNVX) return Interfaces.C.unsigned_short -- vulkan_core.h:7729
with Import => True,
Convention => C,
External_Name => "vkGetImageViewHandleNVX";
type PFN_vkCmdDrawIndirectCountAMD is access procedure
(arg1 : VkCommandBuffer;
arg2 : VkBuffer;
arg3 : VkDeviceSize;
arg4 : VkBuffer;
arg5 : VkDeviceSize;
arg6 : Interfaces.C.unsigned_short;
arg7 : Interfaces.C.unsigned_short)
with Convention => C; -- vulkan_core.h:7738
type PFN_vkCmdDrawIndexedIndirectCountAMD is access procedure
(arg1 : VkCommandBuffer;
arg2 : VkBuffer;
arg3 : VkDeviceSize;
arg4 : VkBuffer;
arg5 : VkDeviceSize;
arg6 : Interfaces.C.unsigned_short;
arg7 : Interfaces.C.unsigned_short)
with Convention => C; -- vulkan_core.h:7739
procedure vkCmdDrawIndirectCountAMD
(commandBuffer : VkCommandBuffer;
buffer : VkBuffer;
offset : VkDeviceSize;
countBuffer : VkBuffer;
countBufferOffset : VkDeviceSize;
maxDrawCount : Interfaces.C.unsigned_short;
stride : Interfaces.C.unsigned_short) -- vulkan_core.h:7742
with Import => True,
Convention => C,
External_Name => "vkCmdDrawIndirectCountAMD";
procedure vkCmdDrawIndexedIndirectCountAMD
(commandBuffer : VkCommandBuffer;
buffer : VkBuffer;
offset : VkDeviceSize;
countBuffer : VkBuffer;
countBufferOffset : VkDeviceSize;
maxDrawCount : Interfaces.C.unsigned_short;
stride : Interfaces.C.unsigned_short) -- vulkan_core.h:7751
with Import => True,
Convention => C,
External_Name => "vkCmdDrawIndexedIndirectCountAMD";
type VkTextureLODGatherFormatPropertiesAMD is record
sType : aliased VkStructureType; -- vulkan_core.h:7781
pNext : System.Address; -- vulkan_core.h:7782
supportsTextureGatherLODBiasAMD : aliased VkBool32; -- vulkan_core.h:7783
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:7780
subtype VkShaderInfoTypeAMD is unsigned;
VK_SHADER_INFO_TYPE_STATISTICS_AMD : constant unsigned := 0;
VK_SHADER_INFO_TYPE_BINARY_AMD : constant unsigned := 1;
VK_SHADER_INFO_TYPE_DISASSEMBLY_AMD : constant unsigned := 2;
VK_SHADER_INFO_TYPE_BEGIN_RANGE_AMD : constant unsigned := 0;
VK_SHADER_INFO_TYPE_END_RANGE_AMD : constant unsigned := 2;
VK_SHADER_INFO_TYPE_RANGE_SIZE_AMD : constant unsigned := 3;
VK_SHADER_INFO_TYPE_MAX_ENUM_AMD : constant unsigned := 2147483647; -- vulkan_core.h:7792
type VkShaderResourceUsageAMD is record
numUsedVgprs : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:7802
numUsedSgprs : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:7803
ldsSizePerLocalWorkGroup : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:7804
ldsUsageSizeInBytes : aliased size_t; -- vulkan_core.h:7805
scratchMemUsageInBytes : aliased size_t; -- vulkan_core.h:7806
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:7801
type VkShaderStatisticsInfoAMD_array1331 is array (0 .. 2) of aliased Interfaces.C.unsigned_short;
type VkShaderStatisticsInfoAMD is record
shaderStageMask : aliased VkShaderStageFlags; -- vulkan_core.h:7810
resourceUsage : aliased VkShaderResourceUsageAMD; -- vulkan_core.h:7811
numPhysicalVgprs : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:7812
numPhysicalSgprs : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:7813
numAvailableVgprs : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:7814
numAvailableSgprs : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:7815
computeWorkGroupSize : aliased VkShaderStatisticsInfoAMD_array1331; -- vulkan_core.h:7816
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:7809
type PFN_vkGetShaderInfoAMD is access function
(arg1 : VkDevice;
arg2 : VkPipeline;
arg3 : VkShaderStageFlagBits;
arg4 : VkShaderInfoTypeAMD;
arg5 : access size_t;
arg6 : System.Address) return VkResult
with Convention => C; -- vulkan_core.h:7819
function vkGetShaderInfoAMD
(device : VkDevice;
pipeline : VkPipeline;
shaderStage : VkShaderStageFlagBits;
infoType : VkShaderInfoTypeAMD;
pInfoSize : access size_t;
pInfo : System.Address) return VkResult -- vulkan_core.h:7822
with Import => True,
Convention => C,
External_Name => "vkGetShaderInfoAMD";
type VkPhysicalDeviceCornerSampledImageFeaturesNV is record
sType : aliased VkStructureType; -- vulkan_core.h:7841
pNext : System.Address; -- vulkan_core.h:7842
cornerSampledImage : aliased VkBool32; -- vulkan_core.h:7843
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:7840
subtype VkExternalMemoryHandleTypeFlagBitsNV is unsigned;
VK_EXTERNAL_MEMORY_HANDLE_TYPE_OPAQUE_WIN32_BIT_NV : constant unsigned := 1;
VK_EXTERNAL_MEMORY_HANDLE_TYPE_OPAQUE_WIN32_KMT_BIT_NV : constant unsigned := 2;
VK_EXTERNAL_MEMORY_HANDLE_TYPE_D3D11_IMAGE_BIT_NV : constant unsigned := 4;
VK_EXTERNAL_MEMORY_HANDLE_TYPE_D3D11_IMAGE_KMT_BIT_NV : constant unsigned := 8;
VK_EXTERNAL_MEMORY_HANDLE_TYPE_FLAG_BITS_MAX_ENUM_NV : constant unsigned := 2147483647; -- vulkan_core.h:7857
subtype VkExternalMemoryHandleTypeFlagsNV is VkFlags; -- vulkan_core.h:7864
subtype VkExternalMemoryFeatureFlagBitsNV is unsigned;
VK_EXTERNAL_MEMORY_FEATURE_DEDICATED_ONLY_BIT_NV : constant unsigned := 1;
VK_EXTERNAL_MEMORY_FEATURE_EXPORTABLE_BIT_NV : constant unsigned := 2;
VK_EXTERNAL_MEMORY_FEATURE_IMPORTABLE_BIT_NV : constant unsigned := 4;
VK_EXTERNAL_MEMORY_FEATURE_FLAG_BITS_MAX_ENUM_NV : constant unsigned := 2147483647; -- vulkan_core.h:7866
subtype VkExternalMemoryFeatureFlagsNV is VkFlags; -- vulkan_core.h:7872
type VkExternalImageFormatPropertiesNV is record
imageFormatProperties : aliased VkImageFormatProperties; -- vulkan_core.h:7874
externalMemoryFeatures : aliased VkExternalMemoryFeatureFlagsNV; -- vulkan_core.h:7875
exportFromImportedHandleTypes : aliased VkExternalMemoryHandleTypeFlagsNV; -- vulkan_core.h:7876
compatibleHandleTypes : aliased VkExternalMemoryHandleTypeFlagsNV; -- vulkan_core.h:7877
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:7873
type PFN_vkGetPhysicalDeviceExternalImageFormatPropertiesNV is access function
(arg1 : VkPhysicalDevice;
arg2 : VkFormat;
arg3 : VkImageType;
arg4 : VkImageTiling;
arg5 : VkImageUsageFlags;
arg6 : VkImageCreateFlags;
arg7 : VkExternalMemoryHandleTypeFlagsNV;
arg8 : access VkExternalImageFormatPropertiesNV) return VkResult
with Convention => C; -- vulkan_core.h:7880
function vkGetPhysicalDeviceExternalImageFormatPropertiesNV
(physicalDevice : VkPhysicalDevice;
format : VkFormat;
c_type : VkImageType;
tiling : VkImageTiling;
usage : VkImageUsageFlags;
flags : VkImageCreateFlags;
externalHandleType : VkExternalMemoryHandleTypeFlagsNV;
pExternalImageFormatProperties : access VkExternalImageFormatPropertiesNV) return VkResult -- vulkan_core.h:7883
with Import => True,
Convention => C,
External_Name => "vkGetPhysicalDeviceExternalImageFormatPropertiesNV";
type VkExternalMemoryImageCreateInfoNV is record
sType : aliased VkStructureType; -- vulkan_core.h:7899
pNext : System.Address; -- vulkan_core.h:7900
handleTypes : aliased VkExternalMemoryHandleTypeFlagsNV; -- vulkan_core.h:7901
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:7898
type VkExportMemoryAllocateInfoNV is record
sType : aliased VkStructureType; -- vulkan_core.h:7905
pNext : System.Address; -- vulkan_core.h:7906
handleTypes : aliased VkExternalMemoryHandleTypeFlagsNV; -- vulkan_core.h:7907
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:7904
subtype VkValidationCheckEXT is unsigned;
VK_VALIDATION_CHECK_ALL_EXT : constant unsigned := 0;
VK_VALIDATION_CHECK_SHADERS_EXT : constant unsigned := 1;
VK_VALIDATION_CHECK_BEGIN_RANGE_EXT : constant unsigned := 0;
VK_VALIDATION_CHECK_END_RANGE_EXT : constant unsigned := 1;
VK_VALIDATION_CHECK_RANGE_SIZE_EXT : constant unsigned := 2;
VK_VALIDATION_CHECK_MAX_ENUM_EXT : constant unsigned := 2147483647; -- vulkan_core.h:7916
type VkValidationFlagsEXT is record
sType : aliased VkStructureType; -- vulkan_core.h:7925
pNext : System.Address; -- vulkan_core.h:7926
disabledValidationCheckCount : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:7927
pDisabledValidationChecks : access VkValidationCheckEXT; -- vulkan_core.h:7928
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:7924
type VkPhysicalDeviceTextureCompressionASTCHDRFeaturesEXT is record
sType : aliased VkStructureType; -- vulkan_core.h:7947
pNext : System.Address; -- vulkan_core.h:7948
textureCompressionASTC_HDR : aliased VkBool32; -- vulkan_core.h:7949
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:7946
type VkImageViewASTCDecodeModeEXT is record
sType : aliased VkStructureType; -- vulkan_core.h:7958
pNext : System.Address; -- vulkan_core.h:7959
decodeMode : aliased VkFormat; -- vulkan_core.h:7960
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:7957
type VkPhysicalDeviceASTCDecodeFeaturesEXT is record
sType : aliased VkStructureType; -- vulkan_core.h:7964
pNext : System.Address; -- vulkan_core.h:7965
decodeModeSharedExponent : aliased VkBool32; -- vulkan_core.h:7966
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:7963
subtype VkConditionalRenderingFlagBitsEXT is unsigned;
VK_CONDITIONAL_RENDERING_INVERTED_BIT_EXT : constant unsigned := 1;
VK_CONDITIONAL_RENDERING_FLAG_BITS_MAX_ENUM_EXT : constant unsigned := 2147483647; -- vulkan_core.h:7975
subtype VkConditionalRenderingFlagsEXT is VkFlags; -- vulkan_core.h:7979
type VkConditionalRenderingBeginInfoEXT is record
sType : aliased VkStructureType; -- vulkan_core.h:7981
pNext : System.Address; -- vulkan_core.h:7982
buffer : VkBuffer; -- vulkan_core.h:7983
offset : aliased VkDeviceSize; -- vulkan_core.h:7984
flags : aliased VkConditionalRenderingFlagsEXT; -- vulkan_core.h:7985
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:7980
type VkPhysicalDeviceConditionalRenderingFeaturesEXT is record
sType : aliased VkStructureType; -- vulkan_core.h:7989
pNext : System.Address; -- vulkan_core.h:7990
conditionalRendering : aliased VkBool32; -- vulkan_core.h:7991
inheritedConditionalRendering : aliased VkBool32; -- vulkan_core.h:7992
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:7988
type VkCommandBufferInheritanceConditionalRenderingInfoEXT is record
sType : aliased VkStructureType; -- vulkan_core.h:7996
pNext : System.Address; -- vulkan_core.h:7997
conditionalRenderingEnable : aliased VkBool32; -- vulkan_core.h:7998
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:7995
type PFN_vkCmdBeginConditionalRenderingEXT is access procedure (arg1 : VkCommandBuffer; arg2 : access constant VkConditionalRenderingBeginInfoEXT)
with Convention => C; -- vulkan_core.h:8001
type PFN_vkCmdEndConditionalRenderingEXT is access procedure (arg1 : VkCommandBuffer)
with Convention => C; -- vulkan_core.h:8002
procedure vkCmdBeginConditionalRenderingEXT (commandBuffer : VkCommandBuffer; pConditionalRenderingBegin : access constant VkConditionalRenderingBeginInfoEXT) -- vulkan_core.h:8005
with Import => True,
Convention => C,
External_Name => "vkCmdBeginConditionalRenderingEXT";
procedure vkCmdEndConditionalRenderingEXT (commandBuffer : VkCommandBuffer) -- vulkan_core.h:8009
with Import => True,
Convention => C,
External_Name => "vkCmdEndConditionalRenderingEXT";
type VkObjectTableNVX_T is null record; -- incomplete struct
type VkObjectTableNVX is access all VkObjectTableNVX_T; -- vulkan_core.h:8015
type VkIndirectCommandsLayoutNVX_T is null record; -- incomplete struct
type VkIndirectCommandsLayoutNVX is access all VkIndirectCommandsLayoutNVX_T; -- vulkan_core.h:8016
subtype VkIndirectCommandsTokenTypeNVX is unsigned;
VK_INDIRECT_COMMANDS_TOKEN_TYPE_PIPELINE_NVX : constant unsigned := 0;
VK_INDIRECT_COMMANDS_TOKEN_TYPE_DESCRIPTOR_SET_NVX : constant unsigned := 1;
VK_INDIRECT_COMMANDS_TOKEN_TYPE_INDEX_BUFFER_NVX : constant unsigned := 2;
VK_INDIRECT_COMMANDS_TOKEN_TYPE_VERTEX_BUFFER_NVX : constant unsigned := 3;
VK_INDIRECT_COMMANDS_TOKEN_TYPE_PUSH_CONSTANT_NVX : constant unsigned := 4;
VK_INDIRECT_COMMANDS_TOKEN_TYPE_DRAW_INDEXED_NVX : constant unsigned := 5;
VK_INDIRECT_COMMANDS_TOKEN_TYPE_DRAW_NVX : constant unsigned := 6;
VK_INDIRECT_COMMANDS_TOKEN_TYPE_DISPATCH_NVX : constant unsigned := 7;
VK_INDIRECT_COMMANDS_TOKEN_TYPE_BEGIN_RANGE_NVX : constant unsigned := 0;
VK_INDIRECT_COMMANDS_TOKEN_TYPE_END_RANGE_NVX : constant unsigned := 7;
VK_INDIRECT_COMMANDS_TOKEN_TYPE_RANGE_SIZE_NVX : constant unsigned := 8;
VK_INDIRECT_COMMANDS_TOKEN_TYPE_MAX_ENUM_NVX : constant unsigned := 2147483647; -- vulkan_core.h:8020
subtype VkObjectEntryTypeNVX is unsigned;
VK_OBJECT_ENTRY_TYPE_DESCRIPTOR_SET_NVX : constant unsigned := 0;
VK_OBJECT_ENTRY_TYPE_PIPELINE_NVX : constant unsigned := 1;
VK_OBJECT_ENTRY_TYPE_INDEX_BUFFER_NVX : constant unsigned := 2;
VK_OBJECT_ENTRY_TYPE_VERTEX_BUFFER_NVX : constant unsigned := 3;
VK_OBJECT_ENTRY_TYPE_PUSH_CONSTANT_NVX : constant unsigned := 4;
VK_OBJECT_ENTRY_TYPE_BEGIN_RANGE_NVX : constant unsigned := 0;
VK_OBJECT_ENTRY_TYPE_END_RANGE_NVX : constant unsigned := 4;
VK_OBJECT_ENTRY_TYPE_RANGE_SIZE_NVX : constant unsigned := 5;
VK_OBJECT_ENTRY_TYPE_MAX_ENUM_NVX : constant unsigned := 2147483647; -- vulkan_core.h:8035
subtype VkIndirectCommandsLayoutUsageFlagBitsNVX is unsigned;
VK_INDIRECT_COMMANDS_LAYOUT_USAGE_UNORDERED_SEQUENCES_BIT_NVX : constant unsigned := 1;
VK_INDIRECT_COMMANDS_LAYOUT_USAGE_SPARSE_SEQUENCES_BIT_NVX : constant unsigned := 2;
VK_INDIRECT_COMMANDS_LAYOUT_USAGE_EMPTY_EXECUTIONS_BIT_NVX : constant unsigned := 4;
VK_INDIRECT_COMMANDS_LAYOUT_USAGE_INDEXED_SEQUENCES_BIT_NVX : constant unsigned := 8;
VK_INDIRECT_COMMANDS_LAYOUT_USAGE_FLAG_BITS_MAX_ENUM_NVX : constant unsigned := 2147483647; -- vulkan_core.h:8047
subtype VkIndirectCommandsLayoutUsageFlagsNVX is VkFlags; -- vulkan_core.h:8054
subtype VkObjectEntryUsageFlagBitsNVX is unsigned;
VK_OBJECT_ENTRY_USAGE_GRAPHICS_BIT_NVX : constant unsigned := 1;
VK_OBJECT_ENTRY_USAGE_COMPUTE_BIT_NVX : constant unsigned := 2;
VK_OBJECT_ENTRY_USAGE_FLAG_BITS_MAX_ENUM_NVX : constant unsigned := 2147483647; -- vulkan_core.h:8056
subtype VkObjectEntryUsageFlagsNVX is VkFlags; -- vulkan_core.h:8061
type VkDeviceGeneratedCommandsFeaturesNVX is record
sType : aliased VkStructureType; -- vulkan_core.h:8063
pNext : System.Address; -- vulkan_core.h:8064
computeBindingPointSupport : aliased VkBool32; -- vulkan_core.h:8065
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:8062
type VkDeviceGeneratedCommandsLimitsNVX is record
sType : aliased VkStructureType; -- vulkan_core.h:8069
pNext : System.Address; -- vulkan_core.h:8070
maxIndirectCommandsLayoutTokenCount : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:8071
maxObjectEntryCounts : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:8072
minSequenceCountBufferOffsetAlignment : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:8073
minSequenceIndexBufferOffsetAlignment : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:8074
minCommandsTokenBufferOffsetAlignment : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:8075
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:8068
type VkIndirectCommandsTokenNVX is record
tokenType : aliased VkIndirectCommandsTokenTypeNVX; -- vulkan_core.h:8079
buffer : VkBuffer; -- vulkan_core.h:8080
offset : aliased VkDeviceSize; -- vulkan_core.h:8081
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:8078
type VkIndirectCommandsLayoutTokenNVX is record
tokenType : aliased VkIndirectCommandsTokenTypeNVX; -- vulkan_core.h:8085
bindingUnit : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:8086
dynamicCount : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:8087
divisor : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:8088
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:8084
type VkIndirectCommandsLayoutCreateInfoNVX is record
sType : aliased VkStructureType; -- vulkan_core.h:8092
pNext : System.Address; -- vulkan_core.h:8093
pipelineBindPoint : aliased VkPipelineBindPoint; -- vulkan_core.h:8094
flags : aliased VkIndirectCommandsLayoutUsageFlagsNVX; -- vulkan_core.h:8095
tokenCount : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:8096
pTokens : access constant VkIndirectCommandsLayoutTokenNVX; -- vulkan_core.h:8097
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:8091
type VkCmdProcessCommandsInfoNVX is record
sType : aliased VkStructureType; -- vulkan_core.h:8101
pNext : System.Address; -- vulkan_core.h:8102
objectTable : VkObjectTableNVX; -- vulkan_core.h:8103
indirectCommandsLayout : VkIndirectCommandsLayoutNVX; -- vulkan_core.h:8104
indirectCommandsTokenCount : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:8105
pIndirectCommandsTokens : access constant VkIndirectCommandsTokenNVX; -- vulkan_core.h:8106
maxSequencesCount : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:8107
targetCommandBuffer : VkCommandBuffer; -- vulkan_core.h:8108
sequencesCountBuffer : VkBuffer; -- vulkan_core.h:8109
sequencesCountOffset : aliased VkDeviceSize; -- vulkan_core.h:8110
sequencesIndexBuffer : VkBuffer; -- vulkan_core.h:8111
sequencesIndexOffset : aliased VkDeviceSize; -- vulkan_core.h:8112
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:8100
type VkCmdReserveSpaceForCommandsInfoNVX is record
sType : aliased VkStructureType; -- vulkan_core.h:8116
pNext : System.Address; -- vulkan_core.h:8117
objectTable : VkObjectTableNVX; -- vulkan_core.h:8118
indirectCommandsLayout : VkIndirectCommandsLayoutNVX; -- vulkan_core.h:8119
maxSequencesCount : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:8120
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:8115
type VkObjectTableCreateInfoNVX is record
sType : aliased VkStructureType; -- vulkan_core.h:8124
pNext : System.Address; -- vulkan_core.h:8125
objectCount : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:8126
pObjectEntryTypes : access VkObjectEntryTypeNVX; -- vulkan_core.h:8127
pObjectEntryCounts : access Interfaces.C.unsigned_short; -- vulkan_core.h:8128
pObjectEntryUsageFlags : access VkObjectEntryUsageFlagsNVX; -- vulkan_core.h:8129
maxUniformBuffersPerDescriptor : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:8130
maxStorageBuffersPerDescriptor : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:8131
maxStorageImagesPerDescriptor : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:8132
maxSampledImagesPerDescriptor : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:8133
maxPipelineLayouts : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:8134
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:8123
type VkObjectTableEntryNVX is record
c_type : aliased VkObjectEntryTypeNVX; -- vulkan_core.h:8138
flags : aliased VkObjectEntryUsageFlagsNVX; -- vulkan_core.h:8139
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:8137
type VkObjectTablePipelineEntryNVX is record
c_type : aliased VkObjectEntryTypeNVX; -- vulkan_core.h:8143
flags : aliased VkObjectEntryUsageFlagsNVX; -- vulkan_core.h:8144
pipeline : VkPipeline; -- vulkan_core.h:8145
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:8142
type VkObjectTableDescriptorSetEntryNVX is record
c_type : aliased VkObjectEntryTypeNVX; -- vulkan_core.h:8149
flags : aliased VkObjectEntryUsageFlagsNVX; -- vulkan_core.h:8150
pipelineLayout : VkPipelineLayout; -- vulkan_core.h:8151
descriptorSet : VkDescriptorSet; -- vulkan_core.h:8152
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:8148
type VkObjectTableVertexBufferEntryNVX is record
c_type : aliased VkObjectEntryTypeNVX; -- vulkan_core.h:8156
flags : aliased VkObjectEntryUsageFlagsNVX; -- vulkan_core.h:8157
buffer : VkBuffer; -- vulkan_core.h:8158
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:8155
type VkObjectTableIndexBufferEntryNVX is record
c_type : aliased VkObjectEntryTypeNVX; -- vulkan_core.h:8162
flags : aliased VkObjectEntryUsageFlagsNVX; -- vulkan_core.h:8163
buffer : VkBuffer; -- vulkan_core.h:8164
indexType : aliased VkIndexType; -- vulkan_core.h:8165
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:8161
type VkObjectTablePushConstantEntryNVX is record
c_type : aliased VkObjectEntryTypeNVX; -- vulkan_core.h:8169
flags : aliased VkObjectEntryUsageFlagsNVX; -- vulkan_core.h:8170
pipelineLayout : VkPipelineLayout; -- vulkan_core.h:8171
stageFlags : aliased VkShaderStageFlags; -- vulkan_core.h:8172
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:8168
type PFN_vkCmdProcessCommandsNVX is access procedure (arg1 : VkCommandBuffer; arg2 : access constant VkCmdProcessCommandsInfoNVX)
with Convention => C; -- vulkan_core.h:8175
type PFN_vkCmdReserveSpaceForCommandsNVX is access procedure (arg1 : VkCommandBuffer; arg2 : access constant VkCmdReserveSpaceForCommandsInfoNVX)
with Convention => C; -- vulkan_core.h:8176
type PFN_vkCreateIndirectCommandsLayoutNVX is access function
(arg1 : VkDevice;
arg2 : access constant VkIndirectCommandsLayoutCreateInfoNVX;
arg3 : access constant VkAllocationCallbacks;
arg4 : System.Address) return VkResult
with Convention => C; -- vulkan_core.h:8177
type PFN_vkDestroyIndirectCommandsLayoutNVX is access procedure
(arg1 : VkDevice;
arg2 : VkIndirectCommandsLayoutNVX;
arg3 : access constant VkAllocationCallbacks)
with Convention => C; -- vulkan_core.h:8178
type PFN_vkCreateObjectTableNVX is access function
(arg1 : VkDevice;
arg2 : access constant VkObjectTableCreateInfoNVX;
arg3 : access constant VkAllocationCallbacks;
arg4 : System.Address) return VkResult
with Convention => C; -- vulkan_core.h:8179
type PFN_vkDestroyObjectTableNVX is access procedure
(arg1 : VkDevice;
arg2 : VkObjectTableNVX;
arg3 : access constant VkAllocationCallbacks)
with Convention => C; -- vulkan_core.h:8180
type PFN_vkRegisterObjectsNVX is access function
(arg1 : VkDevice;
arg2 : VkObjectTableNVX;
arg3 : Interfaces.C.unsigned_short;
arg4 : System.Address;
arg5 : access Interfaces.C.unsigned_short) return VkResult
with Convention => C; -- vulkan_core.h:8181
type PFN_vkUnregisterObjectsNVX is access function
(arg1 : VkDevice;
arg2 : VkObjectTableNVX;
arg3 : Interfaces.C.unsigned_short;
arg4 : access VkObjectEntryTypeNVX;
arg5 : access Interfaces.C.unsigned_short) return VkResult
with Convention => C; -- vulkan_core.h:8182
type PFN_vkGetPhysicalDeviceGeneratedCommandsPropertiesNVX is access procedure
(arg1 : VkPhysicalDevice;
arg2 : access VkDeviceGeneratedCommandsFeaturesNVX;
arg3 : access VkDeviceGeneratedCommandsLimitsNVX)
with Convention => C; -- vulkan_core.h:8183
procedure vkCmdProcessCommandsNVX (commandBuffer : VkCommandBuffer; pProcessCommandsInfo : access constant VkCmdProcessCommandsInfoNVX) -- vulkan_core.h:8186
with Import => True,
Convention => C,
External_Name => "vkCmdProcessCommandsNVX";
procedure vkCmdReserveSpaceForCommandsNVX (commandBuffer : VkCommandBuffer; pReserveSpaceInfo : access constant VkCmdReserveSpaceForCommandsInfoNVX) -- vulkan_core.h:8190
with Import => True,
Convention => C,
External_Name => "vkCmdReserveSpaceForCommandsNVX";
function vkCreateIndirectCommandsLayoutNVX
(device : VkDevice;
pCreateInfo : access constant VkIndirectCommandsLayoutCreateInfoNVX;
pAllocator : access constant VkAllocationCallbacks;
pIndirectCommandsLayout : System.Address) return VkResult -- vulkan_core.h:8194
with Import => True,
Convention => C,
External_Name => "vkCreateIndirectCommandsLayoutNVX";
procedure vkDestroyIndirectCommandsLayoutNVX
(device : VkDevice;
indirectCommandsLayout : VkIndirectCommandsLayoutNVX;
pAllocator : access constant VkAllocationCallbacks) -- vulkan_core.h:8200
with Import => True,
Convention => C,
External_Name => "vkDestroyIndirectCommandsLayoutNVX";
function vkCreateObjectTableNVX
(device : VkDevice;
pCreateInfo : access constant VkObjectTableCreateInfoNVX;
pAllocator : access constant VkAllocationCallbacks;
pObjectTable : System.Address) return VkResult -- vulkan_core.h:8205
with Import => True,
Convention => C,
External_Name => "vkCreateObjectTableNVX";
procedure vkDestroyObjectTableNVX
(device : VkDevice;
objectTable : VkObjectTableNVX;
pAllocator : access constant VkAllocationCallbacks) -- vulkan_core.h:8211
with Import => True,
Convention => C,
External_Name => "vkDestroyObjectTableNVX";
function vkRegisterObjectsNVX
(device : VkDevice;
objectTable : VkObjectTableNVX;
objectCount : Interfaces.C.unsigned_short;
ppObjectTableEntries : System.Address;
pObjectIndices : access Interfaces.C.unsigned_short) return VkResult -- vulkan_core.h:8216
with Import => True,
Convention => C,
External_Name => "vkRegisterObjectsNVX";
function vkUnregisterObjectsNVX
(device : VkDevice;
objectTable : VkObjectTableNVX;
objectCount : Interfaces.C.unsigned_short;
pObjectEntryTypes : access VkObjectEntryTypeNVX;
pObjectIndices : access Interfaces.C.unsigned_short) return VkResult -- vulkan_core.h:8223
with Import => True,
Convention => C,
External_Name => "vkUnregisterObjectsNVX";
procedure vkGetPhysicalDeviceGeneratedCommandsPropertiesNVX
(physicalDevice : VkPhysicalDevice;
pFeatures : access VkDeviceGeneratedCommandsFeaturesNVX;
pLimits : access VkDeviceGeneratedCommandsLimitsNVX) -- vulkan_core.h:8230
with Import => True,
Convention => C,
External_Name => "vkGetPhysicalDeviceGeneratedCommandsPropertiesNVX";
type VkViewportWScalingNV is record
xcoeff : aliased float; -- vulkan_core.h:8241
ycoeff : aliased float; -- vulkan_core.h:8242
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:8240
type VkPipelineViewportWScalingStateCreateInfoNV is record
sType : aliased VkStructureType; -- vulkan_core.h:8246
pNext : System.Address; -- vulkan_core.h:8247
viewportWScalingEnable : aliased VkBool32; -- vulkan_core.h:8248
viewportCount : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:8249
pViewportWScalings : access constant VkViewportWScalingNV; -- vulkan_core.h:8250
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:8245
type PFN_vkCmdSetViewportWScalingNV is access procedure
(arg1 : VkCommandBuffer;
arg2 : Interfaces.C.unsigned_short;
arg3 : Interfaces.C.unsigned_short;
arg4 : access constant VkViewportWScalingNV)
with Convention => C; -- vulkan_core.h:8253
procedure vkCmdSetViewportWScalingNV
(commandBuffer : VkCommandBuffer;
firstViewport : Interfaces.C.unsigned_short;
viewportCount : Interfaces.C.unsigned_short;
pViewportWScalings : access constant VkViewportWScalingNV) -- vulkan_core.h:8256
with Import => True,
Convention => C,
External_Name => "vkCmdSetViewportWScalingNV";
type PFN_vkReleaseDisplayEXT is access function (arg1 : VkPhysicalDevice; arg2 : VkDisplayKHR) return VkResult
with Convention => C; -- vulkan_core.h:8267
function vkReleaseDisplayEXT (physicalDevice : VkPhysicalDevice; display : VkDisplayKHR) return VkResult -- vulkan_core.h:8270
with Import => True,
Convention => C,
External_Name => "vkReleaseDisplayEXT";
subtype VkSurfaceCounterFlagBitsEXT is unsigned;
VK_SURFACE_COUNTER_VBLANK_EXT : constant unsigned := 1;
VK_SURFACE_COUNTER_FLAG_BITS_MAX_ENUM_EXT : constant unsigned := 2147483647; -- vulkan_core.h:8280
subtype VkSurfaceCounterFlagsEXT is VkFlags; -- vulkan_core.h:8284
type VkSurfaceCapabilities2EXT is record
sType : aliased VkStructureType; -- vulkan_core.h:8286
pNext : System.Address; -- vulkan_core.h:8287
minImageCount : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:8288
maxImageCount : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:8289
currentExtent : aliased VkExtent2D; -- vulkan_core.h:8290
minImageExtent : aliased VkExtent2D; -- vulkan_core.h:8291
maxImageExtent : aliased VkExtent2D; -- vulkan_core.h:8292
maxImageArrayLayers : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:8293
supportedTransforms : aliased VkSurfaceTransformFlagsKHR; -- vulkan_core.h:8294
currentTransform : aliased VkSurfaceTransformFlagBitsKHR; -- vulkan_core.h:8295
supportedCompositeAlpha : aliased VkCompositeAlphaFlagsKHR; -- vulkan_core.h:8296
supportedUsageFlags : aliased VkImageUsageFlags; -- vulkan_core.h:8297
supportedSurfaceCounters : aliased VkSurfaceCounterFlagsEXT; -- vulkan_core.h:8298
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:8285
type PFN_vkGetPhysicalDeviceSurfaceCapabilities2EXT is access function
(arg1 : VkPhysicalDevice;
arg2 : VkSurfaceKHR;
arg3 : access VkSurfaceCapabilities2EXT) return VkResult
with Convention => C; -- vulkan_core.h:8301
function vkGetPhysicalDeviceSurfaceCapabilities2EXT
(physicalDevice : VkPhysicalDevice;
surface : VkSurfaceKHR;
pSurfaceCapabilities : access VkSurfaceCapabilities2EXT) return VkResult -- vulkan_core.h:8304
with Import => True,
Convention => C,
External_Name => "vkGetPhysicalDeviceSurfaceCapabilities2EXT";
subtype VkDisplayPowerStateEXT is unsigned;
VK_DISPLAY_POWER_STATE_OFF_EXT : constant unsigned := 0;
VK_DISPLAY_POWER_STATE_SUSPEND_EXT : constant unsigned := 1;
VK_DISPLAY_POWER_STATE_ON_EXT : constant unsigned := 2;
VK_DISPLAY_POWER_STATE_BEGIN_RANGE_EXT : constant unsigned := 0;
VK_DISPLAY_POWER_STATE_END_RANGE_EXT : constant unsigned := 2;
VK_DISPLAY_POWER_STATE_RANGE_SIZE_EXT : constant unsigned := 3;
VK_DISPLAY_POWER_STATE_MAX_ENUM_EXT : constant unsigned := 2147483647; -- vulkan_core.h:8315
subtype VkDeviceEventTypeEXT is unsigned;
VK_DEVICE_EVENT_TYPE_DISPLAY_HOTPLUG_EXT : constant unsigned := 0;
VK_DEVICE_EVENT_TYPE_BEGIN_RANGE_EXT : constant unsigned := 0;
VK_DEVICE_EVENT_TYPE_END_RANGE_EXT : constant unsigned := 0;
VK_DEVICE_EVENT_TYPE_RANGE_SIZE_EXT : constant unsigned := 1;
VK_DEVICE_EVENT_TYPE_MAX_ENUM_EXT : constant unsigned := 2147483647; -- vulkan_core.h:8325
subtype VkDisplayEventTypeEXT is unsigned;
VK_DISPLAY_EVENT_TYPE_FIRST_PIXEL_OUT_EXT : constant unsigned := 0;
VK_DISPLAY_EVENT_TYPE_BEGIN_RANGE_EXT : constant unsigned := 0;
VK_DISPLAY_EVENT_TYPE_END_RANGE_EXT : constant unsigned := 0;
VK_DISPLAY_EVENT_TYPE_RANGE_SIZE_EXT : constant unsigned := 1;
VK_DISPLAY_EVENT_TYPE_MAX_ENUM_EXT : constant unsigned := 2147483647; -- vulkan_core.h:8333
type VkDisplayPowerInfoEXT is record
sType : aliased VkStructureType; -- vulkan_core.h:8341
pNext : System.Address; -- vulkan_core.h:8342
powerState : aliased VkDisplayPowerStateEXT; -- vulkan_core.h:8343
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:8340
type VkDeviceEventInfoEXT is record
sType : aliased VkStructureType; -- vulkan_core.h:8347
pNext : System.Address; -- vulkan_core.h:8348
deviceEvent : aliased VkDeviceEventTypeEXT; -- vulkan_core.h:8349
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:8346
type VkDisplayEventInfoEXT is record
sType : aliased VkStructureType; -- vulkan_core.h:8353
pNext : System.Address; -- vulkan_core.h:8354
displayEvent : aliased VkDisplayEventTypeEXT; -- vulkan_core.h:8355
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:8352
type VkSwapchainCounterCreateInfoEXT is record
sType : aliased VkStructureType; -- vulkan_core.h:8359
pNext : System.Address; -- vulkan_core.h:8360
surfaceCounters : aliased VkSurfaceCounterFlagsEXT; -- vulkan_core.h:8361
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:8358
type PFN_vkDisplayPowerControlEXT is access function
(arg1 : VkDevice;
arg2 : VkDisplayKHR;
arg3 : access constant VkDisplayPowerInfoEXT) return VkResult
with Convention => C; -- vulkan_core.h:8364
type PFN_vkRegisterDeviceEventEXT is access function
(arg1 : VkDevice;
arg2 : access constant VkDeviceEventInfoEXT;
arg3 : access constant VkAllocationCallbacks;
arg4 : System.Address) return VkResult
with Convention => C; -- vulkan_core.h:8365
type PFN_vkRegisterDisplayEventEXT is access function
(arg1 : VkDevice;
arg2 : VkDisplayKHR;
arg3 : access constant VkDisplayEventInfoEXT;
arg4 : access constant VkAllocationCallbacks;
arg5 : System.Address) return VkResult
with Convention => C; -- vulkan_core.h:8366
type PFN_vkGetSwapchainCounterEXT is access function
(arg1 : VkDevice;
arg2 : VkSwapchainKHR;
arg3 : VkSurfaceCounterFlagBitsEXT;
arg4 : access Interfaces.C.unsigned_long) return VkResult
with Convention => C; -- vulkan_core.h:8367
function vkDisplayPowerControlEXT
(device : VkDevice;
display : VkDisplayKHR;
pDisplayPowerInfo : access constant VkDisplayPowerInfoEXT) return VkResult -- vulkan_core.h:8370
with Import => True,
Convention => C,
External_Name => "vkDisplayPowerControlEXT";
function vkRegisterDeviceEventEXT
(device : VkDevice;
pDeviceEventInfo : access constant VkDeviceEventInfoEXT;
pAllocator : access constant VkAllocationCallbacks;
pFence : System.Address) return VkResult -- vulkan_core.h:8375
with Import => True,
Convention => C,
External_Name => "vkRegisterDeviceEventEXT";
function vkRegisterDisplayEventEXT
(device : VkDevice;
display : VkDisplayKHR;
pDisplayEventInfo : access constant VkDisplayEventInfoEXT;
pAllocator : access constant VkAllocationCallbacks;
pFence : System.Address) return VkResult -- vulkan_core.h:8381
with Import => True,
Convention => C,
External_Name => "vkRegisterDisplayEventEXT";
function vkGetSwapchainCounterEXT
(device : VkDevice;
swapchain : VkSwapchainKHR;
counter : VkSurfaceCounterFlagBitsEXT;
pCounterValue : access Interfaces.C.unsigned_long) return VkResult -- vulkan_core.h:8388
with Import => True,
Convention => C,
External_Name => "vkGetSwapchainCounterEXT";
type VkRefreshCycleDurationGOOGLE is record
refreshDuration : aliased Interfaces.C.unsigned_long; -- vulkan_core.h:8400
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:8399
type VkPastPresentationTimingGOOGLE is record
presentID : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:8404
desiredPresentTime : aliased Interfaces.C.unsigned_long; -- vulkan_core.h:8405
actualPresentTime : aliased Interfaces.C.unsigned_long; -- vulkan_core.h:8406
earliestPresentTime : aliased Interfaces.C.unsigned_long; -- vulkan_core.h:8407
presentMargin : aliased Interfaces.C.unsigned_long; -- vulkan_core.h:8408
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:8403
type VkPresentTimeGOOGLE is record
presentID : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:8412
desiredPresentTime : aliased Interfaces.C.unsigned_long; -- vulkan_core.h:8413
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:8411
type VkPresentTimesInfoGOOGLE is record
sType : aliased VkStructureType; -- vulkan_core.h:8417
pNext : System.Address; -- vulkan_core.h:8418
swapchainCount : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:8419
pTimes : access constant VkPresentTimeGOOGLE; -- vulkan_core.h:8420
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:8416
type PFN_vkGetRefreshCycleDurationGOOGLE is access function
(arg1 : VkDevice;
arg2 : VkSwapchainKHR;
arg3 : access VkRefreshCycleDurationGOOGLE) return VkResult
with Convention => C; -- vulkan_core.h:8423
type PFN_vkGetPastPresentationTimingGOOGLE is access function
(arg1 : VkDevice;
arg2 : VkSwapchainKHR;
arg3 : access Interfaces.C.unsigned_short;
arg4 : access VkPastPresentationTimingGOOGLE) return VkResult
with Convention => C; -- vulkan_core.h:8424
function vkGetRefreshCycleDurationGOOGLE
(device : VkDevice;
swapchain : VkSwapchainKHR;
pDisplayTimingProperties : access VkRefreshCycleDurationGOOGLE) return VkResult -- vulkan_core.h:8427
with Import => True,
Convention => C,
External_Name => "vkGetRefreshCycleDurationGOOGLE";
function vkGetPastPresentationTimingGOOGLE
(device : VkDevice;
swapchain : VkSwapchainKHR;
pPresentationTimingCount : access Interfaces.C.unsigned_short;
pPresentationTimings : access VkPastPresentationTimingGOOGLE) return VkResult -- vulkan_core.h:8432
with Import => True,
Convention => C,
External_Name => "vkGetPastPresentationTimingGOOGLE";
type VkPhysicalDeviceMultiviewPerViewAttributesPropertiesNVX is record
sType : aliased VkStructureType; -- vulkan_core.h:8459
pNext : System.Address; -- vulkan_core.h:8460
perViewPositionAllComponents : aliased VkBool32; -- vulkan_core.h:8461
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:8458
subtype VkViewportCoordinateSwizzleNV is unsigned;
VK_VIEWPORT_COORDINATE_SWIZZLE_POSITIVE_X_NV : constant unsigned := 0;
VK_VIEWPORT_COORDINATE_SWIZZLE_NEGATIVE_X_NV : constant unsigned := 1;
VK_VIEWPORT_COORDINATE_SWIZZLE_POSITIVE_Y_NV : constant unsigned := 2;
VK_VIEWPORT_COORDINATE_SWIZZLE_NEGATIVE_Y_NV : constant unsigned := 3;
VK_VIEWPORT_COORDINATE_SWIZZLE_POSITIVE_Z_NV : constant unsigned := 4;
VK_VIEWPORT_COORDINATE_SWIZZLE_NEGATIVE_Z_NV : constant unsigned := 5;
VK_VIEWPORT_COORDINATE_SWIZZLE_POSITIVE_W_NV : constant unsigned := 6;
VK_VIEWPORT_COORDINATE_SWIZZLE_NEGATIVE_W_NV : constant unsigned := 7;
VK_VIEWPORT_COORDINATE_SWIZZLE_BEGIN_RANGE_NV : constant unsigned := 0;
VK_VIEWPORT_COORDINATE_SWIZZLE_END_RANGE_NV : constant unsigned := 7;
VK_VIEWPORT_COORDINATE_SWIZZLE_RANGE_SIZE_NV : constant unsigned := 8;
VK_VIEWPORT_COORDINATE_SWIZZLE_MAX_ENUM_NV : constant unsigned := 2147483647; -- vulkan_core.h:8470
subtype VkPipelineViewportSwizzleStateCreateFlagsNV is VkFlags; -- vulkan_core.h:8484
type VkViewportSwizzleNV is record
x : aliased VkViewportCoordinateSwizzleNV; -- vulkan_core.h:8486
y : aliased VkViewportCoordinateSwizzleNV; -- vulkan_core.h:8487
z : aliased VkViewportCoordinateSwizzleNV; -- vulkan_core.h:8488
w : aliased VkViewportCoordinateSwizzleNV; -- vulkan_core.h:8489
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:8485
type VkPipelineViewportSwizzleStateCreateInfoNV is record
sType : aliased VkStructureType; -- vulkan_core.h:8493
pNext : System.Address; -- vulkan_core.h:8494
flags : aliased VkPipelineViewportSwizzleStateCreateFlagsNV; -- vulkan_core.h:8495
viewportCount : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:8496
pViewportSwizzles : access constant VkViewportSwizzleNV; -- vulkan_core.h:8497
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:8492
subtype VkDiscardRectangleModeEXT is unsigned;
VK_DISCARD_RECTANGLE_MODE_INCLUSIVE_EXT : constant unsigned := 0;
VK_DISCARD_RECTANGLE_MODE_EXCLUSIVE_EXT : constant unsigned := 1;
VK_DISCARD_RECTANGLE_MODE_BEGIN_RANGE_EXT : constant unsigned := 0;
VK_DISCARD_RECTANGLE_MODE_END_RANGE_EXT : constant unsigned := 1;
VK_DISCARD_RECTANGLE_MODE_RANGE_SIZE_EXT : constant unsigned := 2;
VK_DISCARD_RECTANGLE_MODE_MAX_ENUM_EXT : constant unsigned := 2147483647; -- vulkan_core.h:8506
subtype VkPipelineDiscardRectangleStateCreateFlagsEXT is VkFlags; -- vulkan_core.h:8514
type VkPhysicalDeviceDiscardRectanglePropertiesEXT is record
sType : aliased VkStructureType; -- vulkan_core.h:8516
pNext : System.Address; -- vulkan_core.h:8517
maxDiscardRectangles : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:8518
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:8515
type VkPipelineDiscardRectangleStateCreateInfoEXT is record
sType : aliased VkStructureType; -- vulkan_core.h:8522
pNext : System.Address; -- vulkan_core.h:8523
flags : aliased VkPipelineDiscardRectangleStateCreateFlagsEXT; -- vulkan_core.h:8524
discardRectangleMode : aliased VkDiscardRectangleModeEXT; -- vulkan_core.h:8525
discardRectangleCount : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:8526
pDiscardRectangles : access constant VkRect2D; -- vulkan_core.h:8527
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:8521
type PFN_vkCmdSetDiscardRectangleEXT is access procedure
(arg1 : VkCommandBuffer;
arg2 : Interfaces.C.unsigned_short;
arg3 : Interfaces.C.unsigned_short;
arg4 : access constant VkRect2D)
with Convention => C; -- vulkan_core.h:8530
procedure vkCmdSetDiscardRectangleEXT
(commandBuffer : VkCommandBuffer;
firstDiscardRectangle : Interfaces.C.unsigned_short;
discardRectangleCount : Interfaces.C.unsigned_short;
pDiscardRectangles : access constant VkRect2D) -- vulkan_core.h:8533
with Import => True,
Convention => C,
External_Name => "vkCmdSetDiscardRectangleEXT";
subtype VkConservativeRasterizationModeEXT is unsigned;
VK_CONSERVATIVE_RASTERIZATION_MODE_DISABLED_EXT : constant unsigned := 0;
VK_CONSERVATIVE_RASTERIZATION_MODE_OVERESTIMATE_EXT : constant unsigned := 1;
VK_CONSERVATIVE_RASTERIZATION_MODE_UNDERESTIMATE_EXT : constant unsigned := 2;
VK_CONSERVATIVE_RASTERIZATION_MODE_BEGIN_RANGE_EXT : constant unsigned := 0;
VK_CONSERVATIVE_RASTERIZATION_MODE_END_RANGE_EXT : constant unsigned := 2;
VK_CONSERVATIVE_RASTERIZATION_MODE_RANGE_SIZE_EXT : constant unsigned := 3;
VK_CONSERVATIVE_RASTERIZATION_MODE_MAX_ENUM_EXT : constant unsigned := 2147483647; -- vulkan_core.h:8545
subtype VkPipelineRasterizationConservativeStateCreateFlagsEXT is VkFlags; -- vulkan_core.h:8554
type VkPhysicalDeviceConservativeRasterizationPropertiesEXT is record
sType : aliased VkStructureType; -- vulkan_core.h:8556
pNext : System.Address; -- vulkan_core.h:8557
primitiveOverestimationSize : aliased float; -- vulkan_core.h:8558
maxExtraPrimitiveOverestimationSize : aliased float; -- vulkan_core.h:8559
extraPrimitiveOverestimationSizeGranularity : aliased float; -- vulkan_core.h:8560
primitiveUnderestimation : aliased VkBool32; -- vulkan_core.h:8561
conservativePointAndLineRasterization : aliased VkBool32; -- vulkan_core.h:8562
degenerateTrianglesRasterized : aliased VkBool32; -- vulkan_core.h:8563
degenerateLinesRasterized : aliased VkBool32; -- vulkan_core.h:8564
fullyCoveredFragmentShaderInputVariable : aliased VkBool32; -- vulkan_core.h:8565
conservativeRasterizationPostDepthCoverage : aliased VkBool32; -- vulkan_core.h:8566
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:8555
type VkPipelineRasterizationConservativeStateCreateInfoEXT is record
sType : aliased VkStructureType; -- vulkan_core.h:8570
pNext : System.Address; -- vulkan_core.h:8571
flags : aliased VkPipelineRasterizationConservativeStateCreateFlagsEXT; -- vulkan_core.h:8572
conservativeRasterizationMode : aliased VkConservativeRasterizationModeEXT; -- vulkan_core.h:8573
extraPrimitiveOverestimationSize : aliased float; -- vulkan_core.h:8574
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:8569
subtype VkPipelineRasterizationDepthClipStateCreateFlagsEXT is VkFlags; -- vulkan_core.h:8582
type VkPhysicalDeviceDepthClipEnableFeaturesEXT is record
sType : aliased VkStructureType; -- vulkan_core.h:8584
pNext : System.Address; -- vulkan_core.h:8585
depthClipEnable : aliased VkBool32; -- vulkan_core.h:8586
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:8583
type VkPipelineRasterizationDepthClipStateCreateInfoEXT is record
sType : aliased VkStructureType; -- vulkan_core.h:8590
pNext : System.Address; -- vulkan_core.h:8591
flags : aliased VkPipelineRasterizationDepthClipStateCreateFlagsEXT; -- vulkan_core.h:8592
depthClipEnable : aliased VkBool32; -- vulkan_core.h:8593
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:8589
type VkXYColorEXT is record
x : aliased float; -- vulkan_core.h:8607
y : aliased float; -- vulkan_core.h:8608
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:8606
type VkHdrMetadataEXT is record
sType : aliased VkStructureType; -- vulkan_core.h:8612
pNext : System.Address; -- vulkan_core.h:8613
displayPrimaryRed : aliased VkXYColorEXT; -- vulkan_core.h:8614
displayPrimaryGreen : aliased VkXYColorEXT; -- vulkan_core.h:8615
displayPrimaryBlue : aliased VkXYColorEXT; -- vulkan_core.h:8616
whitePoint : aliased VkXYColorEXT; -- vulkan_core.h:8617
maxLuminance : aliased float; -- vulkan_core.h:8618
minLuminance : aliased float; -- vulkan_core.h:8619
maxContentLightLevel : aliased float; -- vulkan_core.h:8620
maxFrameAverageLightLevel : aliased float; -- vulkan_core.h:8621
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:8611
type PFN_vkSetHdrMetadataEXT is access procedure
(arg1 : VkDevice;
arg2 : Interfaces.C.unsigned_short;
arg3 : System.Address;
arg4 : access constant VkHdrMetadataEXT)
with Convention => C; -- vulkan_core.h:8624
procedure vkSetHdrMetadataEXT
(device : VkDevice;
swapchainCount : Interfaces.C.unsigned_short;
pSwapchains : System.Address;
pMetadata : access constant VkHdrMetadataEXT) -- vulkan_core.h:8627
with Import => True,
Convention => C,
External_Name => "vkSetHdrMetadataEXT";
type VkDebugUtilsMessengerEXT_T is null record; -- incomplete struct
type VkDebugUtilsMessengerEXT is access all VkDebugUtilsMessengerEXT_T; -- vulkan_core.h:8647
subtype VkDebugUtilsMessengerCallbackDataFlagsEXT is VkFlags; -- vulkan_core.h:8650
subtype VkDebugUtilsMessengerCreateFlagsEXT is VkFlags; -- vulkan_core.h:8651
subtype VkDebugUtilsMessageSeverityFlagBitsEXT is unsigned;
VK_DEBUG_UTILS_MESSAGE_SEVERITY_VERBOSE_BIT_EXT : constant unsigned := 1;
VK_DEBUG_UTILS_MESSAGE_SEVERITY_INFO_BIT_EXT : constant unsigned := 16;
VK_DEBUG_UTILS_MESSAGE_SEVERITY_WARNING_BIT_EXT : constant unsigned := 256;
VK_DEBUG_UTILS_MESSAGE_SEVERITY_ERROR_BIT_EXT : constant unsigned := 4096;
VK_DEBUG_UTILS_MESSAGE_SEVERITY_FLAG_BITS_MAX_ENUM_EXT : constant unsigned := 2147483647; -- vulkan_core.h:8653
subtype VkDebugUtilsMessageSeverityFlagsEXT is VkFlags; -- vulkan_core.h:8660
subtype VkDebugUtilsMessageTypeFlagBitsEXT is unsigned;
VK_DEBUG_UTILS_MESSAGE_TYPE_GENERAL_BIT_EXT : constant unsigned := 1;
VK_DEBUG_UTILS_MESSAGE_TYPE_VALIDATION_BIT_EXT : constant unsigned := 2;
VK_DEBUG_UTILS_MESSAGE_TYPE_PERFORMANCE_BIT_EXT : constant unsigned := 4;
VK_DEBUG_UTILS_MESSAGE_TYPE_FLAG_BITS_MAX_ENUM_EXT : constant unsigned := 2147483647; -- vulkan_core.h:8662
subtype VkDebugUtilsMessageTypeFlagsEXT is VkFlags; -- vulkan_core.h:8668
type VkDebugUtilsObjectNameInfoEXT is record
sType : aliased VkStructureType; -- vulkan_core.h:8670
pNext : System.Address; -- vulkan_core.h:8671
objectType : aliased VkObjectType; -- vulkan_core.h:8672
objectHandle : aliased Interfaces.C.unsigned_long; -- vulkan_core.h:8673
pObjectName : Interfaces.C.Strings.chars_ptr; -- vulkan_core.h:8674
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:8669
type VkDebugUtilsObjectTagInfoEXT is record
sType : aliased VkStructureType; -- vulkan_core.h:8678
pNext : System.Address; -- vulkan_core.h:8679
objectType : aliased VkObjectType; -- vulkan_core.h:8680
objectHandle : aliased Interfaces.C.unsigned_long; -- vulkan_core.h:8681
tagName : aliased Interfaces.C.unsigned_long; -- vulkan_core.h:8682
tagSize : aliased size_t; -- vulkan_core.h:8683
pTag : System.Address; -- vulkan_core.h:8684
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:8677
type VkDebugUtilsLabelEXT_array1588 is array (0 .. 3) of aliased float;
type VkDebugUtilsLabelEXT is record
sType : aliased VkStructureType; -- vulkan_core.h:8688
pNext : System.Address; -- vulkan_core.h:8689
pLabelName : Interfaces.C.Strings.chars_ptr; -- vulkan_core.h:8690
color : aliased VkDebugUtilsLabelEXT_array1588; -- vulkan_core.h:8691
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:8687
type VkDebugUtilsMessengerCallbackDataEXT is record
sType : aliased VkStructureType; -- vulkan_core.h:8695
pNext : System.Address; -- vulkan_core.h:8696
flags : aliased VkDebugUtilsMessengerCallbackDataFlagsEXT; -- vulkan_core.h:8697
pMessageIdName : Interfaces.C.Strings.chars_ptr; -- vulkan_core.h:8698
messageIdNumber : aliased Interfaces.C.short; -- vulkan_core.h:8699
pMessage : Interfaces.C.Strings.chars_ptr; -- vulkan_core.h:8700
queueLabelCount : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:8701
pQueueLabels : access constant VkDebugUtilsLabelEXT; -- vulkan_core.h:8702
cmdBufLabelCount : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:8703
pCmdBufLabels : access constant VkDebugUtilsLabelEXT; -- vulkan_core.h:8704
objectCount : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:8705
pObjects : access constant VkDebugUtilsObjectNameInfoEXT; -- vulkan_core.h:8706
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:8694
type PFN_vkDebugUtilsMessengerCallbackEXT is access function
(arg1 : VkDebugUtilsMessageSeverityFlagBitsEXT;
arg2 : VkDebugUtilsMessageTypeFlagsEXT;
arg3 : access constant VkDebugUtilsMessengerCallbackDataEXT;
arg4 : System.Address) return VkBool32
with Convention => C; -- vulkan_core.h:8709
type VkDebugUtilsMessengerCreateInfoEXT is record
sType : aliased VkStructureType; -- vulkan_core.h:8716
pNext : System.Address; -- vulkan_core.h:8717
flags : aliased VkDebugUtilsMessengerCreateFlagsEXT; -- vulkan_core.h:8718
messageSeverity : aliased VkDebugUtilsMessageSeverityFlagsEXT; -- vulkan_core.h:8719
messageType : aliased VkDebugUtilsMessageTypeFlagsEXT; -- vulkan_core.h:8720
pfnUserCallback : PFN_vkDebugUtilsMessengerCallbackEXT; -- vulkan_core.h:8721
pUserData : System.Address; -- vulkan_core.h:8722
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:8715
type PFN_vkSetDebugUtilsObjectNameEXT is access function (arg1 : VkDevice; arg2 : access constant VkDebugUtilsObjectNameInfoEXT) return VkResult
with Convention => C; -- vulkan_core.h:8725
type PFN_vkSetDebugUtilsObjectTagEXT is access function (arg1 : VkDevice; arg2 : access constant VkDebugUtilsObjectTagInfoEXT) return VkResult
with Convention => C; -- vulkan_core.h:8726
type PFN_vkQueueBeginDebugUtilsLabelEXT is access procedure (arg1 : VkQueue; arg2 : access constant VkDebugUtilsLabelEXT)
with Convention => C; -- vulkan_core.h:8727
type PFN_vkQueueEndDebugUtilsLabelEXT is access procedure (arg1 : VkQueue)
with Convention => C; -- vulkan_core.h:8728
type PFN_vkQueueInsertDebugUtilsLabelEXT is access procedure (arg1 : VkQueue; arg2 : access constant VkDebugUtilsLabelEXT)
with Convention => C; -- vulkan_core.h:8729
type PFN_vkCmdBeginDebugUtilsLabelEXT is access procedure (arg1 : VkCommandBuffer; arg2 : access constant VkDebugUtilsLabelEXT)
with Convention => C; -- vulkan_core.h:8730
type PFN_vkCmdEndDebugUtilsLabelEXT is access procedure (arg1 : VkCommandBuffer)
with Convention => C; -- vulkan_core.h:8731
type PFN_vkCmdInsertDebugUtilsLabelEXT is access procedure (arg1 : VkCommandBuffer; arg2 : access constant VkDebugUtilsLabelEXT)
with Convention => C; -- vulkan_core.h:8732
type PFN_vkCreateDebugUtilsMessengerEXT is access function
(arg1 : VkInstance;
arg2 : access constant VkDebugUtilsMessengerCreateInfoEXT;
arg3 : access constant VkAllocationCallbacks;
arg4 : System.Address) return VkResult
with Convention => C; -- vulkan_core.h:8733
type PFN_vkDestroyDebugUtilsMessengerEXT is access procedure
(arg1 : VkInstance;
arg2 : VkDebugUtilsMessengerEXT;
arg3 : access constant VkAllocationCallbacks)
with Convention => C; -- vulkan_core.h:8734
type PFN_vkSubmitDebugUtilsMessageEXT is access procedure
(arg1 : VkInstance;
arg2 : VkDebugUtilsMessageSeverityFlagBitsEXT;
arg3 : VkDebugUtilsMessageTypeFlagsEXT;
arg4 : access constant VkDebugUtilsMessengerCallbackDataEXT)
with Convention => C; -- vulkan_core.h:8735
function vkSetDebugUtilsObjectNameEXT (device : VkDevice; pNameInfo : access constant VkDebugUtilsObjectNameInfoEXT) return VkResult -- vulkan_core.h:8738
with Import => True,
Convention => C,
External_Name => "vkSetDebugUtilsObjectNameEXT";
function vkSetDebugUtilsObjectTagEXT (device : VkDevice; pTagInfo : access constant VkDebugUtilsObjectTagInfoEXT) return VkResult -- vulkan_core.h:8742
with Import => True,
Convention => C,
External_Name => "vkSetDebugUtilsObjectTagEXT";
procedure vkQueueBeginDebugUtilsLabelEXT (queue : VkQueue; pLabelInfo : access constant VkDebugUtilsLabelEXT) -- vulkan_core.h:8746
with Import => True,
Convention => C,
External_Name => "vkQueueBeginDebugUtilsLabelEXT";
procedure vkQueueEndDebugUtilsLabelEXT (queue : VkQueue) -- vulkan_core.h:8750
with Import => True,
Convention => C,
External_Name => "vkQueueEndDebugUtilsLabelEXT";
procedure vkQueueInsertDebugUtilsLabelEXT (queue : VkQueue; pLabelInfo : access constant VkDebugUtilsLabelEXT) -- vulkan_core.h:8753
with Import => True,
Convention => C,
External_Name => "vkQueueInsertDebugUtilsLabelEXT";
procedure vkCmdBeginDebugUtilsLabelEXT (commandBuffer : VkCommandBuffer; pLabelInfo : access constant VkDebugUtilsLabelEXT) -- vulkan_core.h:8757
with Import => True,
Convention => C,
External_Name => "vkCmdBeginDebugUtilsLabelEXT";
procedure vkCmdEndDebugUtilsLabelEXT (commandBuffer : VkCommandBuffer) -- vulkan_core.h:8761
with Import => True,
Convention => C,
External_Name => "vkCmdEndDebugUtilsLabelEXT";
procedure vkCmdInsertDebugUtilsLabelEXT (commandBuffer : VkCommandBuffer; pLabelInfo : access constant VkDebugUtilsLabelEXT) -- vulkan_core.h:8764
with Import => True,
Convention => C,
External_Name => "vkCmdInsertDebugUtilsLabelEXT";
function vkCreateDebugUtilsMessengerEXT
(instance : VkInstance;
pCreateInfo : access constant VkDebugUtilsMessengerCreateInfoEXT;
pAllocator : access constant VkAllocationCallbacks;
pMessenger : System.Address) return VkResult -- vulkan_core.h:8768
with Import => True,
Convention => C,
External_Name => "vkCreateDebugUtilsMessengerEXT";
procedure vkDestroyDebugUtilsMessengerEXT
(instance : VkInstance;
messenger : VkDebugUtilsMessengerEXT;
pAllocator : access constant VkAllocationCallbacks) -- vulkan_core.h:8774
with Import => True,
Convention => C,
External_Name => "vkDestroyDebugUtilsMessengerEXT";
procedure vkSubmitDebugUtilsMessageEXT
(instance : VkInstance;
messageSeverity : VkDebugUtilsMessageSeverityFlagBitsEXT;
messageTypes : VkDebugUtilsMessageTypeFlagsEXT;
pCallbackData : access constant VkDebugUtilsMessengerCallbackDataEXT) -- vulkan_core.h:8779
with Import => True,
Convention => C,
External_Name => "vkSubmitDebugUtilsMessageEXT";
subtype VkSamplerReductionModeEXT is VkSamplerReductionMode; -- vulkan_core.h:8790
subtype VkSamplerReductionModeCreateInfoEXT is VkSamplerReductionModeCreateInfo; -- vulkan_core.h:8792
subtype VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT is VkPhysicalDeviceSamplerFilterMinmaxProperties; -- vulkan_core.h:8794
type VkPhysicalDeviceInlineUniformBlockFeaturesEXT is record
sType : aliased VkStructureType; -- vulkan_core.h:8817
pNext : System.Address; -- vulkan_core.h:8818
inlineUniformBlock : aliased VkBool32; -- vulkan_core.h:8819
descriptorBindingInlineUniformBlockUpdateAfterBind : aliased VkBool32; -- vulkan_core.h:8820
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:8816
type VkPhysicalDeviceInlineUniformBlockPropertiesEXT is record
sType : aliased VkStructureType; -- vulkan_core.h:8824
pNext : System.Address; -- vulkan_core.h:8825
maxInlineUniformBlockSize : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:8826
maxPerStageDescriptorInlineUniformBlocks : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:8827
maxPerStageDescriptorUpdateAfterBindInlineUniformBlocks : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:8828
maxDescriptorSetInlineUniformBlocks : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:8829
maxDescriptorSetUpdateAfterBindInlineUniformBlocks : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:8830
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:8823
type VkWriteDescriptorSetInlineUniformBlockEXT is record
sType : aliased VkStructureType; -- vulkan_core.h:8834
pNext : System.Address; -- vulkan_core.h:8835
dataSize : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:8836
pData : System.Address; -- vulkan_core.h:8837
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:8833
type VkDescriptorPoolInlineUniformBlockCreateInfoEXT is record
sType : aliased VkStructureType; -- vulkan_core.h:8841
pNext : System.Address; -- vulkan_core.h:8842
maxInlineUniformBlockBindings : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:8843
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:8840
type VkSampleLocationEXT is record
x : aliased float; -- vulkan_core.h:8857
y : aliased float; -- vulkan_core.h:8858
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:8856
type VkSampleLocationsInfoEXT is record
sType : aliased VkStructureType; -- vulkan_core.h:8862
pNext : System.Address; -- vulkan_core.h:8863
sampleLocationsPerPixel : aliased VkSampleCountFlagBits; -- vulkan_core.h:8864
sampleLocationGridSize : aliased VkExtent2D; -- vulkan_core.h:8865
sampleLocationsCount : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:8866
pSampleLocations : access constant VkSampleLocationEXT; -- vulkan_core.h:8867
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:8861
type VkAttachmentSampleLocationsEXT is record
attachmentIndex : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:8871
sampleLocationsInfo : aliased VkSampleLocationsInfoEXT; -- vulkan_core.h:8872
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:8870
type VkSubpassSampleLocationsEXT is record
subpassIndex : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:8876
sampleLocationsInfo : aliased VkSampleLocationsInfoEXT; -- vulkan_core.h:8877
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:8875
type VkRenderPassSampleLocationsBeginInfoEXT is record
sType : aliased VkStructureType; -- vulkan_core.h:8881
pNext : System.Address; -- vulkan_core.h:8882
attachmentInitialSampleLocationsCount : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:8883
pAttachmentInitialSampleLocations : access constant VkAttachmentSampleLocationsEXT; -- vulkan_core.h:8884
postSubpassSampleLocationsCount : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:8885
pPostSubpassSampleLocations : access constant VkSubpassSampleLocationsEXT; -- vulkan_core.h:8886
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:8880
type VkPipelineSampleLocationsStateCreateInfoEXT is record
sType : aliased VkStructureType; -- vulkan_core.h:8890
pNext : System.Address; -- vulkan_core.h:8891
sampleLocationsEnable : aliased VkBool32; -- vulkan_core.h:8892
sampleLocationsInfo : aliased VkSampleLocationsInfoEXT; -- vulkan_core.h:8893
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:8889
type VkPhysicalDeviceSampleLocationsPropertiesEXT_array1334 is array (0 .. 1) of aliased float;
type VkPhysicalDeviceSampleLocationsPropertiesEXT is record
sType : aliased VkStructureType; -- vulkan_core.h:8897
pNext : System.Address; -- vulkan_core.h:8898
sampleLocationSampleCounts : aliased VkSampleCountFlags; -- vulkan_core.h:8899
maxSampleLocationGridSize : aliased VkExtent2D; -- vulkan_core.h:8900
sampleLocationCoordinateRange : aliased VkPhysicalDeviceSampleLocationsPropertiesEXT_array1334; -- vulkan_core.h:8901
sampleLocationSubPixelBits : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:8902
variableSampleLocations : aliased VkBool32; -- vulkan_core.h:8903
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:8896
type VkMultisamplePropertiesEXT is record
sType : aliased VkStructureType; -- vulkan_core.h:8907
pNext : System.Address; -- vulkan_core.h:8908
maxSampleLocationGridSize : aliased VkExtent2D; -- vulkan_core.h:8909
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:8906
type PFN_vkCmdSetSampleLocationsEXT is access procedure (arg1 : VkCommandBuffer; arg2 : access constant VkSampleLocationsInfoEXT)
with Convention => C; -- vulkan_core.h:8912
type PFN_vkGetPhysicalDeviceMultisamplePropertiesEXT is access procedure
(arg1 : VkPhysicalDevice;
arg2 : VkSampleCountFlagBits;
arg3 : access VkMultisamplePropertiesEXT)
with Convention => C; -- vulkan_core.h:8913
procedure vkCmdSetSampleLocationsEXT (commandBuffer : VkCommandBuffer; pSampleLocationsInfo : access constant VkSampleLocationsInfoEXT) -- vulkan_core.h:8916
with Import => True,
Convention => C,
External_Name => "vkCmdSetSampleLocationsEXT";
procedure vkGetPhysicalDeviceMultisamplePropertiesEXT
(physicalDevice : VkPhysicalDevice;
samples : VkSampleCountFlagBits;
pMultisampleProperties : access VkMultisamplePropertiesEXT) -- vulkan_core.h:8920
with Import => True,
Convention => C,
External_Name => "vkGetPhysicalDeviceMultisamplePropertiesEXT";
subtype VkBlendOverlapEXT is unsigned;
VK_BLEND_OVERLAP_UNCORRELATED_EXT : constant unsigned := 0;
VK_BLEND_OVERLAP_DISJOINT_EXT : constant unsigned := 1;
VK_BLEND_OVERLAP_CONJOINT_EXT : constant unsigned := 2;
VK_BLEND_OVERLAP_BEGIN_RANGE_EXT : constant unsigned := 0;
VK_BLEND_OVERLAP_END_RANGE_EXT : constant unsigned := 2;
VK_BLEND_OVERLAP_RANGE_SIZE_EXT : constant unsigned := 3;
VK_BLEND_OVERLAP_MAX_ENUM_EXT : constant unsigned := 2147483647; -- vulkan_core.h:8931
type VkPhysicalDeviceBlendOperationAdvancedFeaturesEXT is record
sType : aliased VkStructureType; -- vulkan_core.h:8941
pNext : System.Address; -- vulkan_core.h:8942
advancedBlendCoherentOperations : aliased VkBool32; -- vulkan_core.h:8943
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:8940
type VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT is record
sType : aliased VkStructureType; -- vulkan_core.h:8947
pNext : System.Address; -- vulkan_core.h:8948
advancedBlendMaxColorAttachments : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:8949
advancedBlendIndependentBlend : aliased VkBool32; -- vulkan_core.h:8950
advancedBlendNonPremultipliedSrcColor : aliased VkBool32; -- vulkan_core.h:8951
advancedBlendNonPremultipliedDstColor : aliased VkBool32; -- vulkan_core.h:8952
advancedBlendCorrelatedOverlap : aliased VkBool32; -- vulkan_core.h:8953
advancedBlendAllOperations : aliased VkBool32; -- vulkan_core.h:8954
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:8946
type VkPipelineColorBlendAdvancedStateCreateInfoEXT is record
sType : aliased VkStructureType; -- vulkan_core.h:8958
pNext : System.Address; -- vulkan_core.h:8959
srcPremultiplied : aliased VkBool32; -- vulkan_core.h:8960
dstPremultiplied : aliased VkBool32; -- vulkan_core.h:8961
blendOverlap : aliased VkBlendOverlapEXT; -- vulkan_core.h:8962
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:8957
subtype VkPipelineCoverageToColorStateCreateFlagsNV is VkFlags; -- vulkan_core.h:8970
type VkPipelineCoverageToColorStateCreateInfoNV is record
sType : aliased VkStructureType; -- vulkan_core.h:8972
pNext : System.Address; -- vulkan_core.h:8973
flags : aliased VkPipelineCoverageToColorStateCreateFlagsNV; -- vulkan_core.h:8974
coverageToColorEnable : aliased VkBool32; -- vulkan_core.h:8975
coverageToColorLocation : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:8976
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:8971
subtype VkCoverageModulationModeNV is unsigned;
VK_COVERAGE_MODULATION_MODE_NONE_NV : constant unsigned := 0;
VK_COVERAGE_MODULATION_MODE_RGB_NV : constant unsigned := 1;
VK_COVERAGE_MODULATION_MODE_ALPHA_NV : constant unsigned := 2;
VK_COVERAGE_MODULATION_MODE_RGBA_NV : constant unsigned := 3;
VK_COVERAGE_MODULATION_MODE_BEGIN_RANGE_NV : constant unsigned := 0;
VK_COVERAGE_MODULATION_MODE_END_RANGE_NV : constant unsigned := 3;
VK_COVERAGE_MODULATION_MODE_RANGE_SIZE_NV : constant unsigned := 4;
VK_COVERAGE_MODULATION_MODE_MAX_ENUM_NV : constant unsigned := 2147483647; -- vulkan_core.h:8985
subtype VkPipelineCoverageModulationStateCreateFlagsNV is VkFlags; -- vulkan_core.h:8995
type VkPipelineCoverageModulationStateCreateInfoNV is record
sType : aliased VkStructureType; -- vulkan_core.h:8997
pNext : System.Address; -- vulkan_core.h:8998
flags : aliased VkPipelineCoverageModulationStateCreateFlagsNV; -- vulkan_core.h:8999
coverageModulationMode : aliased VkCoverageModulationModeNV; -- vulkan_core.h:9000
coverageModulationTableEnable : aliased VkBool32; -- vulkan_core.h:9001
coverageModulationTableCount : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:9002
pCoverageModulationTable : access float; -- vulkan_core.h:9003
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:8996
type VkPhysicalDeviceShaderSMBuiltinsPropertiesNV is record
sType : aliased VkStructureType; -- vulkan_core.h:9017
pNext : System.Address; -- vulkan_core.h:9018
shaderSMCount : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:9019
shaderWarpsPerSM : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:9020
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:9016
type VkPhysicalDeviceShaderSMBuiltinsFeaturesNV is record
sType : aliased VkStructureType; -- vulkan_core.h:9024
pNext : System.Address; -- vulkan_core.h:9025
shaderSMBuiltins : aliased VkBool32; -- vulkan_core.h:9026
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:9023
type VkDrmFormatModifierPropertiesEXT is record
drmFormatModifier : aliased Interfaces.C.unsigned_long; -- vulkan_core.h:9040
drmFormatModifierPlaneCount : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:9041
drmFormatModifierTilingFeatures : aliased VkFormatFeatureFlags; -- vulkan_core.h:9042
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:9039
type VkDrmFormatModifierPropertiesListEXT is record
sType : aliased VkStructureType; -- vulkan_core.h:9046
pNext : System.Address; -- vulkan_core.h:9047
drmFormatModifierCount : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:9048
pDrmFormatModifierProperties : access VkDrmFormatModifierPropertiesEXT; -- vulkan_core.h:9049
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:9045
type VkPhysicalDeviceImageDrmFormatModifierInfoEXT is record
sType : aliased VkStructureType; -- vulkan_core.h:9053
pNext : System.Address; -- vulkan_core.h:9054
drmFormatModifier : aliased Interfaces.C.unsigned_long; -- vulkan_core.h:9055
sharingMode : aliased VkSharingMode; -- vulkan_core.h:9056
queueFamilyIndexCount : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:9057
pQueueFamilyIndices : access Interfaces.C.unsigned_short; -- vulkan_core.h:9058
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:9052
type VkImageDrmFormatModifierListCreateInfoEXT is record
sType : aliased VkStructureType; -- vulkan_core.h:9062
pNext : System.Address; -- vulkan_core.h:9063
drmFormatModifierCount : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:9064
pDrmFormatModifiers : access Interfaces.C.unsigned_long; -- vulkan_core.h:9065
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:9061
type VkImageDrmFormatModifierExplicitCreateInfoEXT is record
sType : aliased VkStructureType; -- vulkan_core.h:9069
pNext : System.Address; -- vulkan_core.h:9070
drmFormatModifier : aliased Interfaces.C.unsigned_long; -- vulkan_core.h:9071
drmFormatModifierPlaneCount : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:9072
pPlaneLayouts : access constant VkSubresourceLayout; -- vulkan_core.h:9073
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:9068
type VkImageDrmFormatModifierPropertiesEXT is record
sType : aliased VkStructureType; -- vulkan_core.h:9077
pNext : System.Address; -- vulkan_core.h:9078
drmFormatModifier : aliased Interfaces.C.unsigned_long; -- vulkan_core.h:9079
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:9076
type PFN_vkGetImageDrmFormatModifierPropertiesEXT is access function
(arg1 : VkDevice;
arg2 : VkImage;
arg3 : access VkImageDrmFormatModifierPropertiesEXT) return VkResult
with Convention => C; -- vulkan_core.h:9082
function vkGetImageDrmFormatModifierPropertiesEXT
(device : VkDevice;
image : VkImage;
pProperties : access VkImageDrmFormatModifierPropertiesEXT) return VkResult -- vulkan_core.h:9085
with Import => True,
Convention => C,
External_Name => "vkGetImageDrmFormatModifierPropertiesEXT";
type VkValidationCacheEXT_T is null record; -- incomplete struct
type VkValidationCacheEXT is access all VkValidationCacheEXT_T; -- vulkan_core.h:9093
subtype VkValidationCacheHeaderVersionEXT is unsigned;
VK_VALIDATION_CACHE_HEADER_VERSION_ONE_EXT : constant unsigned := 1;
VK_VALIDATION_CACHE_HEADER_VERSION_BEGIN_RANGE_EXT : constant unsigned := 1;
VK_VALIDATION_CACHE_HEADER_VERSION_END_RANGE_EXT : constant unsigned := 1;
VK_VALIDATION_CACHE_HEADER_VERSION_RANGE_SIZE_EXT : constant unsigned := 1;
VK_VALIDATION_CACHE_HEADER_VERSION_MAX_ENUM_EXT : constant unsigned := 2147483647; -- vulkan_core.h:9097
subtype VkValidationCacheCreateFlagsEXT is VkFlags; -- vulkan_core.h:9104
type VkValidationCacheCreateInfoEXT is record
sType : aliased VkStructureType; -- vulkan_core.h:9106
pNext : System.Address; -- vulkan_core.h:9107
flags : aliased VkValidationCacheCreateFlagsEXT; -- vulkan_core.h:9108
initialDataSize : aliased size_t; -- vulkan_core.h:9109
pInitialData : System.Address; -- vulkan_core.h:9110
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:9105
type VkShaderModuleValidationCacheCreateInfoEXT is record
sType : aliased VkStructureType; -- vulkan_core.h:9114
pNext : System.Address; -- vulkan_core.h:9115
validationCache : VkValidationCacheEXT; -- vulkan_core.h:9116
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:9113
type PFN_vkCreateValidationCacheEXT is access function
(arg1 : VkDevice;
arg2 : access constant VkValidationCacheCreateInfoEXT;
arg3 : access constant VkAllocationCallbacks;
arg4 : System.Address) return VkResult
with Convention => C; -- vulkan_core.h:9119
type PFN_vkDestroyValidationCacheEXT is access procedure
(arg1 : VkDevice;
arg2 : VkValidationCacheEXT;
arg3 : access constant VkAllocationCallbacks)
with Convention => C; -- vulkan_core.h:9120
type PFN_vkMergeValidationCachesEXT is access function
(arg1 : VkDevice;
arg2 : VkValidationCacheEXT;
arg3 : Interfaces.C.unsigned_short;
arg4 : System.Address) return VkResult
with Convention => C; -- vulkan_core.h:9121
type PFN_vkGetValidationCacheDataEXT is access function
(arg1 : VkDevice;
arg2 : VkValidationCacheEXT;
arg3 : access size_t;
arg4 : System.Address) return VkResult
with Convention => C; -- vulkan_core.h:9122
function vkCreateValidationCacheEXT
(device : VkDevice;
pCreateInfo : access constant VkValidationCacheCreateInfoEXT;
pAllocator : access constant VkAllocationCallbacks;
pValidationCache : System.Address) return VkResult -- vulkan_core.h:9125
with Import => True,
Convention => C,
External_Name => "vkCreateValidationCacheEXT";
procedure vkDestroyValidationCacheEXT
(device : VkDevice;
validationCache : VkValidationCacheEXT;
pAllocator : access constant VkAllocationCallbacks) -- vulkan_core.h:9131
with Import => True,
Convention => C,
External_Name => "vkDestroyValidationCacheEXT";
function vkMergeValidationCachesEXT
(device : VkDevice;
dstCache : VkValidationCacheEXT;
srcCacheCount : Interfaces.C.unsigned_short;
pSrcCaches : System.Address) return VkResult -- vulkan_core.h:9136
with Import => True,
Convention => C,
External_Name => "vkMergeValidationCachesEXT";
function vkGetValidationCacheDataEXT
(device : VkDevice;
validationCache : VkValidationCacheEXT;
pDataSize : access size_t;
pData : System.Address) return VkResult -- vulkan_core.h:9142
with Import => True,
Convention => C,
External_Name => "vkGetValidationCacheDataEXT";
subtype VkDescriptorBindingFlagBitsEXT is VkDescriptorBindingFlagBits; -- vulkan_core.h:9153
subtype VkDescriptorBindingFlagsEXT is VkDescriptorBindingFlags; -- vulkan_core.h:9155
subtype VkDescriptorSetLayoutBindingFlagsCreateInfoEXT is VkDescriptorSetLayoutBindingFlagsCreateInfo; -- vulkan_core.h:9157
subtype VkPhysicalDeviceDescriptorIndexingFeaturesEXT is VkPhysicalDeviceDescriptorIndexingFeatures; -- vulkan_core.h:9159
subtype VkPhysicalDeviceDescriptorIndexingPropertiesEXT is VkPhysicalDeviceDescriptorIndexingProperties; -- vulkan_core.h:9161
subtype VkDescriptorSetVariableDescriptorCountAllocateInfoEXT is VkDescriptorSetVariableDescriptorCountAllocateInfo; -- vulkan_core.h:9163
subtype VkDescriptorSetVariableDescriptorCountLayoutSupportEXT is VkDescriptorSetVariableDescriptorCountLayoutSupport; -- vulkan_core.h:9165
subtype VkShadingRatePaletteEntryNV is unsigned;
VK_SHADING_RATE_PALETTE_ENTRY_NO_INVOCATIONS_NV : constant unsigned := 0;
VK_SHADING_RATE_PALETTE_ENTRY_16_INVOCATIONS_PER_PIXEL_NV : constant unsigned := 1;
VK_SHADING_RATE_PALETTE_ENTRY_8_INVOCATIONS_PER_PIXEL_NV : constant unsigned := 2;
VK_SHADING_RATE_PALETTE_ENTRY_4_INVOCATIONS_PER_PIXEL_NV : constant unsigned := 3;
VK_SHADING_RATE_PALETTE_ENTRY_2_INVOCATIONS_PER_PIXEL_NV : constant unsigned := 4;
VK_SHADING_RATE_PALETTE_ENTRY_1_INVOCATION_PER_PIXEL_NV : constant unsigned := 5;
VK_SHADING_RATE_PALETTE_ENTRY_1_INVOCATION_PER_2X1_PIXELS_NV : constant unsigned := 6;
VK_SHADING_RATE_PALETTE_ENTRY_1_INVOCATION_PER_1X2_PIXELS_NV : constant unsigned := 7;
VK_SHADING_RATE_PALETTE_ENTRY_1_INVOCATION_PER_2X2_PIXELS_NV : constant unsigned := 8;
VK_SHADING_RATE_PALETTE_ENTRY_1_INVOCATION_PER_4X2_PIXELS_NV : constant unsigned := 9;
VK_SHADING_RATE_PALETTE_ENTRY_1_INVOCATION_PER_2X4_PIXELS_NV : constant unsigned := 10;
VK_SHADING_RATE_PALETTE_ENTRY_1_INVOCATION_PER_4X4_PIXELS_NV : constant unsigned := 11;
VK_SHADING_RATE_PALETTE_ENTRY_BEGIN_RANGE_NV : constant unsigned := 0;
VK_SHADING_RATE_PALETTE_ENTRY_END_RANGE_NV : constant unsigned := 11;
VK_SHADING_RATE_PALETTE_ENTRY_RANGE_SIZE_NV : constant unsigned := 12;
VK_SHADING_RATE_PALETTE_ENTRY_MAX_ENUM_NV : constant unsigned := 2147483647; -- vulkan_core.h:9178
subtype VkCoarseSampleOrderTypeNV is unsigned;
VK_COARSE_SAMPLE_ORDER_TYPE_DEFAULT_NV : constant unsigned := 0;
VK_COARSE_SAMPLE_ORDER_TYPE_CUSTOM_NV : constant unsigned := 1;
VK_COARSE_SAMPLE_ORDER_TYPE_PIXEL_MAJOR_NV : constant unsigned := 2;
VK_COARSE_SAMPLE_ORDER_TYPE_SAMPLE_MAJOR_NV : constant unsigned := 3;
VK_COARSE_SAMPLE_ORDER_TYPE_BEGIN_RANGE_NV : constant unsigned := 0;
VK_COARSE_SAMPLE_ORDER_TYPE_END_RANGE_NV : constant unsigned := 3;
VK_COARSE_SAMPLE_ORDER_TYPE_RANGE_SIZE_NV : constant unsigned := 4;
VK_COARSE_SAMPLE_ORDER_TYPE_MAX_ENUM_NV : constant unsigned := 2147483647; -- vulkan_core.h:9197
type VkShadingRatePaletteNV is record
shadingRatePaletteEntryCount : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:9208
pShadingRatePaletteEntries : access VkShadingRatePaletteEntryNV; -- vulkan_core.h:9209
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:9207
type VkPipelineViewportShadingRateImageStateCreateInfoNV is record
sType : aliased VkStructureType; -- vulkan_core.h:9213
pNext : System.Address; -- vulkan_core.h:9214
shadingRateImageEnable : aliased VkBool32; -- vulkan_core.h:9215
viewportCount : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:9216
pShadingRatePalettes : access constant VkShadingRatePaletteNV; -- vulkan_core.h:9217
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:9212
type VkPhysicalDeviceShadingRateImageFeaturesNV is record
sType : aliased VkStructureType; -- vulkan_core.h:9221
pNext : System.Address; -- vulkan_core.h:9222
shadingRateImage : aliased VkBool32; -- vulkan_core.h:9223
shadingRateCoarseSampleOrder : aliased VkBool32; -- vulkan_core.h:9224
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:9220
type VkPhysicalDeviceShadingRateImagePropertiesNV is record
sType : aliased VkStructureType; -- vulkan_core.h:9228
pNext : System.Address; -- vulkan_core.h:9229
shadingRateTexelSize : aliased VkExtent2D; -- vulkan_core.h:9230
shadingRatePaletteSize : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:9231
shadingRateMaxCoarseSamples : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:9232
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:9227
type VkCoarseSampleLocationNV is record
pixelX : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:9236
pixelY : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:9237
sample : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:9238
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:9235
type VkCoarseSampleOrderCustomNV is record
shadingRate : aliased VkShadingRatePaletteEntryNV; -- vulkan_core.h:9242
sampleCount : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:9243
sampleLocationCount : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:9244
pSampleLocations : access constant VkCoarseSampleLocationNV; -- vulkan_core.h:9245
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:9241
type VkPipelineViewportCoarseSampleOrderStateCreateInfoNV is record
sType : aliased VkStructureType; -- vulkan_core.h:9249
pNext : System.Address; -- vulkan_core.h:9250
sampleOrderType : aliased VkCoarseSampleOrderTypeNV; -- vulkan_core.h:9251
customSampleOrderCount : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:9252
pCustomSampleOrders : access constant VkCoarseSampleOrderCustomNV; -- vulkan_core.h:9253
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:9248
type PFN_vkCmdBindShadingRateImageNV is access procedure
(arg1 : VkCommandBuffer;
arg2 : VkImageView;
arg3 : VkImageLayout)
with Convention => C; -- vulkan_core.h:9256
type PFN_vkCmdSetViewportShadingRatePaletteNV is access procedure
(arg1 : VkCommandBuffer;
arg2 : Interfaces.C.unsigned_short;
arg3 : Interfaces.C.unsigned_short;
arg4 : access constant VkShadingRatePaletteNV)
with Convention => C; -- vulkan_core.h:9257
type PFN_vkCmdSetCoarseSampleOrderNV is access procedure
(arg1 : VkCommandBuffer;
arg2 : VkCoarseSampleOrderTypeNV;
arg3 : Interfaces.C.unsigned_short;
arg4 : access constant VkCoarseSampleOrderCustomNV)
with Convention => C; -- vulkan_core.h:9258
procedure vkCmdBindShadingRateImageNV
(commandBuffer : VkCommandBuffer;
imageView : VkImageView;
imageLayout : VkImageLayout) -- vulkan_core.h:9261
with Import => True,
Convention => C,
External_Name => "vkCmdBindShadingRateImageNV";
procedure vkCmdSetViewportShadingRatePaletteNV
(commandBuffer : VkCommandBuffer;
firstViewport : Interfaces.C.unsigned_short;
viewportCount : Interfaces.C.unsigned_short;
pShadingRatePalettes : access constant VkShadingRatePaletteNV) -- vulkan_core.h:9266
with Import => True,
Convention => C,
External_Name => "vkCmdSetViewportShadingRatePaletteNV";
procedure vkCmdSetCoarseSampleOrderNV
(commandBuffer : VkCommandBuffer;
sampleOrderType : VkCoarseSampleOrderTypeNV;
customSampleOrderCount : Interfaces.C.unsigned_short;
pCustomSampleOrders : access constant VkCoarseSampleOrderCustomNV) -- vulkan_core.h:9272
with Import => True,
Convention => C,
External_Name => "vkCmdSetCoarseSampleOrderNV";
type VkAccelerationStructureNV_T is null record; -- incomplete struct
type VkAccelerationStructureNV is access all VkAccelerationStructureNV_T; -- vulkan_core.h:9281
subtype VkAccelerationStructureTypeNV is unsigned;
VK_ACCELERATION_STRUCTURE_TYPE_TOP_LEVEL_NV : constant unsigned := 0;
VK_ACCELERATION_STRUCTURE_TYPE_BOTTOM_LEVEL_NV : constant unsigned := 1;
VK_ACCELERATION_STRUCTURE_TYPE_BEGIN_RANGE_NV : constant unsigned := 0;
VK_ACCELERATION_STRUCTURE_TYPE_END_RANGE_NV : constant unsigned := 1;
VK_ACCELERATION_STRUCTURE_TYPE_RANGE_SIZE_NV : constant unsigned := 2;
VK_ACCELERATION_STRUCTURE_TYPE_MAX_ENUM_NV : constant unsigned := 2147483647; -- vulkan_core.h:9286
subtype VkRayTracingShaderGroupTypeNV is unsigned;
VK_RAY_TRACING_SHADER_GROUP_TYPE_GENERAL_NV : constant unsigned := 0;
VK_RAY_TRACING_SHADER_GROUP_TYPE_TRIANGLES_HIT_GROUP_NV : constant unsigned := 1;
VK_RAY_TRACING_SHADER_GROUP_TYPE_PROCEDURAL_HIT_GROUP_NV : constant unsigned := 2;
VK_RAY_TRACING_SHADER_GROUP_TYPE_BEGIN_RANGE_NV : constant unsigned := 0;
VK_RAY_TRACING_SHADER_GROUP_TYPE_END_RANGE_NV : constant unsigned := 2;
VK_RAY_TRACING_SHADER_GROUP_TYPE_RANGE_SIZE_NV : constant unsigned := 3;
VK_RAY_TRACING_SHADER_GROUP_TYPE_MAX_ENUM_NV : constant unsigned := 2147483647; -- vulkan_core.h:9295
subtype VkGeometryTypeNV is unsigned;
VK_GEOMETRY_TYPE_TRIANGLES_NV : constant unsigned := 0;
VK_GEOMETRY_TYPE_AABBS_NV : constant unsigned := 1;
VK_GEOMETRY_TYPE_BEGIN_RANGE_NV : constant unsigned := 0;
VK_GEOMETRY_TYPE_END_RANGE_NV : constant unsigned := 1;
VK_GEOMETRY_TYPE_RANGE_SIZE_NV : constant unsigned := 2;
VK_GEOMETRY_TYPE_MAX_ENUM_NV : constant unsigned := 2147483647; -- vulkan_core.h:9305
subtype VkCopyAccelerationStructureModeNV is unsigned;
VK_COPY_ACCELERATION_STRUCTURE_MODE_CLONE_NV : constant unsigned := 0;
VK_COPY_ACCELERATION_STRUCTURE_MODE_COMPACT_NV : constant unsigned := 1;
VK_COPY_ACCELERATION_STRUCTURE_MODE_BEGIN_RANGE_NV : constant unsigned := 0;
VK_COPY_ACCELERATION_STRUCTURE_MODE_END_RANGE_NV : constant unsigned := 1;
VK_COPY_ACCELERATION_STRUCTURE_MODE_RANGE_SIZE_NV : constant unsigned := 2;
VK_COPY_ACCELERATION_STRUCTURE_MODE_MAX_ENUM_NV : constant unsigned := 2147483647; -- vulkan_core.h:9314
subtype VkAccelerationStructureMemoryRequirementsTypeNV is unsigned;
VK_ACCELERATION_STRUCTURE_MEMORY_REQUIREMENTS_TYPE_OBJECT_NV : constant unsigned := 0;
VK_ACCELERATION_STRUCTURE_MEMORY_REQUIREMENTS_TYPE_BUILD_SCRATCH_NV : constant unsigned := 1;
VK_ACCELERATION_STRUCTURE_MEMORY_REQUIREMENTS_TYPE_UPDATE_SCRATCH_NV : constant unsigned := 2;
VK_ACCELERATION_STRUCTURE_MEMORY_REQUIREMENTS_TYPE_BEGIN_RANGE_NV : constant unsigned := 0;
VK_ACCELERATION_STRUCTURE_MEMORY_REQUIREMENTS_TYPE_END_RANGE_NV : constant unsigned := 2;
VK_ACCELERATION_STRUCTURE_MEMORY_REQUIREMENTS_TYPE_RANGE_SIZE_NV : constant unsigned := 3;
VK_ACCELERATION_STRUCTURE_MEMORY_REQUIREMENTS_TYPE_MAX_ENUM_NV : constant unsigned := 2147483647; -- vulkan_core.h:9323
subtype VkGeometryFlagBitsNV is unsigned;
VK_GEOMETRY_OPAQUE_BIT_NV : constant unsigned := 1;
VK_GEOMETRY_NO_DUPLICATE_ANY_HIT_INVOCATION_BIT_NV : constant unsigned := 2;
VK_GEOMETRY_FLAG_BITS_MAX_ENUM_NV : constant unsigned := 2147483647; -- vulkan_core.h:9333
subtype VkGeometryFlagsNV is VkFlags; -- vulkan_core.h:9338
subtype VkGeometryInstanceFlagBitsNV is unsigned;
VK_GEOMETRY_INSTANCE_TRIANGLE_CULL_DISABLE_BIT_NV : constant unsigned := 1;
VK_GEOMETRY_INSTANCE_TRIANGLE_FRONT_COUNTERCLOCKWISE_BIT_NV : constant unsigned := 2;
VK_GEOMETRY_INSTANCE_FORCE_OPAQUE_BIT_NV : constant unsigned := 4;
VK_GEOMETRY_INSTANCE_FORCE_NO_OPAQUE_BIT_NV : constant unsigned := 8;
VK_GEOMETRY_INSTANCE_FLAG_BITS_MAX_ENUM_NV : constant unsigned := 2147483647; -- vulkan_core.h:9340
subtype VkGeometryInstanceFlagsNV is VkFlags; -- vulkan_core.h:9347
subtype VkBuildAccelerationStructureFlagBitsNV is unsigned;
VK_BUILD_ACCELERATION_STRUCTURE_ALLOW_UPDATE_BIT_NV : constant unsigned := 1;
VK_BUILD_ACCELERATION_STRUCTURE_ALLOW_COMPACTION_BIT_NV : constant unsigned := 2;
VK_BUILD_ACCELERATION_STRUCTURE_PREFER_FAST_TRACE_BIT_NV : constant unsigned := 4;
VK_BUILD_ACCELERATION_STRUCTURE_PREFER_FAST_BUILD_BIT_NV : constant unsigned := 8;
VK_BUILD_ACCELERATION_STRUCTURE_LOW_MEMORY_BIT_NV : constant unsigned := 16;
VK_BUILD_ACCELERATION_STRUCTURE_FLAG_BITS_MAX_ENUM_NV : constant unsigned := 2147483647; -- vulkan_core.h:9349
subtype VkBuildAccelerationStructureFlagsNV is VkFlags; -- vulkan_core.h:9357
type VkRayTracingShaderGroupCreateInfoNV is record
sType : aliased VkStructureType; -- vulkan_core.h:9359
pNext : System.Address; -- vulkan_core.h:9360
c_type : aliased VkRayTracingShaderGroupTypeNV; -- vulkan_core.h:9361
generalShader : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:9362
closestHitShader : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:9363
anyHitShader : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:9364
intersectionShader : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:9365
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:9358
type VkRayTracingPipelineCreateInfoNV is record
sType : aliased VkStructureType; -- vulkan_core.h:9369
pNext : System.Address; -- vulkan_core.h:9370
flags : aliased VkPipelineCreateFlags; -- vulkan_core.h:9371
stageCount : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:9372
pStages : access constant VkPipelineShaderStageCreateInfo; -- vulkan_core.h:9373
groupCount : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:9374
pGroups : access constant VkRayTracingShaderGroupCreateInfoNV; -- vulkan_core.h:9375
maxRecursionDepth : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:9376
layout : VkPipelineLayout; -- vulkan_core.h:9377
basePipelineHandle : VkPipeline; -- vulkan_core.h:9378
basePipelineIndex : aliased Interfaces.C.short; -- vulkan_core.h:9379
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:9368
type VkGeometryTrianglesNV is record
sType : aliased VkStructureType; -- vulkan_core.h:9383
pNext : System.Address; -- vulkan_core.h:9384
vertexData : VkBuffer; -- vulkan_core.h:9385
vertexOffset : aliased VkDeviceSize; -- vulkan_core.h:9386
vertexCount : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:9387
vertexStride : aliased VkDeviceSize; -- vulkan_core.h:9388
vertexFormat : aliased VkFormat; -- vulkan_core.h:9389
indexData : VkBuffer; -- vulkan_core.h:9390
indexOffset : aliased VkDeviceSize; -- vulkan_core.h:9391
indexCount : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:9392
indexType : aliased VkIndexType; -- vulkan_core.h:9393
transformData : VkBuffer; -- vulkan_core.h:9394
transformOffset : aliased VkDeviceSize; -- vulkan_core.h:9395
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:9382
type VkGeometryAABBNV is record
sType : aliased VkStructureType; -- vulkan_core.h:9399
pNext : System.Address; -- vulkan_core.h:9400
aabbData : VkBuffer; -- vulkan_core.h:9401
numAABBs : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:9402
stride : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:9403
offset : aliased VkDeviceSize; -- vulkan_core.h:9404
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:9398
type VkGeometryDataNV is record
triangles : aliased VkGeometryTrianglesNV; -- vulkan_core.h:9408
aabbs : aliased VkGeometryAABBNV; -- vulkan_core.h:9409
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:9407
type VkGeometryNV is record
sType : aliased VkStructureType; -- vulkan_core.h:9413
pNext : System.Address; -- vulkan_core.h:9414
geometryType : aliased VkGeometryTypeNV; -- vulkan_core.h:9415
geometry : aliased VkGeometryDataNV; -- vulkan_core.h:9416
flags : aliased VkGeometryFlagsNV; -- vulkan_core.h:9417
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:9412
type VkAccelerationStructureInfoNV is record
sType : aliased VkStructureType; -- vulkan_core.h:9421
pNext : System.Address; -- vulkan_core.h:9422
c_type : aliased VkAccelerationStructureTypeNV; -- vulkan_core.h:9423
flags : aliased VkBuildAccelerationStructureFlagsNV; -- vulkan_core.h:9424
instanceCount : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:9425
geometryCount : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:9426
pGeometries : access constant VkGeometryNV; -- vulkan_core.h:9427
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:9420
type VkAccelerationStructureCreateInfoNV is record
sType : aliased VkStructureType; -- vulkan_core.h:9431
pNext : System.Address; -- vulkan_core.h:9432
compactedSize : aliased VkDeviceSize; -- vulkan_core.h:9433
info : aliased VkAccelerationStructureInfoNV; -- vulkan_core.h:9434
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:9430
type VkBindAccelerationStructureMemoryInfoNV is record
sType : aliased VkStructureType; -- vulkan_core.h:9438
pNext : System.Address; -- vulkan_core.h:9439
accelerationStructure : VkAccelerationStructureNV; -- vulkan_core.h:9440
memory : VkDeviceMemory; -- vulkan_core.h:9441
memoryOffset : aliased VkDeviceSize; -- vulkan_core.h:9442
deviceIndexCount : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:9443
pDeviceIndices : access Interfaces.C.unsigned_short; -- vulkan_core.h:9444
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:9437
type VkWriteDescriptorSetAccelerationStructureNV is record
sType : aliased VkStructureType; -- vulkan_core.h:9448
pNext : System.Address; -- vulkan_core.h:9449
accelerationStructureCount : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:9450
pAccelerationStructures : System.Address; -- vulkan_core.h:9451
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:9447
type VkAccelerationStructureMemoryRequirementsInfoNV is record
sType : aliased VkStructureType; -- vulkan_core.h:9455
pNext : System.Address; -- vulkan_core.h:9456
c_type : aliased VkAccelerationStructureMemoryRequirementsTypeNV; -- vulkan_core.h:9457
accelerationStructure : VkAccelerationStructureNV; -- vulkan_core.h:9458
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:9454
type VkPhysicalDeviceRayTracingPropertiesNV is record
sType : aliased VkStructureType; -- vulkan_core.h:9462
pNext : System.Address; -- vulkan_core.h:9463
shaderGroupHandleSize : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:9464
maxRecursionDepth : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:9465
maxShaderGroupStride : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:9466
shaderGroupBaseAlignment : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:9467
maxGeometryCount : aliased Interfaces.C.unsigned_long; -- vulkan_core.h:9468
maxInstanceCount : aliased Interfaces.C.unsigned_long; -- vulkan_core.h:9469
maxTriangleCount : aliased Interfaces.C.unsigned_long; -- vulkan_core.h:9470
maxDescriptorSetAccelerationStructures : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:9471
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:9461
type PFN_vkCreateAccelerationStructureNV is access function
(arg1 : VkDevice;
arg2 : access constant VkAccelerationStructureCreateInfoNV;
arg3 : access constant VkAllocationCallbacks;
arg4 : System.Address) return VkResult
with Convention => C; -- vulkan_core.h:9474
type PFN_vkDestroyAccelerationStructureNV is access procedure
(arg1 : VkDevice;
arg2 : VkAccelerationStructureNV;
arg3 : access constant VkAllocationCallbacks)
with Convention => C; -- vulkan_core.h:9475
type PFN_vkGetAccelerationStructureMemoryRequirementsNV is access procedure
(arg1 : VkDevice;
arg2 : access constant VkAccelerationStructureMemoryRequirementsInfoNV;
arg3 : access VkMemoryRequirements2KHR)
with Convention => C; -- vulkan_core.h:9476
type PFN_vkBindAccelerationStructureMemoryNV is access function
(arg1 : VkDevice;
arg2 : Interfaces.C.unsigned_short;
arg3 : access constant VkBindAccelerationStructureMemoryInfoNV) return VkResult
with Convention => C; -- vulkan_core.h:9477
type PFN_vkCmdBuildAccelerationStructureNV is access procedure
(arg1 : VkCommandBuffer;
arg2 : access constant VkAccelerationStructureInfoNV;
arg3 : VkBuffer;
arg4 : VkDeviceSize;
arg5 : VkBool32;
arg6 : VkAccelerationStructureNV;
arg7 : VkAccelerationStructureNV;
arg8 : VkBuffer;
arg9 : VkDeviceSize)
with Convention => C; -- vulkan_core.h:9478
type PFN_vkCmdCopyAccelerationStructureNV is access procedure
(arg1 : VkCommandBuffer;
arg2 : VkAccelerationStructureNV;
arg3 : VkAccelerationStructureNV;
arg4 : VkCopyAccelerationStructureModeNV)
with Convention => C; -- vulkan_core.h:9479
type PFN_vkCmdTraceRaysNV is access procedure
(arg1 : VkCommandBuffer;
arg2 : VkBuffer;
arg3 : VkDeviceSize;
arg4 : VkBuffer;
arg5 : VkDeviceSize;
arg6 : VkDeviceSize;
arg7 : VkBuffer;
arg8 : VkDeviceSize;
arg9 : VkDeviceSize;
arg10 : VkBuffer;
arg11 : VkDeviceSize;
arg12 : VkDeviceSize;
arg13 : Interfaces.C.unsigned_short;
arg14 : Interfaces.C.unsigned_short;
arg15 : Interfaces.C.unsigned_short)
with Convention => C; -- vulkan_core.h:9480
type PFN_vkCreateRayTracingPipelinesNV is access function
(arg1 : VkDevice;
arg2 : VkPipelineCache;
arg3 : Interfaces.C.unsigned_short;
arg4 : access constant VkRayTracingPipelineCreateInfoNV;
arg5 : access constant VkAllocationCallbacks;
arg6 : System.Address) return VkResult
with Convention => C; -- vulkan_core.h:9481
type PFN_vkGetRayTracingShaderGroupHandlesNV is access function
(arg1 : VkDevice;
arg2 : VkPipeline;
arg3 : Interfaces.C.unsigned_short;
arg4 : Interfaces.C.unsigned_short;
arg5 : size_t;
arg6 : System.Address) return VkResult
with Convention => C; -- vulkan_core.h:9482
type PFN_vkGetAccelerationStructureHandleNV is access function
(arg1 : VkDevice;
arg2 : VkAccelerationStructureNV;
arg3 : size_t;
arg4 : System.Address) return VkResult
with Convention => C; -- vulkan_core.h:9483
type PFN_vkCmdWriteAccelerationStructuresPropertiesNV is access procedure
(arg1 : VkCommandBuffer;
arg2 : Interfaces.C.unsigned_short;
arg3 : System.Address;
arg4 : VkQueryType;
arg5 : VkQueryPool;
arg6 : Interfaces.C.unsigned_short)
with Convention => C; -- vulkan_core.h:9484
type PFN_vkCompileDeferredNV is access function
(arg1 : VkDevice;
arg2 : VkPipeline;
arg3 : Interfaces.C.unsigned_short) return VkResult
with Convention => C; -- vulkan_core.h:9485
function vkCreateAccelerationStructureNV
(device : VkDevice;
pCreateInfo : access constant VkAccelerationStructureCreateInfoNV;
pAllocator : access constant VkAllocationCallbacks;
pAccelerationStructure : System.Address) return VkResult -- vulkan_core.h:9488
with Import => True,
Convention => C,
External_Name => "vkCreateAccelerationStructureNV";
procedure vkDestroyAccelerationStructureNV
(device : VkDevice;
accelerationStructure : VkAccelerationStructureNV;
pAllocator : access constant VkAllocationCallbacks) -- vulkan_core.h:9494
with Import => True,
Convention => C,
External_Name => "vkDestroyAccelerationStructureNV";
procedure vkGetAccelerationStructureMemoryRequirementsNV
(device : VkDevice;
pInfo : access constant VkAccelerationStructureMemoryRequirementsInfoNV;
pMemoryRequirements : access VkMemoryRequirements2KHR) -- vulkan_core.h:9499
with Import => True,
Convention => C,
External_Name => "vkGetAccelerationStructureMemoryRequirementsNV";
function vkBindAccelerationStructureMemoryNV
(device : VkDevice;
bindInfoCount : Interfaces.C.unsigned_short;
pBindInfos : access constant VkBindAccelerationStructureMemoryInfoNV) return VkResult -- vulkan_core.h:9504
with Import => True,
Convention => C,
External_Name => "vkBindAccelerationStructureMemoryNV";
procedure vkCmdBuildAccelerationStructureNV
(commandBuffer : VkCommandBuffer;
pInfo : access constant VkAccelerationStructureInfoNV;
instanceData : VkBuffer;
instanceOffset : VkDeviceSize;
update : VkBool32;
dst : VkAccelerationStructureNV;
src : VkAccelerationStructureNV;
scratch : VkBuffer;
scratchOffset : VkDeviceSize) -- vulkan_core.h:9509
with Import => True,
Convention => C,
External_Name => "vkCmdBuildAccelerationStructureNV";
procedure vkCmdCopyAccelerationStructureNV
(commandBuffer : VkCommandBuffer;
dst : VkAccelerationStructureNV;
src : VkAccelerationStructureNV;
mode : VkCopyAccelerationStructureModeNV) -- vulkan_core.h:9520
with Import => True,
Convention => C,
External_Name => "vkCmdCopyAccelerationStructureNV";
procedure vkCmdTraceRaysNV
(commandBuffer : VkCommandBuffer;
raygenShaderBindingTableBuffer : VkBuffer;
raygenShaderBindingOffset : VkDeviceSize;
missShaderBindingTableBuffer : VkBuffer;
missShaderBindingOffset : VkDeviceSize;
missShaderBindingStride : VkDeviceSize;
hitShaderBindingTableBuffer : VkBuffer;
hitShaderBindingOffset : VkDeviceSize;
hitShaderBindingStride : VkDeviceSize;
callableShaderBindingTableBuffer : VkBuffer;
callableShaderBindingOffset : VkDeviceSize;
callableShaderBindingStride : VkDeviceSize;
width : Interfaces.C.unsigned_short;
height : Interfaces.C.unsigned_short;
depth : Interfaces.C.unsigned_short) -- vulkan_core.h:9526
with Import => True,
Convention => C,
External_Name => "vkCmdTraceRaysNV";
function vkCreateRayTracingPipelinesNV
(device : VkDevice;
pipelineCache : VkPipelineCache;
createInfoCount : Interfaces.C.unsigned_short;
pCreateInfos : access constant VkRayTracingPipelineCreateInfoNV;
pAllocator : access constant VkAllocationCallbacks;
pPipelines : System.Address) return VkResult -- vulkan_core.h:9543
with Import => True,
Convention => C,
External_Name => "vkCreateRayTracingPipelinesNV";
function vkGetRayTracingShaderGroupHandlesNV
(device : VkDevice;
pipeline : VkPipeline;
firstGroup : Interfaces.C.unsigned_short;
groupCount : Interfaces.C.unsigned_short;
dataSize : size_t;
pData : System.Address) return VkResult -- vulkan_core.h:9551
with Import => True,
Convention => C,
External_Name => "vkGetRayTracingShaderGroupHandlesNV";
function vkGetAccelerationStructureHandleNV
(device : VkDevice;
accelerationStructure : VkAccelerationStructureNV;
dataSize : size_t;
pData : System.Address) return VkResult -- vulkan_core.h:9559
with Import => True,
Convention => C,
External_Name => "vkGetAccelerationStructureHandleNV";
procedure vkCmdWriteAccelerationStructuresPropertiesNV
(commandBuffer : VkCommandBuffer;
accelerationStructureCount : Interfaces.C.unsigned_short;
pAccelerationStructures : System.Address;
queryType : VkQueryType;
queryPool : VkQueryPool;
firstQuery : Interfaces.C.unsigned_short) -- vulkan_core.h:9565
with Import => True,
Convention => C,
External_Name => "vkCmdWriteAccelerationStructuresPropertiesNV";
function vkCompileDeferredNV
(device : VkDevice;
pipeline : VkPipeline;
shader : Interfaces.C.unsigned_short) return VkResult -- vulkan_core.h:9573
with Import => True,
Convention => C,
External_Name => "vkCompileDeferredNV";
type VkPhysicalDeviceRepresentativeFragmentTestFeaturesNV is record
sType : aliased VkStructureType; -- vulkan_core.h:9584
pNext : System.Address; -- vulkan_core.h:9585
representativeFragmentTest : aliased VkBool32; -- vulkan_core.h:9586
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:9583
type VkPipelineRepresentativeFragmentTestStateCreateInfoNV is record
sType : aliased VkStructureType; -- vulkan_core.h:9590
pNext : System.Address; -- vulkan_core.h:9591
representativeFragmentTestEnable : aliased VkBool32; -- vulkan_core.h:9592
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:9589
type VkPhysicalDeviceImageViewImageFormatInfoEXT is record
sType : aliased VkStructureType; -- vulkan_core.h:9601
pNext : System.Address; -- vulkan_core.h:9602
imageViewType : aliased VkImageViewType; -- vulkan_core.h:9603
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:9600
type VkFilterCubicImageViewImageFormatPropertiesEXT is record
sType : aliased VkStructureType; -- vulkan_core.h:9607
pNext : System.Address; -- vulkan_core.h:9608
filterCubic : aliased VkBool32; -- vulkan_core.h:9609
filterCubicMinmax : aliased VkBool32; -- vulkan_core.h:9610
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:9606
subtype VkQueueGlobalPriorityEXT is unsigned;
VK_QUEUE_GLOBAL_PRIORITY_LOW_EXT : constant unsigned := 128;
VK_QUEUE_GLOBAL_PRIORITY_MEDIUM_EXT : constant unsigned := 256;
VK_QUEUE_GLOBAL_PRIORITY_HIGH_EXT : constant unsigned := 512;
VK_QUEUE_GLOBAL_PRIORITY_REALTIME_EXT : constant unsigned := 1024;
VK_QUEUE_GLOBAL_PRIORITY_BEGIN_RANGE_EXT : constant unsigned := 128;
VK_QUEUE_GLOBAL_PRIORITY_END_RANGE_EXT : constant unsigned := 1024;
VK_QUEUE_GLOBAL_PRIORITY_RANGE_SIZE_EXT : constant unsigned := 897;
VK_QUEUE_GLOBAL_PRIORITY_MAX_ENUM_EXT : constant unsigned := 2147483647; -- vulkan_core.h:9619
type VkDeviceQueueGlobalPriorityCreateInfoEXT is record
sType : aliased VkStructureType; -- vulkan_core.h:9630
pNext : System.Address; -- vulkan_core.h:9631
globalPriority : aliased VkQueueGlobalPriorityEXT; -- vulkan_core.h:9632
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:9629
type VkImportMemoryHostPointerInfoEXT is record
sType : aliased VkStructureType; -- vulkan_core.h:9641
pNext : System.Address; -- vulkan_core.h:9642
handleType : aliased VkExternalMemoryHandleTypeFlagBits; -- vulkan_core.h:9643
pHostPointer : System.Address; -- vulkan_core.h:9644
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:9640
type VkMemoryHostPointerPropertiesEXT is record
sType : aliased VkStructureType; -- vulkan_core.h:9648
pNext : System.Address; -- vulkan_core.h:9649
memoryTypeBits : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:9650
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:9647
type VkPhysicalDeviceExternalMemoryHostPropertiesEXT is record
sType : aliased VkStructureType; -- vulkan_core.h:9654
pNext : System.Address; -- vulkan_core.h:9655
minImportedHostPointerAlignment : aliased VkDeviceSize; -- vulkan_core.h:9656
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:9653
type PFN_vkGetMemoryHostPointerPropertiesEXT is access function
(arg1 : VkDevice;
arg2 : VkExternalMemoryHandleTypeFlagBits;
arg3 : System.Address;
arg4 : access VkMemoryHostPointerPropertiesEXT) return VkResult
with Convention => C; -- vulkan_core.h:9659
function vkGetMemoryHostPointerPropertiesEXT
(device : VkDevice;
handleType : VkExternalMemoryHandleTypeFlagBits;
pHostPointer : System.Address;
pMemoryHostPointerProperties : access VkMemoryHostPointerPropertiesEXT) return VkResult -- vulkan_core.h:9662
with Import => True,
Convention => C,
External_Name => "vkGetMemoryHostPointerPropertiesEXT";
type PFN_vkCmdWriteBufferMarkerAMD is access procedure
(arg1 : VkCommandBuffer;
arg2 : VkPipelineStageFlagBits;
arg3 : VkBuffer;
arg4 : VkDeviceSize;
arg5 : Interfaces.C.unsigned_short)
with Convention => C; -- vulkan_core.h:9673
procedure vkCmdWriteBufferMarkerAMD
(commandBuffer : VkCommandBuffer;
pipelineStage : VkPipelineStageFlagBits;
dstBuffer : VkBuffer;
dstOffset : VkDeviceSize;
marker : Interfaces.C.unsigned_short) -- vulkan_core.h:9676
with Import => True,
Convention => C,
External_Name => "vkCmdWriteBufferMarkerAMD";
subtype VkPipelineCompilerControlFlagBitsAMD is unsigned;
VK_PIPELINE_COMPILER_CONTROL_FLAG_BITS_MAX_ENUM_AMD : constant unsigned := 2147483647; -- vulkan_core.h:9689
subtype VkPipelineCompilerControlFlagsAMD is VkFlags; -- vulkan_core.h:9692
type VkPipelineCompilerControlCreateInfoAMD is record
sType : aliased VkStructureType; -- vulkan_core.h:9694
pNext : System.Address; -- vulkan_core.h:9695
compilerControlFlags : aliased VkPipelineCompilerControlFlagsAMD; -- vulkan_core.h:9696
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:9693
subtype VkTimeDomainEXT is unsigned;
VK_TIME_DOMAIN_DEVICE_EXT : constant unsigned := 0;
VK_TIME_DOMAIN_CLOCK_MONOTONIC_EXT : constant unsigned := 1;
VK_TIME_DOMAIN_CLOCK_MONOTONIC_RAW_EXT : constant unsigned := 2;
VK_TIME_DOMAIN_QUERY_PERFORMANCE_COUNTER_EXT : constant unsigned := 3;
VK_TIME_DOMAIN_BEGIN_RANGE_EXT : constant unsigned := 0;
VK_TIME_DOMAIN_END_RANGE_EXT : constant unsigned := 3;
VK_TIME_DOMAIN_RANGE_SIZE_EXT : constant unsigned := 4;
VK_TIME_DOMAIN_MAX_ENUM_EXT : constant unsigned := 2147483647; -- vulkan_core.h:9705
type VkCalibratedTimestampInfoEXT is record
sType : aliased VkStructureType; -- vulkan_core.h:9716
pNext : System.Address; -- vulkan_core.h:9717
timeDomain : aliased VkTimeDomainEXT; -- vulkan_core.h:9718
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:9715
type PFN_vkGetPhysicalDeviceCalibrateableTimeDomainsEXT is access function
(arg1 : VkPhysicalDevice;
arg2 : access Interfaces.C.unsigned_short;
arg3 : access VkTimeDomainEXT) return VkResult
with Convention => C; -- vulkan_core.h:9721
type PFN_vkGetCalibratedTimestampsEXT is access function
(arg1 : VkDevice;
arg2 : Interfaces.C.unsigned_short;
arg3 : access constant VkCalibratedTimestampInfoEXT;
arg4 : access Interfaces.C.unsigned_long;
arg5 : access Interfaces.C.unsigned_long) return VkResult
with Convention => C; -- vulkan_core.h:9722
function vkGetPhysicalDeviceCalibrateableTimeDomainsEXT
(physicalDevice : VkPhysicalDevice;
pTimeDomainCount : access Interfaces.C.unsigned_short;
pTimeDomains : access VkTimeDomainEXT) return VkResult -- vulkan_core.h:9725
with Import => True,
Convention => C,
External_Name => "vkGetPhysicalDeviceCalibrateableTimeDomainsEXT";
function vkGetCalibratedTimestampsEXT
(device : VkDevice;
timestampCount : Interfaces.C.unsigned_short;
pTimestampInfos : access constant VkCalibratedTimestampInfoEXT;
pTimestamps : access Interfaces.C.unsigned_long;
pMaxDeviation : access Interfaces.C.unsigned_long) return VkResult -- vulkan_core.h:9730
with Import => True,
Convention => C,
External_Name => "vkGetCalibratedTimestampsEXT";
type VkPhysicalDeviceShaderCorePropertiesAMD is record
sType : aliased VkStructureType; -- vulkan_core.h:9743
pNext : System.Address; -- vulkan_core.h:9744
shaderEngineCount : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:9745
shaderArraysPerEngineCount : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:9746
computeUnitsPerShaderArray : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:9747
simdPerComputeUnit : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:9748
wavefrontsPerSimd : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:9749
wavefrontSize : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:9750
sgprsPerSimd : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:9751
minSgprAllocation : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:9752
maxSgprAllocation : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:9753
sgprAllocationGranularity : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:9754
vgprsPerSimd : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:9755
minVgprAllocation : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:9756
maxVgprAllocation : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:9757
vgprAllocationGranularity : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:9758
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:9742
subtype VkMemoryOverallocationBehaviorAMD is unsigned;
VK_MEMORY_OVERALLOCATION_BEHAVIOR_DEFAULT_AMD : constant unsigned := 0;
VK_MEMORY_OVERALLOCATION_BEHAVIOR_ALLOWED_AMD : constant unsigned := 1;
VK_MEMORY_OVERALLOCATION_BEHAVIOR_DISALLOWED_AMD : constant unsigned := 2;
VK_MEMORY_OVERALLOCATION_BEHAVIOR_BEGIN_RANGE_AMD : constant unsigned := 0;
VK_MEMORY_OVERALLOCATION_BEHAVIOR_END_RANGE_AMD : constant unsigned := 2;
VK_MEMORY_OVERALLOCATION_BEHAVIOR_RANGE_SIZE_AMD : constant unsigned := 3;
VK_MEMORY_OVERALLOCATION_BEHAVIOR_MAX_ENUM_AMD : constant unsigned := 2147483647; -- vulkan_core.h:9767
type VkDeviceMemoryOverallocationCreateInfoAMD is record
sType : aliased VkStructureType; -- vulkan_core.h:9777
pNext : System.Address; -- vulkan_core.h:9778
overallocationBehavior : aliased VkMemoryOverallocationBehaviorAMD; -- vulkan_core.h:9779
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:9776
type VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT is record
sType : aliased VkStructureType; -- vulkan_core.h:9788
pNext : System.Address; -- vulkan_core.h:9789
maxVertexAttribDivisor : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:9790
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:9787
type VkVertexInputBindingDivisorDescriptionEXT is record
binding : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:9794
divisor : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:9795
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:9793
type VkPipelineVertexInputDivisorStateCreateInfoEXT is record
sType : aliased VkStructureType; -- vulkan_core.h:9799
pNext : System.Address; -- vulkan_core.h:9800
vertexBindingDivisorCount : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:9801
pVertexBindingDivisors : access constant VkVertexInputBindingDivisorDescriptionEXT; -- vulkan_core.h:9802
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:9798
type VkPhysicalDeviceVertexAttributeDivisorFeaturesEXT is record
sType : aliased VkStructureType; -- vulkan_core.h:9806
pNext : System.Address; -- vulkan_core.h:9807
vertexAttributeInstanceRateDivisor : aliased VkBool32; -- vulkan_core.h:9808
vertexAttributeInstanceRateZeroDivisor : aliased VkBool32; -- vulkan_core.h:9809
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:9805
subtype VkPipelineCreationFeedbackFlagBitsEXT is unsigned;
VK_PIPELINE_CREATION_FEEDBACK_VALID_BIT_EXT : constant unsigned := 1;
VK_PIPELINE_CREATION_FEEDBACK_APPLICATION_PIPELINE_CACHE_HIT_BIT_EXT : constant unsigned := 2;
VK_PIPELINE_CREATION_FEEDBACK_BASE_PIPELINE_ACCELERATION_BIT_EXT : constant unsigned := 4;
VK_PIPELINE_CREATION_FEEDBACK_FLAG_BITS_MAX_ENUM_EXT : constant unsigned := 2147483647; -- vulkan_core.h:9818
subtype VkPipelineCreationFeedbackFlagsEXT is VkFlags; -- vulkan_core.h:9824
type VkPipelineCreationFeedbackEXT is record
flags : aliased VkPipelineCreationFeedbackFlagsEXT; -- vulkan_core.h:9826
duration : aliased Interfaces.C.unsigned_long; -- vulkan_core.h:9827
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:9825
type VkPipelineCreationFeedbackCreateInfoEXT is record
sType : aliased VkStructureType; -- vulkan_core.h:9831
pNext : System.Address; -- vulkan_core.h:9832
pPipelineCreationFeedback : access VkPipelineCreationFeedbackEXT; -- vulkan_core.h:9833
pipelineStageCreationFeedbackCount : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:9834
pPipelineStageCreationFeedbacks : access VkPipelineCreationFeedbackEXT; -- vulkan_core.h:9835
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:9830
type VkPhysicalDeviceComputeShaderDerivativesFeaturesNV is record
sType : aliased VkStructureType; -- vulkan_core.h:9849
pNext : System.Address; -- vulkan_core.h:9850
computeDerivativeGroupQuads : aliased VkBool32; -- vulkan_core.h:9851
computeDerivativeGroupLinear : aliased VkBool32; -- vulkan_core.h:9852
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:9848
type VkPhysicalDeviceMeshShaderFeaturesNV is record
sType : aliased VkStructureType; -- vulkan_core.h:9861
pNext : System.Address; -- vulkan_core.h:9862
taskShader : aliased VkBool32; -- vulkan_core.h:9863
meshShader : aliased VkBool32; -- vulkan_core.h:9864
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:9860
type VkPhysicalDeviceMeshShaderPropertiesNV_array1331 is array (0 .. 2) of aliased Interfaces.C.unsigned_short;
type VkPhysicalDeviceMeshShaderPropertiesNV is record
sType : aliased VkStructureType; -- vulkan_core.h:9868
pNext : System.Address; -- vulkan_core.h:9869
maxDrawMeshTasksCount : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:9870
maxTaskWorkGroupInvocations : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:9871
maxTaskWorkGroupSize : aliased VkPhysicalDeviceMeshShaderPropertiesNV_array1331; -- vulkan_core.h:9872
maxTaskTotalMemorySize : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:9873
maxTaskOutputCount : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:9874
maxMeshWorkGroupInvocations : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:9875
maxMeshWorkGroupSize : aliased VkPhysicalDeviceMeshShaderPropertiesNV_array1331; -- vulkan_core.h:9876
maxMeshTotalMemorySize : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:9877
maxMeshOutputVertices : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:9878
maxMeshOutputPrimitives : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:9879
maxMeshMultiviewViewCount : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:9880
meshOutputPerVertexGranularity : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:9881
meshOutputPerPrimitiveGranularity : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:9882
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:9867
type VkDrawMeshTasksIndirectCommandNV is record
taskCount : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:9886
firstTask : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:9887
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:9885
type PFN_vkCmdDrawMeshTasksNV is access procedure
(arg1 : VkCommandBuffer;
arg2 : Interfaces.C.unsigned_short;
arg3 : Interfaces.C.unsigned_short)
with Convention => C; -- vulkan_core.h:9890
type PFN_vkCmdDrawMeshTasksIndirectNV is access procedure
(arg1 : VkCommandBuffer;
arg2 : VkBuffer;
arg3 : VkDeviceSize;
arg4 : Interfaces.C.unsigned_short;
arg5 : Interfaces.C.unsigned_short)
with Convention => C; -- vulkan_core.h:9891
type PFN_vkCmdDrawMeshTasksIndirectCountNV is access procedure
(arg1 : VkCommandBuffer;
arg2 : VkBuffer;
arg3 : VkDeviceSize;
arg4 : VkBuffer;
arg5 : VkDeviceSize;
arg6 : Interfaces.C.unsigned_short;
arg7 : Interfaces.C.unsigned_short)
with Convention => C; -- vulkan_core.h:9892
procedure vkCmdDrawMeshTasksNV
(commandBuffer : VkCommandBuffer;
taskCount : Interfaces.C.unsigned_short;
firstTask : Interfaces.C.unsigned_short) -- vulkan_core.h:9895
with Import => True,
Convention => C,
External_Name => "vkCmdDrawMeshTasksNV";
procedure vkCmdDrawMeshTasksIndirectNV
(commandBuffer : VkCommandBuffer;
buffer : VkBuffer;
offset : VkDeviceSize;
drawCount : Interfaces.C.unsigned_short;
stride : Interfaces.C.unsigned_short) -- vulkan_core.h:9900
with Import => True,
Convention => C,
External_Name => "vkCmdDrawMeshTasksIndirectNV";
procedure vkCmdDrawMeshTasksIndirectCountNV
(commandBuffer : VkCommandBuffer;
buffer : VkBuffer;
offset : VkDeviceSize;
countBuffer : VkBuffer;
countBufferOffset : VkDeviceSize;
maxDrawCount : Interfaces.C.unsigned_short;
stride : Interfaces.C.unsigned_short) -- vulkan_core.h:9907
with Import => True,
Convention => C,
External_Name => "vkCmdDrawMeshTasksIndirectCountNV";
type VkPhysicalDeviceFragmentShaderBarycentricFeaturesNV is record
sType : aliased VkStructureType; -- vulkan_core.h:9922
pNext : System.Address; -- vulkan_core.h:9923
fragmentShaderBarycentric : aliased VkBool32; -- vulkan_core.h:9924
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:9921
type VkPhysicalDeviceShaderImageFootprintFeaturesNV is record
sType : aliased VkStructureType; -- vulkan_core.h:9933
pNext : System.Address; -- vulkan_core.h:9934
imageFootprint : aliased VkBool32; -- vulkan_core.h:9935
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:9932
type VkPipelineViewportExclusiveScissorStateCreateInfoNV is record
sType : aliased VkStructureType; -- vulkan_core.h:9944
pNext : System.Address; -- vulkan_core.h:9945
exclusiveScissorCount : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:9946
pExclusiveScissors : access constant VkRect2D; -- vulkan_core.h:9947
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:9943
type VkPhysicalDeviceExclusiveScissorFeaturesNV is record
sType : aliased VkStructureType; -- vulkan_core.h:9951
pNext : System.Address; -- vulkan_core.h:9952
exclusiveScissor : aliased VkBool32; -- vulkan_core.h:9953
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:9950
type PFN_vkCmdSetExclusiveScissorNV is access procedure
(arg1 : VkCommandBuffer;
arg2 : Interfaces.C.unsigned_short;
arg3 : Interfaces.C.unsigned_short;
arg4 : access constant VkRect2D)
with Convention => C; -- vulkan_core.h:9956
procedure vkCmdSetExclusiveScissorNV
(commandBuffer : VkCommandBuffer;
firstExclusiveScissor : Interfaces.C.unsigned_short;
exclusiveScissorCount : Interfaces.C.unsigned_short;
pExclusiveScissors : access constant VkRect2D) -- vulkan_core.h:9959
with Import => True,
Convention => C,
External_Name => "vkCmdSetExclusiveScissorNV";
type VkQueueFamilyCheckpointPropertiesNV is record
sType : aliased VkStructureType; -- vulkan_core.h:9971
pNext : System.Address; -- vulkan_core.h:9972
checkpointExecutionStageMask : aliased VkPipelineStageFlags; -- vulkan_core.h:9973
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:9970
type VkCheckpointDataNV is record
sType : aliased VkStructureType; -- vulkan_core.h:9977
pNext : System.Address; -- vulkan_core.h:9978
stage : aliased VkPipelineStageFlagBits; -- vulkan_core.h:9979
pCheckpointMarker : System.Address; -- vulkan_core.h:9980
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:9976
type PFN_vkCmdSetCheckpointNV is access procedure (arg1 : VkCommandBuffer; arg2 : System.Address)
with Convention => C; -- vulkan_core.h:9983
type PFN_vkGetQueueCheckpointDataNV is access procedure
(arg1 : VkQueue;
arg2 : access Interfaces.C.unsigned_short;
arg3 : access VkCheckpointDataNV)
with Convention => C; -- vulkan_core.h:9984
procedure vkCmdSetCheckpointNV (commandBuffer : VkCommandBuffer; pCheckpointMarker : System.Address) -- vulkan_core.h:9987
with Import => True,
Convention => C,
External_Name => "vkCmdSetCheckpointNV";
procedure vkGetQueueCheckpointDataNV
(queue : VkQueue;
pCheckpointDataCount : access Interfaces.C.unsigned_short;
pCheckpointData : access VkCheckpointDataNV) -- vulkan_core.h:9991
with Import => True,
Convention => C,
External_Name => "vkGetQueueCheckpointDataNV";
type VkPhysicalDeviceShaderIntegerFunctions2FeaturesINTEL is record
sType : aliased VkStructureType; -- vulkan_core.h:10002
pNext : System.Address; -- vulkan_core.h:10003
shaderIntegerFunctions2 : aliased VkBool32; -- vulkan_core.h:10004
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:10001
type VkPerformanceConfigurationINTEL_T is null record; -- incomplete struct
type VkPerformanceConfigurationINTEL is access all VkPerformanceConfigurationINTEL_T; -- vulkan_core.h:10010
subtype VkPerformanceConfigurationTypeINTEL is unsigned;
VK_PERFORMANCE_CONFIGURATION_TYPE_COMMAND_QUEUE_METRICS_DISCOVERY_ACTIVATED_INTEL : constant unsigned := 0;
VK_PERFORMANCE_CONFIGURATION_TYPE_BEGIN_RANGE_INTEL : constant unsigned := 0;
VK_PERFORMANCE_CONFIGURATION_TYPE_END_RANGE_INTEL : constant unsigned := 0;
VK_PERFORMANCE_CONFIGURATION_TYPE_RANGE_SIZE_INTEL : constant unsigned := 1;
VK_PERFORMANCE_CONFIGURATION_TYPE_MAX_ENUM_INTEL : constant unsigned := 2147483647; -- vulkan_core.h:10014
subtype VkQueryPoolSamplingModeINTEL is unsigned;
VK_QUERY_POOL_SAMPLING_MODE_MANUAL_INTEL : constant unsigned := 0;
VK_QUERY_POOL_SAMPLING_MODE_BEGIN_RANGE_INTEL : constant unsigned := 0;
VK_QUERY_POOL_SAMPLING_MODE_END_RANGE_INTEL : constant unsigned := 0;
VK_QUERY_POOL_SAMPLING_MODE_RANGE_SIZE_INTEL : constant unsigned := 1;
VK_QUERY_POOL_SAMPLING_MODE_MAX_ENUM_INTEL : constant unsigned := 2147483647; -- vulkan_core.h:10022
subtype VkPerformanceOverrideTypeINTEL is unsigned;
VK_PERFORMANCE_OVERRIDE_TYPE_NULL_HARDWARE_INTEL : constant unsigned := 0;
VK_PERFORMANCE_OVERRIDE_TYPE_FLUSH_GPU_CACHES_INTEL : constant unsigned := 1;
VK_PERFORMANCE_OVERRIDE_TYPE_BEGIN_RANGE_INTEL : constant unsigned := 0;
VK_PERFORMANCE_OVERRIDE_TYPE_END_RANGE_INTEL : constant unsigned := 1;
VK_PERFORMANCE_OVERRIDE_TYPE_RANGE_SIZE_INTEL : constant unsigned := 2;
VK_PERFORMANCE_OVERRIDE_TYPE_MAX_ENUM_INTEL : constant unsigned := 2147483647; -- vulkan_core.h:10030
subtype VkPerformanceParameterTypeINTEL is unsigned;
VK_PERFORMANCE_PARAMETER_TYPE_HW_COUNTERS_SUPPORTED_INTEL : constant unsigned := 0;
VK_PERFORMANCE_PARAMETER_TYPE_STREAM_MARKER_VALID_BITS_INTEL : constant unsigned := 1;
VK_PERFORMANCE_PARAMETER_TYPE_BEGIN_RANGE_INTEL : constant unsigned := 0;
VK_PERFORMANCE_PARAMETER_TYPE_END_RANGE_INTEL : constant unsigned := 1;
VK_PERFORMANCE_PARAMETER_TYPE_RANGE_SIZE_INTEL : constant unsigned := 2;
VK_PERFORMANCE_PARAMETER_TYPE_MAX_ENUM_INTEL : constant unsigned := 2147483647; -- vulkan_core.h:10039
subtype VkPerformanceValueTypeINTEL is unsigned;
VK_PERFORMANCE_VALUE_TYPE_UINT32_INTEL : constant unsigned := 0;
VK_PERFORMANCE_VALUE_TYPE_UINT64_INTEL : constant unsigned := 1;
VK_PERFORMANCE_VALUE_TYPE_FLOAT_INTEL : constant unsigned := 2;
VK_PERFORMANCE_VALUE_TYPE_BOOL_INTEL : constant unsigned := 3;
VK_PERFORMANCE_VALUE_TYPE_STRING_INTEL : constant unsigned := 4;
VK_PERFORMANCE_VALUE_TYPE_BEGIN_RANGE_INTEL : constant unsigned := 0;
VK_PERFORMANCE_VALUE_TYPE_END_RANGE_INTEL : constant unsigned := 4;
VK_PERFORMANCE_VALUE_TYPE_RANGE_SIZE_INTEL : constant unsigned := 5;
VK_PERFORMANCE_VALUE_TYPE_MAX_ENUM_INTEL : constant unsigned := 2147483647; -- vulkan_core.h:10048
type VkPerformanceValueDataINTEL (discr : unsigned := 0) is record
case discr is
when 0 =>
value32 : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:10060
when 1 =>
value64 : aliased Interfaces.C.unsigned_long; -- vulkan_core.h:10061
when 2 =>
valueFloat : aliased float; -- vulkan_core.h:10062
when 3 =>
valueBool : aliased VkBool32; -- vulkan_core.h:10063
when others =>
valueString : Interfaces.C.Strings.chars_ptr; -- vulkan_core.h:10064
end case;
end record
with Convention => C_Pass_By_Copy,
Unchecked_Union => True; -- vulkan_core.h:10059
type VkPerformanceValueINTEL is record
c_type : aliased VkPerformanceValueTypeINTEL; -- vulkan_core.h:10068
data : aliased VkPerformanceValueDataINTEL; -- vulkan_core.h:10069
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:10067
type VkInitializePerformanceApiInfoINTEL is record
sType : aliased VkStructureType; -- vulkan_core.h:10073
pNext : System.Address; -- vulkan_core.h:10074
pUserData : System.Address; -- vulkan_core.h:10075
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:10072
type VkQueryPoolCreateInfoINTEL is record
sType : aliased VkStructureType; -- vulkan_core.h:10079
pNext : System.Address; -- vulkan_core.h:10080
performanceCountersSampling : aliased VkQueryPoolSamplingModeINTEL; -- vulkan_core.h:10081
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:10078
type VkPerformanceMarkerInfoINTEL is record
sType : aliased VkStructureType; -- vulkan_core.h:10085
pNext : System.Address; -- vulkan_core.h:10086
marker : aliased Interfaces.C.unsigned_long; -- vulkan_core.h:10087
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:10084
type VkPerformanceStreamMarkerInfoINTEL is record
sType : aliased VkStructureType; -- vulkan_core.h:10091
pNext : System.Address; -- vulkan_core.h:10092
marker : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:10093
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:10090
type VkPerformanceOverrideInfoINTEL is record
sType : aliased VkStructureType; -- vulkan_core.h:10097
pNext : System.Address; -- vulkan_core.h:10098
c_type : aliased VkPerformanceOverrideTypeINTEL; -- vulkan_core.h:10099
enable : aliased VkBool32; -- vulkan_core.h:10100
parameter : aliased Interfaces.C.unsigned_long; -- vulkan_core.h:10101
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:10096
type VkPerformanceConfigurationAcquireInfoINTEL is record
sType : aliased VkStructureType; -- vulkan_core.h:10105
pNext : System.Address; -- vulkan_core.h:10106
c_type : aliased VkPerformanceConfigurationTypeINTEL; -- vulkan_core.h:10107
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:10104
type PFN_vkInitializePerformanceApiINTEL is access function (arg1 : VkDevice; arg2 : access constant VkInitializePerformanceApiInfoINTEL) return VkResult
with Convention => C; -- vulkan_core.h:10110
type PFN_vkUninitializePerformanceApiINTEL is access procedure (arg1 : VkDevice)
with Convention => C; -- vulkan_core.h:10111
type PFN_vkCmdSetPerformanceMarkerINTEL is access function (arg1 : VkCommandBuffer; arg2 : access constant VkPerformanceMarkerInfoINTEL) return VkResult
with Convention => C; -- vulkan_core.h:10112
type PFN_vkCmdSetPerformanceStreamMarkerINTEL is access function (arg1 : VkCommandBuffer; arg2 : access constant VkPerformanceStreamMarkerInfoINTEL) return VkResult
with Convention => C; -- vulkan_core.h:10113
type PFN_vkCmdSetPerformanceOverrideINTEL is access function (arg1 : VkCommandBuffer; arg2 : access constant VkPerformanceOverrideInfoINTEL) return VkResult
with Convention => C; -- vulkan_core.h:10114
type PFN_vkAcquirePerformanceConfigurationINTEL is access function
(arg1 : VkDevice;
arg2 : access constant VkPerformanceConfigurationAcquireInfoINTEL;
arg3 : System.Address) return VkResult
with Convention => C; -- vulkan_core.h:10115
type PFN_vkReleasePerformanceConfigurationINTEL is access function (arg1 : VkDevice; arg2 : VkPerformanceConfigurationINTEL) return VkResult
with Convention => C; -- vulkan_core.h:10116
type PFN_vkQueueSetPerformanceConfigurationINTEL is access function (arg1 : VkQueue; arg2 : VkPerformanceConfigurationINTEL) return VkResult
with Convention => C; -- vulkan_core.h:10117
type PFN_vkGetPerformanceParameterINTEL is access function
(arg1 : VkDevice;
arg2 : VkPerformanceParameterTypeINTEL;
arg3 : access VkPerformanceValueINTEL) return VkResult
with Convention => C; -- vulkan_core.h:10118
function vkInitializePerformanceApiINTEL (device : VkDevice; pInitializeInfo : access constant VkInitializePerformanceApiInfoINTEL) return VkResult -- vulkan_core.h:10121
with Import => True,
Convention => C,
External_Name => "vkInitializePerformanceApiINTEL";
procedure vkUninitializePerformanceApiINTEL (device : VkDevice) -- vulkan_core.h:10125
with Import => True,
Convention => C,
External_Name => "vkUninitializePerformanceApiINTEL";
function vkCmdSetPerformanceMarkerINTEL (commandBuffer : VkCommandBuffer; pMarkerInfo : access constant VkPerformanceMarkerInfoINTEL) return VkResult -- vulkan_core.h:10128
with Import => True,
Convention => C,
External_Name => "vkCmdSetPerformanceMarkerINTEL";
function vkCmdSetPerformanceStreamMarkerINTEL (commandBuffer : VkCommandBuffer; pMarkerInfo : access constant VkPerformanceStreamMarkerInfoINTEL) return VkResult -- vulkan_core.h:10132
with Import => True,
Convention => C,
External_Name => "vkCmdSetPerformanceStreamMarkerINTEL";
function vkCmdSetPerformanceOverrideINTEL (commandBuffer : VkCommandBuffer; pOverrideInfo : access constant VkPerformanceOverrideInfoINTEL) return VkResult -- vulkan_core.h:10136
with Import => True,
Convention => C,
External_Name => "vkCmdSetPerformanceOverrideINTEL";
function vkAcquirePerformanceConfigurationINTEL
(device : VkDevice;
pAcquireInfo : access constant VkPerformanceConfigurationAcquireInfoINTEL;
pConfiguration : System.Address) return VkResult -- vulkan_core.h:10140
with Import => True,
Convention => C,
External_Name => "vkAcquirePerformanceConfigurationINTEL";
function vkReleasePerformanceConfigurationINTEL (device : VkDevice; configuration : VkPerformanceConfigurationINTEL) return VkResult -- vulkan_core.h:10145
with Import => True,
Convention => C,
External_Name => "vkReleasePerformanceConfigurationINTEL";
function vkQueueSetPerformanceConfigurationINTEL (queue : VkQueue; configuration : VkPerformanceConfigurationINTEL) return VkResult -- vulkan_core.h:10149
with Import => True,
Convention => C,
External_Name => "vkQueueSetPerformanceConfigurationINTEL";
function vkGetPerformanceParameterINTEL
(device : VkDevice;
parameter : VkPerformanceParameterTypeINTEL;
pValue : access VkPerformanceValueINTEL) return VkResult -- vulkan_core.h:10153
with Import => True,
Convention => C,
External_Name => "vkGetPerformanceParameterINTEL";
type VkPhysicalDevicePCIBusInfoPropertiesEXT is record
sType : aliased VkStructureType; -- vulkan_core.h:10164
pNext : System.Address; -- vulkan_core.h:10165
pciDomain : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:10166
pciBus : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:10167
pciDevice : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:10168
pciFunction : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:10169
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:10163
type VkDisplayNativeHdrSurfaceCapabilitiesAMD is record
sType : aliased VkStructureType; -- vulkan_core.h:10178
pNext : System.Address; -- vulkan_core.h:10179
localDimmingSupport : aliased VkBool32; -- vulkan_core.h:10180
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:10177
type VkSwapchainDisplayNativeHdrCreateInfoAMD is record
sType : aliased VkStructureType; -- vulkan_core.h:10184
pNext : System.Address; -- vulkan_core.h:10185
localDimmingEnable : aliased VkBool32; -- vulkan_core.h:10186
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:10183
type PFN_vkSetLocalDimmingAMD is access procedure
(arg1 : VkDevice;
arg2 : VkSwapchainKHR;
arg3 : VkBool32)
with Convention => C; -- vulkan_core.h:10189
procedure vkSetLocalDimmingAMD
(device : VkDevice;
swapChain : VkSwapchainKHR;
localDimmingEnable : VkBool32) -- vulkan_core.h:10192
with Import => True,
Convention => C,
External_Name => "vkSetLocalDimmingAMD";
type VkPhysicalDeviceFragmentDensityMapFeaturesEXT is record
sType : aliased VkStructureType; -- vulkan_core.h:10203
pNext : System.Address; -- vulkan_core.h:10204
fragmentDensityMap : aliased VkBool32; -- vulkan_core.h:10205
fragmentDensityMapDynamic : aliased VkBool32; -- vulkan_core.h:10206
fragmentDensityMapNonSubsampledImages : aliased VkBool32; -- vulkan_core.h:10207
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:10202
type VkPhysicalDeviceFragmentDensityMapPropertiesEXT is record
sType : aliased VkStructureType; -- vulkan_core.h:10211
pNext : System.Address; -- vulkan_core.h:10212
minFragmentDensityTexelSize : aliased VkExtent2D; -- vulkan_core.h:10213
maxFragmentDensityTexelSize : aliased VkExtent2D; -- vulkan_core.h:10214
fragmentDensityInvocations : aliased VkBool32; -- vulkan_core.h:10215
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:10210
type VkRenderPassFragmentDensityMapCreateInfoEXT is record
sType : aliased VkStructureType; -- vulkan_core.h:10219
pNext : System.Address; -- vulkan_core.h:10220
fragmentDensityMapAttachment : aliased VkAttachmentReference; -- vulkan_core.h:10221
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:10218
subtype VkPhysicalDeviceScalarBlockLayoutFeaturesEXT is VkPhysicalDeviceScalarBlockLayoutFeatures; -- vulkan_core.h:10229
type VkPhysicalDeviceSubgroupSizeControlFeaturesEXT is record
sType : aliased VkStructureType; -- vulkan_core.h:10247
pNext : System.Address; -- vulkan_core.h:10248
subgroupSizeControl : aliased VkBool32; -- vulkan_core.h:10249
computeFullSubgroups : aliased VkBool32; -- vulkan_core.h:10250
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:10246
type VkPhysicalDeviceSubgroupSizeControlPropertiesEXT is record
sType : aliased VkStructureType; -- vulkan_core.h:10254
pNext : System.Address; -- vulkan_core.h:10255
minSubgroupSize : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:10256
maxSubgroupSize : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:10257
maxComputeWorkgroupSubgroups : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:10258
requiredSubgroupSizeStages : aliased VkShaderStageFlags; -- vulkan_core.h:10259
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:10253
type VkPipelineShaderStageRequiredSubgroupSizeCreateInfoEXT is record
sType : aliased VkStructureType; -- vulkan_core.h:10263
pNext : System.Address; -- vulkan_core.h:10264
requiredSubgroupSize : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:10265
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:10262
subtype VkShaderCorePropertiesFlagBitsAMD is unsigned;
VK_SHADER_CORE_PROPERTIES_FLAG_BITS_MAX_ENUM_AMD : constant unsigned := 2147483647; -- vulkan_core.h:10274
subtype VkShaderCorePropertiesFlagsAMD is VkFlags; -- vulkan_core.h:10277
type VkPhysicalDeviceShaderCoreProperties2AMD is record
sType : aliased VkStructureType; -- vulkan_core.h:10279
pNext : System.Address; -- vulkan_core.h:10280
shaderCoreFeatures : aliased VkShaderCorePropertiesFlagsAMD; -- vulkan_core.h:10281
activeComputeUnitCount : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:10282
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:10278
type VkPhysicalDeviceCoherentMemoryFeaturesAMD is record
sType : aliased VkStructureType; -- vulkan_core.h:10291
pNext : System.Address; -- vulkan_core.h:10292
deviceCoherentMemory : aliased VkBool32; -- vulkan_core.h:10293
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:10290
type VkPhysicalDeviceMemoryBudgetPropertiesEXT_array5703 is array (0 .. 15) of aliased VkDeviceSize;
type VkPhysicalDeviceMemoryBudgetPropertiesEXT is record
sType : aliased VkStructureType; -- vulkan_core.h:10302
pNext : System.Address; -- vulkan_core.h:10303
heapBudget : aliased VkPhysicalDeviceMemoryBudgetPropertiesEXT_array5703; -- vulkan_core.h:10304
heapUsage : aliased VkPhysicalDeviceMemoryBudgetPropertiesEXT_array5703; -- vulkan_core.h:10305
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:10301
type VkPhysicalDeviceMemoryPriorityFeaturesEXT is record
sType : aliased VkStructureType; -- vulkan_core.h:10314
pNext : System.Address; -- vulkan_core.h:10315
memoryPriority : aliased VkBool32; -- vulkan_core.h:10316
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:10313
type VkMemoryPriorityAllocateInfoEXT is record
sType : aliased VkStructureType; -- vulkan_core.h:10320
pNext : System.Address; -- vulkan_core.h:10321
priority : aliased float; -- vulkan_core.h:10322
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:10319
type VkPhysicalDeviceDedicatedAllocationImageAliasingFeaturesNV is record
sType : aliased VkStructureType; -- vulkan_core.h:10331
pNext : System.Address; -- vulkan_core.h:10332
dedicatedAllocationImageAliasing : aliased VkBool32; -- vulkan_core.h:10333
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:10330
type VkPhysicalDeviceBufferDeviceAddressFeaturesEXT is record
sType : aliased VkStructureType; -- vulkan_core.h:10342
pNext : System.Address; -- vulkan_core.h:10343
bufferDeviceAddress : aliased VkBool32; -- vulkan_core.h:10344
bufferDeviceAddressCaptureReplay : aliased VkBool32; -- vulkan_core.h:10345
bufferDeviceAddressMultiDevice : aliased VkBool32; -- vulkan_core.h:10346
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:10341
subtype VkPhysicalDeviceBufferAddressFeaturesEXT is VkPhysicalDeviceBufferDeviceAddressFeaturesEXT; -- vulkan_core.h:10349
subtype VkBufferDeviceAddressInfoEXT is VkBufferDeviceAddressInfo; -- vulkan_core.h:10351
type VkBufferDeviceAddressCreateInfoEXT is record
sType : aliased VkStructureType; -- vulkan_core.h:10354
pNext : System.Address; -- vulkan_core.h:10355
deviceAddress : aliased VkDeviceAddress; -- vulkan_core.h:10356
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:10353
type PFN_vkGetBufferDeviceAddressEXT is access function (arg1 : VkDevice; arg2 : access constant VkBufferDeviceAddressInfo) return VkDeviceAddress
with Convention => C; -- vulkan_core.h:10359
function vkGetBufferDeviceAddressEXT (device : VkDevice; pInfo : access constant VkBufferDeviceAddressInfo) return VkDeviceAddress -- vulkan_core.h:10362
with Import => True,
Convention => C,
External_Name => "vkGetBufferDeviceAddressEXT";
subtype VkToolPurposeFlagBitsEXT is unsigned;
VK_TOOL_PURPOSE_VALIDATION_BIT_EXT : constant unsigned := 1;
VK_TOOL_PURPOSE_PROFILING_BIT_EXT : constant unsigned := 2;
VK_TOOL_PURPOSE_TRACING_BIT_EXT : constant unsigned := 4;
VK_TOOL_PURPOSE_ADDITIONAL_FEATURES_BIT_EXT : constant unsigned := 8;
VK_TOOL_PURPOSE_MODIFYING_FEATURES_BIT_EXT : constant unsigned := 16;
VK_TOOL_PURPOSE_DEBUG_REPORTING_BIT_EXT : constant unsigned := 32;
VK_TOOL_PURPOSE_DEBUG_MARKERS_BIT_EXT : constant unsigned := 64;
VK_TOOL_PURPOSE_FLAG_BITS_MAX_ENUM_EXT : constant unsigned := 2147483647; -- vulkan_core.h:10372
subtype VkToolPurposeFlagsEXT is VkFlags; -- vulkan_core.h:10382
subtype VkPhysicalDeviceToolPropertiesEXT_array1342 is Interfaces.C.char_array (0 .. 255);
type VkPhysicalDeviceToolPropertiesEXT is record
sType : aliased VkStructureType; -- vulkan_core.h:10384
pNext : System.Address; -- vulkan_core.h:10385
name : aliased VkPhysicalDeviceToolPropertiesEXT_array1342; -- vulkan_core.h:10386
version : aliased VkPhysicalDeviceToolPropertiesEXT_array1342; -- vulkan_core.h:10387
purposes : aliased VkToolPurposeFlagsEXT; -- vulkan_core.h:10388
description : aliased VkPhysicalDeviceToolPropertiesEXT_array1342; -- vulkan_core.h:10389
layer : aliased VkPhysicalDeviceToolPropertiesEXT_array1342; -- vulkan_core.h:10390
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:10383
type PFN_vkGetPhysicalDeviceToolPropertiesEXT is access function
(arg1 : VkPhysicalDevice;
arg2 : access Interfaces.C.unsigned_short;
arg3 : access VkPhysicalDeviceToolPropertiesEXT) return VkResult
with Convention => C; -- vulkan_core.h:10393
function vkGetPhysicalDeviceToolPropertiesEXT
(physicalDevice : VkPhysicalDevice;
pToolCount : access Interfaces.C.unsigned_short;
pToolProperties : access VkPhysicalDeviceToolPropertiesEXT) return VkResult -- vulkan_core.h:10396
with Import => True,
Convention => C,
External_Name => "vkGetPhysicalDeviceToolPropertiesEXT";
subtype VkImageStencilUsageCreateInfoEXT is VkImageStencilUsageCreateInfo; -- vulkan_core.h:10406
subtype VkValidationFeatureEnableEXT is unsigned;
VK_VALIDATION_FEATURE_ENABLE_GPU_ASSISTED_EXT : constant unsigned := 0;
VK_VALIDATION_FEATURE_ENABLE_GPU_ASSISTED_RESERVE_BINDING_SLOT_EXT : constant unsigned := 1;
VK_VALIDATION_FEATURE_ENABLE_BEST_PRACTICES_EXT : constant unsigned := 2;
VK_VALIDATION_FEATURE_ENABLE_BEGIN_RANGE_EXT : constant unsigned := 0;
VK_VALIDATION_FEATURE_ENABLE_END_RANGE_EXT : constant unsigned := 2;
VK_VALIDATION_FEATURE_ENABLE_RANGE_SIZE_EXT : constant unsigned := 3;
VK_VALIDATION_FEATURE_ENABLE_MAX_ENUM_EXT : constant unsigned := 2147483647; -- vulkan_core.h:10414
subtype VkValidationFeatureDisableEXT is unsigned;
VK_VALIDATION_FEATURE_DISABLE_ALL_EXT : constant unsigned := 0;
VK_VALIDATION_FEATURE_DISABLE_SHADERS_EXT : constant unsigned := 1;
VK_VALIDATION_FEATURE_DISABLE_THREAD_SAFETY_EXT : constant unsigned := 2;
VK_VALIDATION_FEATURE_DISABLE_API_PARAMETERS_EXT : constant unsigned := 3;
VK_VALIDATION_FEATURE_DISABLE_OBJECT_LIFETIMES_EXT : constant unsigned := 4;
VK_VALIDATION_FEATURE_DISABLE_CORE_CHECKS_EXT : constant unsigned := 5;
VK_VALIDATION_FEATURE_DISABLE_UNIQUE_HANDLES_EXT : constant unsigned := 6;
VK_VALIDATION_FEATURE_DISABLE_BEGIN_RANGE_EXT : constant unsigned := 0;
VK_VALIDATION_FEATURE_DISABLE_END_RANGE_EXT : constant unsigned := 6;
VK_VALIDATION_FEATURE_DISABLE_RANGE_SIZE_EXT : constant unsigned := 7;
VK_VALIDATION_FEATURE_DISABLE_MAX_ENUM_EXT : constant unsigned := 2147483647; -- vulkan_core.h:10424
type VkValidationFeaturesEXT is record
sType : aliased VkStructureType; -- vulkan_core.h:10438
pNext : System.Address; -- vulkan_core.h:10439
enabledValidationFeatureCount : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:10440
pEnabledValidationFeatures : access VkValidationFeatureEnableEXT; -- vulkan_core.h:10441
disabledValidationFeatureCount : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:10442
pDisabledValidationFeatures : access VkValidationFeatureDisableEXT; -- vulkan_core.h:10443
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:10437
subtype VkComponentTypeNV is unsigned;
VK_COMPONENT_TYPE_FLOAT16_NV : constant unsigned := 0;
VK_COMPONENT_TYPE_FLOAT32_NV : constant unsigned := 1;
VK_COMPONENT_TYPE_FLOAT64_NV : constant unsigned := 2;
VK_COMPONENT_TYPE_SINT8_NV : constant unsigned := 3;
VK_COMPONENT_TYPE_SINT16_NV : constant unsigned := 4;
VK_COMPONENT_TYPE_SINT32_NV : constant unsigned := 5;
VK_COMPONENT_TYPE_SINT64_NV : constant unsigned := 6;
VK_COMPONENT_TYPE_UINT8_NV : constant unsigned := 7;
VK_COMPONENT_TYPE_UINT16_NV : constant unsigned := 8;
VK_COMPONENT_TYPE_UINT32_NV : constant unsigned := 9;
VK_COMPONENT_TYPE_UINT64_NV : constant unsigned := 10;
VK_COMPONENT_TYPE_BEGIN_RANGE_NV : constant unsigned := 0;
VK_COMPONENT_TYPE_END_RANGE_NV : constant unsigned := 10;
VK_COMPONENT_TYPE_RANGE_SIZE_NV : constant unsigned := 11;
VK_COMPONENT_TYPE_MAX_ENUM_NV : constant unsigned := 2147483647; -- vulkan_core.h:10452
subtype VkScopeNV is unsigned;
VK_SCOPE_DEVICE_NV : constant unsigned := 1;
VK_SCOPE_WORKGROUP_NV : constant unsigned := 2;
VK_SCOPE_SUBGROUP_NV : constant unsigned := 3;
VK_SCOPE_QUEUE_FAMILY_NV : constant unsigned := 5;
VK_SCOPE_BEGIN_RANGE_NV : constant unsigned := 1;
VK_SCOPE_END_RANGE_NV : constant unsigned := 5;
VK_SCOPE_RANGE_SIZE_NV : constant unsigned := 5;
VK_SCOPE_MAX_ENUM_NV : constant unsigned := 2147483647; -- vulkan_core.h:10470
type VkCooperativeMatrixPropertiesNV is record
sType : aliased VkStructureType; -- vulkan_core.h:10481
pNext : System.Address; -- vulkan_core.h:10482
MSize : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:10483
NSize : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:10484
KSize : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:10485
AType : aliased VkComponentTypeNV; -- vulkan_core.h:10486
BType : aliased VkComponentTypeNV; -- vulkan_core.h:10487
CType : aliased VkComponentTypeNV; -- vulkan_core.h:10488
DType : aliased VkComponentTypeNV; -- vulkan_core.h:10489
scope : aliased VkScopeNV; -- vulkan_core.h:10490
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:10480
type VkPhysicalDeviceCooperativeMatrixFeaturesNV is record
sType : aliased VkStructureType; -- vulkan_core.h:10494
pNext : System.Address; -- vulkan_core.h:10495
cooperativeMatrix : aliased VkBool32; -- vulkan_core.h:10496
cooperativeMatrixRobustBufferAccess : aliased VkBool32; -- vulkan_core.h:10497
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:10493
type VkPhysicalDeviceCooperativeMatrixPropertiesNV is record
sType : aliased VkStructureType; -- vulkan_core.h:10501
pNext : System.Address; -- vulkan_core.h:10502
cooperativeMatrixSupportedStages : aliased VkShaderStageFlags; -- vulkan_core.h:10503
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:10500
type PFN_vkGetPhysicalDeviceCooperativeMatrixPropertiesNV is access function
(arg1 : VkPhysicalDevice;
arg2 : access Interfaces.C.unsigned_short;
arg3 : access VkCooperativeMatrixPropertiesNV) return VkResult
with Convention => C; -- vulkan_core.h:10506
function vkGetPhysicalDeviceCooperativeMatrixPropertiesNV
(physicalDevice : VkPhysicalDevice;
pPropertyCount : access Interfaces.C.unsigned_short;
pProperties : access VkCooperativeMatrixPropertiesNV) return VkResult -- vulkan_core.h:10509
with Import => True,
Convention => C,
External_Name => "vkGetPhysicalDeviceCooperativeMatrixPropertiesNV";
subtype VkCoverageReductionModeNV is unsigned;
VK_COVERAGE_REDUCTION_MODE_MERGE_NV : constant unsigned := 0;
VK_COVERAGE_REDUCTION_MODE_TRUNCATE_NV : constant unsigned := 1;
VK_COVERAGE_REDUCTION_MODE_BEGIN_RANGE_NV : constant unsigned := 0;
VK_COVERAGE_REDUCTION_MODE_END_RANGE_NV : constant unsigned := 1;
VK_COVERAGE_REDUCTION_MODE_RANGE_SIZE_NV : constant unsigned := 2;
VK_COVERAGE_REDUCTION_MODE_MAX_ENUM_NV : constant unsigned := 2147483647; -- vulkan_core.h:10520
subtype VkPipelineCoverageReductionStateCreateFlagsNV is VkFlags; -- vulkan_core.h:10528
type VkPhysicalDeviceCoverageReductionModeFeaturesNV is record
sType : aliased VkStructureType; -- vulkan_core.h:10530
pNext : System.Address; -- vulkan_core.h:10531
coverageReductionMode : aliased VkBool32; -- vulkan_core.h:10532
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:10529
type VkPipelineCoverageReductionStateCreateInfoNV is record
sType : aliased VkStructureType; -- vulkan_core.h:10536
pNext : System.Address; -- vulkan_core.h:10537
flags : aliased VkPipelineCoverageReductionStateCreateFlagsNV; -- vulkan_core.h:10538
coverageReductionMode : aliased VkCoverageReductionModeNV; -- vulkan_core.h:10539
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:10535
type VkFramebufferMixedSamplesCombinationNV is record
sType : aliased VkStructureType; -- vulkan_core.h:10543
pNext : System.Address; -- vulkan_core.h:10544
coverageReductionMode : aliased VkCoverageReductionModeNV; -- vulkan_core.h:10545
rasterizationSamples : aliased VkSampleCountFlagBits; -- vulkan_core.h:10546
depthStencilSamples : aliased VkSampleCountFlags; -- vulkan_core.h:10547
colorSamples : aliased VkSampleCountFlags; -- vulkan_core.h:10548
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:10542
type PFN_vkGetPhysicalDeviceSupportedFramebufferMixedSamplesCombinationsNV is access function
(arg1 : VkPhysicalDevice;
arg2 : access Interfaces.C.unsigned_short;
arg3 : access VkFramebufferMixedSamplesCombinationNV) return VkResult
with Convention => C; -- vulkan_core.h:10551
function vkGetPhysicalDeviceSupportedFramebufferMixedSamplesCombinationsNV
(physicalDevice : VkPhysicalDevice;
pCombinationCount : access Interfaces.C.unsigned_short;
pCombinations : access VkFramebufferMixedSamplesCombinationNV) return VkResult -- vulkan_core.h:10554
with Import => True,
Convention => C,
External_Name => "vkGetPhysicalDeviceSupportedFramebufferMixedSamplesCombinationsNV";
type VkPhysicalDeviceFragmentShaderInterlockFeaturesEXT is record
sType : aliased VkStructureType; -- vulkan_core.h:10565
pNext : System.Address; -- vulkan_core.h:10566
fragmentShaderSampleInterlock : aliased VkBool32; -- vulkan_core.h:10567
fragmentShaderPixelInterlock : aliased VkBool32; -- vulkan_core.h:10568
fragmentShaderShadingRateInterlock : aliased VkBool32; -- vulkan_core.h:10569
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:10564
type VkPhysicalDeviceYcbcrImageArraysFeaturesEXT is record
sType : aliased VkStructureType; -- vulkan_core.h:10578
pNext : System.Address; -- vulkan_core.h:10579
ycbcrImageArrays : aliased VkBool32; -- vulkan_core.h:10580
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:10577
subtype VkHeadlessSurfaceCreateFlagsEXT is VkFlags; -- vulkan_core.h:10588
type VkHeadlessSurfaceCreateInfoEXT is record
sType : aliased VkStructureType; -- vulkan_core.h:10590
pNext : System.Address; -- vulkan_core.h:10591
flags : aliased VkHeadlessSurfaceCreateFlagsEXT; -- vulkan_core.h:10592
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:10589
type PFN_vkCreateHeadlessSurfaceEXT is access function
(arg1 : VkInstance;
arg2 : access constant VkHeadlessSurfaceCreateInfoEXT;
arg3 : access constant VkAllocationCallbacks;
arg4 : System.Address) return VkResult
with Convention => C; -- vulkan_core.h:10595
function vkCreateHeadlessSurfaceEXT
(instance : VkInstance;
pCreateInfo : access constant VkHeadlessSurfaceCreateInfoEXT;
pAllocator : access constant VkAllocationCallbacks;
pSurface : System.Address) return VkResult -- vulkan_core.h:10598
with Import => True,
Convention => C,
External_Name => "vkCreateHeadlessSurfaceEXT";
subtype VkLineRasterizationModeEXT is unsigned;
VK_LINE_RASTERIZATION_MODE_DEFAULT_EXT : constant unsigned := 0;
VK_LINE_RASTERIZATION_MODE_RECTANGULAR_EXT : constant unsigned := 1;
VK_LINE_RASTERIZATION_MODE_BRESENHAM_EXT : constant unsigned := 2;
VK_LINE_RASTERIZATION_MODE_RECTANGULAR_SMOOTH_EXT : constant unsigned := 3;
VK_LINE_RASTERIZATION_MODE_BEGIN_RANGE_EXT : constant unsigned := 0;
VK_LINE_RASTERIZATION_MODE_END_RANGE_EXT : constant unsigned := 3;
VK_LINE_RASTERIZATION_MODE_RANGE_SIZE_EXT : constant unsigned := 4;
VK_LINE_RASTERIZATION_MODE_MAX_ENUM_EXT : constant unsigned := 2147483647; -- vulkan_core.h:10610
type VkPhysicalDeviceLineRasterizationFeaturesEXT is record
sType : aliased VkStructureType; -- vulkan_core.h:10621
pNext : System.Address; -- vulkan_core.h:10622
rectangularLines : aliased VkBool32; -- vulkan_core.h:10623
bresenhamLines : aliased VkBool32; -- vulkan_core.h:10624
smoothLines : aliased VkBool32; -- vulkan_core.h:10625
stippledRectangularLines : aliased VkBool32; -- vulkan_core.h:10626
stippledBresenhamLines : aliased VkBool32; -- vulkan_core.h:10627
stippledSmoothLines : aliased VkBool32; -- vulkan_core.h:10628
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:10620
type VkPhysicalDeviceLineRasterizationPropertiesEXT is record
sType : aliased VkStructureType; -- vulkan_core.h:10632
pNext : System.Address; -- vulkan_core.h:10633
lineSubPixelPrecisionBits : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:10634
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:10631
type VkPipelineRasterizationLineStateCreateInfoEXT is record
sType : aliased VkStructureType; -- vulkan_core.h:10638
pNext : System.Address; -- vulkan_core.h:10639
lineRasterizationMode : aliased VkLineRasterizationModeEXT; -- vulkan_core.h:10640
stippledLineEnable : aliased VkBool32; -- vulkan_core.h:10641
lineStippleFactor : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:10642
lineStipplePattern : aliased Interfaces.C.unsigned_short; -- vulkan_core.h:10643
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:10637
type PFN_vkCmdSetLineStippleEXT is access procedure
(arg1 : VkCommandBuffer;
arg2 : Interfaces.C.unsigned_short;
arg3 : Interfaces.C.unsigned_short)
with Convention => C; -- vulkan_core.h:10646
procedure vkCmdSetLineStippleEXT
(commandBuffer : VkCommandBuffer;
lineStippleFactor : Interfaces.C.unsigned_short;
lineStipplePattern : Interfaces.C.unsigned_short) -- vulkan_core.h:10649
with Import => True,
Convention => C,
External_Name => "vkCmdSetLineStippleEXT";
subtype VkPhysicalDeviceHostQueryResetFeaturesEXT is VkPhysicalDeviceHostQueryResetFeatures; -- vulkan_core.h:10659
type PFN_vkResetQueryPoolEXT is access procedure
(arg1 : VkDevice;
arg2 : VkQueryPool;
arg3 : Interfaces.C.unsigned_short;
arg4 : Interfaces.C.unsigned_short)
with Convention => C; -- vulkan_core.h:10661
procedure vkResetQueryPoolEXT
(device : VkDevice;
queryPool : VkQueryPool;
firstQuery : Interfaces.C.unsigned_short;
queryCount : Interfaces.C.unsigned_short) -- vulkan_core.h:10664
with Import => True,
Convention => C,
External_Name => "vkResetQueryPoolEXT";
type VkPhysicalDeviceIndexTypeUint8FeaturesEXT is record
sType : aliased VkStructureType; -- vulkan_core.h:10676
pNext : System.Address; -- vulkan_core.h:10677
indexTypeUint8 : aliased VkBool32; -- vulkan_core.h:10678
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:10675
type VkPhysicalDeviceShaderDemoteToHelperInvocationFeaturesEXT is record
sType : aliased VkStructureType; -- vulkan_core.h:10687
pNext : System.Address; -- vulkan_core.h:10688
shaderDemoteToHelperInvocation : aliased VkBool32; -- vulkan_core.h:10689
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:10686
type VkPhysicalDeviceTexelBufferAlignmentFeaturesEXT is record
sType : aliased VkStructureType; -- vulkan_core.h:10698
pNext : System.Address; -- vulkan_core.h:10699
texelBufferAlignment : aliased VkBool32; -- vulkan_core.h:10700
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:10697
type VkPhysicalDeviceTexelBufferAlignmentPropertiesEXT is record
sType : aliased VkStructureType; -- vulkan_core.h:10704
pNext : System.Address; -- vulkan_core.h:10705
storageTexelBufferOffsetAlignmentBytes : aliased VkDeviceSize; -- vulkan_core.h:10706
storageTexelBufferOffsetSingleTexelAlignment : aliased VkBool32; -- vulkan_core.h:10707
uniformTexelBufferOffsetAlignmentBytes : aliased VkDeviceSize; -- vulkan_core.h:10708
uniformTexelBufferOffsetSingleTexelAlignment : aliased VkBool32; -- vulkan_core.h:10709
end record
with Convention => C_Pass_By_Copy; -- vulkan_core.h:10703
end Vulkan.Low_Level.vulkan_core_h;
|
firmware/coreboot/src/lib/gnat/i-c.ads | fabiojna02/OpenCellular | 1 | 6422 | <reponame>fabiojna02/OpenCellular
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- I N T E R F A C E S . C --
-- --
-- S p e c --
-- --
-- This specification is derived from the Ada Reference Manual for use with --
-- GNAT. In accordance with the copyright of that document, you can freely --
-- copy and modify this specification, provided that if you redistribute a --
-- modified version, any changes that you have made are clearly indicated. --
-- --
------------------------------------------------------------------------------
with System.Parameters;
package Interfaces.C is
pragma Pure;
-- Declaration's based on C's <limits.h>
CHAR_BIT : constant := 8;
SCHAR_MIN : constant := -128;
SCHAR_MAX : constant := 127;
UCHAR_MAX : constant := 255;
-- Signed and Unsigned Integers. Note that in GNAT, we have ensured that
-- the standard predefined Ada types correspond to the standard C types
-- Note: the Integer qualifications used in the declaration of type long
-- avoid ambiguities when compiling in the presence of s-auxdec.ads and
-- a non-private system.address type.
type int is new Integer;
type short is new Short_Integer;
type long is range -(2 ** (System.Parameters.long_bits - Integer'(1)))
.. +(2 ** (System.Parameters.long_bits - Integer'(1))) - 1;
type signed_char is range SCHAR_MIN .. SCHAR_MAX;
for signed_char'Size use CHAR_BIT;
type unsigned is mod 2 ** int'Size;
type unsigned_short is mod 2 ** short'Size;
type unsigned_long is mod 2 ** long'Size;
type unsigned_char is mod (UCHAR_MAX + 1);
for unsigned_char'Size use CHAR_BIT;
subtype plain_char is unsigned_char; -- ??? should be parameterized
-- Note: the Integer qualifications used in the declaration of ptrdiff_t
-- avoid ambiguities when compiling in the presence of s-auxdec.ads and
-- a non-private system.address type.
type ptrdiff_t is
range -(2 ** (System.Parameters.ptr_bits - Integer'(1))) ..
+(2 ** (System.Parameters.ptr_bits - Integer'(1)) - 1);
type size_t is mod 2 ** System.Parameters.ptr_bits;
----------------------------
-- Characters and Strings --
----------------------------
type char is new Character;
nul : constant char := char'First;
function To_C (Item : Character) return char;
function To_Ada (Item : char) return Character;
type char_array is array (size_t range <>) of aliased char;
for char_array'Component_Size use CHAR_BIT;
function Is_Nul_Terminated (Item : char_array) return Boolean;
end Interfaces.C;
|
programs/oeis/048/A048673.asm | jmorken/loda | 1 | 80247 | <filename>programs/oeis/048/A048673.asm<gh_stars>1-10
; A048673: Permutation of natural numbers: a(n) = (A003961(n)+1) / 2 [where A003961(n) shifts the prime factorization of n one step towards larger primes].
; 1,2,3,5,4,8,6,14,13,11,7,23,9,17,18,41,10,38,12,32,28,20,15,68,25,26,63,50,16,53,19,122,33,29,39,113,21,35,43,95,22,83,24,59,88,44,27,203,61,74,48,77,30,188,46,149,58,47,31,158,34,56,138,365,60,98,36,86,73,116,37,338,40,62,123,104,72,128,42,284,313,65,45,248,67,71,78,176,49,263,94,131,93,80,81,608,51,182,163,221,52,143,54,230,193,89,55,563,57,137,103,446,64,173,102,140,213,92,105,473,85,101,108,167,172,413,66,1094,118,179,69,293,127,107,438,257,70,218,75,347,133,110,111,1013,109,119,303,185,76,368,79,311,238,215,130,383,82,125,148,851,160,938,84,194,228,134,87,743,145,200,288,212,90,233,270,527,153,146,91,788,96,281,168,392,144,278,124,239,688,242,97,1823,99,152,298,545,100,488,106,662,178,155,171,428,151,161,363,689,150,578,112,266,183,164,165,1688,204,170,198,410,162,308,114,1337,613,191,115,518,117,305,358,419,120,638,186,275,208,314,121,1418,126,254,1563,302,424,323,196,500,223,515
cal $0,3961 ; Completely multiplicative with a(prime(k)) = prime(k+1).
mov $1,$0
div $1,2
add $1,1
|
src/Queue/Simple/Instances.agda | nad/equality | 3 | 12676 | ------------------------------------------------------------------------
-- Queue instances for the queues in Queue.Simple
------------------------------------------------------------------------
{-# OPTIONS --without-K --safe #-}
open import Equality
module Queue.Simple.Instances
{c⁺} (eq : ∀ {a p} → Equality-with-J a p c⁺)
where
open Derived-definitions-and-properties eq
open import Prelude
open import Queue eq
open import Queue.Simple eq as Q using (Queue)
private
variable
ℓ ℓ₁ ℓ₂ : Level
instance
-- Instances.
Queue-is-queue : Is-queue (λ A → Queue A) (λ _ → ↑ _ ⊤) ℓ
Queue-is-queue .Is-queue.to-List = λ _ → Q.to-List
Queue-is-queue .Is-queue.from-List = Q.from-List
Queue-is-queue .Is-queue.to-List-from-List = Q.to-List-from-List
Queue-is-queue .Is-queue.enqueue = Q.enqueue
Queue-is-queue .Is-queue.to-List-enqueue {q = q} = Q.to-List-enqueue q
Queue-is-queue .Is-queue.dequeue = λ _ → Q.dequeue
Queue-is-queue .Is-queue.to-List-dequeue {q = q} = Q.to-List-dequeue q
Queue-is-queue .Is-queue.dequeue⁻¹ = Q.dequeue⁻¹
Queue-is-queue .Is-queue.to-List-dequeue⁻¹ {x = x} = Q.to-List-dequeue⁻¹ x
Queue-is-queue-with-map : Is-queue-with-map (λ A → Queue A) ℓ₁ ℓ₂
Queue-is-queue-with-map .Is-queue-with-map.map = Q.map
Queue-is-queue-with-map .Is-queue-with-map.to-List-map {q = q} =
Q.to-List-map q
|
wof/lcs/123p/68.asm | zengfr/arcade_game_romhacking_sourcecode_top_secret_data | 6 | 160206 | copyright zengfr site:http://github.com/zengfr/romhack
001B72 move.w D0, ($76,A0)
008186 move.w A1, ($68,A0) [123p+ 6A, enemy+6A]
00818A move.w A1, ($86,A0) [123p+ 68]
008B54 move.w A1, ($86,A0) [123p+ 68]
0096E6 move.w A1, ($68,A0) [enemy+6A]
0096EA addq.w #4, A7 [123p+ 68]
009866 move.b ($30,A0), ($79,A1) [123p+ 68]
01A74C dbra D7, $1a74a
01A75E dbra D4, $1a75c
01B080 beq $1b09c [123p+ 68]
01B0D8 clr.w ($68,A0) [123p+ 2B]
01B0DC move.w #$60, ($7a,A0) [123p+ 68]
01B128 beq $1b13a [123p+ 68]
01B12E addi.w #$10, ($7a,A0) [123p+ 68]
01B180 beq $1b192 [123p+ 68]
01B186 addi.w #$10, ($7a,A0) [123p+ 68]
01B490 cmpa.w ($6a,A1), A0 [123p+ 68]
01B556 move.b ($2a,A0), D0 [123p+ 68]
01B706 movea.w ($68,A0), A1 [123p+ A0]
01B70A btst #$3, D0 [123p+ 68]
01BD68 clr.w ($68,A0) [123p+ 42]
01BD6C move.w #$8, ($94,A0) [123p+ 68]
01BE3C beq $1be4c
01BE8E beq $1beaa [123p+ 68]
01C0FC cmpa.w ($6a,A1), A0 [123p+ 68]
01C1CC move.b ($2a,A0), D0 [123p+ 68]
01CCA4 beq $1ccc0 [123p+ 68]
01D09A cmpa.w ($6a,A1), A0 [123p+ 68]
01D146 move.b ($2a,A0), D0 [123p+ 68]
01D2E6 movea.w ($68,A0), A1 [123p+ A0]
01D2EA btst #$3, D0 [123p+ 68]
05E476 movea.l ($12,A0), A1 [123p+ 68, enemy+68]
05E48E movea.l ($12,A0), A1 [123p+ 68]
copyright zengfr site:http://github.com/zengfr/romhack
|
src/mail-headers.adb | stcarrez/ada-mail | 2 | 10976 | -----------------------------------------------------------------------
-- mail-headers -- Operations on mail headers
-- Copyright (C) 2020 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compliance with the License.
-- You may obtain a copy of the License at
--
-- http://www.apache.org/licenses/LICENSE-2.0
--
-- Unless required by applicable law or agreed to in writing, software
-- distributed under the License is distributed on an "AS IS" BASIS,
-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-- See the License for the specific language governing permissions and
-- limitations under the License.
-----------------------------------------------------------------------
with Ada.Strings.Equal_Case_Insensitive;
with Ada.Characters.Handling;
with Unicode.Encodings;
with Util.Strings.Builders;
with Util.Encoders.Quoted_Printable;
package body Mail.Headers is
use Ada.Characters.Handling;
function Decode_Quoted (Content : in String;
Charset : in String) return String;
function Decode_Base64 (Content : in String;
Charset : in String) return String;
function Decode_Quoted (Content : in String;
Charset : in String) return String is
Result : constant String := Util.Encoders.Quoted_Printable.Q_Decode (Content);
Encoding : Unicode.Encodings.Unicode_Encoding;
begin
if Ada.Strings.Equal_Case_Insensitive (Charset, "UTF-8") then
return Result;
end if;
begin
if Charset = "646" then
Encoding := Unicode.Encodings.Get_By_Name ("iso-8859-1");
else
Encoding := Unicode.Encodings.Get_By_Name (Charset);
end if;
exception
when others =>
Encoding := Unicode.Encodings.Get_By_Name ("iso-8859-1");
end;
return Unicode.Encodings.Convert (Result, Encoding);
end Decode_Quoted;
function Decode_Base64 (Content : in String;
Charset : in String) return String is
Decoder : constant Util.Encoders.Decoder := Util.Encoders.Create ("base64");
Result : constant String := Decoder.Decode (Content);
Encoding : Unicode.Encodings.Unicode_Encoding;
begin
if Ada.Strings.Equal_Case_Insensitive (Charset, "UTF-8") then
return Result;
end if;
begin
-- 646 is an old charset, its successor is iso-8859-1.
if Charset = "646" then
Encoding := Unicode.Encodings.Get_By_Name ("iso-8859-1");
else
Encoding := Unicode.Encodings.Get_By_Name (Charset);
end if;
exception
when others =>
Encoding := Unicode.Encodings.Get_By_Name ("iso-8859-1");
end;
return Unicode.Encodings.Convert (Result, Encoding);
end Decode_Base64;
-- ------------------------------
-- Decode the mail header value and normalize to an UTF-8 string (RFC2047).
-- ------------------------------
function Decode (Content : in String) return String is
use Util.Strings.Builders;
C : Character;
Pos : Natural := Content'First;
Pos2 : Natural;
Pos3 : Natural;
Result : Util.Strings.Builders.Builder (Content'Length + 10);
begin
while Pos <= Content'Last loop
C := Content (Pos);
if C /= '=' then
Append (Result, C);
elsif Pos = Content'Last then
Append (Result, C);
elsif Content (Pos + 1) = '?' then
Pos2 := Util.Strings.Index (Content, '?', Pos + 2);
if Pos2 > 0 and Pos2 + 3 < Content'Last then
Pos3 := Util.Strings.Index (Content, '?', Pos2 + 3);
if Pos3 > 0 and then Pos3 + 1 <= Content'Last and then Content (Pos3 + 1) = '=' then
C := Content (Pos2 + 1);
case C is
when 'q' | 'Q' =>
Append (Result, Decode_Quoted (Content (Pos2 + 3 .. Pos3 - 1),
Content (Pos + 2 .. Pos2 - 1)));
when 'b' | 'B' =>
Append (Result, Decode_Base64 (Content (Pos2 + 3 .. Pos3 - 1),
Content (Pos + 2 .. Pos2 - 1)));
when others =>
null;
end case;
-- Skip ?=
Pos := Pos3 + 1;
if Pos < Content'Last and then Is_Space (Content (Pos + 1)) then
Pos2 := Pos + 2;
while Pos2 <= Content'Last and then Is_Space (Content (Pos2)) loop
Pos2 := Pos2 + 1;
end loop;
-- Skip spaces between consecutive encoded words.
if Pos2 + 1 <= Content'Last and then Content (Pos2) = '='
and then Content (Pos2 + 1) = '?'
then
Pos := Pos2 - 1;
end if;
end if;
else
Append (Result, '=');
end if;
else
Append (Result, '=');
end if;
else
Append (Result, '=');
end if;
Pos := Pos + 1;
end loop;
return To_Array (Result);
end Decode;
end Mail.Headers;
|
src/lab-code/stopwatch/src/main.adb | hannesb0/rtpl18 | 0 | 16982 | with Text_IO;
use Text_IO;
with Ada.Real_Time;
with Ada.Characters.Latin_1;
use Ada.Real_Time;
procedure Main is
update_display: Boolean := true;
task type display is
entry StartStop;
entry Lap;
end display;
task body display is
isStarted: Boolean := false;
isPaused: Boolean := false;
startTime: Time := Clock;
begin
loop
-- Ada RM 9.7.1: select contains at least one accept.
-- Optional: *either* one of 'terminate' or 'delay' or 'else'
select
accept StartStop do
if not isStarted then
startTime := Clock;
isStarted := true;
isPaused := false;
else
isStarted := false;
end if;
end StartStop;
or
when isStarted =>
accept Lap do
isPaused := not isPaused;
end Lap;
or
delay 0.1; -- unblock after 100ms
end select;
-- update display
if isStarted and then not isPaused then
Put_Line(Duration'Image(To_Duration(Clock-startTime)));
end if;
end loop;
end display;
char: Character;
disp1: display;
begin
Put_Line("Press q to quit, Space to Lap or any other key to start the stopwatch!");
loop
Get_Immediate(char);
if char = Ada.Characters.Latin_1.Space then
disp1.Lap;
elsif char = 'q' then
abort disp1; -- directly exit the display task.
exit;
else
disp1.StartStop;
end if;
end loop;
end Main;
|
commonTestLanguageLexer.g4 | tesseract241/testLanguage | 0 | 6124 | lexer grammar commonTestLanguageLexer;
fragment Lowercase : [a-z] ;
fragment Uppercase : [A-Z] ;
fragment Digit : [0-9];
Whitespace : (' ' | '\t') -> skip;
Newline : ('\n' | '\r' '\n'?) -> skip;
/*Comment : '//' ~Newline* Newline -> skip;*/
Defer : 'defer' ;
Func : 'Func' ;
If : 'if' ;
Then : 'then' ;
Else : 'else' ;
For : 'for' ;
From : 'from';
To : 'to';
In : 'in' ;
By : 'by' ;
Reverse : 'reverse' ;
Var : 'var' ;
Slash : '/' ;
Star : '*' ;
Plus : '+' ;
Minus : '-' ;
LessOrEqual : '<=' ;
Less : '<' ;
GreaterOrEqual : '>=' ;
Greater : '>' ;
Equal : '=' ;
NotEqual : '!=' ;
Negation : '!' ;
Or : '|' ;
And : '&' ;
Xor : '^' ;
Type : Uppercase (Lowercase | Uppercase | '_')* ;
Id : Lowercase (Lowercase | Uppercase | '_')* ;
Integer : Digit+ ;
Float : (Digit+ '.' Digit*) | (Digit* '.' Digit+) ;
|
programs/oeis/021/A021127.asm | neoneye/loda | 22 | 99910 | <gh_stars>10-100
; A021127: Decimal expansion of 1/123.
; 0,0,8,1,3,0,0,8,1,3,0,0,8,1,3,0,0,8,1,3,0,0,8,1,3,0,0,8,1,3,0,0,8,1,3,0,0,8,1,3,0,0,8,1,3,0,0,8,1,3,0,0,8,1,3,0,0,8,1,3,0,0,8,1,3,0,0,8,1,3,0,0,8,1,3,0,0,8,1,3,0,0,8,1,3,0,0,8,1,3,0,0,8,1,3,0,0,8,1
add $0,1
mov $1,10
pow $1,$0
mul $1,7
div $1,861
mod $1,10
mov $0,$1
|
SVD2ada/svd/stm32_svd-fmac.ads | JCGobbi/Nucleo-STM32G474RE | 0 | 2303 | <gh_stars>0
pragma Style_Checks (Off);
-- This spec has been automatically generated from STM32G474xx.svd
pragma Restrictions (No_Elaboration_Code);
with HAL;
with System;
package STM32_SVD.FMAC is
pragma Preelaborate;
---------------
-- Registers --
---------------
subtype X1BUFCFG_X1_BASE_Field is HAL.UInt8;
subtype X1BUFCFG_X1_BUF_SIZE_Field is HAL.UInt8;
subtype X1BUFCFG_FULL_WM_Field is HAL.UInt2;
-- FMAC X1 Buffer Configuration register
type X1BUFCFG_Register is record
-- X1_BASE
X1_BASE : X1BUFCFG_X1_BASE_Field := 16#0#;
-- X1_BUF_SIZE
X1_BUF_SIZE : X1BUFCFG_X1_BUF_SIZE_Field := 16#0#;
-- unspecified
Reserved_16_23 : HAL.UInt8 := 16#0#;
-- FULL_WM
FULL_WM : X1BUFCFG_FULL_WM_Field := 16#0#;
-- unspecified
Reserved_26_31 : HAL.UInt6 := 16#0#;
end record
with Volatile_Full_Access, Object_Size => 32,
Bit_Order => System.Low_Order_First;
for X1BUFCFG_Register use record
X1_BASE at 0 range 0 .. 7;
X1_BUF_SIZE at 0 range 8 .. 15;
Reserved_16_23 at 0 range 16 .. 23;
FULL_WM at 0 range 24 .. 25;
Reserved_26_31 at 0 range 26 .. 31;
end record;
subtype X2BUFCFG_X2_BASE_Field is HAL.UInt8;
subtype X2BUFCFG_X2_BUF_SIZE_Field is HAL.UInt8;
-- FMAC X2 Buffer Configuration register
type X2BUFCFG_Register is record
-- X1_BASE
X2_BASE : X2BUFCFG_X2_BASE_Field := 16#0#;
-- X1_BUF_SIZE
X2_BUF_SIZE : X2BUFCFG_X2_BUF_SIZE_Field := 16#0#;
-- unspecified
Reserved_16_31 : HAL.UInt16 := 16#0#;
end record
with Volatile_Full_Access, Object_Size => 32,
Bit_Order => System.Low_Order_First;
for X2BUFCFG_Register use record
X2_BASE at 0 range 0 .. 7;
X2_BUF_SIZE at 0 range 8 .. 15;
Reserved_16_31 at 0 range 16 .. 31;
end record;
subtype YBUFCFG_Y_BASE_Field is HAL.UInt8;
subtype YBUFCFG_Y_BUF_SIZE_Field is HAL.UInt8;
subtype YBUFCFG_EMPTY_WM_Field is HAL.UInt2;
-- FMAC Y Buffer Configuration register
type YBUFCFG_Register is record
-- X1_BASE
Y_BASE : YBUFCFG_Y_BASE_Field := 16#0#;
-- X1_BUF_SIZE
Y_BUF_SIZE : YBUFCFG_Y_BUF_SIZE_Field := 16#0#;
-- unspecified
Reserved_16_23 : HAL.UInt8 := 16#0#;
-- EMPTY_WM
EMPTY_WM : YBUFCFG_EMPTY_WM_Field := 16#0#;
-- unspecified
Reserved_26_31 : HAL.UInt6 := 16#0#;
end record
with Volatile_Full_Access, Object_Size => 32,
Bit_Order => System.Low_Order_First;
for YBUFCFG_Register use record
Y_BASE at 0 range 0 .. 7;
Y_BUF_SIZE at 0 range 8 .. 15;
Reserved_16_23 at 0 range 16 .. 23;
EMPTY_WM at 0 range 24 .. 25;
Reserved_26_31 at 0 range 26 .. 31;
end record;
subtype PARAM_P_Field is HAL.UInt8;
subtype PARAM_Q_Field is HAL.UInt8;
subtype PARAM_R_Field is HAL.UInt8;
subtype PARAM_FUNC_Field is HAL.UInt7;
-- FMAC Parameter register
type PARAM_Register is record
-- P
P : PARAM_P_Field := 16#0#;
-- Q
Q : PARAM_Q_Field := 16#0#;
-- R
R : PARAM_R_Field := 16#0#;
-- FUNC
FUNC : PARAM_FUNC_Field := 16#0#;
-- START
START : Boolean := False;
end record
with Volatile_Full_Access, Object_Size => 32,
Bit_Order => System.Low_Order_First;
for PARAM_Register use record
P at 0 range 0 .. 7;
Q at 0 range 8 .. 15;
R at 0 range 16 .. 23;
FUNC at 0 range 24 .. 30;
START at 0 range 31 .. 31;
end record;
-- FMAC Control register
type CR_Register is record
-- RIEN
RIEN : Boolean := False;
-- WIEN
WIEN : Boolean := False;
-- OVFLIEN
OVFLIEN : Boolean := False;
-- UNFLIEN
UNFLIEN : Boolean := False;
-- SATIEN
SATIEN : Boolean := False;
-- unspecified
Reserved_5_7 : HAL.UInt3 := 16#0#;
-- DMAREN
DMAREN : Boolean := False;
-- DMAWEN
DMAWEN : Boolean := False;
-- unspecified
Reserved_10_14 : HAL.UInt5 := 16#0#;
-- CLIPEN
CLIPEN : Boolean := False;
-- RESET
RESET : Boolean := False;
-- unspecified
Reserved_17_31 : HAL.UInt15 := 16#0#;
end record
with Volatile_Full_Access, Object_Size => 32,
Bit_Order => System.Low_Order_First;
for CR_Register use record
RIEN at 0 range 0 .. 0;
WIEN at 0 range 1 .. 1;
OVFLIEN at 0 range 2 .. 2;
UNFLIEN at 0 range 3 .. 3;
SATIEN at 0 range 4 .. 4;
Reserved_5_7 at 0 range 5 .. 7;
DMAREN at 0 range 8 .. 8;
DMAWEN at 0 range 9 .. 9;
Reserved_10_14 at 0 range 10 .. 14;
CLIPEN at 0 range 15 .. 15;
RESET at 0 range 16 .. 16;
Reserved_17_31 at 0 range 17 .. 31;
end record;
-- FMAC Status register
type SR_Register is record
-- Read-only. YEMPTY
YEMPTY : Boolean;
-- Read-only. X1FULL
X1FULL : Boolean;
-- unspecified
Reserved_2_7 : HAL.UInt6;
-- Read-only. OVFL
OVFL : Boolean;
-- Read-only. UNFL
UNFL : Boolean;
-- Read-only. SAT
SAT : Boolean;
-- unspecified
Reserved_11_31 : HAL.UInt21;
end record
with Volatile_Full_Access, Object_Size => 32,
Bit_Order => System.Low_Order_First;
for SR_Register use record
YEMPTY at 0 range 0 .. 0;
X1FULL at 0 range 1 .. 1;
Reserved_2_7 at 0 range 2 .. 7;
OVFL at 0 range 8 .. 8;
UNFL at 0 range 9 .. 9;
SAT at 0 range 10 .. 10;
Reserved_11_31 at 0 range 11 .. 31;
end record;
subtype WDATA_WDATA_Field is HAL.UInt16;
-- FMAC Write Data register
type WDATA_Register is record
-- Write-only. WDATA
WDATA : WDATA_WDATA_Field := 16#0#;
-- unspecified
Reserved_16_31 : HAL.UInt16 := 16#0#;
end record
with Volatile_Full_Access, Object_Size => 32,
Bit_Order => System.Low_Order_First;
for WDATA_Register use record
WDATA at 0 range 0 .. 15;
Reserved_16_31 at 0 range 16 .. 31;
end record;
subtype RDATA_RDATA_Field is HAL.UInt16;
-- FMAC Read Data register
type RDATA_Register is record
-- Read-only. RDATA
RDATA : RDATA_RDATA_Field;
-- unspecified
Reserved_16_31 : HAL.UInt16;
end record
with Volatile_Full_Access, Object_Size => 32,
Bit_Order => System.Low_Order_First;
for RDATA_Register use record
RDATA at 0 range 0 .. 15;
Reserved_16_31 at 0 range 16 .. 31;
end record;
-----------------
-- Peripherals --
-----------------
-- Filter Math Accelerator
type FMAC_Peripheral is record
-- FMAC X1 Buffer Configuration register
X1BUFCFG : aliased X1BUFCFG_Register;
-- FMAC X2 Buffer Configuration register
X2BUFCFG : aliased X2BUFCFG_Register;
-- FMAC Y Buffer Configuration register
YBUFCFG : aliased YBUFCFG_Register;
-- FMAC Parameter register
PARAM : aliased PARAM_Register;
-- FMAC Control register
CR : aliased CR_Register;
-- FMAC Status register
SR : aliased SR_Register;
-- FMAC Write Data register
WDATA : aliased WDATA_Register;
-- FMAC Read Data register
RDATA : aliased RDATA_Register;
end record
with Volatile;
for FMAC_Peripheral use record
X1BUFCFG at 16#0# range 0 .. 31;
X2BUFCFG at 16#4# range 0 .. 31;
YBUFCFG at 16#8# range 0 .. 31;
PARAM at 16#C# range 0 .. 31;
CR at 16#10# range 0 .. 31;
SR at 16#14# range 0 .. 31;
WDATA at 16#18# range 0 .. 31;
RDATA at 16#1C# range 0 .. 31;
end record;
-- Filter Math Accelerator
FMAC_Periph : aliased FMAC_Peripheral
with Import, Address => FMAC_Base;
end STM32_SVD.FMAC;
|
grammars/powerscriptPBT.g4 | darioaxel/PowerScriptGrammar | 1 | 3452 | <reponame>darioaxel/PowerScriptGrammar<filename>grammars/powerscriptPBT.g4<gh_stars>1-10
/*
* Original Author: <NAME>
* E-Mail: <EMAIL>
*/
grammar powerscriptPBT;
@header {
package org.darioaxel.grammar.powerscript.pbt;
}
prog: header libraries*? EOF;
libraries
: header
| projects
| appname
| applib
| listProjects
| liblist
| EndPbt
;
header
: 'Save Format v3.0(' NUMBER ')' #headers
;
projects
: BeginProject listProjects+ EndProject
;
appname
: APPNAME QUOTE ID QUOTE SEMICOL
;
applib
: APPLIB QUOTE path QUOTE SEMICOL
;
listProjects
: NUMBER QUOTE path QUOTE SEMICOL
;
liblist
: LIBLIST QUOTE (path SEMICOL)*? QUOTE SEMICOL
;
path
: (ID DOUBLESLASH)*? file
;
file
: ID DOT ID
;
EndPbt
: TYPEPB SEMICOL
;
BeginProject
: '@begin Projects'
;
EndProject
: '@end'SEMICOL
;
HEADER_BEGIN : '@begin Libraries';
OBJECTS_BEGIN : '@begin Objects';
APPNAME : 'appname';
APPLIB: 'applib';
TYPEPB: 'type "pb"';
LIBLIST: 'LibList';
NUMBER : [0-9]+;
ID : [a-zA-Z0-9_]+ ;
QUOTE : '"';
DOT: '.';
DOUBLESLASH : '\\\\';
SEMICOL : ';' ;
WS: [ \t\n\r]+ -> skip;
|
src/kernel/hal/interrupt_handler_stub.asm | dgaur/dx | 0 | 166503 | //
// interrupt_handler_stub.asm
//
// Lowest-layer of interrupt-handling code. The entries in the Interrupt
// Descriptor Table (IDT) point to these routines. When the processor takes an
// interrupt, it uses the IDT to find the entry points defined below. These
// are the initial instructions the processor executes in order to handle the
// interrupt event.
//
#include "dx/system_call_vectors.h"
#include "hal/interrupt_vectors.h"
#include "interrupt_handler_stub.h"
#include "selector.h"
#include "thread.h"
//////////////////////////////////////////////////////////////////////////////
//
// Local macros
//
//////////////////////////////////////////////////////////////////////////////
//
// Use a little preprocessor magic to generate stub handlers
// for each possible interrupt vector. All of these stubs
// just defer the real interrupt processing to the HAL (the
// ::dispatch_interrupt() routine in x86_hal.cpp). However,
// each stub is responsible for indicating its interrupt/exception
// vector and any associated data to the HAL.
//
//
// RESTORE_KERNEL_CONTEXT
//
// Clears the direction-flag in EFLAGS; and reloads the kernel data selector
// into DS + ES. This ensures a safe execution environment for the interrupt
// handler. The processor automatically reloads CS + SS/ESP, if required,
// when servicing the interrupt. The state of all other registers is unknown
// here (e.g., a user process could have corrupted all of the registers + then
// triggered an interrupt or exception, etc.).
//
#define RESTORE_KERNEL_CONTEXT \
cld; \
movl $GDT_KERNEL_DATA_SELECTOR, %ebx; \
movw %bx, %ds; \
movw %bx, %es;
//
// MAKE_INTERRUPT_HANDLER_STUB
//
// Emit a stub handler. This is the type of handler that should be
// used for processor-generated exceptions with no additional error code.
// The Intel processor manuals indicate which exceptions will include
// the extra error code. This is also the type of handler that should
// be used for any device-generated interrupts received from the PIC.
// On entry, the processor has already reloaded CS, SS + ESP; the contents
// of all other registers are unknown.
//
#define MAKE_INTERRUPT_HANDLER_STUB(vector) \
.align 4; \
.global INTERRUPT_HANDLER_NAME(vector); \
INTERRUPT_HANDLER_NAME(vector): \
SAVE_THREAD_CONTEXT \
pushl $0; /* no error code with this interrupt */ \
pushl $vector; /* the interrupt vector */ \
jmp common_stub /* commmon interrupt processing */
//
// MAKE_INTERRUPT_HANDLER_COMMON_STUB
//
// Emit handler + cleanup logic common to all stubs (without error
// codes) and all system calls. Restores kernel state; invokes kernel
// interrupt path; restores interrupted/caller state and finally
// returns to interrupted thread.
//
// All handlers defined with MAKE_INTERRUPT_HANDLER_STUB() and
// MAKE_INTERRUPT_HANDLER_STUB_FOR_SYSCALL() should end here
//
#define MAKE_INTERRUPT_HANDLER_COMMON_STUB
.align 4; \
common_stub: \
RESTORE_KERNEL_CONTEXT \
call dispatch_interrupt; \
addl $8, %esp; /* pop the error code and vector */ \
RESTORE_THREAD_CONTEXT \
iret
//
// MAKE_INTERRUPT_HANDLER_STUB_WITH_ERROR
//
// Emit a stub handler that expects an extra 32-bit error code. This
// is the type of handler that should be used for processor-generated
// exceptions that include an additional error code. On entry, the
// processor has already reloaded CS, SS + ESP and pushed the error
// code onto the stack; the contents of all other registers are unknown.
//
#define MAKE_INTERRUPT_HANDLER_STUB_WITH_ERROR(vector) \
.align 4; \
.global INTERRUPT_HANDLER_NAME(vector); \
INTERRUPT_HANDLER_NAME(vector): \
xchgl %eax, 0(%esp); /* swap error code with EAX */ \
SAVE_THREAD_CONTEXT \
pushl %eax; /* the error code, now in EAX */\
pushl $vector; /* the interrupt vector */ \
jmp common_stub_with_error /* common interrupt processing */
//
// MAKE_INTERRUPT_HANDLER_COMMON_STUB_WITH_ERROR
//
// Emit handler + cleanup logic common to all stubs with error codes.
// Restores kernel state; invokes kernel interrupt path; restores
// interrupted/caller state and finally returns to interrupted thread.
//
// All handlers defined with MAKE_INTERRUPT_HANDLER_STUB_WITH_ERROR()
// should end here
//
#define MAKE_INTERRUPT_HANDLER_COMMON_STUB_WITH_ERROR \
.align 4; \
common_stub_with_error: \
RESTORE_KERNEL_CONTEXT \
call dispatch_interrupt; \
addl $8, %esp; /* pop the error code and vector */ \
RESTORE_THREAD_CONTEXT \
popl %eax; /* restore EAX, clean up stack */ \
iret
//
// MAKE_INTERRUPT_HANDLER_STUB_FOR_SYSCALL
//
// Emit a stub handler. This is the type of handler that should be
// used for system calls. These are similar to the handlers used
// with error codes, except the extra data in this case is a pointer
// to the system call arguments (stored in EAX). On entry, the
// processor has already reloaded CS, SS + ESP; the contents of all
// other registers are unknown, although EAX presumably contains a
// pointer to the system call argument(s).
//
#define MAKE_INTERRUPT_HANDLER_STUB_FOR_SYSCALL(vector) \
.align 4; \
.global INTERRUPT_HANDLER_NAME(vector); \
INTERRUPT_HANDLER_NAME(vector): \
SAVE_THREAD_CONTEXT \
pushl %eax; /* pointer to system call arguments */ \
pushl $vector; /* the interrupt vector */ \
jmp common_stub /* commmon interrupt processing */
//////////////////////////////////////////////////////////////////////////////
//
// Local routines
//
//////////////////////////////////////////////////////////////////////////////
.text
//
// Handlers for processor-generated exceptions
//
MAKE_INTERRUPT_HANDLER_STUB(INTERRUPT_VECTOR_DIVIDE_ERROR)
MAKE_INTERRUPT_HANDLER_STUB(INTERRUPT_VECTOR_DEBUG)
MAKE_INTERRUPT_HANDLER_STUB(INTERRUPT_VECTOR_NON_MASKABLE_INTERRUPT)
MAKE_INTERRUPT_HANDLER_STUB(INTERRUPT_VECTOR_BREAKPOINT)
MAKE_INTERRUPT_HANDLER_STUB(INTERRUPT_VECTOR_OVERFLOW)
MAKE_INTERRUPT_HANDLER_STUB(INTERRUPT_VECTOR_BOUND_RANGE_EXCEEDED)
MAKE_INTERRUPT_HANDLER_STUB(INTERRUPT_VECTOR_INVALID_OPCODE)
MAKE_INTERRUPT_HANDLER_STUB(INTERRUPT_VECTOR_DEVICE_NOT_AVAILABLE)
MAKE_INTERRUPT_HANDLER_STUB_WITH_ERROR(INTERRUPT_VECTOR_DOUBLE_FAULT)
MAKE_INTERRUPT_HANDLER_STUB(INTERRUPT_VECTOR_COPROCESSOR_OVERRUN)
MAKE_INTERRUPT_HANDLER_STUB_WITH_ERROR(INTERRUPT_VECTOR_INVALID_TSS)
MAKE_INTERRUPT_HANDLER_STUB_WITH_ERROR(INTERRUPT_VECTOR_SEGMENT_NOT_PRESENT)
MAKE_INTERRUPT_HANDLER_STUB_WITH_ERROR(INTERRUPT_VECTOR_STACK_SEGMENT_FAULT)
MAKE_INTERRUPT_HANDLER_STUB_WITH_ERROR(INTERRUPT_VECTOR_GENERAL_PROTECTION)
MAKE_INTERRUPT_HANDLER_STUB_WITH_ERROR(INTERRUPT_VECTOR_PAGE_FAULT)
MAKE_INTERRUPT_HANDLER_STUB(INTERRUPT_VECTOR_FLOATING_POINT_ERROR)
MAKE_INTERRUPT_HANDLER_STUB_WITH_ERROR(INTERRUPT_VECTOR_ALIGNMENT_CHECK)
MAKE_INTERRUPT_HANDLER_STUB_WITH_ERROR(INTERRUPT_VECTOR_MACHINE_CHECK)
//
// Handlers for device interrupts received from the PIC
//
MAKE_INTERRUPT_HANDLER_STUB(INTERRUPT_VECTOR_PIC_IRQ0)
MAKE_INTERRUPT_HANDLER_STUB(INTERRUPT_VECTOR_PIC_IRQ1)
MAKE_INTERRUPT_HANDLER_STUB(INTERRUPT_VECTOR_PIC_IRQ2)
MAKE_INTERRUPT_HANDLER_STUB(INTERRUPT_VECTOR_PIC_IRQ3)
MAKE_INTERRUPT_HANDLER_STUB(INTERRUPT_VECTOR_PIC_IRQ4)
MAKE_INTERRUPT_HANDLER_STUB(INTERRUPT_VECTOR_PIC_IRQ5)
MAKE_INTERRUPT_HANDLER_STUB(INTERRUPT_VECTOR_PIC_IRQ6)
MAKE_INTERRUPT_HANDLER_STUB(INTERRUPT_VECTOR_PIC_IRQ7)
MAKE_INTERRUPT_HANDLER_STUB(INTERRUPT_VECTOR_PIC_IRQ8)
MAKE_INTERRUPT_HANDLER_STUB(INTERRUPT_VECTOR_PIC_IRQ9)
MAKE_INTERRUPT_HANDLER_STUB(INTERRUPT_VECTOR_PIC_IRQ10)
MAKE_INTERRUPT_HANDLER_STUB(INTERRUPT_VECTOR_PIC_IRQ11)
MAKE_INTERRUPT_HANDLER_STUB(INTERRUPT_VECTOR_PIC_IRQ12)
MAKE_INTERRUPT_HANDLER_STUB(INTERRUPT_VECTOR_PIC_IRQ13)
MAKE_INTERRUPT_HANDLER_STUB(INTERRUPT_VECTOR_PIC_IRQ14)
MAKE_INTERRUPT_HANDLER_STUB(INTERRUPT_VECTOR_PIC_IRQ15)
//
// Handlers for soft interrupts
//
MAKE_INTERRUPT_HANDLER_STUB(INTERRUPT_VECTOR_YIELD)
//
// Handlers for system call/traps from usermode
//
MAKE_INTERRUPT_HANDLER_STUB_FOR_SYSCALL(SYSTEM_CALL_VECTOR_RECEIVE_MESSAGE)
MAKE_INTERRUPT_HANDLER_STUB_FOR_SYSCALL(SYSTEM_CALL_VECTOR_SEND_AND_RECEIVE_MESSAGE)
MAKE_INTERRUPT_HANDLER_STUB_FOR_SYSCALL(SYSTEM_CALL_VECTOR_SEND_MESSAGE)
MAKE_INTERRUPT_HANDLER_STUB_FOR_SYSCALL(SYSTEM_CALL_VECTOR_DELETE_MESSAGE)
MAKE_INTERRUPT_HANDLER_STUB_FOR_SYSCALL(SYSTEM_CALL_VECTOR_CONTRACT_ADDRESS_SPACE)
MAKE_INTERRUPT_HANDLER_STUB_FOR_SYSCALL(SYSTEM_CALL_VECTOR_CREATE_ADDRESS_SPACE)
MAKE_INTERRUPT_HANDLER_STUB_FOR_SYSCALL(SYSTEM_CALL_VECTOR_DELETE_ADDRESS_SPACE)
MAKE_INTERRUPT_HANDLER_STUB_FOR_SYSCALL(SYSTEM_CALL_VECTOR_EXPAND_ADDRESS_SPACE)
MAKE_INTERRUPT_HANDLER_STUB_FOR_SYSCALL(SYSTEM_CALL_VECTOR_CREATE_THREAD)
MAKE_INTERRUPT_HANDLER_STUB_FOR_SYSCALL(SYSTEM_CALL_VECTOR_DELETE_THREAD)
MAKE_INTERRUPT_HANDLER_STUB_FOR_SYSCALL(SYSTEM_CALL_VECTOR_MAP_DEVICE)
MAKE_INTERRUPT_HANDLER_STUB_FOR_SYSCALL(SYSTEM_CALL_VECTOR_UNMAP_DEVICE)
MAKE_INTERRUPT_HANDLER_STUB_FOR_SYSCALL(SYSTEM_CALL_VECTOR_READ_KERNEL_STATS)
//
// Common/shared cleanup code
//
MAKE_INTERRUPT_HANDLER_COMMON_STUB
MAKE_INTERRUPT_HANDLER_COMMON_STUB_WITH_ERROR
|
List 03/ex12 (file IO).asm | LeonardoSanBenitez/Assembly-exercises | 0 | 9227 | <filename>List 03/ex12 (file IO).asm
# Author: <NAME>
# Date: 20/03/2019
# Brief
# Read a text file with an "array of integers"
# Just 1 digit integers, writen in sequence
# Calculates the sum
# Variables map
# s0: file descriptor
# s1: sum
# s2: counter
# s3: maxCounter
.data
Dread: .space 32
Dfilename: .asciiz "data.txt"
.text
li $v0, 13 # Open file service
la $a0, Dfilename # Service parameter: filename
li $a1, 0 # Service parameter: read (0) or write (1)
li $s2, 0 # Service parameter: mode?
syscall
move $s0, $v0 # save file descriptor
li $v0, 14 # Read file service
move $a0, $s0 # Service parameter: file descriotor
la $a1, Dread # Service parameter: buffer address
li $a2, 32 # Service parameter: max lengh
syscall
move $s3, $v0 # save number of bytes read
li $v0, 16 # system call for close file
move $a0, $s0 # file descriptor to close
syscall # close file
addi $s3, $s3, -1
la $t0, Dread # t0 = base addr
while: bge $s2, $s3, print # while (count < maxCount)
lb $t1, 0($t0) # t1 = A[i]
addi $t1, $t1, -48 # convert ascii to integer
add $s1, $s1, $t1 # sum += integer readed
addi $t0, $t0, 1 # ptr++
addi $s2, $s2, 1 # i++
j while
print:
li $v0, 1
move $a0, $s1
syscall
|
oeis/131/A131941.asm | neoneye/loda-programs | 11 | 175811 | <filename>oeis/131/A131941.asm
; A131941: Partial sums of ceiling(n^2/2) (A000982).
; 0,1,3,8,16,29,47,72,104,145,195,256,328,413,511,624,752,897,1059,1240,1440,1661,1903,2168,2456,2769,3107,3472,3864,4285,4735,5216,5728,6273,6851,7464,8112,8797,9519,10280,11080,11921,12803,13728,14696,15709,16767,17872,19024,20225,21475,22776,24128,25533,26991,28504,30072,31697,33379,35120,36920,38781,40703,42688,44736,46849,49027,51272,53584,55965,58415,60936,63528,66193,68931,71744,74632,77597,80639,83760,86960,90241,93603,97048,100576,104189,107887,111672,115544,119505,123555,127696,131928
add $0,1
mul $0,2
mov $1,$0
bin $0,3
add $0,$1
div $0,8
|
oeis/077/A077824.asm | neoneye/loda-programs | 11 | 246115 | <reponame>neoneye/loda-programs
; A077824: Expansion of (1-x)^(-1)/(1-3*x-2*x^2-2*x^3).
; Submitted by <NAME>(s4)
; 1,4,15,56,207,764,2819,10400,38367,141540,522155,1926280,7106231,26215564,96711715,356778736,1316190767,4855553204,17912598619,66081283800,243780155047,899328229980,3317707567635,12239339472960,45152090014111,166570364123524
mov $1,1
mov $2,1
lpb $0
sub $0,1
mul $1,3
add $1,$4
add $1,$3
add $1,1
mul $2,2
mov $4,$3
mov $3,$2
mov $2,$1
lpe
mov $0,$1
|
data/player_names.asm | AtmaBuster/pokeplat-gen2 | 6 | 84219 | ChrisNameMenuHeader:
db MENU_BACKUP_TILES ; flags
menu_coords 0, 0, 10, TEXTBOX_Y - 1
dw .MaleNames
db 1 ; ????
db 0 ; default option
.MaleNames:
db STATICMENU_CURSOR | STATICMENU_PLACE_TITLE | STATICMENU_DISABLE_B ; flags
db 5 ; items
db "NEW NAME@"
MalePlayerNameArray:
db "LUCAS@"
db "DIAMOND@"
db "ASH@"
db "NIC@"
db 2 ; displacement
db " NAME @" ; title
KrisNameMenuHeader:
db MENU_BACKUP_TILES ; flags
menu_coords 0, 0, 10, TEXTBOX_Y - 1
dw .FemaleNames
db 1 ; ????
db 0 ; default option
.FemaleNames:
db STATICMENU_CURSOR | STATICMENU_PLACE_TITLE | STATICMENU_DISABLE_B ; flags
db 5 ; items
db "NEW NAME@"
FemalePlayerNameArray:
db "DAWN@"
db "PEARL@"
db "JOELLE@"
db "BRITNEY@"
db 2 ; displacement
db " NAME @" ; title
BarryNameMenuHeader:
db MENU_BACKUP_TILES ; flags
menu_coords 0, 0, 10, TEXTBOX_Y - 1
dw .Names
db 1 ; ????
db 0 ; default option
.Names:
db STATICMENU_CURSOR | STATICMENU_PLACE_TITLE | STATICMENU_DISABLE_B ; flags
db 5 ; items
db "NEW NAME@"
db "BARRY@"
db "NOLAN@"
db "ROY@"
db "GAVIN@"
db 2 ; displacement
db " NAME @" ; title
|
test/Succeed/fol-theorems/Definition11.agda | asr/apia | 10 | 9896 | <reponame>asr/apia
------------------------------------------------------------------------------
-- Testing the translation of definitions
------------------------------------------------------------------------------
{-# OPTIONS --exact-split #-}
{-# OPTIONS --no-sized-types #-}
{-# OPTIONS --no-universe-polymorphism #-}
{-# OPTIONS --without-K #-}
module Definition11 where
open import Common.FOL
-- We test the translation of a definition which Agda η-reduces.
P : D → Set
P d = ∃ λ e → d ≡ e
{-# ATP definition P #-}
postulate bar : ∀ {d} → P d → ∃ λ e → e ≡ d
{-# ATP prove bar #-}
|
regtests/model/regtests-audits-model.ads | My-Colaborations/ada-ado | 0 | 19416 | -----------------------------------------------------------------------
-- Regtests.Audits.Model -- Regtests.Audits.Model
-----------------------------------------------------------------------
-- File generated by ada-gen DO NOT MODIFY
-- Template used: templates/model/package-spec.xhtml
-- Ada Generator: https://ada-gen.googlecode.com/svn/trunk Revision 1095
-----------------------------------------------------------------------
-- Copyright (C) 2020 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compliance with the License.
-- You may obtain a copy of the License at
--
-- http://www.apache.org/licenses/LICENSE-2.0
--
-- Unless required by applicable law or agreed to in writing, software
-- distributed under the License is distributed on an "AS IS" BASIS,
-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-- See the License for the specific language governing permissions and
-- limitations under the License.
-----------------------------------------------------------------------
pragma Warnings (Off);
with ADO.Sessions;
with ADO.Objects;
with ADO.Statements;
with ADO.SQL;
with ADO.Schemas;
with Ada.Calendar;
with Ada.Containers.Vectors;
with Ada.Strings.Unbounded;
with Util.Beans.Objects;
with Util.Beans.Basic.Lists;
with ADO.Audits;
pragma Warnings (On);
package Regtests.Audits.Model is
pragma Style_Checks ("-mr");
type Audit_Ref is new ADO.Objects.Object_Ref with null record;
type Email_Ref is new ADO.Objects.Object_Ref with null record;
type Property_Ref is new ADO.Objects.Object_Ref with null record;
-- --------------------
-- This is the Audit_Info table
-- --------------------
-- Create an object key for Audit.
function Audit_Key (Id : in ADO.Identifier) return ADO.Objects.Object_Key;
-- Create an object key for Audit from a string.
-- Raises Constraint_Error if the string cannot be converted into the object key.
function Audit_Key (Id : in String) return ADO.Objects.Object_Key;
Null_Audit : constant Audit_Ref;
function "=" (Left, Right : Audit_Ref'Class) return Boolean;
-- Set null
procedure Set_Id (Object : in out Audit_Ref;
Value : in ADO.Identifier);
-- Get null
function Get_Id (Object : in Audit_Ref)
return ADO.Identifier;
-- Set the entity id
procedure Set_Entity_Id (Object : in out Audit_Ref;
Value : in ADO.Identifier);
-- Get the entity id
function Get_Entity_Id (Object : in Audit_Ref)
return ADO.Identifier;
-- Set the entity type
procedure Set_Entity_Type (Object : in out Audit_Ref;
Value : in ADO.Entity_Type);
-- Get the entity type
function Get_Entity_Type (Object : in Audit_Ref)
return ADO.Entity_Type;
-- Set the old value
procedure Set_Old_Value (Object : in out Audit_Ref;
Value : in ADO.Nullable_String);
procedure Set_Old_Value (Object : in out Audit_Ref;
Value : in String);
-- Get the old value
function Get_Old_Value (Object : in Audit_Ref)
return ADO.Nullable_String;
function Get_Old_Value (Object : in Audit_Ref)
return String;
-- Set the new value
procedure Set_New_Value (Object : in out Audit_Ref;
Value : in ADO.Nullable_String);
procedure Set_New_Value (Object : in out Audit_Ref;
Value : in String);
-- Get the new value
function Get_New_Value (Object : in Audit_Ref)
return ADO.Nullable_String;
function Get_New_Value (Object : in Audit_Ref)
return String;
-- Set the audit date
procedure Set_Date (Object : in out Audit_Ref;
Value : in Ada.Calendar.Time);
-- Get the audit date
function Get_Date (Object : in Audit_Ref)
return Ada.Calendar.Time;
-- Load the entity identified by 'Id'.
-- Raises the NOT_FOUND exception if it does not exist.
procedure Load (Object : in out Audit_Ref;
Session : in out ADO.Sessions.Session'Class;
Id : in ADO.Identifier);
-- Load the entity identified by 'Id'.
-- Returns True in <b>Found</b> if the object was found and False if it does not exist.
procedure Load (Object : in out Audit_Ref;
Session : in out ADO.Sessions.Session'Class;
Id : in ADO.Identifier;
Found : out Boolean);
-- Find and load the entity.
overriding
procedure Find (Object : in out Audit_Ref;
Session : in out ADO.Sessions.Session'Class;
Query : in ADO.SQL.Query'Class;
Found : out Boolean);
-- Save the entity. If the entity does not have an identifier, an identifier is allocated
-- and it is inserted in the table. Otherwise, only data fields which have been changed
-- are updated.
overriding
procedure Save (Object : in out Audit_Ref;
Session : in out ADO.Sessions.Master_Session'Class);
-- Delete the entity.
overriding
procedure Delete (Object : in out Audit_Ref;
Session : in out ADO.Sessions.Master_Session'Class);
overriding
function Get_Value (From : in Audit_Ref;
Name : in String) return Util.Beans.Objects.Object;
-- Table definition
AUDIT_TABLE : constant ADO.Schemas.Class_Mapping_Access;
-- Internal method to allocate the Object_Record instance
overriding
procedure Allocate (Object : in out Audit_Ref);
-- Copy of the object.
procedure Copy (Object : in Audit_Ref;
Into : in out Audit_Ref);
package Audit_Vectors is
new Ada.Containers.Vectors (Index_Type => Positive,
Element_Type => Audit_Ref,
"=" => "=");
subtype Audit_Vector is Audit_Vectors.Vector;
procedure List (Object : in out Audit_Vector;
Session : in out ADO.Sessions.Session'Class;
Query : in ADO.SQL.Query'Class);
-- --------------------
-- This is the User email table
-- --------------------
-- Create an object key for Email.
function Email_Key (Id : in ADO.Identifier) return ADO.Objects.Object_Key;
-- Create an object key for Email from a string.
-- Raises Constraint_Error if the string cannot be converted into the object key.
function Email_Key (Id : in String) return ADO.Objects.Object_Key;
Null_Email : constant Email_Ref;
function "=" (Left, Right : Email_Ref'Class) return Boolean;
-- Set null
procedure Set_Id (Object : in out Email_Ref;
Value : in ADO.Identifier);
-- Get null
function Get_Id (Object : in Email_Ref)
return ADO.Identifier;
-- Set the user email address
procedure Set_Email (Object : in out Email_Ref;
Value : in ADO.Nullable_String);
procedure Set_Email (Object : in out Email_Ref;
Value : in String);
-- Get the user email address
function Get_Email (Object : in Email_Ref)
return ADO.Nullable_String;
function Get_Email (Object : in Email_Ref)
return String;
-- Set the user email status
procedure Set_Status (Object : in out Email_Ref;
Value : in ADO.Nullable_Integer);
-- Get the user email status
function Get_Status (Object : in Email_Ref)
return ADO.Nullable_Integer;
-- Load the entity identified by 'Id'.
-- Raises the NOT_FOUND exception if it does not exist.
procedure Load (Object : in out Email_Ref;
Session : in out ADO.Sessions.Session'Class;
Id : in ADO.Identifier);
-- Load the entity identified by 'Id'.
-- Returns True in <b>Found</b> if the object was found and False if it does not exist.
procedure Load (Object : in out Email_Ref;
Session : in out ADO.Sessions.Session'Class;
Id : in ADO.Identifier;
Found : out Boolean);
-- Find and load the entity.
overriding
procedure Find (Object : in out Email_Ref;
Session : in out ADO.Sessions.Session'Class;
Query : in ADO.SQL.Query'Class;
Found : out Boolean);
-- Save the entity. If the entity does not have an identifier, an identifier is allocated
-- and it is inserted in the table. Otherwise, only data fields which have been changed
-- are updated.
overriding
procedure Save (Object : in out Email_Ref;
Session : in out ADO.Sessions.Master_Session'Class);
-- Delete the entity.
overriding
procedure Delete (Object : in out Email_Ref;
Session : in out ADO.Sessions.Master_Session'Class);
overriding
function Get_Value (From : in Email_Ref;
Name : in String) return Util.Beans.Objects.Object;
-- Table definition
EMAIL_TABLE : constant ADO.Schemas.Class_Mapping_Access;
-- Internal method to allocate the Object_Record instance
overriding
procedure Allocate (Object : in out Email_Ref);
-- Copy of the object.
procedure Copy (Object : in Email_Ref;
Into : in out Email_Ref);
-- --------------------
-- This is a generic property
-- --------------------
-- Create an object key for Property.
function Property_Key (Id : in ADO.Identifier) return ADO.Objects.Object_Key;
-- Create an object key for Property from a string.
-- Raises Constraint_Error if the string cannot be converted into the object key.
function Property_Key (Id : in String) return ADO.Objects.Object_Key;
Null_Property : constant Property_Ref;
function "=" (Left, Right : Property_Ref'Class) return Boolean;
-- Set null
procedure Set_Id (Object : in out Property_Ref;
Value : in Ada.Strings.Unbounded.Unbounded_String);
procedure Set_Id (Object : in out Property_Ref;
Value : in String);
-- Get null
function Get_Id (Object : in Property_Ref)
return Ada.Strings.Unbounded.Unbounded_String;
function Get_Id (Object : in Property_Ref)
return String;
-- Set the property value
procedure Set_Value (Object : in out Property_Ref;
Value : in ADO.Nullable_Integer);
-- Get the property value
function Get_Value (Object : in Property_Ref)
return ADO.Nullable_Integer;
-- Set a float property value
procedure Set_Float_Value (Object : in out Property_Ref;
Value : in Float);
-- Get a float property value
function Get_Float_Value (Object : in Property_Ref)
return Float;
-- Load the entity identified by 'Id'.
-- Raises the NOT_FOUND exception if it does not exist.
procedure Load (Object : in out Property_Ref;
Session : in out ADO.Sessions.Session'Class;
Id : in Ada.Strings.Unbounded.Unbounded_String);
-- Load the entity identified by 'Id'.
-- Returns True in <b>Found</b> if the object was found and False if it does not exist.
procedure Load (Object : in out Property_Ref;
Session : in out ADO.Sessions.Session'Class;
Id : in Ada.Strings.Unbounded.Unbounded_String;
Found : out Boolean);
-- Find and load the entity.
overriding
procedure Find (Object : in out Property_Ref;
Session : in out ADO.Sessions.Session'Class;
Query : in ADO.SQL.Query'Class;
Found : out Boolean);
-- Save the entity. If the entity does not have an identifier, an identifier is allocated
-- and it is inserted in the table. Otherwise, only data fields which have been changed
-- are updated.
overriding
procedure Save (Object : in out Property_Ref;
Session : in out ADO.Sessions.Master_Session'Class);
-- Delete the entity.
overriding
procedure Delete (Object : in out Property_Ref;
Session : in out ADO.Sessions.Master_Session'Class);
overriding
function Get_Value (From : in Property_Ref;
Name : in String) return Util.Beans.Objects.Object;
-- Table definition
PROPERTY_TABLE : constant ADO.Schemas.Class_Mapping_Access;
-- Internal method to allocate the Object_Record instance
overriding
procedure Allocate (Object : in out Property_Ref);
-- Copy of the object.
procedure Copy (Object : in Property_Ref;
Into : in out Property_Ref);
private
AUDIT_NAME : aliased constant String := "audit_info";
COL_0_1_NAME : aliased constant String := "id";
COL_1_1_NAME : aliased constant String := "entity_id";
COL_2_1_NAME : aliased constant String := "entity_type";
COL_3_1_NAME : aliased constant String := "old_value";
COL_4_1_NAME : aliased constant String := "new_value";
COL_5_1_NAME : aliased constant String := "date";
AUDIT_DEF : aliased constant ADO.Schemas.Class_Mapping :=
(Count => 6,
Table => AUDIT_NAME'Access,
Members => (
1 => COL_0_1_NAME'Access,
2 => COL_1_1_NAME'Access,
3 => COL_2_1_NAME'Access,
4 => COL_3_1_NAME'Access,
5 => COL_4_1_NAME'Access,
6 => COL_5_1_NAME'Access)
);
AUDIT_TABLE : constant ADO.Schemas.Class_Mapping_Access
:= AUDIT_DEF'Access;
Null_Audit : constant Audit_Ref
:= Audit_Ref'(ADO.Objects.Object_Ref with null record);
type Audit_Impl is
new ADO.Objects.Object_Record (Key_Type => ADO.Objects.KEY_INTEGER,
Of_Class => AUDIT_DEF'Access)
with record
Entity_Id : ADO.Identifier;
Entity_Type : ADO.Entity_Type;
Old_Value : ADO.Nullable_String;
New_Value : ADO.Nullable_String;
Date : Ada.Calendar.Time;
end record;
type Audit_Access is access all Audit_Impl;
overriding
procedure Destroy (Object : access Audit_Impl);
overriding
procedure Find (Object : in out Audit_Impl;
Session : in out ADO.Sessions.Session'Class;
Query : in ADO.SQL.Query'Class;
Found : out Boolean);
overriding
procedure Load (Object : in out Audit_Impl;
Session : in out ADO.Sessions.Session'Class);
procedure Load (Object : in out Audit_Impl;
Stmt : in out ADO.Statements.Query_Statement'Class;
Session : in out ADO.Sessions.Session'Class);
overriding
procedure Save (Object : in out Audit_Impl;
Session : in out ADO.Sessions.Master_Session'Class);
procedure Create (Object : in out Audit_Impl;
Session : in out ADO.Sessions.Master_Session'Class);
overriding
procedure Delete (Object : in out Audit_Impl;
Session : in out ADO.Sessions.Master_Session'Class);
procedure Set_Field (Object : in out Audit_Ref'Class;
Impl : out Audit_Access);
EMAIL_NAME : aliased constant String := "audit_email";
COL_0_2_NAME : aliased constant String := "id";
COL_1_2_NAME : aliased constant String := "user_email";
COL_2_2_NAME : aliased constant String := "email_status";
EMAIL_DEF : aliased constant ADO.Schemas.Class_Mapping :=
(Count => 3,
Table => EMAIL_NAME'Access,
Members => (
1 => COL_0_2_NAME'Access,
2 => COL_1_2_NAME'Access,
3 => COL_2_2_NAME'Access)
);
EMAIL_TABLE : constant ADO.Schemas.Class_Mapping_Access
:= EMAIL_DEF'Access;
EMAIL_AUDIT_DEF : aliased constant ADO.Audits.Auditable_Mapping :=
(Count => 2,
Of_Class => EMAIL_DEF'Access,
Members => (
1 => 1,
2 => 2)
);
EMAIL_AUDIT_TABLE : constant ADO.Audits.Auditable_Mapping_Access
:= EMAIL_AUDIT_DEF'Access;
Null_Email : constant Email_Ref
:= Email_Ref'(ADO.Objects.Object_Ref with null record);
type Email_Impl is
new ADO.Audits.Auditable_Object_Record (Key_Type => ADO.Objects.KEY_INTEGER,
Of_Class => EMAIL_DEF'Access,
With_Audit => EMAIL_AUDIT_DEF'Access)
with record
Email : ADO.Nullable_String;
Status : ADO.Nullable_Integer;
end record;
type Email_Access is access all Email_Impl;
overriding
procedure Destroy (Object : access Email_Impl);
overriding
procedure Find (Object : in out Email_Impl;
Session : in out ADO.Sessions.Session'Class;
Query : in ADO.SQL.Query'Class;
Found : out Boolean);
overriding
procedure Load (Object : in out Email_Impl;
Session : in out ADO.Sessions.Session'Class);
procedure Load (Object : in out Email_Impl;
Stmt : in out ADO.Statements.Query_Statement'Class;
Session : in out ADO.Sessions.Session'Class);
overriding
procedure Save (Object : in out Email_Impl;
Session : in out ADO.Sessions.Master_Session'Class);
procedure Create (Object : in out Email_Impl;
Session : in out ADO.Sessions.Master_Session'Class);
overriding
procedure Delete (Object : in out Email_Impl;
Session : in out ADO.Sessions.Master_Session'Class);
procedure Set_Field (Object : in out Email_Ref'Class;
Impl : out Email_Access);
PROPERTY_NAME : aliased constant String := "audit_property";
COL_0_3_NAME : aliased constant String := "id";
COL_1_3_NAME : aliased constant String := "user_email";
COL_2_3_NAME : aliased constant String := "float_value";
PROPERTY_DEF : aliased constant ADO.Schemas.Class_Mapping :=
(Count => 3,
Table => PROPERTY_NAME'Access,
Members => (
1 => COL_0_3_NAME'Access,
2 => COL_1_3_NAME'Access,
3 => COL_2_3_NAME'Access)
);
PROPERTY_TABLE : constant ADO.Schemas.Class_Mapping_Access
:= PROPERTY_DEF'Access;
PROPERTY_AUDIT_DEF : aliased constant ADO.Audits.Auditable_Mapping :=
(Count => 2,
Of_Class => PROPERTY_DEF'Access,
Members => (
1 => 1,
2 => 2)
);
PROPERTY_AUDIT_TABLE : constant ADO.Audits.Auditable_Mapping_Access
:= PROPERTY_AUDIT_DEF'Access;
Null_Property : constant Property_Ref
:= Property_Ref'(ADO.Objects.Object_Ref with null record);
type Property_Impl is
new ADO.Audits.Auditable_Object_Record (Key_Type => ADO.Objects.KEY_STRING,
Of_Class => PROPERTY_DEF'Access,
With_Audit => PROPERTY_AUDIT_DEF'Access)
with record
Value : ADO.Nullable_Integer;
Float_Value : Float;
end record;
type Property_Access is access all Property_Impl;
overriding
procedure Destroy (Object : access Property_Impl);
overriding
procedure Find (Object : in out Property_Impl;
Session : in out ADO.Sessions.Session'Class;
Query : in ADO.SQL.Query'Class;
Found : out Boolean);
overriding
procedure Load (Object : in out Property_Impl;
Session : in out ADO.Sessions.Session'Class);
procedure Load (Object : in out Property_Impl;
Stmt : in out ADO.Statements.Query_Statement'Class;
Session : in out ADO.Sessions.Session'Class);
overriding
procedure Save (Object : in out Property_Impl;
Session : in out ADO.Sessions.Master_Session'Class);
procedure Create (Object : in out Property_Impl;
Session : in out ADO.Sessions.Master_Session'Class);
overriding
procedure Delete (Object : in out Property_Impl;
Session : in out ADO.Sessions.Master_Session'Class);
procedure Set_Field (Object : in out Property_Ref'Class;
Impl : out Property_Access);
end Regtests.Audits.Model;
|
programs/oeis/138/A138417.asm | neoneye/loda | 22 | 27040 | ; A138417: a(n) = (prime(n)^4 - prime(n))/2.
; 7,39,310,1197,7315,14274,41752,65151,139909,353626,461745,937062,1412860,1709379,2439817,3945214,6058651,6922890,10075527,12705805,14199084,19475001,23729119,31371076,44264592,52030150,56275389,65539747,70579026,81523624,130072257,147249895,176137612,186650451,246442126,259942725,303786522,352955799,388898077,447872434,513312751,536641470,665431585,693743904,753069142,784119501,991059615,1236486609,1327618807,1375029126,1473647644,1631404201,1686701160,1984562875,2181235072,2392175149,2618057026,2696790105,2943669582,3117419620,3207123819,3685025254,4441436847,4677475765,4798962324,5049019402,6001806195,6448958712,7249163467,7417741626,7763701264,8305155901,9070563177,9678439134,10316368251,10758831169,11449022326,12420298242,12928480600,13991466276,15410832151,15707185830,17253574345,17576062344,18570691701,19256834779,20321481376,21808952172,22582587490,22977033849,23781405727,26321586001,28124567037,29060024035,31000748751,32006776789,33561482026,36840107980,37409056659,42831083610
seq $0,40 ; The prime numbers.
sub $1,$0
pow $0,4
add $1,$0
div $1,2
mov $0,$1
|
Cubical/Foundations/Prelude.agda | Edlyr/cubical | 0 | 11754 | <gh_stars>0
{-
This file proves a variety of basic results about paths:
- refl, sym, cong and composition of paths. This is used to set up
equational reasoning.
- Transport, subst and functional extensionality
- J and its computation rule (up to a path)
- Σ-types and contractibility of singletons
- Converting PathP to and from a homogeneous path with transp
- Direct definitions of lower h-levels
- Export natural numbers
- Export universe lifting
-}
{-# OPTIONS --cubical --no-import-sorts --safe #-}
module Cubical.Foundations.Prelude where
open import Cubical.Core.Primitives public
infixr 30 _∙_
infix 3 _∎
infixr 2 _≡⟨_⟩_
infixr 2.5 _≡⟨_⟩≡⟨_⟩_
-- Basic theory about paths. These proofs should typically be
-- inlined. This module also makes equational reasoning work with
-- (non-dependent) paths.
private
variable
ℓ ℓ' : Level
A : Type ℓ
B : A → Type ℓ
x y z w : A
refl : x ≡ x
refl {x = x} = λ _ → x
{-# INLINE refl #-}
sym : x ≡ y → y ≡ x
sym p i = p (~ i)
{-# INLINE sym #-}
symP : {A : I → Type ℓ} → {x : A i0} → {y : A i1} →
(p : PathP A x y) → PathP (λ i → A (~ i)) y x
symP p j = p (~ j)
cong : ∀ (f : (a : A) → B a) (p : x ≡ y) →
PathP (λ i → B (p i)) (f x) (f y)
cong f p i = f (p i)
{-# INLINE cong #-}
cong₂ : ∀ {C : (a : A) → (b : B a) → Type ℓ} →
(f : (a : A) → (b : B a) → C a b) →
(p : x ≡ y) →
{u : B x} {v : B y} (q : PathP (λ i → B (p i)) u v) →
PathP (λ i → C (p i) (q i)) (f x u) (f y v)
cong₂ f p q i = f (p i) (q i)
{-# INLINE cong₂ #-}
{- The most natural notion of homogenous path composition
in a cubical setting is double composition:
x ∙ ∙ ∙ > w
^ ^
p⁻¹ | | r ^
| | j |
y — — — > z ∙ — >
q i
`p ∙∙ q ∙∙ r` gives the line at the top,
`doubleCompPath-filler p q r` gives the whole square
-}
doubleComp-faces : {x y z w : A } (p : x ≡ y) (r : z ≡ w)
→ (i : I) (j : I) → Partial (i ∨ ~ i) A
doubleComp-faces p r i j (i = i0) = p (~ j)
doubleComp-faces p r i j (i = i1) = r j
_∙∙_∙∙_ : w ≡ x → x ≡ y → y ≡ z → w ≡ z
(p ∙∙ q ∙∙ r) i =
hcomp (doubleComp-faces p r i) (q i)
doubleCompPath-filler : (p : x ≡ y) (q : y ≡ z) (r : z ≡ w)
→ PathP (λ j → p (~ j) ≡ r j) q (p ∙∙ q ∙∙ r)
doubleCompPath-filler p q r j i =
hfill (doubleComp-faces p r i) (inS (q i)) j
-- any two definitions of double composition are equal
compPath-unique : ∀ (p : x ≡ y) (q : y ≡ z) (r : z ≡ w)
→ (α β : Σ[ s ∈ x ≡ w ] PathP (λ j → p (~ j) ≡ r j) q s)
→ α ≡ β
compPath-unique p q r (α , α-filler) (β , β-filler) t
= (λ i → cb i1 i) , (λ j i → cb j i)
where cb : I → I → _
cb j i = hfill (λ j → λ { (t = i0) → α-filler j i
; (t = i1) → β-filler j i
; (i = i0) → p (~ j)
; (i = i1) → r j })
(inS (q i)) j
{- For single homogenous path composition, we take `p = refl`:
x ∙ ∙ ∙ > z
‖ ^
‖ | r ^
‖ | j |
x — — — > y ∙ — >
q i
`q ∙ r` gives the line at the top,
`compPath-filler q r` gives the whole square
-}
_∙_ : x ≡ y → y ≡ z → x ≡ z
p ∙ q = refl ∙∙ p ∙∙ q
compPath-filler : (p : x ≡ y) (q : y ≡ z) → PathP (λ j → x ≡ q j) p (p ∙ q)
compPath-filler p q = doubleCompPath-filler refl p q
-- We could have also defined single composition by taking `r = refl`:
_∙'_ : x ≡ y → y ≡ z → x ≡ z
p ∙' q = p ∙∙ q ∙∙ refl
compPath'-filler : (p : x ≡ y) (q : y ≡ z) → PathP (λ j → p (~ j) ≡ z) q (p ∙' q)
compPath'-filler p q = doubleCompPath-filler p q refl
-- It's easy to show that `p ∙ q` also has such a filler:
compPath-filler' : (p : x ≡ y) (q : y ≡ z) → PathP (λ j → p (~ j) ≡ z) q (p ∙ q)
compPath-filler' {z = z} p q j i =
hcomp (λ k → λ { (i = i0) → p (~ j)
; (i = i1) → q k
; (j = i0) → q (i ∧ k) })
(p (i ∨ ~ j))
-- Note: We can omit a (j = i1) case here since when (j = i1), the whole expression is
-- definitionally equal to `p ∙ q`. (Notice that `p ∙ q` is also an hcomp.) Nevertheless,
-- we could have given `compPath-filler p q k i` as the (j = i1) case.
-- From this, we can show that these two notions of composition are the same
compPath≡compPath' : (p : x ≡ y) (q : y ≡ z) → p ∙ q ≡ p ∙' q
compPath≡compPath' p q j =
compPath-unique p q refl (p ∙ q , compPath-filler' p q)
(p ∙' q , compPath'-filler p q) j .fst
-- Heterogeneous path composition and its filler:
compPathP : ∀ {A : I → Type ℓ} {x : A i0} {y : A i1} {B_i1 : Type ℓ} {B : (A i1) ≡ B_i1} {z : B i1}
→ PathP A x y → PathP (λ i → B i) y z → PathP (λ j → ((λ i → A i) ∙ B) j) x z
compPathP {A = A} {x = x} {B = B} p q i =
comp (λ j → compPath-filler (λ i → A i) B j i)
(λ j → λ { (i = i0) → x ;
(i = i1) → q j })
(p i)
compPathP' : ∀ {ℓ ℓ'} {A : Type ℓ} {B : A → Type ℓ'} {x y z : A} {x' : B x} {y' : B y} {z' : B z} {p : x ≡ y} {q : y ≡ z}
(P : PathP (λ i → B (p i)) x' y') (Q : PathP (λ i → B (q i)) y' z')
→ PathP (λ i → B ((p ∙ q) i)) x' z'
compPathP' {B = B} {x' = x'} {p = p} {q = q} P Q i =
comp (λ j → B (compPath-filler p q j i))
(λ j → λ { (i = i0) → x' ;
(i = i1) → Q j })
(P i)
compPathP-filler : ∀ {A : I → Type ℓ} {x : A i0} {y : A i1} {B_i1 : Type ℓ} {B : A i1 ≡ B_i1} {z : B i1}
→ (p : PathP A x y) (q : PathP (λ i → B i) y z)
→ PathP (λ j → PathP (λ k → (compPath-filler (λ i → A i) B j k)) x (q j)) p (compPathP p q)
compPathP-filler {A = A} {x = x} {B = B} p q j i =
fill (λ j → compPath-filler (λ i → A i) B j i)
(λ j → λ { (i = i0) → x ;
(i = i1) → q j })
(inS (p i)) j
compPathP'-filler : ∀ {ℓ ℓ'} {A : Type ℓ} {B : A → Type ℓ'} {x y z : A} {x' : B x} {y' : B y} {z' : B z} {p : x ≡ y} {q : y ≡ z}
(P : PathP (λ i → B (p i)) x' y') (Q : PathP (λ i → B (q i)) y' z')
→ PathP (λ j → PathP (λ i → B (compPath-filler p q j i)) x' (Q j)) P (compPathP' {x = x} {y = y} {x' = x'} {y' = y'} P Q)
compPathP'-filler {B = B} {x' = x'} {p = p} {q = q} P Q j i =
fill (λ j → B (compPath-filler p q j i))
(λ j → λ { (i = i0) → x' ;
(i = i1) → Q j })
(inS (P i))
j
_≡⟨_⟩_ : (x : A) → x ≡ y → y ≡ z → x ≡ z
_ ≡⟨ x≡y ⟩ y≡z = x≡y ∙ y≡z
≡⟨⟩-syntax : (x : A) → x ≡ y → y ≡ z → x ≡ z
≡⟨⟩-syntax = _≡⟨_⟩_
infixr 2 ≡⟨⟩-syntax
syntax ≡⟨⟩-syntax x (λ i → B) y = x ≡[ i ]⟨ B ⟩ y
≡⟨⟩⟨⟩-syntax : (x y : A) → x ≡ y → y ≡ z → z ≡ w → x ≡ w
≡⟨⟩⟨⟩-syntax x y p q r = p ∙∙ q ∙∙ r
infixr 3 ≡⟨⟩⟨⟩-syntax
syntax ≡⟨⟩⟨⟩-syntax x y B C = x ≡⟨ B ⟩≡ y ≡⟨ C ⟩≡
_≡⟨_⟩≡⟨_⟩_ : (x : A) → x ≡ y → y ≡ z → z ≡ w → x ≡ w
_ ≡⟨ x≡y ⟩≡⟨ y≡z ⟩ z≡w = x≡y ∙∙ y≡z ∙∙ z≡w
_∎ : (x : A) → x ≡ x
_ ∎ = refl
-- Transport, subst and functional extensionality
-- transport is a special case of transp
transport : {A B : Type ℓ} → A ≡ B → A → B
transport p a = transp (λ i → p i) i0 a
-- Transporting in a constant family is the identity function (up to a
-- path). If we would have regularity this would be definitional.
transportRefl : (x : A) → transport refl x ≡ x
transportRefl {A = A} x i = transp (λ _ → A) i x
transport-filler : ∀ {ℓ} {A B : Type ℓ} (p : A ≡ B) (x : A)
→ PathP (λ i → p i) x (transport p x)
transport-filler p x i = transp (λ j → p (i ∧ j)) (~ i) x
-- We want B to be explicit in subst
subst : (B : A → Type ℓ') (p : x ≡ y) → B x → B y
subst B p pa = transport (λ i → B (p i)) pa
subst2 : ∀ {ℓ' ℓ''} {B : Type ℓ'} {z w : B} (C : A → B → Type ℓ'')
(p : x ≡ y) (q : z ≡ w) → C x z → C y w
subst2 B p q b = transport (λ i → B (p i) (q i)) b
substRefl : (px : B x) → subst B refl px ≡ px
substRefl px = transportRefl px
funExt : {B : A → I → Type ℓ'}
{f : (x : A) → B x i0} {g : (x : A) → B x i1}
→ ((x : A) → PathP (B x) (f x) (g x))
→ PathP (λ i → (x : A) → B x i) f g
funExt p i x = p x i
implicitFunExt : {B : A → I → Type ℓ'}
{f : {x : A} → B x i0} {g : {x : A} → B x i1}
→ ({x : A} → PathP (B x) (f {x}) (g {x}))
→ PathP (λ i → {x : A} → B x i) f g
implicitFunExt p i {x} = p {x} i
-- the inverse to funExt (see Functions.FunExtEquiv), converting paths
-- between functions to homotopies; `funExt⁻` is called `happly` and
-- defined by path induction in the HoTT book (see function 2.9.2 in
-- section 2.9)
funExt⁻ : {B : A → I → Type ℓ'}
{f : (x : A) → B x i0} {g : (x : A) → B x i1}
→ PathP (λ i → (x : A) → B x i) f g
→ ((x : A) → PathP (B x) (f x) (g x))
funExt⁻ eq x i = eq i x
-- J for paths and its computation rule
module _ (P : ∀ y → x ≡ y → Type ℓ') (d : P x refl) where
J : (p : x ≡ y) → P y p
J p = transport (λ i → P (p i) (λ j → p (i ∧ j))) d
JRefl : J refl ≡ d
JRefl = transportRefl d
J-∙ : (p : x ≡ y) (q : y ≡ z)
→ J (p ∙ q) ≡ transport (λ i → P (q i) (λ j → compPath-filler p q i j)) (J p)
J-∙ p q k =
transp
(λ i → P (q (i ∨ ~ k))
(λ j → compPath-filler p q (i ∨ ~ k) j)) (~ k)
(J (λ j → compPath-filler p q (~ k) j))
-- Converting to and from a PathP
module _ {A : I → Type ℓ} {x : A i0} {y : A i1} where
toPathP : transp (\ i → A i) i0 x ≡ y → PathP A x y
toPathP p i = hcomp (λ j → λ { (i = i0) → x
; (i = i1) → p j })
(transp (λ j → A (i ∧ j)) (~ i) x)
fromPathP : PathP A x y → transp (\ i → A i) i0 x ≡ y
fromPathP p i = transp (λ j → A (i ∨ j)) i (p i)
-- Whiskering a dependent path by a path
_◁_ : ∀ {ℓ} {A : I → Type ℓ} {a₀ a₀' : A i0} {a₁ : A i1}
→ a₀ ≡ a₀' → PathP A a₀' a₁ → PathP A a₀ a₁
(p ◁ q) i =
hcomp (λ j → λ {(i = i0) → p (~ j); (i = i1) → q i1}) (q i)
_▷_ : ∀ {ℓ} {A : I → Type ℓ} {a₀ : A i0} {a₁ a₁' : A i1}
→ PathP A a₀ a₁ → a₁ ≡ a₁' → PathP A a₀ a₁'
(p ▷ q) i =
hcomp (λ j → λ {(i = i0) → p i0; (i = i1) → q j}) (p i)
-- Direct definitions of lower h-levels
isContr : Type ℓ → Type ℓ
isContr A = Σ[ x ∈ A ] (∀ y → x ≡ y)
isProp : Type ℓ → Type ℓ
isProp A = (x y : A) → x ≡ y
isSet : Type ℓ → Type ℓ
isSet A = (x y : A) → isProp (x ≡ y)
isGroupoid : Type ℓ → Type ℓ
isGroupoid A = ∀ a b → isSet (Path A a b)
is2Groupoid : Type ℓ → Type ℓ
is2Groupoid A = ∀ a b → isGroupoid (Path A a b)
-- Contractibility of singletons
singlP : (A : I → Type ℓ) (a : A i0) → Type _
singlP A a = Σ[ x ∈ A i1 ] PathP A a x
singl : (a : A) → Type _
singl {A = A} a = singlP (λ _ → A) a
isContrSingl : (a : A) → isContr (singl a)
isContrSingl a = (a , refl) , λ p i → p .snd i , λ j → p .snd (i ∧ j)
isContrSinglP : (A : I → Type ℓ) (a : A i0) → isContr (singlP A a)
isContrSinglP A a .fst = _ , transport-filler (λ i → A i) a
isContrSinglP A a .snd (x , p) i =
_ , λ j → fill (\ i → A i) (λ j → λ {(i = i0) → transport-filler (λ i → A i) a j; (i = i1) → p j}) (inS a) j
SquareP :
(A : I → I → Type ℓ)
{a₀₀ : A i0 i0} {a₀₁ : A i0 i1} (a₀₋ : PathP (λ j → A i0 j) a₀₀ a₀₁)
{a₁₀ : A i1 i0} {a₁₁ : A i1 i1} (a₁₋ : PathP (λ j → A i1 j) a₁₀ a₁₁)
(a₋₀ : PathP (λ i → A i i0) a₀₀ a₁₀) (a₋₁ : PathP (λ i → A i i1) a₀₁ a₁₁)
→ Type ℓ
SquareP A a₀₋ a₁₋ a₋₀ a₋₁ = PathP (λ i → PathP (λ j → A i j) (a₋₀ i) (a₋₁ i)) a₀₋ a₁₋
Square :
{a₀₀ a₀₁ : A} (a₀₋ : a₀₀ ≡ a₀₁)
{a₁₀ a₁₁ : A} (a₁₋ : a₁₀ ≡ a₁₁)
(a₋₀ : a₀₀ ≡ a₁₀) (a₋₁ : a₀₁ ≡ a₁₁)
→ Type _
Square a₀₋ a₁₋ a₋₀ a₋₁ = PathP (λ i → a₋₀ i ≡ a₋₁ i) a₀₋ a₁₋
isSet' : Type ℓ → Type ℓ
isSet' A =
{a₀₀ a₀₁ : A} (a₀₋ : a₀₀ ≡ a₀₁)
{a₁₀ a₁₁ : A} (a₁₋ : a₁₀ ≡ a₁₁)
(a₋₀ : a₀₀ ≡ a₁₀) (a₋₁ : a₀₁ ≡ a₁₁)
→ Square a₀₋ a₁₋ a₋₀ a₋₁
Cube :
{a₀₀₀ a₀₀₁ : A} {a₀₀₋ : a₀₀₀ ≡ a₀₀₁}
{a₀₁₀ a₀₁₁ : A} {a₀₁₋ : a₀₁₀ ≡ a₀₁₁}
{a₀₋₀ : a₀₀₀ ≡ a₀₁₀} {a₀₋₁ : a₀₀₁ ≡ a₀₁₁}
(a₀₋₋ : Square a₀₀₋ a₀₁₋ a₀₋₀ a₀₋₁)
{a₁₀₀ a₁₀₁ : A} {a₁₀₋ : a₁₀₀ ≡ a₁₀₁}
{a₁₁₀ a₁₁₁ : A} {a₁₁₋ : a₁₁₀ ≡ a₁₁₁}
{a₁₋₀ : a₁₀₀ ≡ a₁₁₀} {a₁₋₁ : a₁₀₁ ≡ a₁₁₁}
(a₁₋₋ : Square a₁₀₋ a₁₁₋ a₁₋₀ a₁₋₁)
{a₋₀₀ : a₀₀₀ ≡ a₁₀₀} {a₋₀₁ : a₀₀₁ ≡ a₁₀₁}
(a₋₀₋ : Square a₀₀₋ a₁₀₋ a₋₀₀ a₋₀₁)
{a₋₁₀ : a₀₁₀ ≡ a₁₁₀} {a₋₁₁ : a₀₁₁ ≡ a₁₁₁}
(a₋₁₋ : Square a₀₁₋ a₁₁₋ a₋₁₀ a₋₁₁)
(a₋₋₀ : Square a₀₋₀ a₁₋₀ a₋₀₀ a₋₁₀)
(a₋₋₁ : Square a₀₋₁ a₁₋₁ a₋₀₁ a₋₁₁)
→ Type _
Cube a₀₋₋ a₁₋₋ a₋₀₋ a₋₁₋ a₋₋₀ a₋₋₁ =
PathP (λ i → Square (a₋₀₋ i) (a₋₁₋ i) (a₋₋₀ i) (a₋₋₁ i)) a₀₋₋ a₁₋₋
isGroupoid' : Type ℓ → Type ℓ
isGroupoid' A =
{a₀₀₀ a₀₀₁ : A} {a₀₀₋ : a₀₀₀ ≡ a₀₀₁}
{a₀₁₀ a₀₁₁ : A} {a₀₁₋ : a₀₁₀ ≡ a₀₁₁}
{a₀₋₀ : a₀₀₀ ≡ a₀₁₀} {a₀₋₁ : a₀₀₁ ≡ a₀₁₁}
(a₀₋₋ : Square a₀₀₋ a₀₁₋ a₀₋₀ a₀₋₁)
{a₁₀₀ a₁₀₁ : A} {a₁₀₋ : a₁₀₀ ≡ a₁₀₁}
{a₁₁₀ a₁₁₁ : A} {a₁₁₋ : a₁₁₀ ≡ a₁₁₁}
{a₁₋₀ : a₁₀₀ ≡ a₁₁₀} {a₁₋₁ : a₁₀₁ ≡ a₁₁₁}
(a₁₋₋ : Square a₁₀₋ a₁₁₋ a₁₋₀ a₁₋₁)
{a₋₀₀ : a₀₀₀ ≡ a₁₀₀} {a₋₀₁ : a₀₀₁ ≡ a₁₀₁}
(a₋₀₋ : Square a₀₀₋ a₁₀₋ a₋₀₀ a₋₀₁)
{a₋₁₀ : a₀₁₀ ≡ a₁₁₀} {a₋₁₁ : a₀₁₁ ≡ a₁₁₁}
(a₋₁₋ : Square a₀₁₋ a₁₁₋ a₋₁₀ a₋₁₁)
(a₋₋₀ : Square a₀₋₀ a₁₋₀ a₋₀₀ a₋₁₀)
(a₋₋₁ : Square a₀₋₁ a₁₋₁ a₋₀₁ a₋₁₁)
→ Cube a₀₋₋ a₁₋₋ a₋₀₋ a₋₁₋ a₋₋₀ a₋₋₁
-- Essential consequences of isProp and isContr
isProp→PathP : ∀ {B : I → Type ℓ} → ((i : I) → isProp (B i))
→ (b0 : B i0) (b1 : B i1)
→ PathP (λ i → B i) b0 b1
isProp→PathP hB b0 b1 = toPathP (hB _ _ _)
isPropIsContr : isProp (isContr A)
isPropIsContr (c0 , h0) (c1 , h1) j =
h0 c1 j , λ y i → hcomp (λ k → λ { (i = i0) → h0 (h0 c1 j) k;
(i = i1) → h0 y k;
(j = i0) → h0 (h0 y i) k;
(j = i1) → h0 (h1 y i) k}) c0
isContr→isProp : isContr A → isProp A
isContr→isProp (x , p) a b i =
hcomp (λ j → λ { (i = i0) → p a j
; (i = i1) → p b j }) x
isProp→isSet : isProp A → isSet A
isProp→isSet h a b p q j i =
hcomp (λ k → λ { (i = i0) → h a a k
; (i = i1) → h a b k
; (j = i0) → h a (p i) k
; (j = i1) → h a (q i) k }) a
isProp→isSet' : isProp A → isSet' A
isProp→isSet' h {a} p q r s i j =
hcomp (λ k → λ { (i = i0) → h a (p j) k
; (i = i1) → h a (q j) k
; (j = i0) → h a (r i) k
; (j = i1) → h a (s i) k}) a
isPropIsProp : isProp (isProp A)
isPropIsProp f g i a b = isProp→isSet f a b (f a b) (g a b) i
isPropSingl : {a : A} → isProp (singl a)
isPropSingl = isContr→isProp (isContrSingl _)
isPropSinglP : {A : I → Type ℓ} {a : A i0} → isProp (singlP A a)
isPropSinglP = isContr→isProp (isContrSinglP _ _)
-- Universe lifting
record Lift {i j} (A : Type i) : Type (ℓ-max i j) where
constructor lift
field
lower : A
open Lift public
liftExt : ∀ {A : Type ℓ} {a b : Lift {ℓ} {ℓ'} A} → (lower a ≡ lower b) → a ≡ b
liftExt x i = lift (x i)
doubleCompPath-filler∙ : {a b c d : A} (p : a ≡ b) (q : b ≡ c) (r : c ≡ d)
→ PathP (λ i → p i ≡ r (~ i)) (p ∙ q ∙ r) q
doubleCompPath-filler∙ {A = A} {b = b} p q r j i =
hcomp (λ k → λ { (i = i0) → p j
; (i = i1) → side j k
; (j = i1) → q (i ∧ k)})
(p (j ∨ i))
where
side : I → I → A
side i j =
hcomp (λ k → λ { (i = i1) → q j
; (j = i0) → b
; (j = i1) → r (~ i ∧ k)})
(q j)
PathP→compPathL : {a b c d : A} {p : a ≡ c} {q : b ≡ d} {r : a ≡ b} {s : c ≡ d}
→ PathP (λ i → p i ≡ q i) r s
→ sym p ∙ r ∙ q ≡ s
PathP→compPathL {p = p} {q = q} {r = r} {s = s} P j i =
hcomp (λ k → λ { (i = i0) → p (j ∨ k)
; (i = i1) → q (j ∨ k)
; (j = i0) → doubleCompPath-filler∙ (sym p) r q (~ k) i
; (j = i1) → s i })
(P j i)
PathP→compPathR : {a b c d : A} {p : a ≡ c} {q : b ≡ d} {r : a ≡ b} {s : c ≡ d}
→ PathP (λ i → p i ≡ q i) r s
→ r ≡ p ∙ s ∙ sym q
PathP→compPathR {p = p} {q = q} {r = r} {s = s} P j i =
hcomp (λ k → λ { (i = i0) → p (j ∧ (~ k))
; (i = i1) → q (j ∧ (~ k))
; (j = i0) → r i
; (j = i1) → doubleCompPath-filler∙ p s (sym q) (~ k) i})
(P j i)
-- otherdir
compPathL→PathP : {a b c d : A} {p : a ≡ c} {q : b ≡ d} {r : a ≡ b} {s : c ≡ d}
→ sym p ∙ r ∙ q ≡ s
→ PathP (λ i → p i ≡ q i) r s
compPathL→PathP {p = p} {q = q} {r = r} {s = s} P j i =
hcomp (λ k → λ { (i = i0) → p (~ k ∨ j)
; (i = i1) → q (~ k ∨ j)
; (j = i0) → doubleCompPath-filler∙ (sym p) r q k i
; (j = i1) → s i})
(P j i)
compPathR→PathP : {a b c d : A} {p : a ≡ c} {q : b ≡ d} {r : a ≡ b} {s : c ≡ d}
→ r ≡ p ∙ s ∙ sym q
→ PathP (λ i → p i ≡ q i) r s
compPathR→PathP {p = p} {q = q} {r = r} {s = s} P j i =
hcomp (λ k → λ { (i = i0) → p (k ∧ j)
; (i = i1) → q (k ∧ j)
; (j = i0) → r i
; (j = i1) → doubleCompPath-filler∙ p s (sym q) k i})
(P j i)
|
test/Succeed/SizedNatNew.agda | shlevy/agda | 3 | 6866 | -- {-# OPTIONS --sized-types --show-implicit #-}
module _ where
open import Common.Size
data Either (A B : Set) : Set where
left : A → Either A B
right : B → Either A B
caseEither : ∀{A B C : Set} → Either A B → (A → C) → (B → C) → C
caseEither (left a) l r = l a
caseEither (right b) l r = r b
data Nat {i : Size} : Set where
zero : Nat
suc : {i' : Size< i} → Nat {i'} → Nat
-- subtraction is non size increasing
sub : {size : Size} → Nat {size} → Nat {∞} → Nat {size}
sub zero n = zero
sub (suc m) zero = suc m
sub (suc m) (suc n) = sub m n
-- div' m n computes ceiling(m/(n+1))
div' : {size : Size} → Nat {size} → Nat → Nat {size}
div' zero n = zero
div' (suc m) n = suc (div' (sub m n) n)
-- one can use sized types as if they were not sized
-- sizes default to ∞
add : Nat → Nat → Nat
add (zero ) n = n
add (suc m) n = suc (add m n)
nisse : {i : Size} → Nat {i} → Nat {i}
nisse zero = zero
nisse (suc zero) = suc zero
nisse (suc (suc n)) = suc zero
-- symmetric difference
-- @diff n m@ returns @left (n - m)@ if @n@ is bigger, otherwise @right (m - n)@
diff : ∀{i j} → Nat {i} → Nat {j} → Either (Nat {i}) (Nat {j})
diff zero m = right m
diff (suc n) zero = left (suc n)
diff (suc n) (suc m) = diff n m
module Case where
gcd : ∀{i j} → Nat {i} → Nat {j} → Nat
gcd zero m = m
gcd (suc n) zero = suc n
gcd (suc n) (suc m) = caseEither (diff n m)
(λ n' → gcd n' (suc m))
(λ m' → gcd (suc n) m')
module With where
gcd : ∀{i j} → Nat {i} → Nat {j} → Nat
gcd zero m = m
gcd (suc n) zero = suc n
gcd (suc n) (suc m) with diff n m
... | left n' = gcd n' (suc m)
... | right m' = gcd (suc n) m'
NatInfty = Nat {∞}
{-# BUILTIN NATURAL NatInfty #-}
-- {-# BUILTIN NATPLUS add #-} -- not accepted
|
programs/oeis/335/A335402.asm | neoneye/loda | 22 | 23054 | ; A335402: Numbers m such that the only normal integer partition of m whose run-lengths are a palindrome is (1)^m.
; 0,1,2,4,5,7,11,13,17,19,23,29,31,37,41,43,47,53,59,61,67,71,73,79,83,89,97,101,103,107,109,113,127,131,137,139,149,151,157,163,167,173,179,181,191,193,197,199,211,223,227,229,233,239,241,251,257,263,269
mov $1,$0
trn $1,2
seq $1,6005 ; The odd prime numbers together with 1.
sub $1,1
max $0,$1
add $0,1
lpb $1
add $0,1
trn $1,$0
lpe
sub $0,1
|
programs/oeis/213/A213255.asm | karttu/loda | 0 | 164000 | ; A213255: 2^(n-1) - floor((2^(n-1) - 1)/(n-1)).
; 1,3,6,13,26,54,110,225,456,922,1862,3755,7562,15214,30584,61441,123362,247581,496694,996148,1997288,4003654,8023886,16078166,32212255,64527754,129246702,258848476,518358122,1037950430,2078209982,4160749569,8329633544,16674578914,33378031558,66810602383,133724387162,267644277814,535659510968,1072023837082,2145388542002,4293331117983,8591532719366,17192363634316,34402497153525,68838988869454,137743073709470,275610914695851,551461178861694,1103381908705772,2207646876162008,4416991942228756,8837252098991162
mov $2,$0
mov $3,$0
lpb $0,1
sub $0,1
mul $2,2
lpe
mov $0,$2
add $0,$2
mov $1,$0
mov $4,$3
add $4,1
div $1,$4
add $1,1
|
programs/oeis/010/A010702.asm | neoneye/loda | 22 | 29856 | <filename>programs/oeis/010/A010702.asm
; A010702: Period 2: repeat (3,4).
; 3,4,3,4,3,4,3,4,3,4,3,4,3,4,3,4,3,4,3,4,3,4,3,4,3,4,3,4,3,4,3,4,3,4,3,4,3,4,3,4,3,4,3,4,3,4,3,4,3,4,3,4,3,4,3,4,3,4,3,4,3,4,3,4,3,4,3,4,3,4,3,4,3,4,3,4,3,4,3,4,3,4,3,4,3,4,3,4,3,4,3,4,3,4,3,4,3,4,3,4
mod $0,2
add $0,3
|
programs/oeis/127/A127736.asm | karttu/loda | 1 | 102827 | ; A127736: a(n) = n*(n^2+2*n-1)/2.
; 1,7,21,46,85,141,217,316,441,595,781,1002,1261,1561,1905,2296,2737,3231,3781,4390,5061,5797,6601,7476,8425,9451,10557,11746,13021,14385,15841,17392,19041,20791,22645,24606,26677,28861,31161,33580,36121,38787,41581,44506,47565,50761,54097,57576,61201,64975,68901,72982,77221,81621,86185,90916,95817,100891,106141,111570,117181,122977,128961,135136,141505,148071,154837,161806,168981,176365,183961,191772,199801,208051,216525,225226,234157,243321,252721,262360,272241,282367,292741,303366,314245,325381,336777,348436,360361,372555,385021,397762,410781,424081,437665,451536,465697,480151,494901,509950,525301,540957,556921,573196,589785,606691,623917,641466,659341,677545,696081,714952,734161,753711,773605,793846,814437,835381,856681,878340,900361,922747,945501,968626,992125,1016001,1040257,1064896,1089921,1115335,1141141,1167342,1193941,1220941,1248345,1276156,1304377,1333011,1362061,1391530,1421421,1451737,1482481,1513656,1545265,1577311,1609797,1642726,1676101,1709925,1744201,1778932,1814121,1849771,1885885,1922466,1959517,1997041,2035041,2073520,2112481,2151927,2191861,2232286,2273205,2314621,2356537,2398956,2441881,2485315,2529261,2573722,2618701,2664201,2710225,2756776,2803857,2851471,2899621,2948310,2997541,3047317,3097641,3148516,3199945,3251931,3304477,3357586,3411261,3465505,3520321,3575712,3631681,3688231,3745365,3803086,3861397,3920301,3979801,4039900,4100601,4161907,4223821,4286346,4349485,4413241,4477617,4542616,4608241,4674495,4741381,4808902,4877061,4945861,5015305,5085396,5156137,5227531,5299581,5372290,5445661,5519697,5594401,5669776,5745825,5822551,5899957,5978046,6056821,6136285,6216441,6297292,6378841,6461091,6544045,6627706,6712077,6797161,6882961,6969480,7056721,7144687,7233381,7322806,7412965,7503861,7595497,7687876,7781001,7874875
mov $1,$0
add $0,3
bin $0,2
mul $1,$0
add $1,1
|
libsrc/ctype/isxdigit.asm | andydansby/z88dk-mk2 | 1 | 22754 | ;
; Small C+ z88 Character functions
; Written by <NAME> <<EMAIL>>
;
; 1/3/99 djm
;
; $Id: isxdigit.asm,v 1.4 2008/06/29 06:38:24 aralbrec Exp $
;
XLIB isxdigit
LIB asm_isxdigit
; FASTCALL
.isxdigit
ld a,l
call asm_isxdigit
ld hl,0
ret c
inc l
ret
|
software/rom/bios_testing.asm | JCLemme/eprisc | 0 | 104913 | <reponame>JCLemme/eprisc<gh_stars>0
; epRISC development platform - BIOS testing scratchpad
;
; written by <NAME>, jclemme (at) proportionallabs (dot) com
; this file is part of the epRISC project, released under the epRISC license - see "license.txt" for details.
;
; Just a scratchpad to test components of the BIOS before integration.
!ip h00000000
!def BUS_BASE_ADDRESS h800
:entry move.v d:%SP v:#h410
call.s a:ioc_init
move.v d:%Xw v:#h34EA
move.v d:%Xw v:#h201
push.r s:%Xw
move.v d:%Xw v:#hEA
push.r s:%Xw
call.s a:ioc_send
pops.r d:%Xw
pops.r d:%Xw
move.v d:%Xw v:#h200
push.r s:%Xw
move.v d:%Xw v:#h80
push.r s:%Xw
call.s a:ioc_send
pops.r d:%Xw
pops.r d:%Xw
halt.i
:chrls call.s a:ser_srcv
push.r s:%Zz
call.s a:ser_send
move.v d:%Xw v:#h3A
push.r s:%Xw
call.s a:ser_send
pops.r d:%Xw
move.v d:%Xw v:#h20
push.r s:%Xw
call.s a:ser_send
pops.r d:%Xw
call.s a:str_hnum
pops.r d:%Zz
move.v d:%Xx v:#h0A
push.r s:%Xx
call.s a:ser_send
pops.r d:%Zz
move.v d:%Xx v:#h0D
push.r s:%Xx
call.s a:ser_send
pops.r d:%Zz
brch.a a:chrls
!include "../../rom/bios_bus.asm"
!include "../../rom/bios_uart.asm"
!include "../../rom/bios_string.asm"
|
29.asm | AsadKhalil/Assembly_x86 | 0 | 166405 | [org 0x0100]
jmp start
day: dw 31
month: dw 12
year: dw 85
;this function will pack the given data into the required format
;and return the output in the ax register
encode:
;order of pushing data: day, month, year
;for keeping a reference in the stack
push bp
mov bp, sp
;saving registers
push bx
xor bx, bx
xor ax, ax ;setting ax to 0
mov ax, [bp + 6] ;moving month in bx
shl ax, 12
mov bx, ax
xor ax, ax
mov ax, [bp + 8] ;moving day in ax
shl ax, 7
OR bx, ax
xor ax, ax
mov ax, [bp + 4] ;moving year in ax
OR ax, bx
pop bx
pop bp
ret 6
;this function will return day in ax, month in bx and year in cx
;after decoding the input
decode:
;for keeping reference in stack
push bp
mov bp, sp
;saving registers
push di
mov di, [bp + 4] ;moving input in ax
mov cx, di
AND cx, 0000000001111111b
mov bx, di
AND bx, 1111000000000000b
shr bx, 12
mov ax, di
AND ax, 0000111110000000b
shr ax, 7
pop di
pop bp
ret 2
start:
push word [day]
push word [month]
push word [year]
call encode
push ax
call decode
finish:
mov ax, 0x04c00
int 21h |
oeis/159/A159024.asm | neoneye/loda-programs | 11 | 29562 | ; A159024: a(0)=55; a(n) = a(n-1) + floor(sqrt(a(n-1))), n > 0.
; Submitted by <NAME>
; 55,62,69,77,85,94,103,113,123,134,145,157,169,182,195,208,222,236,251,266,282,298,315,332,350,368,387,406,426,446,467,488,510,532,555,578,602,626,651,676,702,728,754,781,808,836,864,893,922,952,982,1013,1044
add $0,6
mov $3,1
lpb $0
sub $0,$3
mov $1,$4
min $1,$0
div $1,2
add $2,$1
add $2,5
add $4,$2
lpe
mov $0,$2
add $0,21
|
08/2/src/main.adb | Heziode/aoc-ada-2021 | 3 | 12041 | with Ada.Containers.Generic_Array_Sort,
Ada.Containers.Generic_Constrained_Array_Sort,
Ada.Containers.Indefinite_Hashed_Maps,
Ada.Integer_Text_IO,
Ada.Strings.Bounded,
Ada.Strings.Bounded.Hash,
Ada.Text_IO;
with Utils;
procedure Main is
use Ada.Text_IO;
use Utils;
package Digit_Str is new
Ada.Strings.Bounded.Generic_Bounded_Length (Max => 7);
use Digit_Str;
subtype Segment is Character range 'a' .. 'g';
subtype Digit is Bounded_String;
subtype Seven_Segments_Digits is Natural range 0 .. 9;
-- Sort the characters in a String
procedure String_Sort is new Ada.Containers.Generic_Array_Sort (Positive, Character, String);
function Digit_Hash is new Ada.Strings.Bounded.Hash (Digit_Str);
package Segments_To_Digit_Maps is new Ada.Containers.Indefinite_Hashed_Maps
(Key_Type => Digit,
Element_Type => Seven_Segments_Digits,
Hash => Digit_Hash,
Equivalent_Keys => "=");
function Segment_Hash (Elt : Segment) return Ada.Containers.Hash_Type is
(Ada.Containers.Hash_Type (Segment'Pos (Elt)));
package Mapping_Table_Maps is new Ada.Containers.Indefinite_Hashed_Maps
(Key_Type => Segment,
Element_Type => Segment,
Hash => Segment_Hash,
Equivalent_Keys => "=");
subtype Digits_Array_Index is Positive range 1 .. 10;
type Digits_Array is array (Digits_Array_Index) of Digit;
function Is_Lower_Than (Left, Right : Digit) return Boolean is (Length (Left) < Length (Right));
procedure Digits_Sort is new Ada.Containers.Generic_Constrained_Array_Sort (Index_Type => Digits_Array_Index,
Element_Type => Digit,
Array_Type => Digits_Array,
"<" => Is_Lower_Than);
-- Given a String that represent a segment (like "be", or "fgaecd", etc.) it retrieve the corresponding segment.
-- Note: when the word "associated" is used, it means that we cannot know exactly which segment corresponds
-- to which other segment.
-- When the word "corresponding" is used, it means that we know exactly which segment corresponds to which
-- other segment.
--
-- @param Seg a String that represent a digit
-- @returns Retruns the corresponding mapping table between segments of digits
function Get_Corresponding_Segments (Digit_Array : Digits_Array) return Mapping_Table_Maps.Map;
--------------------------------
-- Get_Corresponding_Segments --
--------------------------------
function Get_Corresponding_Segments (Digit_Array : Digits_Array) return Mapping_Table_Maps.Map is
use Mapping_Table_Maps;
Mapping_Table : Mapping_Table_Maps.Map;
CF_Seg,
BD_Seg,
EG_Seg : Digit := Null_Bounded_String;
Can_Break_CF,
Can_Break_BD : Boolean := False;
begin
-- Get the number 1 to get associated segments "c" and "f"
CF_Seg := Digit_Array (1);
-- Get the number 7 to find the corresponding segment of "a"
for Char of To_String (Digit_Array (2)) loop
if Index (CF_Seg, Char & "", 1) = 0 then
Mapping_Table.Include (Char, 'a');
exit;
end if;
end loop;
-- Get the number 4 to find associated to "b" and "d"
for Char of To_String (Digit_Array (3)) loop
if Index (CF_Seg, Char & "", 1) = 0 then
BD_Seg := BD_Seg & Char;
end if;
end loop;
for Idx in 7 .. 9 loop
-- Find the number 6 to find corresponding segment of "f" and "c"
if (Index (Digit_Array (Idx), Element (CF_Seg, 1) & "") > 0) /=
(Index (Digit_Array (Idx), Element (CF_Seg, 2) & "") > 0)
then
if Index (Digit_Array (Idx), Element (CF_Seg, 1) & "") > 0 then
Mapping_Table.Include (Element (CF_Seg, 1), 'f');
Mapping_Table.Include (Element (CF_Seg, 2), 'c');
else
Mapping_Table.Include (Element (CF_Seg, 2), 'f');
Mapping_Table.Include (Element (CF_Seg, 1), 'c');
end if;
Can_Break_CF := True;
end if;
-- Find the number 0 to find corresponding segment of "b" and "d"
if (Index (Digit_Array (Idx), Element (BD_Seg, 1) & "") > 0) /=
(Index (Digit_Array (Idx), Element (BD_Seg, 2) & "") > 0)
then
if Index (Digit_Array (Idx), Element (BD_Seg, 1) & "") > 0 then
Mapping_Table.Include (Element (BD_Seg, 1), 'b');
Mapping_Table.Include (Element (BD_Seg, 2), 'd');
else
Mapping_Table.Include (Element (BD_Seg, 2), 'b');
Mapping_Table.Include (Element (BD_Seg, 1), 'd');
end if;
Can_Break_BD := True;
end if;
if Can_Break_CF and Can_Break_BD then
exit;
end if;
end loop;
for Char in Character range 'a' .. 'g' loop
if not Mapping_Table.Contains (Char) then
EG_Seg := EG_Seg & Char;
end if;
end loop;
-- Find the number 9 to find corresponding segment of "e" and "g"
for Idx in 7 .. 10 loop
if (Index (Digit_Array (Idx), Element (EG_Seg, 1) & "") > 0) /=
(Index (Digit_Array (Idx), Element (EG_Seg, 2) & "") > 0)
then
if Index (Digit_Array (Idx), Element (EG_Seg, 1) & "") > 0 then
Mapping_Table.Include (Element (EG_Seg, 1), 'g');
Mapping_Table.Include (Element (EG_Seg, 2), 'e');
else
Mapping_Table.Include (Element (EG_Seg, 2), 'g');
Mapping_Table.Include (Element (EG_Seg, 1), 'e');
end if;
exit;
end if;
end loop;
return Mapping_Table;
end Get_Corresponding_Segments;
use Segments_To_Digit_Maps;
-- Given a Value, it retrieve the original value according to Mapping_Table.
-- @param Mapping_Table The mapping table that correspond mixed segment signal with the good segment signal
-- @param Value The digit te retrieve
-- @returns Return the resolved digit
function Digit_Reconstruction (Mapping_Table : Mapping_Table_Maps.Map; Value : Digit) return Digit;
--------------------------
-- Digit_Reconstruction --
--------------------------
function Digit_Reconstruction (Mapping_Table : Mapping_Table_Maps.Map; Value : Digit) return Digit is
Result : Digit := Null_Bounded_String;
begin
for Char of To_String (Value) loop
Result := Result & Mapping_Table.Element (Char);
end loop;
declare
Str : String := To_String (Result);
begin
String_Sort (Str);
Result := To_Bounded_String (Str);
end;
return Result;
end Digit_Reconstruction;
File : File_Type;
Result : Natural := Natural'First;
Seven_Segment_Digit : Map := Empty_Map;
begin
Get_File (File);
if End_Of_File (File) then
raise Program_Error with "Empty file";
end if;
-- Initialilze "Seven_Segment_Digit" map
-- Length: 6
Seven_Segment_Digit.Include (To_Bounded_String ("abcefg"), 0);
-- Length: 2 (unique length)
Seven_Segment_Digit.Include (To_Bounded_String ("cf"), 1);
-- Length: 5
Seven_Segment_Digit.Include (To_Bounded_String ("acdeg"), 2);
-- Length: 5
Seven_Segment_Digit.Include (To_Bounded_String ("acdfg"), 3);
-- Length: 4 (unique length)
Seven_Segment_Digit.Include (To_Bounded_String ("bcdf"), 4);
-- Length: 5
Seven_Segment_Digit.Include (To_Bounded_String ("abdfg"), 5);
-- Length: 6
Seven_Segment_Digit.Include (To_Bounded_String ("abdefg"), 6);
-- Length: 3 (unique length)
Seven_Segment_Digit.Include (To_Bounded_String ("acf"), 7);
-- Length: 7 (unique length)
Seven_Segment_Digit.Include (To_Bounded_String ("abcdefg"), 8);
-- Length: 6
Seven_Segment_Digit.Include (To_Bounded_String ("abcdfg"), 9);
-- Get digit list
while not End_Of_File (File) loop
declare
Line : constant String := Get_Line (File);
First : Positive := Line'First;
Last : Positive := Line'First;
After_Pipe : Boolean := False;
Current_Input_Digits_Index : Digits_Array_Index := Digits_Array_Index'First;
Current_Digit_Value : Natural := Natural'First;
Current_Exponent : Natural := 3;
Mapping_Table : Mapping_Table_Maps.Map := Mapping_Table_Maps.Empty_Map;
Current_Digit : Digit;
Input_Digits : Digits_Array;
begin
while Last <= Line'Last loop
if After_Pipe then
-- Right data
if Line (Last) = ' ' then
Current_Digit := Digit_Reconstruction (Mapping_Table, To_Bounded_String (Line (First .. Last - 1)));
Current_Digit_Value :=
Current_Digit_Value + Seven_Segment_Digit.Element (Current_Digit) * 10 ** Current_Exponent;
Current_Exponent := Current_Exponent - 1;
First := Last + 1;
elsif Last = Line'Last then
Current_Digit := Digit_Reconstruction (Mapping_Table, To_Bounded_String (Line (First .. Last)));
Current_Digit_Value :=
Current_Digit_Value + Seven_Segment_Digit.Element (Current_Digit);
Result := Result + Current_Digit_Value;
end if;
Last := Last + 1;
elsif Line (Last) = '|' then
After_Pipe := True;
Last := Last + 2;
First := Last;
Digits_Sort (Input_Digits);
Mapping_Table := Get_Corresponding_Segments (Input_Digits);
else
-- Left part
if Line (Last) = ' ' then
declare
Str : String := Line (First .. Last - 1);
begin
String_Sort (Str);
Input_Digits (Current_Input_Digits_Index) := To_Bounded_String (Str);
end;
Current_Input_Digits_Index :=
(if Current_Input_Digits_Index < 10 then Current_Input_Digits_Index + 1
else Digits_Array_Index'First);
First := Last + 1;
elsif Last = Line'Last then
declare
Str : String := Line (First .. Last);
begin
String_Sort (Str);
Input_Digits (Current_Input_Digits_Index) := To_Bounded_String (Str);
end;
Current_Input_Digits_Index := Current_Input_Digits_Index + 1;
First := Last + 1;
end if;
Last := Last + 1;
end if;
end loop;
end;
end loop;
Put ("Result: ");
Ada.Integer_Text_IO.Put (Result, Width => 0);
New_Line;
Close_If_Open (File);
exception
when others =>
Close_If_Open (File);
raise;
end Main;
|
i386/hello/hello.asm | Ian-Gabaraev/asm | 0 | 20661 | ; hello world in i386 Assembly
; Author <NAME>
; Date 26-09-2021
global _start
section .text:
_start:
mov eax, 0x4 ; the __NR_write syscall in unistd_32.h
mov ebx, 1 ; stdout FD
mov ecx, message
mov edx, message_len
int 0x80 ; trigger an interrupt
mov eax, 0x1 ; the __NR_exit syscall in unisted_32.h
mov ebx, 0
int 0x80
section .data:
message: db "Hello World", 0xA
message_len equ $-message
|
hott.agda | HoTT/M-types | 27 | 6081 | <gh_stars>10-100
{-# OPTIONS --without-K #-}
module hott where
open import hott.level public
open import hott.equivalence public
open import hott.univalence public
-- open import hott.truncation public
|
gcc-gcc-7_3_0-release/gcc/ada/s-mmauni-long.ads | best08618/asylo | 7 | 9533 | <filename>gcc-gcc-7_3_0-release/gcc/ada/s-mmauni-long.ads
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- --
-- S Y S T E M . M M A P . U N I X --
-- --
-- S p e c --
-- --
-- Copyright (C) 2007-2016, AdaCore --
-- --
-- This library is free software; you can redistribute it and/or modify it --
-- under terms of the GNU General Public License as published by the Free --
-- Software Foundation; either version 3, or (at your option) any later --
-- version. This library is distributed in the hope that it will be useful, --
-- but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHAN- --
-- TABILITY or FITNESS FOR A PARTICULAR PURPOSE. --
-- --
-- As a special exception under Section 7 of GPL version 3, you are granted --
-- additional permissions described in the GCC Runtime Library Exception, --
-- version 3.1, as published by the Free Software Foundation. --
-- --
-- You should have received a copy of the GNU General Public License and --
-- a copy of the GCC Runtime Library Exception along with this program; --
-- see the files COPYING3 and COPYING.RUNTIME respectively. If not, see --
-- <http://www.gnu.org/licenses/>. --
-- --
-- GNAT was originally developed by the GNAT team at New York University. --
-- Extensive contributions were provided by Ada Core Technologies Inc. --
-- --
------------------------------------------------------------------------------
-- Declaration of off_t/mmap/munmap. This particular implementation
-- supposes off_t is long.
with System.OS_Lib;
with Interfaces.C;
package System.Mmap.Unix is
type Mmap_Prot is new Interfaces.C.int;
-- PROT_NONE : constant Mmap_Prot := 16#00#;
-- PROT_EXEC : constant Mmap_Prot := 16#04#;
PROT_READ : constant Mmap_Prot := 16#01#;
PROT_WRITE : constant Mmap_Prot := 16#02#;
type Mmap_Flags is new Interfaces.C.int;
-- MAP_NONE : constant Mmap_Flags := 16#00#;
-- MAP_FIXED : constant Mmap_Flags := 16#10#;
MAP_SHARED : constant Mmap_Flags := 16#01#;
MAP_PRIVATE : constant Mmap_Flags := 16#02#;
type off_t is new Long_Integer;
function Mmap (Start : Address := Null_Address;
Length : Interfaces.C.size_t;
Prot : Mmap_Prot := PROT_READ;
Flags : Mmap_Flags := MAP_PRIVATE;
Fd : System.OS_Lib.File_Descriptor;
Offset : off_t) return Address;
pragma Import (C, Mmap, "mmap");
function Munmap (Start : Address;
Length : Interfaces.C.size_t) return Integer;
pragma Import (C, Munmap, "munmap");
function Is_Mapping_Available return Boolean is (True);
-- Wheter memory mapping is actually available on this system. It is an
-- error to use Create_Mapping and Dispose_Mapping if this is False.
end System.Mmap.Unix;
|
kMouse.asm | satadriver/LiunuxOS | 0 | 170312 | .386p
;include 8042_8048_info.asm
Kernel Segment public para use32
assume cs:Kernel
;mouse direction is from left,top to right down,so the x delta is right,but y delta is negtive
align 10h
__kMouseProc proc
pushad
push ds
push es
push fs
push gs
push ss
mov ax,rwData32Seg
mov ds,ax
mov es,ax
mov ebx,kernelData
shl ebx,4
cmp word ptr ds:[ebx + _videoMode],VIDEO_MODE_3
jz _mouseReturn
cmp word ptr ds:[ebx + _kMouseProc],0
jz _mouseReturn
call dword ptr ds:[ebx + _kMouseProc]
jmp _mouseReturn
mov esi,MOUSE_BUFFER
mov ecx,0
mov edx,0
in al,60h
mov dl,al
movsx eax,al
mov ds:[esi + MOUSEDATA._mintrData._mouseStatus + ecx ],eax
add ecx,4
_checkMouseStatus:
in al,64h
test al,1
jz _MouseProcMain
in al,60h
shl edx,8
mov dl,al
movsx eax,al
mov ds:[esi + MOUSEDATA._mintrData._mouseStatus + ecx ],eax
add ecx,4
cmp ecx,12
jz _MouseProcMain
jmp _checkMouseStatus
_MouseProcMain:
cmp ecx,12
jb _mousetestErr
mov eax,ds:[esi + MOUSEDATA._mintrData._mouseDeltaY]
not eax
mov ds:[esi + MOUSEDATA._mintrData._mouseDeltaY],eax
cmp dword ptr ds:[esi + MOUSEDATA._bInvalid],0
jnz _mouseIntCalcPos
cmp dword ptr ds:[esi + MOUSEDATA._mintrData._mouseDeltaY],0
jnz _mouseIntBackup
cmp dword ptr ds:[esi + MOUSEDATA._mintrData._mouseDeltaX],0
jnz _mouseIntBackup
jmp _mouseIntCalcPos
_mouseIntBackup:
call __restoreArray
_mouseIntCalcPos:
mov dword ptr ds:[esi + MOUSEDATA._bInvalid],0
mov eax,dword ptr ds:[esi + MOUSEDATA._mintrData._mouseDeltaX]
add dword ptr ds:[esi + MOUSEDATA._mouseX],eax
mov eax,dword ptr ds:[esi + MOUSEDATA._mouseX]
cmp eax,dword ptr ds:[ebx + _videoWidth]
jg _mouseXMax
cmp eax,0
jl _mouseXMin
jmp _checkMouseY
_mouseXMax:
mov eax,dword ptr ds:[ebx + _videoWidth]
mov dword ptr ds:[esi + MOUSEDATA._mouseX],eax
jmp _checkMouseY
_mouseXMin:
mov dword ptr ds:[esi + MOUSEDATA._mouseX],0
jmp _checkMouseY
_checkMouseY:
mov eax,dword ptr ds:[esi + MOUSEDATA._mintrData._mouseDeltaY]
add dword ptr ds:[esi + MOUSEDATA._mouseY],eax
mov eax,dword ptr ds:[esi + MOUSEDATA._mouseY]
cmp eax,dword ptr ds:[ebx + _videoHeight]
jg _mouseYMax
cmp eax,0
jl _mouseYMin
jmp _maekeArray
_mouseYMax:
mov eax,dword ptr ds:[ebx + _videoHeight]
mov dword ptr ds:[esi + MOUSEDATA._mouseY],eax
jmp _maekeArray
_mouseYMin:
mov dword ptr ds:[esi + MOUSEDATA._mouseY],0
jmp _maekeArray
_maekeArray:
cmp dword ptr ds:[esi + MOUSEDATA._mintrData._mouseDeltaY],0
jnz _mouseIntDraw
cmp dword ptr ds:[esi + MOUSEDATA._mintrData._mouseDeltaX],0
jnz _mouseIntDraw
jmp _mouseIntCheckClick
_mouseIntDraw:
call __drawArray
_mouseIntCheckClick:
test dword ptr ds:[esi + MOUSEDATA._mintrData._mouseStatus],7
jz _toShowMouse
mov edi,ds:[esi+ MOUSEDATA._mouseBufHdr]
shl edi,4
mov eax,ds:[esi+ MOUSEDATA._mintrData._mouseStatus]
mov ds:[esi+ MOUSEDATA._mouseBuf._mouseStatus + edi],eax
mov eax,ds:[esi+ MOUSEDATA._mouseX]
mov ds:[esi+ MOUSEDATA._mouseBuf._mouseX + edi],eax
mov eax,ds:[esi+ MOUSEDATA._mouseY]
mov ds:[esi+ MOUSEDATA._mouseBuf._mouseY + edi],eax
mov eax,ds:[esi+ MOUSEDATA._mouseZ]
mov ds:[esi+ MOUSEDATA._mouseBuf._mouseZ + edi],eax
;add dword ptr ds:[esi+ MOUSEDATA._mouseBufHdr],sizeof MOUSEPOSDATA
inc dword ptr ds:[esi+ MOUSEDATA._mouseBufHdr]
;cmp dword ptr ds:[esi+ MOUSEDATA._mouseBufHdr],MOUSE_BUF_LIMIT
cmp dword ptr ds:[esi+ MOUSEDATA._mouseBufHdr],MOUSE_POS_TOTAL
jb _toShowMouse
mov dword ptr ds:[esi+ MOUSEDATA._mouseBufHdr],0
_toShowMouse:
;call __showGraphInfo
_mouseReturn:
mov dword ptr ds:[CMOS_SECONDS_TOTAL],0
mov eax,TURNONSCREEN
int 80h
mov al,20h
out 20h,al
out 0a0h,al
pop ss
pop gs
pop fs
pop es
pop ds
popad
iretd
_mousetestErr:
mov ebp,esp
add ebp,52
push dword ptr ICW2_SLAVE_INT_NO + 4
push dword ptr edx
push dword ptr [ebp]
push dword ptr ecx
push dword ptr [ebp + 8]
test dword ptr [ebp + 4],3
jz _kMouseKernelModeInt
push dword ptr [ebp + 12]
push dword ptr [ebp + 16]
jmp _kMouseShowExpInfo
_kMouseKernelModeInt:
push dword ptr 0
push dword ptr 0
_kMouseShowExpInfo:
call __exceptionInfo
add esp,28
mov ebp,esp
jmp _mouseReturn
__kMouseProc endp
;ebp + 4 ret address
;ebp old ebp
;ebp - 4 ecx
;ebp - 8 edx
;ebp - 12 ebx
;ebp - 16 esi
;ebp - 20 edi
;ebp - 24 x
;ebp - 28 y
;ebp - 32 4x
;ebp - 36 6y
;ebp - 40 9x
;param:null
__drawArray proc
push ebp
mov ebp,esp
push ecx
push edx
push ebx
push esi
push edi
sub esp,40h
mov ebx,kernelData
shl ebx,4
mov eax,dword ptr ds:[ebx + _bytesPerPixel]
mov ss:[ebp - 44],eax
mov eax,dword ptr ds:[ebx + _bytesPerLine]
mov ss:[ebp - 48],eax
mov eax,dword ptr ds:[ebx + _videoBase]
mov ss:[ebp - 52],eax
mov eax,dword ptr ds:[ebx + _mouseColor]
;MOV EAX,MOUSE_INIT_COLOR
mov ss:[ebp - 56],eax
;mov eax,dword ptr ds:[ebx + _mouseBorderColor]
MOV EAX,MOUSE_BORDER_COLOR
mov ss:[ebp - 60],eax
mov eax,dword ptr ds:[ebx + _mouseBorderSize]
mov ss:[ebp - 64],eax
mov ebx,MOUSE_BUFFER
push dword ptr ds:[ebx + MOUSEDATA._mouseY]
push dword ptr ds:[ebx + MOUSEDATA._mouseX]
call __getPosition
add esp,8
mov edi,eax
add edi,ss:[ebp - 52]
mov esi,MOUSE_BUFFER
add esi,MOUSEDATA._mouseCoverData
cld
mov dword ptr ss:[ebp - 28],0
mov ecx,dword ptr ds:[ebx + MOUSEDATA._mouseHeight]
_drawMousePixel:
mov dword ptr ss:[ebp - 24],0
push ecx
push edi
mov ecx,dword ptr ds:[ebx + MOUSEDATA._mouseWidth]
_drawMouseLine:
push ecx
mov eax,dword ptr ss:[ebp - 28]
shl eax,2
mov dword ptr ss:[ebp - 32],eax
mov eax,dword ptr ss:[ebp - 24]
mov ecx,6
mul ecx
mov dword ptr ss:[ebp - 36],eax
mov eax,dword ptr ss:[ebp - 28]
mov ecx,9
mul ecx
mov dword ptr ss:[ebp - 40],eax
mov eax,dword ptr ss:[ebp - 36]
cmp eax,dword ptr ss:[ebp - 32]
jb _mouseOverDraw
cmp eax,dword ptr ss:[ebp - 40]
ja _mouseOverDraw
mov ecx,ss:[ebp - 44]
_mouseBakColorPixel:
mov dl,byte ptr ds:[edi]
mov ds:[esi],dl
inc edi
inc esi
loop _mouseBakColorPixel
sub edi,ss:[ebp - 44]
mov ecx,ss:[ebp - 44]
mov eax,dword ptr ss:[ebp - 36]
sub eax,dword ptr ss:[ebp - 32]
cmp eax,ss:[ebp - 64]
jbe _mouseBorderDraw
mov eax,dword ptr ss:[ebp - 36]
mov edx,dword ptr ss:[ebp - 40]
sub edx,eax
cmp edx,ss:[ebp - 64]
jbe _mouseBorderDraw
add dword ptr ss:[ebp - 56],00000fh
mov eax,dword ptr ss:[ebp - 56]
mov dword ptr ds:[ebx + _mouseColor],eax
jmp _mouseDrawPoint
_mouseBorderDraw:
mov eax,dword ptr ss:[ebp - 60]
_mouseDrawPoint:
stosb
shr eax,8
loop _mouseDrawPoint
sub edi,dword ptr ss:[ebp - 44]
_mouseOverDraw:
add edi,dword ptr ss:[ebp - 44]
inc dword ptr ss:[ebp - 24]
pop ecx
dec ecx
jnz _drawMouseLine
pop edi
add edi,dword ptr ss:[ebp - 48]
inc dword ptr ss:[ebp - 28]
pop ecx
dec ecx
cmp ecx,0
;loop,jne等条件跳转的距离不能超过127字节,jnz,ja,jg,jb,jl等可以
jnz _drawMousePixel
add esp,40h
pop edi
pop esi
pop ebx
pop edx
pop ecx
mov esp,ebp
pop ebp
ret
__drawArray endp
;ebp + 4 ret address
;ebp old ebp
;ebp - 4 ecx
;ebp - 8 edx
;ebp - 12 ebx
;ebp - 16 esi
;ebp - 20 edi
;ebp - 24 x
;ebp - 28 y
;ebp - 32 4x
;ebp - 36 6y
;ebp - 40 9x
;param:null
__restoreArray proc
push ebp
mov ebp,esp
push ecx
push edx
push ebx
push esi
push edi
sub esp,40h
mov ebx,kernelData
shl ebx,4
mov eax,dword ptr ds:[ebx + _bytesPerPixel]
mov ss:[ebp - 44],eax
mov eax,dword ptr ds:[ebx + _bytesPerLine]
mov ss:[ebp - 48],eax
mov eax,dword ptr ds:[ebx + _videoBase]
mov ss:[ebp - 52],eax
mov ebx,MOUSE_BUFFER
push ds:[ebx + MOUSEDATA._mouseY]
push ds:[ebx + MOUSEDATA._mouseX]
call __getPosition
add esp,8
mov edi,eax
add edi,ss:[ebp - 52]
mov esi,MOUSE_BUFFER
add esi,MOUSEDATA._mouseCoverData
cld
mov dword ptr ss:[ebp - 28],0
mov ecx,dword ptr ds:[ebx + MOUSEDATA._mouseHeight]
_bdrawMousePixel:
mov dword ptr ss:[ebp - 24],0
push ecx
push edi
mov ecx,dword ptr ds:[ebx + MOUSEDATA._mouseWidth]
_bdrawMouseLine:
push ecx
mov eax,dword ptr ss:[ebp - 28]
shl eax,2
mov dword ptr ss:[ebp - 32],eax
mov eax,dword ptr ss:[ebp - 24]
mov ecx,6
mul ecx
mov dword ptr ss:[ebp - 36],eax
mov eax,dword ptr ss:[ebp - 28]
mov ecx,9
mul ecx
mov dword ptr ss:[ebp - 40],eax
mov eax,dword ptr ss:[ebp - 36]
cmp eax,dword ptr ss:[ebp - 32]
jb _bmouseOverDraw
cmp eax,dword ptr ss:[ebp - 40]
ja _bmouseOverDraw
mov ecx,dword ptr ss:[ebp - 44]
rep movsb
sub edi,dword ptr ss:[ebp - 44]
_bmouseOverDraw:
add edi,dword ptr ss:[ebp - 44]
inc dword ptr ss:[ebp - 24]
pop ecx
dec ecx
cmp ecx,0
jnz _bdrawMouseLine
pop edi
add edi,dword ptr ss:[ebp - 48]
inc dword ptr ss:[ebp - 28]
pop ecx
dec ecx
cmp ecx,0
jnz _bdrawMousePixel
add esp,40h
pop edi
pop esi
pop ebx
pop edx
pop ecx
mov esp,ebp
pop ebp
ret
__restoreArray endp
__mouseInit proc
push ebp
mov ebp,esp
push ebx
sub esp,40h
mov ebx,kernelData
shl ebx,4
push dword ptr ds:[ebx + _videoHeight]
push dword ptr ds:[ebx + _videoWidth]
call __initMouseParams
add esp,8
call __drawArray
add esp,40h
pop ebx
mov esp,ebp
pop ebp
ret
__mouseInit endp
;parm: x,y
__initMouseParams proc
push ebp
mov ebp,esp
push ecx
push edx
push ebx
push esi
sub esp,40h
mov ebx,kernelData
shl ebx,4
mov esi,MOUSE_BUFFER
mov eax,dword ptr ss:[ebp + 8]
shr eax,1
mov ds:[esi + MOUSEDATA._MouseX],eax
;mov dword ptr ds:[esi + MOUSEDATA._MouseX],0
mov edx,dword ptr ss:[ebp + 12]
shr edx,1
mov ds:[esi + MOUSEDATA._MouseY],edx
;mov dword ptr ds:[esi + MOUSEDATA._MouseY],0
mov eax,dword ptr ss:[ebp + 8]
cmp eax,dword ptr ss:[ebp + 12]
jae _makeMouseSquare
mov eax,dword ptr ss:[ebp + 12]
_makeMouseSquare:
mov edx,0
mov ecx,ds:[ebx + _mouseRatioSize]
div ecx
mov ds:[esi + MOUSEDATA._mouseWidth],eax
mov ds:[esi + MOUSEDATA._mouseHeight],eax
;mov eax,dword ptr ss:[ebp + 8]
;mov edx,0
;mov ecx,ds:[ebx + _mouseRatioSize]
;div ecx
;mov ds:[ebx + _mouseHeight],eax
add esp,40h
pop esi
pop ebx
pop edx
pop ecx
mov esp,ebp
pop ebp
ret
__initMouseParams endp
__mouseService proc
push ebp
mov ebp,esp
push ebx
push esi
push edi
mov ebx,MOUSE_BUFFER
mov eax,0
mov esi,ds:[ebx + MOUSEDATA._mouseBufTail]
cmp esi,dword ptr [ebx + MOUSEDATA._mouseBufHdr]
jz _mouseServiceEnd
shl esi,4
mov eax,ds:[ebx + MOUSEDATA._mouseBuf._mouseStatus + esi]
mov dword ptr ds:[edi],eax
mov eax,ds:[ebx + MOUSEDATA._mouseBuf._mouseX + esi]
mov dword ptr ds:[edi + 4],eax
mov eax,ds:[ebx + MOUSEDATA._mouseBuf._mouseY + esi]
mov dword ptr ds:[edi + 8],eax
mov eax,ds:[ebx + MOUSEDATA._mouseBuf._mouseZ + esi]
mov dword ptr ds:[edi + 12],eax
mov eax,4
;add dword ptr ds:[ebx+ MOUSEDATA._mouseBufTail],sizeof MOUSEPOSDATA
inc dword ptr ds:[ebx+ MOUSEDATA._mouseBufTail]
;cmp dword ptr ds:[ebx+ MOUSEDATA._mouseBufTail],MOUSE_BUF_LIMIT
cmp dword ptr ds:[ebx+ MOUSEDATA._mouseBufTail],MOUSE_POS_TOTAL
jb _mouseServiceEnd
mov dword ptr ds:[ebx+ MOUSEDATA._mouseBufTail],0
_mouseServiceEnd:
pop edi
pop esi
pop ebx
mov esp,ebp
pop ebp
ret
__mouseService endp
Kernel ends
|
Formalization/ClassicalPropositionalLogic/NaturalDeduction/Tree.agda | Lolirofle/stuff-in-agda | 6 | 14808 | <reponame>Lolirofle/stuff-in-agda
open import Type
open import Logic.Classical as Logic using (Classical)
open import Logic.Predicate as Logic using ()
module Formalization.ClassicalPropositionalLogic.NaturalDeduction.Tree ⦃ classical : ∀{ℓ} → Logic.∀ₗ(Classical{ℓ}) ⦄ where
import Lvl
open import Logic
open import Sets.PredicateSet using (PredSet ; _∈_ ; _∉_ ; _∪_ ; _∪•_ ; _∖_ ; _⊆_ ; _⊇_ ; ∅ ; [≡]-to-[⊆] ; [≡]-to-[⊇]) renaming (•_ to singleton ; _≡_ to _≡ₛ_)
private variable ℓₚ ℓ ℓ₁ ℓ₂ : Lvl.Level
open import Formalization.ClassicalPropositionalLogic.Syntax
module _ {ℓₚ} {P : Type{ℓₚ}} where
{-# NO_POSITIVITY_CHECK #-}
data Tree : Formula(P) → Stmt{Lvl.𝐒(ℓₚ)} where
[⊤]-intro : Tree(⊤)
[⊥]-intro : ∀{φ} → Tree(φ) → Tree(¬ φ) → Tree(⊥)
[⊥]-elim : ∀{φ} → Tree(⊥) → Tree(φ)
[¬]-intro : ∀{φ} → (Tree(φ) → Tree(⊥)) → Tree(¬ φ)
[¬]-elim : ∀{φ} → (Tree(¬ φ) → Tree(⊥)) → Tree(φ)
[∧]-intro : ∀{φ ψ} → Tree(φ) → Tree(ψ) → Tree(φ ∧ ψ)
[∧]-elimₗ : ∀{φ ψ} → Tree(φ ∧ ψ) → Tree(φ)
[∧]-elimᵣ : ∀{φ ψ} → Tree(φ ∧ ψ) → Tree(ψ)
[∨]-introₗ : ∀{φ ψ} → Tree(φ) → Tree(φ ∨ ψ)
[∨]-introᵣ : ∀{φ ψ} → Tree(ψ) → Tree(φ ∨ ψ)
[∨]-elim : ∀{φ ψ χ} → (Tree(φ) → Tree(χ)) → (Tree(ψ) → Tree(χ)) → Tree(φ ∨ ψ) → Tree(χ)
[⟶]-intro : ∀{φ ψ} → (Tree(φ) → Tree(ψ)) → Tree(φ ⟶ ψ)
[⟶]-elim : ∀{φ ψ} → Tree(φ) → Tree(φ ⟶ ψ) → Tree(ψ)
[⟷]-intro : ∀{φ ψ} → (Tree(ψ) → Tree(φ)) → (Tree(φ) → Tree(ψ)) → Tree(ψ ⟷ φ)
[⟷]-elimₗ : ∀{φ ψ} → Tree(φ) → Tree(ψ ⟷ φ) → Tree(ψ)
[⟷]-elimᵣ : ∀{φ ψ} → Tree(ψ) → Tree(ψ ⟷ φ) → Tree(φ)
open import Formalization.ClassicalPropositionalLogic.NaturalDeduction
module _ {ℓ} where
Tree-to-[⊢]-tautologies : ∀{φ} → Tree(φ) → (∅{ℓ} ⊢ φ)
Tree-to-[⊢]-tautologies {.⊤} [⊤]-intro = [⊤]-intro
Tree-to-[⊢]-tautologies {.⊥} ([⊥]-intro tφ tφ₁) =
([⊥]-intro
(Tree-to-[⊢]-tautologies tφ)
(Tree-to-[⊢]-tautologies tφ₁)
)
Tree-to-[⊢]-tautologies {φ} ([⊥]-elim tφ) =
([⊥]-elim
(Tree-to-[⊢]-tautologies tφ)
)
Tree-to-[⊢]-tautologies {.(¬ _)} ([¬]-intro x) = [¬]-intro {!!}
Tree-to-[⊢]-tautologies {φ} ([¬]-elim x) = {!!}
Tree-to-[⊢]-tautologies {.(_ ∧ _)} ([∧]-intro tφ tφ₁) =
([∧]-intro
(Tree-to-[⊢]-tautologies tφ)
(Tree-to-[⊢]-tautologies tφ₁)
)
Tree-to-[⊢]-tautologies {φ} ([∧]-elimₗ tφ) =
([∧]-elimₗ
(Tree-to-[⊢]-tautologies tφ)
)
Tree-to-[⊢]-tautologies {φ} ([∧]-elimᵣ tφ) =
([∧]-elimᵣ
(Tree-to-[⊢]-tautologies tφ)
)
Tree-to-[⊢]-tautologies {.(_ ∨ _)} ([∨]-introₗ tφ) =
([∨]-introₗ
(Tree-to-[⊢]-tautologies tφ)
)
Tree-to-[⊢]-tautologies {.(_ ∨ _)} ([∨]-introᵣ tφ) =
([∨]-introᵣ
(Tree-to-[⊢]-tautologies tφ)
)
Tree-to-[⊢]-tautologies {φ} ([∨]-elim x x₁ tφ) = {!!}
Tree-to-[⊢]-tautologies {.(_ ⟶ _)} ([⟶]-intro x) = {!!}
Tree-to-[⊢]-tautologies {φ} ([⟶]-elim tφ tφ₁) =
([⟶]-elim
(Tree-to-[⊢]-tautologies tφ)
(Tree-to-[⊢]-tautologies tφ₁)
)
Tree-to-[⊢]-tautologies {.(_ ⟷ _)} ([⟷]-intro x x₁) = {!!}
Tree-to-[⊢]-tautologies {φ} ([⟷]-elimₗ tφ tφ₁) =
([⟷]-elimₗ
(Tree-to-[⊢]-tautologies tφ)
(Tree-to-[⊢]-tautologies tφ₁)
)
Tree-to-[⊢]-tautologies {φ} ([⟷]-elimᵣ tφ tφ₁) =
([⟷]-elimᵣ
(Tree-to-[⊢]-tautologies tφ)
(Tree-to-[⊢]-tautologies tφ₁)
)
--Tree-to-[⊢] : ∀{P : Type{ℓₚ}}{Γ : Formulas(P)}{φ} → ((Γ ⊆ Tree) → Tree(φ)) → (Γ ⊢ φ)
--Tree-to-[⊢] {Γ} {φ} t = {!!}
|
src/lox.adb | aeszter/lox-spark | 6 | 4853 | with Command_Line; use Command_Line;
with SPARK.Text_IO; use SPARK.Text_IO;
with Error_Reporter;
with Scanners;
with Tokens;
procedure Lox with SPARK_Mode is
procedure Run (Source : String) with
Pre => Source'First >= 1 and then Source'Last < Integer'Last;
procedure Run_File (Path : String);
procedure Run_Prompt;
procedure Run (Source : String) is
Token_List : Tokens.Lists.List (100);
Position : Tokens.Lists.Cursor;
begin
Scanners.Scan_Tokens (Source, Token_List);
Position := Tokens.Lists.First (Token_List);
while Tokens.Lists.Has_Element (Token_List, Position) and then
Is_Writable (Standard_Output) and then Status (Standard_Output) = Success loop
Put_Line (Tokens.To_String (Tokens.Lists.Element (Token_List, Position)));
Tokens.Lists.Next (Token_List, Position);
end loop;
end Run;
procedure Run_File (Path : String) is
Source_File : File_Type;
Source : String (1 .. 10_240) := (others => ' ');
Source_Line : String (1 .. 1_024);
Last : Natural;
Position : Natural := 1;
Line_No : Natural := 0;
begin
if Is_Open (Source_File) then
Error_Reporter.Error (Line_No => 1,
Message => "Source file already open");
return;
end if;
if not Is_Open (Source_File) then
Error_Reporter.Error (Line_No => 1,
Message => "Could not open source file");
return;
end if;
Open (The_File => Source_File,
The_Mode => In_File,
The_Name => Path);
while not End_Of_File (Source_File) loop
Get_Line (File => Source_File,
Item => Source_Line,
Last => Last);
if Line_No < Integer'Last then
Line_No := Line_No + 1;
else
Error_Reporter.Error (Line_No => Line_No,
Message => "Too many lines of source code");
return;
end if;
if Position <= Source'Last - Last then
Source (Position .. Position + Last - 1) := Source_Line (1 .. Last);
Source (Position + Last) := Scanners.LF;
Position := Position + Last + 1;
else
Error_Reporter.Error (Line_No => Line_No,
Message => "Source code too large for buffer");
return;
end if;
end loop;
Run (Source (Source'First .. Position - 1));
if Error_Reporter.Had_Error then
Command_Line.Set_Exit_Status (65);
end if;
end Run_File;
procedure Run_Prompt is
Source_Line : String (1 .. 1024);
Last : Natural;
begin
loop
if Status (Standard_Output) /= Success then
Error_Reporter.Error (Line_No => 1,
Message => "Session ended");
return;
end if;
Put ("> ");
Get_Line (Item => Source_Line,
Last => Last);
Run (Source_Line (Source_Line'First .. Last));
Error_Reporter.Clear_Error;
end loop;
end Run_Prompt;
begin
if Argument_Count > 1 then
if Status (Standard_Output) = Success then
Put_Line ("Usage: lox [script]");
end if;
elsif Argument_Count = 1 then
Run_File (Argument (1));
else
Run_Prompt;
end if;
end Lox;
|
libsrc/msx/msx_breakon.asm | andydansby/z88dk-mk2 | 1 | 88392 | ;
; MSX specific routines
; by <NAME>, December 2007
;
; void msx_breakon();
;
; Restore disabled BREAK
;
;
; $Id: msx_breakon.asm,v 1.2 2009/06/22 21:44:17 dom Exp $
;
XLIB msx_breakon
XREF brksave
INCLUDE "msxbasic.def"
msx_breakon:
ld hl,brksave
ld a,(hl)
cp 1
ret nz ; Already enabled ?
; Ok, we have something to restore
ld (BASROM),a
ld a,1 ; update the flag
ld (hl),a
ret
|
programs/oeis/186/A186150.asm | neoneye/loda | 22 | 12199 | <filename>programs/oeis/186/A186150.asm
; A186150: Rank of (1/4)n^3 when {(1/4)i^3: i>=1} and {j^2>: j>=1} are jointly ranked with (1/4)i^3 after j^2 when (1/4)i^3=j^2. Complement of A186151.
; 1,3,5,8,10,13,16,19,22,25,29,32,36,40,44,48,52,56,60,64,69,73,78,82,87,92,97,102,107,112,117,122,127,133,138,144,149,155,160,166,172,178,183,189,195,201,208,214,220,226,233,239,245,252,258,265,272,278,285,292,299,306,313,320,327,334,341,348,355,362,370,377,384,392,399,407,414,422,430,437,445,453,461,468,476,484,492,500,508,516,525,533,541,549,557,566,574,583,591,600
mov $2,$0
add $2,1
mov $8,$0
lpb $2
mov $0,$8
sub $2,1
sub $0,$2
mov $4,$0
mov $5,0
mov $6,2
lpb $6
mov $0,$4
sub $6,1
add $0,$6
max $0,0
seq $0,93 ; a(n) = floor(n^(3/2)).
div $0,2
mov $3,$0
mov $7,$6
mul $7,$0
add $5,$7
lpe
min $4,1
mul $4,$3
mov $3,$5
sub $3,$4
add $3,1
add $1,$3
lpe
mov $0,$1
|
programs/oeis/000/A000142.asm | karttu/loda | 0 | 15905 | <gh_stars>0
; A000142: Factorial numbers: n! = 1*2*3*4*...*n (order of symmetric group S_n, number of permutations of n letters).
; 1,1,2,6,24,120,720,5040,40320,362880,3628800,39916800,479001600,6227020800,87178291200,1307674368000,20922789888000,355687428096000,6402373705728000
mov $1,$0
fac $1
|
tests/typing/good/testfile-case-1.adb | xuedong/mini-ada | 0 | 18589 | with Ada.Text_IO; use Ada.Text_IO;
procedure Test is begin Put('a'); end TEST;
|
src/XenobladeChroniclesX/Mods/BladeTasksAndMissionsOffline/patch_offline_squad.asm | lilystudent2016/cemu_graphic_packs | 1,002 | 99141 | [XCX_SQUADMISSIONS]
moduleMatches = 0xF882D5CF, 0x30B6E091 ; 1.0.1E, 1.0.2U
.origin = codecave
;#################### Activate Squad Tasks
; cfs::CfSocialManager::update((float))
0x022879D0 = nop ; (network test?) allow call to cfs::CfSocialQuestManager::update((void))
; cfs::CfSocialQuestManager::update((void))
0x023AB884 = nop ; 0x6B8(r12) == 0
0x023AB8B4 = nop ; isHost
0x023ABA68 = li r5, 60 ; force 0x24 - UNLOCK
0x023ABC10 = nop ; isHost
0x023A0484 = nop ; isHost
0x023ABCAC = nop ; compare with 0x28 - UNLOCK
0x023ABCB8 = nop ; compare with 0x2C - UNLOCK
;##################### BLADE Home Terminal (for Squad Quest Selection)
; cfs::CfSocialManager::refreshOrderQuestInfo (called when select an entry in the BLADE menu)
0x022C805C = nop ; test réseau : lwz r10, 0x1B0(r30) --> rlwinm. r9, r10, 0,30,30
0x022C8060 = nop ; test réseau
; collectQuestInfoSQ__Q2_3cfs15CfSocialManagerFRQ2_2ml45resvector__tm__28_PQ2_3cfs17CfSocialQuestInfo
0x022C58BC = nop ; rlwinm. r10, r11, 0,29,29
;#################### Change Squad Mission using main menu
VarSquadMission:
.int 0
_iniPtr:
li r5, 0
lis r30, VarSquadMission@ha
stw r5, VarSquadMission@l(r30)
mr r30, r3
blr
; cfs::CfSquadMissionManager::joinMission((cfs::CfSquadTargetCount const &))
0x023B74A0 = bla _iniPtr
; cfs::CfSocialQuestManager::update((void))
0x023ABDF4 = _gotoTimeout:
0x023ABE54 = _gotoNext:
0x023ABDC8 = lis r3, VarSquadMission@ha
0x023ABDCC = lwz r7, VarSquadMission@l(r3)
0x023ABDD0 = cmpwi r7, 1
0x023ABDD4 = beq _gotoTimeout
0x023ABDD8 = b _gotoNext
#################### Force Squad Mission number
.origin = codecave
.int $missionId
_forceMission:
lmw r14, 0x1B8(r1)
li r4, $missionId
cmpwi r4, 0
beqlr
mr r3, r4
blr
0x023AB7C4 = bla _forceMission
#################### Change Squad Mission using main menu
_savePtr:
li r3, 1
lis r30, VarSquadMission@ha
stw r3, VarSquadMission@l(r30)
blr
#####################################################################################################
[XCX_SQUADMISSIONS_1E]
moduleMatches = 0xF882D5CF ; 1.0.1E
; getServerTimeSec__Q2_2nt10CNetLibNexCFRUL
0x0295EA10 = nop
0x0295EA14 = li r0, 42
; menu::MenuSquadMission::process((void))
0x02BFC7C0 = li r11, 1 ; garder affichée la liste des tasks en bas à droite
##################### BLADE Home Terminal (for Squad Quest Selection)
0x02AC5C10 = li r3, 0 ; menu::CTerminalMenu_SquadQuest::offline
#################### Change Squad Mission using main menu
0x02B85134 = bla _savePtr
0x02B8514C = bla _savePtr
0x02B85084 = li r11, 1
0x02B850A8 = li r11, 1
#####################################################################################################
[XCX_SQUADMISSIONS_2U]
moduleMatches = 0x30B6E091 ; 1.0.2U
; getServerTimeSec__Q2_2nt10CNetLibNexCFRUL
0x0295EA00 = nop
0x0295EA04 = li r0, 42
; menu::MenuSquadMission::process((void))
0x02BFC7B0 = li r11, 1
##################### BLADE Home Terminal (for Squad Quest Selection)
0x02AC5C00 = li r3, 0 ; menu::CTerminalMenu_SquadQuest::offline
#################### Change Squad Mission using main menu
0x02B85124 = bla _savePtr
0x02B8513C = bla _savePtr
0x02B85074 = li r11, 1
0x02B85098 = li r11, 1
#####################################################################################################
[XCX_SQUADMISSIONS_1U]
moduleMatches = 0xAB97DE6B ; 1.0.1U
.origin = codecave
0x02287960 = nop ; (network test?) allow call to cfs::CfSocialQuestManager::update((void))
0x023AB814 = nop ; 0x6B8(r12) == 0
0x023AB844 = nop ; isHost
0x023AB9F8 = li r5, 60 ; force 0x24 - UNLOCK
0x023ABBA0 = nop ; isHost
0x023A0414 = nop ; isHost
0x023ABC3C = nop ; compare with 0x28 - UNLOCK
0x023ABC48 = nop ; compare with 0x2C - UNLOCK
0x022C7FEC = nop ; test réseau : lwz r10, 0x1B0(r30) --> rlwinm. r9, r10, 0,30,30
0x022C7FF0 = nop ; test réseau
0x022C584C = nop ; rlwinm. r10, r11, 0,29,29
VarSquadMission:
.int 0
_iniPtr:
li r5, 0
lis r30, VarSquadMission@ha
stw r5, VarSquadMission@l(r30)
mr r30, r3
blr
0x023B7430 = bla _iniPtr
0x023ABD84 = _gotoTimeout:
0x023ABDE4 = _gotoNext:
0x023ABD58 = lis r3, VarSquadMission@ha
0x023ABD5C = lwz r7, VarSquadMission@l(r3)
0x023ABD60 = cmpwi r7, 1
0x023ABD64 = beq _gotoTimeout
0x023ABD68 = b _gotoNext
#################### Force Squad Mission number
.int $missionId
_forceMission:
lmw r14, 0x1B8(r1)
li r4, $missionId
cmpwi r4, 0
beqlr
mr r3, r4
blr
0x023AB754 = bla _forceMission
#################### Change Squad Mission using main menu
_savePtr:
li r3, 1
lis r30, VarSquadMission@ha
stw r3, VarSquadMission@l(r30)
blr
0x0295E984 = nop
0x0295E988 = li r0, 42
0x02BFC6C0 = li r11, 1 ; garder affichée la liste des tasks en bas à droite
0x02AC5B84 = li r3, 0 ; menu::CTerminalMenu_SquadQuest::offline
0x02B850A8 = bla _savePtr
0x02B850C0 = bla _savePtr
0x02B84FF8 = li r11, 1
0x02B8501C = li r11, 1 |
test/Fail/SafeFlagPrimTrustMe.agda | bennn/agda | 0 | 15626 | module SafeFlagPrimTrustMe where
open import Agda.Builtin.Equality
open import Agda.Builtin.TrustMe
|
main.adb | MicroJoe/cellular | 0 | 932 | with Ada.Text_IO; use Ada.Text_IO;
with Ada.Command_Line; use Ada.Command_Line;
with Cellular; use Cellular;
procedure Main is
Width, Number : Natural;
begin
if Argument_Count < 2 then
Put("usage: cellular <width> <lines>");
return;
end if;
Width := Natural'Value(Argument(1));
Number := Natural'Value(Argument(2));
declare
Current : Cellular.CellularArray (Integer range 1..Width);
begin
Generate(Current);
Cellular.Put(Current);
New_Line;
for I in 1..Number loop
Current := Cellular.NextArray(Current);
Cellular.Put(Current);
New_Line;
end loop;
end;
end Main;
|
programs/oeis/066/A066430.asm | neoneye/loda | 22 | 20834 | ; A066430: a(n) = 8^n mod n^8.
; 0,64,512,4096,32768,262144,2097152,0,5077565,73741824,15579352,352387072,769038655,195124224,1009588832,0,4384458125,2836131328,9009163584,7006846976,33653509289,41376995328,17808619293,26138902528,11605068943,200037316608,161669290688,88607293440,486559764369,544999124224,436466053263,0,52045701659,1404419065600,1164501790782,2066007457792,3252903971284,1367030270464,599980882454,3361080344576,7941364907049,9137365836544,11181800552596,7556609802240,16197197081993,9906838492160,21714199420632,9113920602112,20361229743807,2948882746624,44634261200264,43885399638016,38711549986886,8574714189568,37234025359607,9426731794432,74308575699314,76897867678464,6647131210748,843783602176,142182083613538,194175475523840,198860098198805,0,260135381571918,55935095428864,283256545776694,368282905935872,395386446349232,261133948609024,18867576346967,305840728834048,747208653668853,875343835333120,912982366982807,260536059691008,159939412056250,1363785148020736,547333541411434,184172492619776,1529778475787102,822103511722752,1282920002567321,1781899750604800,219654778882468,135486659009536,2276087601095963,1749653410283520,1289152291134559,1348781220711424,1351937342854610,4223009120190464,4676471670524732,2831996936348672,6329434511785382,3972535511154688,1813802262379707,2700354312924416,7368659772738128,3336706183397376
add $0,1
mov $2,8
mov $3,$0
pow $0,8
pow $2,$3
mod $2,$0
mov $0,$2
|
Transynther/x86/_processed/NONE/_st_/i7-8650U_0xd2.log_99_1298.asm | ljhsiun2/medusa | 9 | 96432 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r13
push %r14
push %r8
push %rdx
lea addresses_A_ht+0x12b39, %r14
clflush (%r14)
nop
nop
nop
nop
nop
cmp %r8, %r8
mov (%r14), %r13
xor $32917, %rdx
lea addresses_WC_ht+0x19b49, %rdx
nop
nop
nop
nop
add $5283, %r10
mov $0x6162636465666768, %r11
movq %r11, %xmm1
movups %xmm1, (%rdx)
nop
nop
nop
add $53748, %r10
lea addresses_A_ht+0x1d7c9, %rdx
clflush (%rdx)
add %r11, %r11
mov (%rdx), %r8
nop
nop
nop
nop
and %rdx, %rdx
pop %rdx
pop %r8
pop %r14
pop %r13
pop %r11
pop %r10
ret
.global s_faulty_load
s_faulty_load:
push %r10
push %r11
push %r13
push %r15
push %rax
push %rcx
// Store
mov $0x709, %r10
nop
nop
nop
xor %r11, %r11
movw $0x5152, (%r10)
nop
nop
nop
nop
cmp %r11, %r11
// Store
lea addresses_D+0x1fdc9, %r13
nop
xor %r10, %r10
mov $0x5152535455565758, %rax
movq %rax, (%r13)
nop
nop
nop
nop
nop
dec %rax
// Faulty Load
lea addresses_WC+0x15dc9, %rax
nop
cmp $4882, %r13
mov (%rax), %r15w
lea oracles, %rcx
and $0xff, %r15
shlq $12, %r15
mov (%rcx,%r15,1), %r15
pop %rcx
pop %rax
pop %r15
pop %r13
pop %r11
pop %r10
ret
/*
<gen_faulty_load>
[REF]
{'OP': 'LOAD', 'src': {'type': 'addresses_WC', 'size': 16, 'AVXalign': False, 'NT': False, 'congruent': 0, 'same': False}}
{'OP': 'STOR', 'dst': {'type': 'addresses_P', 'size': 2, 'AVXalign': False, 'NT': False, 'congruent': 5, 'same': False}}
{'OP': 'STOR', 'dst': {'type': 'addresses_D', 'size': 8, 'AVXalign': False, 'NT': False, 'congruent': 9, 'same': False}}
[Faulty Load]
{'OP': 'LOAD', 'src': {'type': 'addresses_WC', 'size': 2, 'AVXalign': False, 'NT': False, 'congruent': 0, 'same': True}}
<gen_prepare_buffer>
{'OP': 'LOAD', 'src': {'type': 'addresses_A_ht', 'size': 8, 'AVXalign': False, 'NT': False, 'congruent': 4, 'same': False}}
{'OP': 'STOR', 'dst': {'type': 'addresses_WC_ht', 'size': 16, 'AVXalign': False, 'NT': False, 'congruent': 6, 'same': False}}
{'OP': 'LOAD', 'src': {'type': 'addresses_A_ht', 'size': 8, 'AVXalign': False, 'NT': False, 'congruent': 7, 'same': False}}
{'58': 99}
58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58
*/
|
data/mapObjects/ssanne6.asm | adhi-thirumala/EvoYellow | 16 | 825 | SSAnne6Object:
db $c ; border block
db $1 ; warps
db $0, $6, $a, SS_ANNE_1
db $0 ; signs
db $7 ; objects
object SPRITE_COOK, $1, $8, WALK, $1, $1 ; person
object SPRITE_COOK, $5, $8, WALK, $1, $2 ; person
object SPRITE_COOK, $9, $7, WALK, $1, $3 ; person
object SPRITE_COOK, $d, $6, STAY, NONE, $4 ; person
object SPRITE_COOK, $d, $8, STAY, NONE, $5 ; person
object SPRITE_COOK, $d, $a, STAY, NONE, $6 ; person
object SPRITE_COOK, $b, $d, STAY, UP, $7 ; person
; warp-to
EVENT_DISP SS_ANNE_6_WIDTH, $0, $6 ; SS_ANNE_1
|
oeis/267/A267134.asm | neoneye/loda-programs | 11 | 14828 | ; A267134: a(n) = n minus the number of primes of form 6m + 1 that are less than n-th prime of form 6m - 1.
; Submitted by <NAME>
; 1,1,1,1,2,1,1,2,3,2,1,2,2,2,2,2,3,3,1,2,3,3,3,1,1,2,2,3,4,5,4,4,4,4,3,3,4,2,3,3,3,3,2,3,3,3,4,4,4,5,6,4,5,6,5,6,7,5,4,4,5,6,5,6,6,6,4,3,3,3,4,4,4,4,4,4,4,4,4,4,4,5,6,6,7,8,6,7,7,6,6,4,4,5,6,4,4,4,5,6
add $0,1
mov $2,$0
seq $0,138969 ; Positions of the primes congruent to 2 mod 3 when all primes except 3 are listed in order.
mul $2,2
sub $2,$0
mov $0,$2
add $0,1
|
ada/gui/agar-mouse.adb | auzkok/libagar | 286 | 25317 | <filename>ada/gui/agar-mouse.adb
------------------------------------------------------------------------------
-- AGAR GUI LIBRARY --
-- A G A R . M O U S E --
-- B o d y --
-- --
-- Copyright (c) 2019 <NAME> (<EMAIL>) --
-- --
-- Permission to use, copy, modify, and/or distribute this software for any --
-- purpose with or without fee is hereby granted, provided that the above --
-- copyright notice and this permission notice appear in all copies. --
-- --
-- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES --
-- WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF --
-- MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR --
-- ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES --
-- WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN --
-- ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF --
-- OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. --
------------------------------------------------------------------------------
package body Agar.Mouse is
--
-- Return the current cursor position and button state.
--
procedure Get_Mouse_State
(Mouse : in Mouse_Device_not_null_Access;
Buttons : out Interfaces.Unsigned_8;
X,Y : out Natural)
is
St_X, St_Y : aliased C.int;
begin
Buttons := AG_MouseGetState
(Mouse => Mouse,
X => St_X'Access,
Y => St_Y'Access);
X := Natural(St_X);
Y := Natural(St_Y);
end;
--
-- Update the internal mouse state following a motion event.
--
procedure Mouse_Motion_Update
(Mouse : in Mouse_Device_not_null_Access;
X,Y : in Natural) is
begin
AG_MouseMotionUpdate
(Mouse => Mouse,
X => C.int(X),
Y => C.int(Y));
end;
--
-- Update the internal mouse state following a mouse button event.
--
procedure Mouse_Button_Update
(Mouse : in Mouse_Device_not_null_Access;
Action : in Mouse_Button_Action;
Button : in Mouse_Button) is
begin
AG_MouseButtonUpdate
(Mouse => Mouse,
Action => Action,
Button => Mouse_Button'Pos(Button));
end;
end Agar.Mouse;
|
oeis/217/A217730.asm | neoneye/loda-programs | 11 | 14198 | ; A217730: Expansion of (1+2*x-x^3)/(1-4*x^2+2*x^4).
; Submitted by <NAME>
; 1,2,4,7,14,24,48,82,164,280,560,956,1912,3264,6528,11144,22288,38048,76096,129904,259808,443520,887040,1514272,3028544,5170048,10340096,17651648,35303296,60266496,120532992,205762688,411525376,702517760,1405035520,2398545664,4797091328,8189147136,16378294272,27959497216
mov $1,1
mov $2,1
lpb $0
sub $0,2
mul $1,2
add $1,$2
add $2,$1
lpe
lpb $0
div $0,4
add $2,$1
lpe
mov $0,$2
|
Transynther/x86/_processed/US/_zr_/i9-9900K_12_0xa0.log_21829_1772.asm | ljhsiun2/medusa | 9 | 17208 | .global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r13
push %r9
push %rbp
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_normal_ht+0x13920, %rsi
lea addresses_UC_ht+0x3920, %rdi
clflush (%rsi)
nop
nop
nop
nop
sub $27510, %r9
mov $68, %rcx
rep movsw
nop
sub $61639, %rbx
lea addresses_normal_ht+0xbda0, %r11
nop
nop
nop
add $5273, %r13
mov (%r11), %rcx
nop
nop
nop
nop
nop
and $7619, %rdi
lea addresses_A_ht+0x1c040, %rbx
nop
xor %rdi, %rdi
mov (%rbx), %r11
nop
nop
nop
nop
nop
xor $31869, %r11
lea addresses_normal_ht+0x64a0, %rcx
nop
dec %rsi
movb $0x61, (%rcx)
nop
nop
dec %rdi
lea addresses_D_ht+0x1d20, %rbx
clflush (%rbx)
sub %rdi, %rdi
movb (%rbx), %r11b
nop
nop
nop
nop
nop
and $24246, %r13
lea addresses_UC_ht+0xe920, %rsi
lea addresses_WT_ht+0x165e4, %rdi
nop
nop
cmp $30639, %rbp
mov $29, %rcx
rep movsb
and %r13, %r13
lea addresses_A_ht+0x16120, %rsi
lea addresses_UC_ht+0xbb3, %rdi
nop
nop
add %r13, %r13
mov $1, %rcx
rep movsb
nop
nop
nop
nop
cmp %rcx, %rcx
lea addresses_A_ht+0x4534, %r11
nop
nop
nop
nop
nop
xor %r9, %r9
movb (%r11), %bl
nop
nop
nop
nop
nop
inc %rcx
lea addresses_A_ht+0x5d20, %rsi
lea addresses_WC_ht+0x1ef8, %rdi
clflush (%rdi)
nop
nop
nop
sub %r13, %r13
mov $18, %rcx
rep movsl
nop
xor %rcx, %rcx
lea addresses_A_ht+0x1ed20, %rsi
lea addresses_D_ht+0x1c720, %rdi
nop
nop
nop
cmp $49040, %r13
mov $100, %rcx
rep movsq
nop
nop
nop
nop
nop
and %rbp, %rbp
lea addresses_WC_ht+0x1c960, %rdi
nop
nop
xor $41611, %rsi
movb $0x61, (%rdi)
nop
nop
and %rbp, %rbp
lea addresses_WC_ht+0x1ea5b, %rsi
lea addresses_D_ht+0x1800c, %rdi
nop
sub $57631, %rbx
mov $47, %rcx
rep movsw
nop
nop
nop
nop
nop
and %rbx, %rbx
lea addresses_WT_ht+0x1ee34, %rsi
lea addresses_UC_ht+0x1d1a0, %rdi
and $61601, %r13
mov $86, %rcx
rep movsb
nop
nop
sub $63066, %r9
lea addresses_D_ht+0x12520, %rdi
nop
nop
nop
nop
nop
xor %r9, %r9
vmovups (%rdi), %ymm5
vextracti128 $0, %ymm5, %xmm5
vpextrq $1, %xmm5, %r13
nop
nop
nop
nop
nop
sub %rbx, %rbx
pop %rsi
pop %rdi
pop %rcx
pop %rbx
pop %rbp
pop %r9
pop %r13
pop %r11
ret
.global s_faulty_load
s_faulty_load:
push %r12
push %r13
push %r15
push %rax
push %rcx
// Faulty Load
lea addresses_US+0x4920, %rcx
xor $38730, %rax
mov (%rcx), %r12
lea oracles, %r13
and $0xff, %r12
shlq $12, %r12
mov (%r13,%r12,1), %r12
pop %rcx
pop %rax
pop %r15
pop %r13
pop %r12
ret
/*
<gen_faulty_load>
[REF]
{'src': {'NT': False, 'same': False, 'congruent': 0, 'type': 'addresses_US', 'AVXalign': False, 'size': 8}, 'OP': 'LOAD'}
[Faulty Load]
{'src': {'NT': False, 'same': True, 'congruent': 0, 'type': 'addresses_US', 'AVXalign': False, 'size': 8}, 'OP': 'LOAD'}
<gen_prepare_buffer>
{'src': {'same': True, 'congruent': 10, 'type': 'addresses_normal_ht'}, 'OP': 'REPM', 'dst': {'same': False, 'congruent': 11, 'type': 'addresses_UC_ht'}}
{'src': {'NT': False, 'same': True, 'congruent': 7, 'type': 'addresses_normal_ht', 'AVXalign': True, 'size': 8}, 'OP': 'LOAD'}
{'src': {'NT': False, 'same': True, 'congruent': 1, 'type': 'addresses_A_ht', 'AVXalign': False, 'size': 8}, 'OP': 'LOAD'}
{'OP': 'STOR', 'dst': {'NT': False, 'same': False, 'congruent': 5, 'type': 'addresses_normal_ht', 'AVXalign': False, 'size': 1}}
{'src': {'NT': False, 'same': False, 'congruent': 10, 'type': 'addresses_D_ht', 'AVXalign': False, 'size': 1}, 'OP': 'LOAD'}
{'src': {'same': False, 'congruent': 11, 'type': 'addresses_UC_ht'}, 'OP': 'REPM', 'dst': {'same': False, 'congruent': 1, 'type': 'addresses_WT_ht'}}
{'src': {'same': False, 'congruent': 9, 'type': 'addresses_A_ht'}, 'OP': 'REPM', 'dst': {'same': False, 'congruent': 0, 'type': 'addresses_UC_ht'}}
{'src': {'NT': False, 'same': True, 'congruent': 2, 'type': 'addresses_A_ht', 'AVXalign': False, 'size': 1}, 'OP': 'LOAD'}
{'src': {'same': False, 'congruent': 10, 'type': 'addresses_A_ht'}, 'OP': 'REPM', 'dst': {'same': False, 'congruent': 3, 'type': 'addresses_WC_ht'}}
{'src': {'same': False, 'congruent': 8, 'type': 'addresses_A_ht'}, 'OP': 'REPM', 'dst': {'same': False, 'congruent': 8, 'type': 'addresses_D_ht'}}
{'OP': 'STOR', 'dst': {'NT': True, 'same': False, 'congruent': 6, 'type': 'addresses_WC_ht', 'AVXalign': False, 'size': 1}}
{'src': {'same': False, 'congruent': 0, 'type': 'addresses_WC_ht'}, 'OP': 'REPM', 'dst': {'same': False, 'congruent': 2, 'type': 'addresses_D_ht'}}
{'src': {'same': False, 'congruent': 2, 'type': 'addresses_WT_ht'}, 'OP': 'REPM', 'dst': {'same': False, 'congruent': 6, 'type': 'addresses_UC_ht'}}
{'src': {'NT': False, 'same': False, 'congruent': 8, 'type': 'addresses_D_ht', 'AVXalign': False, 'size': 32}, 'OP': 'LOAD'}
{'00': 21829}
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
*/
|
Task/Narcissistic-decimal-number/AppleScript/narcissistic-decimal-number-2.applescript | LaudateCorpus1/RosettaCodeData | 1 | 3194 | <reponame>LaudateCorpus1/RosettaCodeData<filename>Task/Narcissistic-decimal-number/AppleScript/narcissistic-decimal-number-2.applescript
{0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 153, 370, 371, 407, 1634, 8208, 9474, 54748, 92727, 93084, 548834, 1741725, 4210818, 9800817, 9926315}
|
src/sdl-rwops-streams.adb | Fabien-Chouteau/sdlada | 89 | 26126 | <filename>src/sdl-rwops-streams.adb
--------------------------------------------------------------------------------------------------------------------
-- Copyright (c) 2013-2020, <NAME>
--
-- This software is provided 'as-is', without any express or implied
-- warranty. In no event will the authors be held liable for any damages
-- arising from the use of this software.
--
-- Permission is granted to anyone to use this software for any purpose,
-- including commercial applications, and to alter it and redistribute it
-- freely, subject to the following restrictions:
--
-- 1. The origin of this software must not be misrepresented; you must not
-- claim that you wrote the original software. If you use this software
-- in a product, an acknowledgment in the product documentation would be
-- appreciated but is not required.
--
-- 2. Altered source versions must be plainly marked as such, and must not be
-- misrepresented as being the original software.
--
-- 3. This notice may not be removed or altered from any source
-- distribution.
--------------------------------------------------------------------------------------------------------------------
with SDL.Error;
package body SDL.RWops.Streams is
use type Interfaces.C.unsigned_long;
function Open (Op : in RWops) return RWops_Stream is
begin
return (Ada.Streams.Root_Stream_Type with Context => Op);
end Open;
procedure Open (Op : in RWops; Stream : out RWops_Stream) is
begin
Stream.Context := Op;
end Open;
procedure Close (Stream : in RWops_Stream) is
begin
Close (Stream.Context);
end Close;
overriding
procedure Read (Stream : in out RWops_Stream;
Item : out Ada.Streams.Stream_Element_Array;
Last : out Ada.Streams.Stream_Element_Offset)
is
Objects_Read : Interfaces.C.unsigned_long := 0;
begin
-- Re-implemented c-macro:
-- #define SDL_RWread(ctx, ptr, size, n) (ctx)->read(ctx, ptr, size, n)
-- Read : access function
-- (context : RWops_Pointer;
-- ptr : System.Address;
-- size : Interfaces.C.unsigned_long;
-- maxnum : Interfaces.C.unsigned_long) return Interfaces.C.unsigned_long;
Objects_Read := Stream.Context.Read
(Context => RWops_Pointer (Stream.Context),
Ptr => Item'Address,
Size => Item'Length,
Max_Num => 1);
if Objects_Read = 0 then
raise RWops_Error with SDL.Error.Get;
end if;
Last := Item'Length;
end Read;
overriding
procedure Write (Stream : in out RWops_Stream; Item : Ada.Streams.Stream_Element_Array)
is
Objects_Written : Interfaces.C.unsigned_long := 0;
begin
-- Re-implemented c-macro:
-- #define SDL_RWwrite(ctx, ptr, size, n) (ctx)->write(ctx, ptr, size, n)
-- Write : access function
-- (Context : RWops_Pointer;
-- Ptr : System.Address;
-- Size : Interfaces.C.unsigned_long;
-- Num : Interfaces.C.unsigned_long) return Interfaces.C.unsigned_long;
Objects_Written := Stream.Context.Write
(Context => RWops_Pointer (Stream.Context),
Ptr => Item'Address,
Size => Item'Length,
Num => 1);
if Objects_Written = 0 then
raise RWops_Error with SDL.Error.Get;
end if;
end Write;
end SDL.RWops.Streams;
|
os/ports.asm | ceharris/sbz80 | 0 | 242896 | ;--------------------------------------------------------------
; I/O port definitions
;--------------------------------------------------------------
mode_port .equ $00
gpio_port .equ $10
adc0_base .equ $a0
pio1_base .equ $b0
sio0_base .equ $c0
pio0_base .equ $d0
ctc0_base .equ $e0
spi_addr_port .equ $f0
|
port1_isr.asm | spqr/umichmoo | 7 | 173998 | <reponame>spqr/umichmoo
///////////////////////////////////////////////////////////////////////////////
// /
// IAR C/C++ Compiler V5.10.6.50180/W32 for MSP430 03/Aug/2012 15:07:53 /
// Copyright 1996-2010 IAR Systems AB. /
// /
// __rt_version = 3 /
// __double_size = 32 /
// __reg_r4 = regvar /
// __reg_r5 = regvar /
// __pic = no /
// __core = 430X /
// __data_model = small /
// Source file = C:\Documents and Settings\Addison /
// Mayberry\Desktop\moofirmwaredev\build_port1_isr.c /
// Command line = "C:\Documents and Settings\Addison /
// Mayberry\Desktop\moofirmwaredev\build_port1_isr.c" /
// -lcN "C:\Documents and Settings\Addison /
// Mayberry\Desktop\moofirmwaredev\Debug\List\" -la /
// "C:\Documents and Settings\Addison /
// Mayberry\Desktop\moofirmwaredev\Debug\List\" -o /
// "C:\Documents and Settings\Addison /
// Mayberry\Desktop\moofirmwaredev\Debug\Obj\" --no_cse /
// --no_unroll --no_inline --no_code_motion --no_tbaa /
// --debug -D__MSP430F2618__ -e --double=32 /
// --dlib_config "C:\Program Files\IAR Systems\Embedded /
// Workbench 6.0\430\LIB\DLIB\dl430xsfn.h" --regvar_r4 /
// --regvar_r5 --core=430X --data_model=small -Ol /
// --multiplier=16s /
// List file = C:\Documents and Settings\Addison /
// Mayberry\Desktop\moofirmwaredev\Debug\List\build_port1 /
// _isr.s43 /
// /
// /
///////////////////////////////////////////////////////////////////////////////
NAME port1_isr
RTMODEL "__SystemLibrary", "DLib"
RTMODEL "__core", "430X"
RTMODEL "__data_model", "small"
RTMODEL "__double_size", "32"
RTMODEL "__pic", "no"
RTMODEL "__reg_r4", "regvar"
RTMODEL "__reg_r5", "regvar"
RTMODEL "__rt_version", "3"
RSEG CSTACK:DATA:SORT:NOROOT(0)
PUBWEAK `??Port1_ISR??INTVEC 36`
PUBWEAK P1IE
PUBWEAK P1IES
PUBWEAK P1IFG
PUBWEAK P1SEL
PUBLIC Port1_ISR
FUNCTION Port1_ISR,080233H
ARGFRAME CSTACK, 0, STACK
LOCFRAME CSTACK, 4, STACK
PUBWEAK TACCTL1
PUBWEAK TAR
PUBLIC port1_isr_decls
FUNCTION port1_isr_decls,0201H
ARGFRAME CSTACK, 0, STACK
LOCFRAME CSTACK, 4, STACK
CFI Names cfiNames0
CFI StackFrame CFA SP DATA
CFI Resource PC:20, SP:20, SR:16, R4L:16, R4H:4, R4:20, R5L:16, R5H:4
CFI Resource R5:20, R6L:16, R6H:4, R6:20, R7L:16, R7H:4, R7:20, R8L:16
CFI Resource R8H:4, R8:20, R9L:16, R9H:4, R9:20, R10L:16, R10H:4
CFI Resource R10:20, R11L:16, R11H:4, R11:20, R12L:16, R12H:4, R12:20
CFI Resource R13L:16, R13H:4, R13:20, R14L:16, R14H:4, R14:20, R15L:16
CFI Resource R15H:4, R15:20
CFI ResourceParts R4 R4H, R4L
CFI ResourceParts R5 R5H, R5L
CFI ResourceParts R6 R6H, R6L
CFI ResourceParts R7 R7H, R7L
CFI ResourceParts R8 R8H, R8L
CFI ResourceParts R9 R9H, R9L
CFI ResourceParts R10 R10H, R10L
CFI ResourceParts R11 R11H, R11L
CFI ResourceParts R12 R12H, R12L
CFI ResourceParts R13 R13H, R13L
CFI ResourceParts R14 R14H, R14L
CFI ResourceParts R15 R15H, R15L
CFI EndNames cfiNames0
CFI Common cfiCommon0 Using cfiNames0
CFI CodeAlign 2
CFI DataAlign 2
CFI ReturnAddress PC CODE
CFI CFA SP+4
CFI PC Frame(CFA, -4)
CFI SR Undefined
CFI R4L SameValue
CFI R4H 0
CFI R4 Concat
CFI R5L SameValue
CFI R5H 0
CFI R5 Concat
CFI R6L SameValue
CFI R6H 0
CFI R6 Concat
CFI R7L SameValue
CFI R7H 0
CFI R7 Concat
CFI R8L SameValue
CFI R8H 0
CFI R8 Concat
CFI R9L SameValue
CFI R9H 0
CFI R9 Concat
CFI R10L SameValue
CFI R10H 0
CFI R10 Concat
CFI R11L SameValue
CFI R11H 0
CFI R11 Concat
CFI R12L Undefined
CFI R12H Undefined
CFI R12 Undefined
CFI R13L Undefined
CFI R13H Undefined
CFI R13 Undefined
CFI R14L Undefined
CFI R14H Undefined
CFI R14 Undefined
CFI R15L Undefined
CFI R15H Undefined
CFI R15 Undefined
CFI EndCommon cfiCommon0
CFI Common cfiCommon1 Using cfiNames0
CFI CodeAlign 2
CFI DataAlign 2
CFI ReturnAddress PC CODE
CFI CFA SP+4
CFI PC or(add(CFA, literal(-4)), lshift(add(CFA, literal(-2)), 4))
CFI SR Frame(CFA, -4)
CFI R4L SameValue
CFI R4H 0
CFI R4 Concat
CFI R5L SameValue
CFI R5H 0
CFI R5 Concat
CFI R6L SameValue
CFI R6H 0
CFI R6 Concat
CFI R7L SameValue
CFI R7H 0
CFI R7 Concat
CFI R8L SameValue
CFI R8H 0
CFI R8 Concat
CFI R9L SameValue
CFI R9H 0
CFI R9 Concat
CFI R10L SameValue
CFI R10H 0
CFI R10 Concat
CFI R11L SameValue
CFI R11H 0
CFI R11 Concat
CFI R12L SameValue
CFI R12H 0
CFI R12 Concat
CFI R13L SameValue
CFI R13H 0
CFI R13 Concat
CFI R14L SameValue
CFI R14H 0
CFI R14 Concat
CFI R15L SameValue
CFI R15H 0
CFI R15 Concat
CFI EndCommon cfiCommon1
Port1_ISR SYMBOL "Port1_ISR"
`??Port1_ISR??INTVEC 36` SYMBOL "??INTVEC 36", Port1_ISR
EXTERN delimiterNotFound
ASEGN DATA16_AN:DATA:NOROOT,023H
// unsigned char volatile P1IFG
P1IFG:
DS8 1
ASEGN DATA16_AN:DATA:NOROOT,024H
// unsigned char volatile P1IES
P1IES:
DS8 1
ASEGN DATA16_AN:DATA:NOROOT,025H
// unsigned char volatile P1IE
P1IE:
DS8 1
ASEGN DATA16_AN:DATA:NOROOT,026H
// unsigned char volatile P1SEL
P1SEL:
DS8 1
ASEGN DATA16_AN:DATA:NOROOT,0164H
// unsigned short volatile TACCTL1
TACCTL1:
DS8 2
ASEGN DATA16_AN:DATA:NOROOT,0170H
// unsigned short volatile TAR
TAR:
DS8 2
// This is needed to make the inline assembly compile properly w/ these symbols
RSEG CODE:CODE:REORDER:NOROOT(1)
port1_isr_decls:
CFI Block cfiBlock0 Using cfiCommon0
CFI Function port1_isr_decls
MOV.B &0x25, R14
MOV.W &0x164, R15
MOV.B &0x26, R13
MOV.B &0x24, R12
RETA
CFI EndBlock cfiBlock0
REQUIRE P1IE
REQUIRE TACCTL1
REQUIRE P1SEL
REQUIRE P1IES
//*************************************************************************
//************************ PORT 1 INTERRUPT *******************************
// warning : Whenever the clock frequency changes, the value of TAR should be
// changed in aesterick lines
// Pin Setup : P1.2
// Description : Port 1 interrupt is used as finding delimeter.
RSEG ISR_CODE:CODE:REORDER:NOROOT(1)
Port1_ISR:
CFI Block cfiBlock1 Using cfiCommon1
CFI Function Port1_ISR // (5-6 cycles) to enter interrupt
MOV TAR, R7 // move TAR to R7(count) register (3 CYCLES)
MOV.B #0x0, &0x23 // 4 cycles, clear P1IFG
MOV.W #0x0, &0x170 // 4 cycles, TAR = 0
BIC.W #0xf0, 0(SP) // Change status register so we leave low
// power mode 4 when exit interrupt
CMP #0000h, R5 // if (bits == 0) (1 cycle)
JEQ bit_Is_Zero_In_Port_Int // 2 cycles
// bits != 0:
MOV #0000h, R5 // bits = 0 (1 cycles)
CMP #0010h, R7 // finding delimeter (12.5us, 2 cycles)
// 2d -> 14
JNC delimiter_Value_Is_wrong //(2 cycles)
CMP #0040h, R7 // finding delimeter (12.5us, 2 cycles)
// 43H
JC delimiter_Value_Is_wrong
CLR P1IE
BIS #8010h, TACCTL1 // (5 cycles) TACCTL1 |= CM1 + CCIE
MOV #0004h, P1SEL // enable TimerA1 (4 cycles)
RETI
delimiter_Value_Is_wrong:
BIC #0004h, P1IES
MOV #0000h, R5 // bits = 0 (1 cycles)
MOV.B #0x1, &delimiterNotFound
RETI
bit_Is_Zero_In_Port_Int: // bits == 0
MOV #0000h, TAR // reset timer (4 cycles)
BIS #0004h, P1IES // 4 cycles change port interrupt edge to neg
INC R5 // 1 cycle
RETI
CFI EndBlock cfiBlock1
REQUIRE P1IFG
REQUIRE TAR
COMMON INTVEC:CONST:ROOT(1)
ORG 36
`??Port1_ISR??INTVEC 36`:
DC16 Port1_ISR
END
//
// 18 bytes in segment CODE
// 8 bytes in segment DATA16_AN
// 2 bytes in segment INTVEC
// 78 bytes in segment ISR_CODE
//
// 96 bytes of CODE memory
// 0 bytes of CONST memory (+ 2 bytes shared)
// 0 bytes of DATA memory (+ 8 bytes shared)
//
//Errors: none
//Warnings: none
|
programs/oeis/244/A244989.asm | neoneye/loda | 22 | 164926 | <reponame>neoneye/loda
; A244989: Partial sums of A244992: a(1) = 0, and for n >= 1, a(n) = A244992(n) + a(n-1); Inverse function for A244991.
; 0,1,1,2,3,3,3,4,4,5,6,6,6,6,7,8,9,9,9,10,10,11,12,12,13,13,13,13,13,14,15,16,17,18,18,18,18,18,18,19,20,20,20,21,22,23,24,24,24,25,26,26,26,26,27,27,27,27,28,29,29,30,30,31,31,32,33,34,35,35,35,35,36,36,37,37,38,38,38,39,39,40,41,41,42,42,42,43,43,44,44,45,46,47,47,47,48,48,49,50
lpb $0
mov $2,$0
sub $0,1
seq $2,244992 ; Characteristic function for A244991: a(n) = A000035(A061395(n)).
add $1,$2
lpe
mov $0,$1
|
src/ggt/Theory.agda | zampino/ggt | 2 | 8097 | <filename>src/ggt/Theory.agda
open import GGT
-- Throughout the following assume A is a (right) Action
module GGT.Theory
{a b ℓ₁ ℓ₂}
(A : Action a b ℓ₁ ℓ₂)
where
open import Level
open import Relation.Unary hiding (_\\_; _⇒_)
open import Relation.Binary
open import Algebra
open import Data.Product
open Action A renaming (setoid to Ω')
open import Relation.Binary.Reasoning.MultiSetoid
-- open import Relation.Binary.Reasoning.Setoid Ω' would be enough
open Group G renaming (setoid to S)
open import GGT.Group.Structures {a} {ℓ₂} {ℓ₁}
open import GGT.Group.Bundles {a} {ℓ₂} {ℓ₁}
open import Function.Bundles
open import Function.Base using (_on_)
orbitalEq : IsEquivalence _ω_
orbitalEq = record { refl = r ;
sym = s ;
trans = t } where
open Setoid Ω' renaming (sym to σ)
r : Reflexive _ω_
r {o} = ε , actId o
s : Symmetric _ω_
s {x} {y} ( g , x·g≡y ) = (g ⁻¹ , y·g⁻¹≡x) where
y·g⁻¹≡x = σ x≡y·g⁻¹ where
x≡y·g⁻¹ = begin⟨ Ω' ⟩
x ≈˘⟨ actId x ⟩
x · ε ≈˘⟨ G-ext (inverseʳ _) ⟩
x · (g ∙ g ⁻¹) ≈⟨ actAssoc _ _ _ ⟩
x · g · g ⁻¹ ≈⟨ ·-cong (g ⁻¹) x·g≡y ⟩
y · g ⁻¹ ∎
t : Transitive _ω_
t {x} {y} {z} ( g , x·g≡y ) ( h , y·h≡z ) = ( g ∙ h , x·gh≡z ) where
x·gh≡z : _
x·gh≡z = begin⟨ Ω' ⟩
x · (g ∙ h) ≈⟨ actAssoc _ _ _ ⟩
x · g · h ≈⟨ ·-cong _ x·g≡y ⟩
y · h ≈⟨ y·h≡z ⟩
z ∎
ω≤≋ : _≋_ ⇒ _ω_
ω≤≋ {o} {o'} o≋o' = (ε , oε≋o' ) where
oε≋o' = begin⟨ Ω' ⟩
o · ε ≈⟨ actId o ⟩
o ≈⟨ o≋o' ⟩
o' ∎
stabIsSubGroup : ∀ (o : Ω) → (stab o) ≤ G
stabIsSubGroup o = record { ε∈ = actId o ;
∙-⁻¹-closed = itis ;
r = resp } where
itis = λ {x} {y} px py → begin⟨ Ω' ⟩
(o · (x - y)) ≡⟨⟩
o · x ∙ (y ⁻¹) ≈⟨ actAssoc o x (y ⁻¹) ⟩
o · x · y ⁻¹ ≈⟨ ·-cong (y ⁻¹) px ⟩
o · y ⁻¹ ≈˘⟨ ·-cong (y ⁻¹) py ⟩
o · y · y ⁻¹ ≈˘⟨ actAssoc o y (y ⁻¹) ⟩
o · (y ∙ y ⁻¹) ≈⟨ G-ext (inverseʳ y) ⟩
o · ε ≈⟨ actId o ⟩
o ∎
resp : ∀ {x y : Carrier} → x ≈ y → ((stab o) x) → ((stab o) y)
resp {x} {y} x~y xfixeso = begin⟨ Ω' ⟩
o · y ≈˘⟨ G-ext x~y ⟩
o · x ≈⟨ xfixeso ⟩
o ∎
Stab : Ω → SubGroup G
Stab o = record { P = stab o;
isSubGroup = stabIsSubGroup o}
orbitalCorr : {o : Ω} → Bijection (Stab o \\ G) (Orbit o)
orbitalCorr {o} = record { f = f ;
cong = cc ;
bijective = inj ,′ surj } where
open Setoid (Stab o \\ G) renaming (_≈_ to _≈₁_; Carrier to G')
open Setoid (Orbit o) renaming (_≈_ to _≈₂_)
open Setoid S renaming (refl to r)
f : G' → Σ Ω (o ·G)
f x = (o · x , ( x , G-ext r))
cc : f Preserves _≈₁_ ⟶ _≈₂_
cc {g} {h} g≈₁h = begin⟨ Ω' ⟩ -- f h ≈₂ f g
o · g ≈˘⟨ actId (o · g) ⟩
o · g · ε ≈˘⟨ G-ext (inverseˡ h) ⟩
o · g · (h ⁻¹ ∙ h ) ≈˘⟨ actAssoc o g (h ⁻¹ ∙ h ) ⟩
o · (g ∙ (h ⁻¹ ∙ h )) ≈˘⟨ G-ext (assoc _ _ _) ⟩
o · ((g ∙ h ⁻¹) ∙ h ) ≈⟨ actAssoc _ _ h ⟩
o · (g ∙ h ⁻¹) · h ≈⟨ ·-cong h g≈₁h ⟩
-- g≈₁h ⇒ P (g ∙ h ⁻¹) ⇒ (g ∙ h ⁻¹) ∈ Stab o
o · h ∎
inj : _
-- o · g = o · h ⇒ g ∙ h ⁻¹ ∈ Stab o
inj {g} {h} fg≈₂fh = begin⟨ Ω' ⟩
o · g ∙ h ⁻¹ ≈⟨ actAssoc _ _ _ ⟩
o · g · h ⁻¹ ≈⟨ ·-cong _ fg≈₂fh ⟩
o · h · h ⁻¹ ≈˘⟨ actAssoc _ _ _ ⟩
o · (h ∙ h ⁻¹) ≈⟨ G-ext (inverseʳ h)⟩
o · ε ≈⟨ actId o ⟩
o ∎
surj : _
surj (_ , p) = p
|
programs/oeis/140/A140677.asm | neoneye/loda | 22 | 84639 | <reponame>neoneye/loda
; A140677: a(n) = n*(3*n + 8).
; 0,11,28,51,80,115,156,203,256,315,380,451,528,611,700,795,896,1003,1116,1235,1360,1491,1628,1771,1920,2075,2236,2403,2576,2755,2940,3131,3328,3531,3740,3955,4176,4403,4636,4875,5120,5371,5628,5891,6160,6435,6716,7003,7296,7595,7900,8211,8528,8851,9180,9515,9856,10203,10556,10915,11280,11651,12028,12411,12800,13195,13596,14003,14416,14835,15260,15691,16128,16571,17020,17475,17936,18403,18876,19355,19840,20331,20828,21331,21840,22355,22876,23403,23936,24475,25020,25571,26128,26691,27260,27835,28416,29003,29596,30195
mov $1,3
mul $1,$0
add $1,8
mul $1,$0
mov $0,$1
|
Transynther/x86/_processed/AVXALIGN/_zr_un_/i3-7100_9_0xca_notsx.log_21829_162.asm | ljhsiun2/medusa | 9 | 91939 | .global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r15
push %rax
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WC_ht+0x1c9ff, %rsi
lea addresses_UC_ht+0x1696f, %rdi
nop
nop
nop
nop
nop
and $32531, %r11
mov $30, %rcx
rep movsw
nop
dec %rbx
lea addresses_D_ht+0x1178f, %r15
nop
nop
and $13355, %rdx
movups (%r15), %xmm7
vpextrq $0, %xmm7, %rbx
nop
nop
nop
xor $62990, %r11
lea addresses_WT_ht+0x6eff, %rdx
nop
nop
nop
sub $47416, %rsi
mov (%rdx), %edi
nop
nop
nop
nop
and $19577, %rdx
lea addresses_UC_ht+0x1e3bf, %rsi
lea addresses_WT_ht+0xceff, %rdi
nop
nop
inc %rax
mov $62, %rcx
rep movsq
nop
nop
dec %r11
lea addresses_normal_ht+0x100af, %rcx
nop
nop
nop
nop
nop
add $43735, %r11
mov (%rcx), %rax
nop
and %rax, %rax
lea addresses_normal_ht+0x160bf, %rdx
nop
nop
nop
add $52518, %rdi
movw $0x6162, (%rdx)
nop
cmp %rsi, %rsi
lea addresses_A_ht+0x110ff, %r15
inc %rbx
mov $0x6162636465666768, %rcx
movq %rcx, %xmm7
movups %xmm7, (%r15)
nop
dec %r15
lea addresses_UC_ht+0x471f, %rcx
nop
nop
inc %r11
and $0xffffffffffffffc0, %rcx
movntdqa (%rcx), %xmm7
vpextrq $1, %xmm7, %r15
nop
nop
nop
sub $63748, %rcx
lea addresses_D_ht+0x1e5cf, %rsi
lea addresses_A_ht+0x1184f, %rdi
clflush (%rdi)
nop
nop
nop
nop
nop
and $50398, %rbx
mov $20, %rcx
rep movsb
nop
nop
nop
and %r15, %r15
lea addresses_normal_ht+0x177b1, %rcx
nop
nop
nop
nop
nop
add %r11, %r11
mov $0x6162636465666768, %rax
movq %rax, (%rcx)
add %rcx, %rcx
pop %rsi
pop %rdx
pop %rdi
pop %rcx
pop %rbx
pop %rax
pop %r15
pop %r11
ret
.global s_faulty_load
s_faulty_load:
push %r13
push %r14
push %r15
push %r8
push %r9
push %rbx
push %rdx
// Store
lea addresses_UC+0x6f95, %r13
nop
nop
nop
nop
and $41122, %r9
mov $0x5152535455565758, %r15
movq %r15, (%r13)
nop
inc %r9
// Load
lea addresses_RW+0x24ff, %r14
nop
nop
xor $23743, %r8
mov (%r14), %rbx
xor %r13, %r13
// Store
lea addresses_UC+0xf79d, %rdx
nop
nop
cmp %r15, %r15
mov $0x5152535455565758, %rbx
movq %rbx, %xmm1
vmovups %ymm1, (%rdx)
nop
nop
nop
nop
nop
and %r14, %r14
// Load
lea addresses_UC+0x1283f, %r8
clflush (%r8)
nop
nop
nop
nop
nop
dec %r9
vmovups (%r8), %ymm6
vextracti128 $0, %ymm6, %xmm6
vpextrq $0, %xmm6, %rdx
nop
nop
nop
nop
nop
sub %rdx, %rdx
// Store
lea addresses_PSE+0x166ff, %rdx
clflush (%rdx)
nop
nop
nop
nop
nop
xor $22934, %r14
movw $0x5152, (%rdx)
nop
nop
and $13585, %r13
// Load
lea addresses_D+0xf345, %rbx
nop
nop
and %r13, %r13
movb (%rbx), %r14b
nop
xor %r14, %r14
// Faulty Load
lea addresses_PSE+0x166ff, %rbx
nop
nop
nop
nop
nop
and %r13, %r13
vmovntdqa (%rbx), %ymm6
vextracti128 $1, %ymm6, %xmm6
vpextrq $1, %xmm6, %r8
lea oracles, %r13
and $0xff, %r8
shlq $12, %r8
mov (%r13,%r8,1), %r8
pop %rdx
pop %rbx
pop %r9
pop %r8
pop %r15
pop %r14
pop %r13
ret
/*
<gen_faulty_load>
[REF]
{'src': {'same': False, 'congruent': 0, 'NT': False, 'type': 'addresses_PSE', 'size': 1, 'AVXalign': False}, 'OP': 'LOAD'}
{'OP': 'STOR', 'dst': {'same': False, 'congruent': 1, 'NT': False, 'type': 'addresses_UC', 'size': 8, 'AVXalign': False}}
{'src': {'same': False, 'congruent': 9, 'NT': True, 'type': 'addresses_RW', 'size': 8, 'AVXalign': False}, 'OP': 'LOAD'}
{'OP': 'STOR', 'dst': {'same': False, 'congruent': 1, 'NT': False, 'type': 'addresses_UC', 'size': 32, 'AVXalign': False}}
{'src': {'same': False, 'congruent': 6, 'NT': False, 'type': 'addresses_UC', 'size': 32, 'AVXalign': False}, 'OP': 'LOAD'}
{'OP': 'STOR', 'dst': {'same': True, 'congruent': 0, 'NT': False, 'type': 'addresses_PSE', 'size': 2, 'AVXalign': False}}
{'src': {'same': False, 'congruent': 1, 'NT': False, 'type': 'addresses_D', 'size': 1, 'AVXalign': False}, 'OP': 'LOAD'}
[Faulty Load]
{'src': {'same': True, 'congruent': 0, 'NT': True, 'type': 'addresses_PSE', 'size': 32, 'AVXalign': False}, 'OP': 'LOAD'}
<gen_prepare_buffer>
{'src': {'type': 'addresses_WC_ht', 'congruent': 8, 'same': False}, 'OP': 'REPM', 'dst': {'type': 'addresses_UC_ht', 'congruent': 2, 'same': False}}
{'src': {'same': True, 'congruent': 2, 'NT': False, 'type': 'addresses_D_ht', 'size': 16, 'AVXalign': False}, 'OP': 'LOAD'}
{'src': {'same': False, 'congruent': 11, 'NT': False, 'type': 'addresses_WT_ht', 'size': 4, 'AVXalign': False}, 'OP': 'LOAD'}
{'src': {'type': 'addresses_UC_ht', 'congruent': 6, 'same': False}, 'OP': 'REPM', 'dst': {'type': 'addresses_WT_ht', 'congruent': 11, 'same': False}}
{'src': {'same': False, 'congruent': 4, 'NT': False, 'type': 'addresses_normal_ht', 'size': 8, 'AVXalign': False}, 'OP': 'LOAD'}
{'OP': 'STOR', 'dst': {'same': False, 'congruent': 6, 'NT': True, 'type': 'addresses_normal_ht', 'size': 2, 'AVXalign': False}}
{'OP': 'STOR', 'dst': {'same': False, 'congruent': 7, 'NT': False, 'type': 'addresses_A_ht', 'size': 16, 'AVXalign': False}}
{'src': {'same': False, 'congruent': 3, 'NT': True, 'type': 'addresses_UC_ht', 'size': 16, 'AVXalign': False}, 'OP': 'LOAD'}
{'src': {'type': 'addresses_D_ht', 'congruent': 4, 'same': False}, 'OP': 'REPM', 'dst': {'type': 'addresses_A_ht', 'congruent': 2, 'same': False}}
{'OP': 'STOR', 'dst': {'same': False, 'congruent': 1, 'NT': False, 'type': 'addresses_normal_ht', 'size': 8, 'AVXalign': False}}
{'08': 4, '00': 21825}
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 08 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
*/
|
ts_export/wc.asm | ped7g/wc | 2 | 98232 | TX EQU $133B
RX EQU $143B
delka_bufferu EQU 600
ORG $,$2000
START
ZA
PUSH HL
NEXTREG 2,0
LD B,25
w HALT
DJNZ w
LD DE,ParametryBuffer
LD BC,128
LDIR
CALL maketab
LD HL,$4000
LD DE,$4001
LD BC,6144
XOR A
LD (HL),A
LDIR
LD A,%00111000
LD (HL),A
LD BC,767
LDIR
LD HL,80*256+3
CALL pozice
CALL CLEAR
; LD HL,24
; CALL pozice
; LD HL,list
; CALL PRINT
; LD HL,32*256+0
; CALL pozice
; LD HL,ParametryBuffer
; CALL PRINT
POP HL
LD A,L
OR H
JP Z,gui
LD HL,ParametryBuffer
LD DE,status
CALL find_param
JP Z,statuscmd
LD HL,ParametryBuffer
LD DE,helppar
CALL find_param
JP Z,help
LD HL,ParametryBuffer
LD DE,listpar
CALL find_param
JR Z,list
LD HL,ParametryBuffer
LD DE,connectpar
CALL find_param
JR Z,connect
LD A,2
OUT (254),A
RET
list
LD A,201
LD (KonecVypisu),A
LD HL,mezera
LD (napoveda+1),HL
LD HL,t_list
LD (nadpis+1),HL
JP gui
mezera DEFZ " "
t_list DEFZ "List WiFi"
connect
CALL menu
LD HL,48*256+2
CALL pozice
LD HL,connecting
CALL PRINT
LD HL,ParametryBuffer + 8
LD (AdresaWiFi),HL
LD A,32 ;hledame mezeru
LD BC,100 ;maximalni delka nazvu WiFiny je 100 znaku
CPIR
LD (AdresaHesla),HL
LD (AdresaHeslaInput+1),HL
DEC HL
XOR A
LD (HL),A
conr2
INC HL ;preskocime mezeru - do budoucna
;preskocit vice mezer
LD A,(HL)
CP 13
JR NZ,conr2
XOR A
LD (HL),A
EX DE,HL
LD HL,(AdresaHesla)
EX DE,HL
OR A
SBC HL,DE
LD A,L
LD (CURSORI+1),A
XOR A ;Vymazeme CALL INPCLEAR
LD (VymazInput+0),A
LD (VymazInput+1),A
LD (VymazInput+2),A
LD HL,(AdresaHesla)
LD DE,(AdresaWiFi)
OR A
SBC HL,DE
LD B,H
LD C,L
LD HL,(AdresaWiFi)
LD DE,WLIST
LDIR
CALL VypisNadpis
JP Pokracuj
AdresaWiFi
DEFW 0
AdresaHesla
DEFW 0
helppar DEFB "help",13,0
listpar DEFB "list",13,0
connectpar
DEFZ "connect"
connecting
DEFZ "Connecting..."
;Porovnavani parametru
;
; HL ... adresa parametru
; DE ... adresa vzoru
;
;Vystup:
; Z .... nalezeno
; NZ ... nenalezeno
find_param
LD A,(DE)
OR A
RET Z
CP (HL)
JR Z,f2ano
XOR A
LD B,1
OR B
RET
f2ano INC HL
INC DE
JR find_param
;Vyska ... A
NastavRozmeryOkna
LD (v1+1),A
LD (v2+1),A
LD (v3+1),A
RET
help
LD A,72
CALL NastavRozmeryOkna
CALL menu
LD HL,48*256+2
CALL pozice
LD HL,t_help
CALL PRINT
LD HL,64*256+3
CALL pozice
LD HL,t_help1
CALL PRINT
LD HL,72*256+3
CALL pozice
LD HL,t_help2
CALL PRINT
LD HL,80*256+3
CALL pozice
LD HL,t_help3
CALL PRINT
LD HL,88*256+3
CALL pozice
LD HL,t_help6
CALL PRINT
LD HL,104*256+3
CALL pozice
LD HL,t_help4
CALL PRINT
LD HL,112*256+3
CALL pozice
LD HL,t_help5
CALL PRINT
CALL VypisNadpis
RET
t_help1 DEFZ ".wc - start gui"
t_help2 DEFZ ".wc help - this help"
t_help3 DEFZ ".wc status - conn. info"
t_help4 DEFZ "Connect to WiFi:"
t_help5 DEFZ ".wc connect ssid password"
t_help6 DEFZ ".wc list - list WiFi"
statuscmd
LD A,1
OUT (254),A
LD A,30
LD (v1+1),A
LD (v2+1),A
LD (v3+1),A
LD HL,64*256+4
LD (p1+1),HL
LD HL,72*256+4
LD (p2+1),HL
EI
CALL menu
LD HL,48*256+2
CALL pozice
LD HL,t_stat
CALL PRINT
CALL VypisNadpis
JP wok2
VypisNadpis
LD HL,0*256+6
CALL pozice
LD HL,NAZEV
CALL PRINT
LD HL,16*256+2
CALL pozice
LD HL,CREDIT
CALL PRINT
RET
t_stat DEFZ "Status info"
t_help DEFZ "Help"
gui
LD HL,BUF
LD DE,BUF+1
LD BC,512
XOR A
LD (HL),A
LDIR
LD HL,WLIST
LD DE,WLIST+1
LD BC,1024
LD (HL),0
LDIR
LD HL,OUTPUT
LD DE,OUTPUT+1
LD BC,delka_bufferu
LD A,255
LD (HL),A
LDIR
LD HL,0*256+6
CALL pozice
LD HL,NAZEV
CALL PRINT
LD HL,160*256+2
CALL pozice
napoveda LD HL,HELP
CALL PRINT
LD HL,16*256+2
CALL pozice
LD HL,CREDIT
CALL PRINT
LD HL,40*256+1
CALL pozice
LD HL,WCHECK
CALL PRINT
LD HL,24*256+4
CALL pozice
LD HL,CMD1
LD DE,F_OK
CALL EXECUTE
LD HL,CMD2
LD DE,F_OK
CALL EXECUTE
LD HL,CMD3
LD DE,F_OK
CALL EXECUTE
LD HL,OUTPUT
NEXTN
LD DE,CWLAP
CALL FIND
LD DE,ST_NAME
CALL FIND
LOOPW
LD A,(HL)
CP 255
JR Z,AA
CP 34
JR Z,NEXT_W
BUFFER LD DE,WLIST
LD (DE),A
INC DE
INC HL
LD (BUFFER+1),DE
JR LOOPW
NEXT_W
PUSH DE
DEC DE
LD A,(DE)
CP 34 ;hledej uvozovky
POP DE
JP Z,NEXTN ;pokud to jsou uvozovky, tak skoc na dalsi
XOR A
LD (DE),A
INC DE
PUSH HL
LD HL,MAX+1
INC (HL)
POP HL
LD (BUFFER+1),DE
JP NEXTN
AA
LD HL,WLIST
LD A,(HL)
CP 255
RET Z
LD A,(MAX+1)
CP MAXW
JR C,CC
LD A,MAXW
LD (MAX+1),A
CC
CALL menu ;vykresleni okna
CALL PRINTWI
LD HL,48*256+2
CALL pozice
nadpis LD HL,WNADPIS
CALL PRINT
LD A,7
OUT (254),A
KonecVypisu
NAV
CALL CURSOR
CALL ink
AD
CP " "
JR Z,AASS
CP 13
JR Z,AASS
CP 10
JP Z,DOWN
CP 11
JP Z,UP
CP "m"
JP Z,MANUAL
JP NAV
AASS
;stisknuty SPACE nebo ENTER
CALL WINDOW2
LD HL,168*256+3
CALL pozice
LD HL,PSWD
CALL PRINT
XOR A
LD (hvezdickuj),A
LD IXH,14
INPOSV LD HL,20652
VymazInput
CALL INPCLR
LD A,201
LD (hvezdickuj),A
LD HL,CMD0
LD DE,F_OK
CALL EXECUTE
CALL white_border
LD HL,CMD4
LD DE,BUF
LD BC,CMD4_LN
LDIR
PUSH DE
STOP
LD A,(POSITION)
CP 1
LD HL,WLIST
JR Z,NNAME0
DEC A
LD B,A
NNAME
PUSH BC
LD BC,1024
LD A,0
CPIR
POP BC
DJNZ NNAME
NNAME0
POP DE
LD (WN+1),HL
NNAME2
LD A,(HL)
LD (DE),A
INC HL
INC DE
OR A
JR NZ,NNAME2
LD HL,CMD41
LD BC,CMD41_LN
LDIR
AdresaHeslaInput
LD HL,23296
LD A,(CURSORI+1)
LD C,A
LD B,0
LDIR
LD HL,CMD42
LD BC,CMD42_LN
LDIR
AA11
LD HL,OUTPUT
LD (R0+1),HL
LD DE,OUTPUT+1
LD BC,delka_bufferu
LD (HL),255
LDIR
LD HL,168*256+3
CALL pozice
LD HL,COON
CALL PRINT
LD HL,BUF
CALL SEND
CALL NACTI
CALL white_border
RD
CALL CHECK
JR Z,RD
CALL NACTI
POSLE
CALL white_border
LD HL,OUTPUT
LD DE,F_WIFIOK
CALL FIND
LD A,255
CP (HL)
JP NZ,WIFI_OK
LD HL,168*256+3
CALL pozice
LD HL,NOOK
CALL PRINT
CALL INK
RET
WIFION LD BC,$203B
LD A,5
OUT (C),A
INC B
IN A,(C)
OR 1
OUT (C),A
LD B,6
WFLOOP1 LD DE,0
WFTIME DEC DE
LD A,D
OR E
JR NZ,WFTIME
DJNZ WFLOOP1
LD B,$13
WFBUSY0 IN A,(C)
BIT 0,A
JR Z,WFBUSY0
; LD A,3
; OUT (254),A
LD HL,WFPOWER
WFBACK1 LD A,(HL)
OUT (C),A
EX AF,AF'
WFBUSY IN A,(C)
BIT 1,A
JR NZ,WFBUSY
INC HL
EX AF,AF'
CP 10
JR NZ,WFBACK1
XOR A
OUT (254),A
RET
WFPOWER DEFB "AT+RFPOWER=0"
DEFB 13,10
WIFIOFF
RET
HELP DEFB "SPACE..select"
DEFB " M..add SSID"
DEFB 0
MANUAL
LD HL,32*7+22528
LD D,H
LD E,L
INC DE
LD BC,32*12-1
LD A,%00111000
LD (HL),A
LDIR
CALL menu
CALL WINDOW2
LD HL,168*256+3
CALL pozice
LD HL,SSID
CALL PRINT
LD IXH,18
LD HL,20652-3
CALL INPUT
LD HL,23296
LD DE,WLIST
LD A,(CURSORI+1)
LD C,A
LD B,0
LDIR
;tady jsem udelal opravu, xor a ld byl za poslednim call print
XOR A
LD (DE),A
Pokracuj
LD HL,80*256+4
CALL pozice
LD HL,SSID
CALL PRINT
LD HL,WLIST
CALL PRINT
LD A,1
LD (POSITION),A
JP AASS
SSID DEFB "SSID: "
DEFB 0
WCHECK DEFB "Checking..."
DEFB 0
COON DEFB "Connecting..."
DEFB 0
TOK DEFB "Connected!!!!"
DEFB 0
NOOK DEFB "Not Conected!!!"
DEFB " "
DEFB 0
MAXW EQU 11
WIFI_OK
LD HL,32*7+22528
LD D,H
LD E,L
INC DE
LD BC,32*12-1
LD A,%00111000
LD (HL),A
LDIR
CALL menu
LD HL,80*256+4
CALL pozice
LD HL,SSID
CALL PRINT
WN LD HL,0
CALL PRINT
LD HL,OUTPUT
LD (R0+1),HL
LD DE,OUTPUT+1
LD BC,delka_bufferu
LD A,255
LD (HL),A
LDIR
RD2
CALL CHECK
JR Z,RD2
LD BC,50*3
CEK2 HALT
DEC BC
LD A,B
OR C
JR NZ,CEK2
CALL NACTI
wok2
CALL CLEAR
LD HL,IP
LD DE,F_OK
CALL EXECUTE
p1 LD HL,96*256+4
CALL pozice
LD HL,TIP
CALL PRINT
LD HL,OUTPUT
LD DE,F_IP
CALL FIND
PUSH HL
LD DE,UVO
CALL FIND
DEC HL
LD (HL),0
POP HL
CALL PRINT
LD HL,OUTPUT
LD DE,F_MAC
CALL FIND
PUSH HL
LD DE,UVO
CALL FIND
DEC HL
LD (HL),0
p2 LD HL,104*256+4
CALL pozice
LD HL,TMAC
CALL PRINT
POP HL
CALL PRINT
LD HL,168*256+3
CALL pozice
LD HL,T_MEZ
CALL PRINT
RET
T_MEZ DEFZ " "
status DEFB "status",0
UVO DEFB 34,0
TMAC DEFZ "Mac: "
TIP DEFB "Your IP: "
DEFB 0
F_IP DEFB "STAIP,"
DEFB 34
DEFB 0
F_MAC DEFB "STAMAC,"
DEFB 34
DEFB 0
IP DEFB "AT+CIFSR"
DEFB 13,10
NACTI
LD HL,4096
HH
LD A,R
AND %111
OUT (254),A
PUSH HL
CALL CHECK
JR Z,NOHH
LD HL,(R0+1)
LD BC,RX
IN A,(C)
LD (HL),A
INC HL
LD (R0+1),HL
NOHH
POP HL
DEC HL
LD A,L
OR H
JR NZ,HH
RET
F_FAIL DEFB 10
DEFB "FAI"
DEFB 0
F_CONNEC DEFB "CONNECT"
DEFB 0
F_WIFIOK DEFB 10
DEFB "WIFI CONNEC"
DEFB 0
UP LD HL,POSITION
LD A,(HL)
CP 1
JP Z,NAV
DEC A
LD (POSITION),A
JP NAV
DOWN LD HL,POSITION
LD A,(HL)
MAX CP 0
JP Z,NAV
INC A
LD (POSITION),A
JP NAV
PSWD DEFB "Password:"
DEFB 0
INK EI
HALT
BIT 5,(IY+1)
JR Z,INK
RES 5,(IY+1)
PUSH BC
PUSH HL
LD HL,0
LD B,L
INK2 LD A,(HL)
INC HL
AND 24
OR 7
OUT (254),A
DJNZ INK2
POP HL
POP BC
LD A,(23560)
RET
CURSOR HALT
LD HL,32*8+22528
LD D,H
LD E,L
INC DE
LD BC,32*12-1
LD A,%00111000
LD (HL),A
LDIR
LD A,(POSITION)
LD B,A
LD HL,32*7+22528+3
LD DE,32
C1 ADD HL,DE
DJNZ C1
LD B,25
C2 LD (HL),7
INC HL
DJNZ C2
RET
WINDOW
LD B,54
CALL NUMX
LD DE,2
ADD HL,DE
LD B,27
W1
LD (HL),255
INC HL
DJNZ W1
LD B,100
W15 PUSH BC
LD DE,27
OR A
SBC HL,DE
CALL DOWNHL
W2
LD (HL),%10000000
LD B,25
INC HL
XOR A
WW3 LD (HL),A
INC HL
DJNZ WW3
LD (HL),%000000001
INC HL
POP BC
DJNZ W15
LD B,27
LD DE,27
OR A
SBC HL,DE
W3
LD (HL),255
INC HL
DJNZ W3
RET
INPCLR PUSH HL
POP HL
INPUT LD (INPOS+1),HL
LD HL,23296
LD B,IXH
IN1 LD (HL),32
INC HL
DJNZ IN1
LD (HL),B
RES 5,(IY+1)
XOR A
LD (CURSORI+1),A
IN2 LD B,IXH
INPOS LD HL,0
LD (printpos),HL
LD HL,168*256+12
LD (X),HL
LD HL,23296
CURSORI LD C,0
IN3 LD A,L
CP C
LD A,"_"
CALL Z,print_char
LD A,(HL)
CALL hvezdickuj
CALL print_char
INC HL
DJNZ IN3
LD A,L
CP C
LD A,"<"
CALL Z,print_char
CALL INK
CP 7
RET Z
CP 13
JR Z,INPCLEAR
LD HL,IN2
PUSH HL
LD HL,CURSORI+1
CP 8
JR Z,CURSLEFT
CP 9
JR Z,CURSRGHT
CP 12
JR Z,BCKSPACE
CP 199
JR Z,DELETE
CP 32
RET C
CP 128
RET NC
EX AF,AF'
LD A,(HL)
CP IXH
RET NC
INC (HL)
LD L,(HL)
DEC L
LD H,23296/256
INS LD A,(HL)
OR A
RET Z
EX AF,AF'
LD (HL),A
INC HL
JR INS
CURSLEFT LD A,(HL)
OR A
RET Z
DEC (HL)
RET
CURSRGHT LD A,(HL)
CP IXH
RET NC
INC (HL)
RET
DELETE LD A,(HL)
CP IXH
RET Z
INC A
JR BCK2
BCKSPACE LD A,(HL)
OR A
RET Z
DEC (HL)
BCK2 LD L,A
LD H,23296/256
LD E,L
LD D,H
DEC E
DEL2 LD A,(HL)
LDI
OR A
JR NZ,DEL2
EX DE,HL
DEC HL
LD (HL)," "
RET
hvezdickuj
RET
LD A,"*"
RET
DOWNDE INC D
LD A,D
AND 7
RET NZ
LD A,E
ADD A,32
LD E,A
LD A,D
JR C,DOWNDE2
SUB 8
LD D,A
DOWNDE2 CP 88
RET C
LD D,64
RET
INPCLEAR LD DE,(INPOS+1)
LD C,8
INPC2 LD B,IXH
INC B
XOR A
PUSH DE
INPC3 LD (DE),A
INC DE
DJNZ INPC3
POP DE
CALL DOWNDE
DEC C
JR NZ,INPC2
RET
CHAR EXX
ADD A,A
LD L,A
SBC A,A
LD C,A
LD H,15
ADD HL,HL
ADD HL,HL
PPOS LD DE,16384
PUSH DE
LD B,8
CHAR2 LD A,(HL)
; rrca
OR (HL)
XOR C
LD (DE),A
CALL DOWNDE
; ld a,(hl)
; xor c
; ld (de),a
; call DOWNDE
INC HL
DJNZ CHAR2
POP DE
INC E
LD A,E
AND 31
JR NZ,CHAR3
DEC E
LD A,E
AND %11100000
LD E,A
LD B,16
CHAR4 CALL DOWNDE
DJNZ CHAR4
CHAR3 LD (PPOS+1),DE
EXX
RET
WINDOW2
LD B,163
CALL NUMX
LD DE,2
ADD HL,DE
LD B,27
W21
LD (HL),255
INC HL
DJNZ W21
LD B,17
W215 PUSH BC
LD DE,27
OR A
SBC HL,DE
CALL DOWNHL
W22
LD (HL),%10000000
LD B,26
XOR A
W223 INC HL
LD (HL),A
DJNZ W223
LD (HL),%000000001
INC HL
POP BC
DJNZ W215
LD B,27
LD DE,27
OR A
SBC HL,DE
W23
LD (HL),255
INC HL
DJNZ W23
RET
INKEY CALL 654
JR NZ,INKEY
CALL 798
JR NC,INKEY
DEC D
LD E,A
JP 819
POSITION DEFB 1
NUMX LD HL,16384
NUMX1 CALL DOWNHL
DJNZ NUMX1
RET
DOWNHL INC H
LD A,H
AND 7
RET NZ
LD A,L
ADD A,32
LD L,A
LD A,H
JR C,DOWNHL2
SUB 8
LD H,A
DOWNHL2 CP 88
RET C
LD H,64
RET
WNADPIS DEFB "Choose a networ"
DEFB "k:"
DEFB 0
;vypis vsech dostupnych WiFi
PRINTWI LD B,MAXW
LD A,8*8
LD (YPOS+1),A
LD HL,WLIST
WLOP PUSH BC
PUSH HL
YPOS LD H,5*8
LD L,3
CALL pozice
POP HL
CALL prwifi
POP BC
INC HL
LD A,(HL)
CP 255
RET Z
DEC B
RET Z
LD A,(YPOS+1)
LD E,8
ADD A,E
LD (YPOS+1),A
JR WLOP
CWLAP DEFB 10
DEFB "+CWLAP"
DEFB 0
ST_NAME DEFB ",",34
DEFB 0
EXECUTE LD (COMMAND+1),DE
CALL SEND
COMMAND LD DE,F_CLOSE
CALL READOK
LD HL,OUTPUT
LD DE,F_ERROR
CALL FIND
LD A,(HL)
CP 255
JP NZ,ERROR
RET
EXECUTE2 LD (COMMAND1+1),DE
CALL SEND
COMMAND1 LD DE,F_CLOSE
CALL READ
LD HL,OUTPUT
LD DE,F_ERROR
CALL FIND
LD A,(HL)
CP 255
JP NZ,ERROR
RET
F_OK
DEFB 10
DEFB "OK"
DEFB 0
F_ERROR DEFB "ERROR"
DEFB 0
PRINT
LD A,(HL)
OR A
RET Z
CALL print_char
INC HL
JR PRINT
prwifi
LD A,25
LD (pocitadlo),A
prwifi0 LD A,(HL)
OR A
RET Z
CALL print_char
INC HL
LD A,(pocitadlo)
DEC A
OR A
JR Z,prwifi1
LD (pocitadlo),A
JR prwifi0
prwifi1
LD D,H
LD E,L
INC DE
LD BC,40
XOR A
CPIR
DEC HL
RET
;HL ... adresa vystupu
;DE ... adresa retezce, ktery
; hledame
;Vystup ... HL adresa
FIND
LD (DEFAULT+1),DE
LD (ADR+1),HL
ADR LD HL,0
LD A,(DE)
CP (HL)
JR Z,SOUHLAS
LD A,(HL)
CP 255
RET Z
DEFAULT LD DE,0
INC HL
LD (ADR+1),HL
JR ADR
SOUHLAS
INC DE
INC HL
LD (ADR+1),HL
LD A,(DE)
CP 0
RET Z
JR ADR
NAZEV DEFB "WiFi Connection 2.1"
DEFB 0
WON DEFB "Turning on the "
DEFB "WiFi module"
DEFB 0
CREDIT DEFB "Programmed: "
DEFB "Shrek/MB Maniax"
DEFB 0
CREDIT2 DEFB "Team leader: "
DEFB "Logout/CI5"
DEFB 0
SYNCING DEFB "Syncing..."
DEFB 0
NEWTIME DEFB "New time: "
DEFB 0
UTC DEFB " UTC"
DEFB 0
SYNCOK DEFB " OK"
DEFB 0
;nastaveni datumu
RTC
LD BC,$203B
OUT (C),E
OR A
DAA
LD BC,$273B
OUT (C),A
RET
ADRDNY LD HL,0
CALL TXT16
RET
TXT16
LD DE,0
PUSH DE
EX DE,HL
LD A,(DE)
INC DE
LD (T0+1),DE
LD HL,10000
CALL MULT
POP HL
ADD HL,DE
PUSH HL
EX DE,HL
T0 LD DE,0
LD A,(DE)
INC DE
LD (T1+1),DE
LD HL,1000
CALL MULT
POP HL
ADD HL,DE
PUSH HL
EX DE,HL
T1 LD DE,0
LD A,(DE)
INC DE
LD (T2+1),DE
LD HL,100
CALL MULT
POP HL
ADD HL,DE
PUSH HL
EX DE,HL
T2 LD DE,0
LD A,(DE)
INC DE
LD (T3+1),DE
LD HL,10
CALL MULT
POP HL
ADD HL,DE
PUSH HL
EX DE,HL
T3 LD DE,0
LD A,(DE)
LD HL,1
CALL MULT
POP HL
ADD HL,DE
RET
;a ... pocet cyklu
;hl .. nasobek
MULT
LD C,48
OR A
SBC A,C
LD B,A
LD DE,0
EX DE,HL
MULT1
ADD HL,DE
DJNZ MULT1
EX DE,HL
RET
DEN DEFB 0
MESIC DEFB 0
ROK DEFB 0
HODINA DEFB 0
MINUTA DEFB 0
VTERINA DEFB 0
;HL ... Divident
;C .... Divisor
;Vystup
;HL ... vysledek
;A .... zbytek
DELENO
LD B,16
del2
ADD HL,HL
RLA
CP C
JR C,$+3
SUB C
INC L
DJNZ del2
RET
;vstup HL
FINDIPD LD A,(HL)
CP "I"
JR Z,F1
INC HL
JR FINDIPD
F1 INC HL
LD A,(HL)
CP "P"
JR NZ,FINDIPD
F2 INC HL
LD A,(HL)
CP "D"
JR Z,MEZERA0
JR FINDIPD
MEZERA0 INC HL
LD A,(HL)
CP 10
JR NZ,MEZERA0
;v HL je adresa kde je pocet
;dni od nejake stredy
INC HL
LD (ADRDNY+1),HL
MEZERA INC HL
LD A,(HL)
CP 32
JR NZ,MEZERA
INC HL
RET
;hl,adresa s textem
;a ... vystup
TXT2DEC
LD A,(HL)
OR A
SBC A,48
RLA
RLA
RLA
RLA
LD E,A
INC HL
LD A,(HL)
OR A
SBC A,48
OR E
RET
;zjitovani jesti mame data
;NZ .... data pripravene na
; cteni
;Z ..... data nejsou pripravene
CHECK LD BC,TX
IN A,(C)
BIT 0,A
RET
F_CLOSE DEFB 10
DEFB "CLOSE"
DEFB 0
READ CALL CHECK
PUSH AF
LD HL,(R0+1)
LD BC,RX
IN A,(C)
LD (HL),A
INC HL
LD (R0+1),HL
POP AF
RET Z
JR READ
READOK EI
LD (CMP+1),DE
LD (CMP2+1),DE
LD DE,0
READ0 CALL CHECK
PUSH AF
LD A,R
AND %111
OUT (254),A
JR POK
ERROR
LD A,2
OUT (254),A
;time out!!!
LD HL,80*256+10
CALL pozice
LD HL,TIMEOUT
CALL PRINT
RET
TIMEOUT DEFB "Timeout!!!"
DEFB 0
POK
POP AF
JR Z,READ0
LD HL,(R0+1)
LD BC,RX
IN A,(C)
LD (HL),A
INC HL
LD (R0+1),HL
CMP LD HL,F_CLOSE
POR CP (HL)
JR Z,DALSI
CMP2 LD HL,F_CLOSE
LD (CMP+1),HL
JR READ0
DALSI
INC HL
LD (CMP+1),HL
LD A,(HL)
OR A
JR Z,white_border
JR READ0
white_border
; RET
LD A,7
OUT (254),A
; XOR A
RET
OK
LD BC,RX
IN A,(C)
RET
R0 LD HL,OUTPUT
R1
LD BC,RX
IN A,(C)
LD (HL),A
INC HL
LD (R0+1),HL
CALL CHECK
JR NZ,R0
RET
;hl ... adresa prikazu
SEND
LD BC,TX
AS
IN A,(C)
BIT 1,A
JR NZ,AS
LD A,(HL)
OUT (C),A
INC HL
CP 10
JR NZ,SEND
RET
CLEAR
LD HL,4096
LD BC,RX
CLEAN IN A,(C)
DEC HL
LD A,L
OR H
JR NZ,CLEAN
RET
CMD0 DEFB "AT+CWQAP"
DEFB 13,10
CMD1 DEFB "AT+CIPMUX=0"
DEFB 13,10
CMD2 DEFB "AT+CWMODE=1"
DEFB 13,10
CMD3 DEFB "AT+CWLAP"
DEFB 13,10
CMD4 DEFB "AT+CWJAP="
DEFB 34
CMD4_LN EQU $-CMD4
CMD41
DEFB 34,44,34
CMD41_LN EQU 3
CMD42
DEFB 34
DEFB 13,10
CMD42_LN EQU 3
INCLUDE "print.odn"
INCLUDE "maketab.odn"
INCLUDE "inkey.odn"
INCLUDE "help_menu.odn"
konec
ParametryBuffer
DEFS 128
WLIST DEFS 1024
BUF DEFS 512
OUTPUT DEFS delka_bufferu
LE EQU konec-START
SAVE "/dot/wc",$8000,$2000
|
test/Fail/Issue483a.agda | shlevy/agda | 1,989 | 11650 | <filename>test/Fail/Issue483a.agda
-- Andreas, 2011-10-02
{-# OPTIONS --show-implicit #-}
module Issue483a where
data _≡_ {A : Set}(a : A) : A → Set where
refl : a ≡ a
data Empty : Set where
postulate A : Set
abort : .Empty → A
abort ()
test : let X : .Set1 → A
X = _
in (x : Empty) → X Set ≡ abort x
test x = refl
-- this should fail with message like
--
-- Cannot instantiate the metavariable _16 to abort x since it
-- contains the variable x which is not in scope of the metavariable
-- when checking that the expression refl has type _16 _ ≡ abort x
--
-- a solution like X = λ _ → abort x : Set1 → A
-- would be invalid even though x is irrelevant, because there is no
-- term of type Set1 → A
|
src/tom/library/sl/ada/allseqstrategy.ads | rewriting/tom | 36 | 20018 | with ObjectPack, AbstractStrategyCombinatorPackage, IntrospectorPackage, StrategyPackage;
use ObjectPack, AbstractStrategyCombinatorPackage, IntrospectorPackage, StrategyPackage;
package AllSeqStrategy is
ARG : constant Integer := 0;
type AllSeq is new AbstractStrategyCombinator and Object with null record;
----------------------------------------------------------------------------
-- Object implementation
----------------------------------------------------------------------------
function toString(o: AllSeq) return String;
----------------------------------------------------------------------------
-- Strategy implementation
----------------------------------------------------------------------------
function visitLight(str:access AllSeq; any: ObjectPtr; intro: access Introspector'Class) return ObjectPtr;
function visit(str: access AllSeq; intro: access Introspector'Class) return Integer;
----------------------------------------------------------------------------
procedure makeAllSeq(o : in out AllSeq; v: StrategyPtr);
function newAllSeq(v: StrategyPtr) return StrategyPtr;
----------------------------------------------------------------------------
end AllSeqStrategy;
|
pore/pore.asm | mfkiwl/QNICE-FPGA-hyperRAM | 53 | 4642 | <reponame>mfkiwl/QNICE-FPGA-hyperRAM<gh_stars>10-100
; PORE ROM
; Power On & Reset Execution ROM
;
; This code is executed on power on and on each reset of the system,
; even before any standard operating system like the Monitor is being
; executed from ROM address 0.
;
; The code relies on Monitor libraries and therefore directly includes
; them from the monitor subdirectory without using dist_kit.
;
; done by sy2002 in January 2016
#include "../monitor/sysdef.asm"
AND 0x00FF, SR ; make sure we are in rbank 0
MOVE VAR$STACK_START, SP ; initialize stack pointer
; Print boot message on UART and into the VRAM
RSUB VGA$CLS, 1 ; clear the whole VRAM
MOVE PORE$NEWLINE, R9 ; print a newline ...
MOVE 1, R10
RSUB PRINT_STRING, 1 ; ... but only on UART
MOVE PORE$RESETMSG, R9 ; print boot message ...
MOVE 0, R10
RSUB PRINT_STRING, 1 ; ... on both devices
; Let all async. processes settle
; UART is very slow, so we need to wait a while
; (at 115.200 baud: 27 x 16 = 432 cycles to be save)
MOVE 500, R0
NOP_LOOP SUB 1, R0
RBRA NOP_LOOP, !Z
; The HALT command triggers the PORE state machine to leave
; the PORE ROM, reset the CPU and switch to normal execution
HALT
; Prints a string to both, UART and VGA
; (independent, if the VGA signal is generated or not)
; expects R9 to point to the zero-terminated string
; R10: 1=write only to UART, 0=write to both
; R9, R10 are left unmodified
PRINT_STRING INCRB ; save register bank
MOVE R9, R0 ; leave R9 unmodified
_PRINT_LOOP MOVE @R0++, R8 ; actual character to R8
AND 0x00FF, R8 ; only lower 8bits relevant
RBRA _PRINT_DONE, Z ; zero termination detected
RSUB UART$PUTCHAR, 1 ; print to UART
MOVE R10, R2 ; skip VGA ...
RBRA _PRINT_LOOP, !Z ; ... if R10 is not zero
RSUB VGA$PUTCHAR, 1 ; print to VRAM
_SKIP_VGA RBRA _PRINT_LOOP, 1 ; continue printing
_PRINT_DONE DECRB ; restore register bank
RET ; return to caller
#include "boot_message.asm"
#include "../monitor/uart_library.asm"
#include "../monitor/vga_library.asm"
#include "../monitor/variables.asm"
|
programs/oeis/189/A189641.asm | jmorken/loda | 1 | 83621 | <reponame>jmorken/loda
; A189641: Partial sums of A189640.
; 0,0,1,1,1,2,3,3,4,4,4,5,5,5,6,7,7,8,9,9,10,10,10,11,12,12,13,13,13,14,14,14,15,16,16,17,17,17,18,18,18,19,20,20,21,22,22,23,23,23,24,25,25,26,27,27,28,28,28,29,30,30,31,31,31,32,32,32,33,34,34,35,36,36,37,37,37,38,39,39,40
lpb $0
mov $2,$0
div $0,3
lpb $2
add $1,7
sub $2,3
lpe
lpe
div $1,7
|
oeis/039/A039710.asm | neoneye/loda-programs | 11 | 86360 | ; A039710: a(n) = n-th prime modulo 12.
; Submitted by Jon Maiga
; 2,3,5,7,11,1,5,7,11,5,7,1,5,7,11,5,11,1,7,11,1,7,11,5,1,5,7,11,1,5,7,11,5,7,5,7,1,7,11,5,11,1,11,1,5,7,7,7,11,1,5,11,1,11,5,11,5,7,1,5,7,5,7,11,1,5,7,1,11,1,5,11,7,1,7,11,5,1,5,1,11,1,11,1,7,11,5,1,5,7,11,11,7,11,7,11,5,5,7,1
mul $0,2
max $0,1
seq $0,173919 ; Numbers that are prime or one less than a prime.
mod $0,12
|
vblank.asm | adamsmasher/bustfree | 0 | 102023 | <reponame>adamsmasher/bustfree<filename>vblank.asm
SECTION "VBlankInt", ROM0[$0040]
JP VBlank
SECTION "VBlankRAM", WRAM0
VBlankHandler:: DS 2
VBlankFlag: DS 1
SECTION "VBlank", ROM0
VBlank: PUSH AF
PUSH BC
PUSH DE
PUSH HL
LD HL, VBlankHandler
LD A, [HLI]
LD H, [HL]
LD L, A
CALL RunHandler
CALL OAMDMA
LD A, 1
LD [VBlankFlag], A
POP HL
POP DE
POP BC
POP AF
RETI
InitVBlank:: LD HL, VBlankHandler
LD A, LOW(DummyHandler)
LD [HLI], A
LD [HL], HIGH(DummyHandler)
RET
WaitForVBlank:: LD HL, VBlankFlag
XOR A
.loop HALT
CP [HL]
JR Z, .loop
LD [HL], A
RET
|
src/smk-files-put.adb | LionelDraghi/smk | 10 | 30196 | <reponame>LionelDraghi/smk<filename>src/smk-files-put.adb
-- -----------------------------------------------------------------------------
-- smk, the smart make (http://lionel.draghi.free.fr/smk/)
-- © 2018, 2019 <NAME> <<EMAIL>>
-- SPDX-License-Identifier: APSL-2.0
-- -----------------------------------------------------------------------------
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compliance with the License.
-- You may obtain a copy of the License at
-- http://www.apache.org/licenses/LICENSE-2.0
-- Unless required by applicable law or agreed to in writing, software
-- distributed under the License is distributed on an "AS IS" BASIS,
-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-- See the License for the specific language governing permissions and
-- limitations under the License.
-- -----------------------------------------------------------------------------
with Smk.Settings;
-- -----------------------------------------------------------------------------
procedure Smk.Files.Put (File_List : File_Lists.Map;
Prefix : String := "";
Print_Sources : Boolean := False;
Print_Targets : Boolean := False;
Print_Unused : Boolean := False) is
use File_Lists;
use Smk.Settings;
begin
for F in File_List.Iterate loop
if not (Settings.Filter_Sytem_Files and Is_System (File_List (F)))
then
if (Print_Sources and then Is_Source (File_List (F)))
or else (Print_Targets and then Is_Target (File_List (F)))
or else (Print_Unused and then Is_Unused (File_List (F)))
then
Put_File_Description (Name => Key (F),
File => File_List (F),
Prefix => Prefix);
end if;
end if;
end loop;
end Smk.Files.Put;
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.