-
Notifications
You must be signed in to change notification settings - Fork 486
/
Copy pathVK_KHR_8bit_storage.txt
56 lines (43 loc) · 1.79 KB
/
VK_KHR_8bit_storage.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
// Copyright (c) 2017-2020 Khronos Group.
//
// SPDX-License-Identifier: CC-BY-4.0
include::{generated}/meta/{refprefix}VK_KHR_8bit_storage.txt[]
=== Other Extension Metadata
*Last Modified Date*::
2018-02-05
*Interactions and External Dependencies*::
- Promoted to Vulkan 1.2 Core
*IP Status*::
No known IP claims.
*Interactions and External Dependencies*::
- This extension requires
{spirv}/KHR/SPV_KHR_8bit_storage.html[`SPV_KHR_8bit_storage`]
*Contributors*::
- Alexander Galazin, Arm
=== Description
The `VK_KHR_8bit_storage` extension allows use of 8-bit types in uniform and
storage buffers, and push constant blocks.
This extension introduces several new optional features which map to SPIR-V
capabilities and allow access to 8-bit data in code:Block-decorated objects
in the code:Uniform and the code:StorageBuffer storage classes, and objects
in the code:PushConstant storage class.
The code:StorageBuffer8BitAccess capability must: be supported by all
implementations of this extension.
The other capabilities are optional.
=== Promotion to Vulkan 1.2
Functionality in this extension is included in core Vulkan 1.2, with the KHR
suffix omitted.
However, if Vulkan 1.2 is supported and this extension is not, the
code:StorageBuffer8BitAccess capability is optional.
The original type, enum and command names are still available as aliases of
the core functionality.
include::{generated}/interfaces/VK_KHR_8bit_storage.txt[]
=== New SPIR-V Capabilities
* <<spirvenv-capabilities-table-8bitstorage,
code:StorageBuffer8BitAccess>>
* <<spirvenv-capabilities-table-8bitstorage,
code:UniformAndStorageBuffer8BitAccess>>
* <<spirvenv-capabilities-table-8bitstorage, code:StoragePushConstant8>>
=== Version History
* Revision 1, 2018-02-05 (Alexander Galazin)
- Initial draft