mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 00:00:11 +01:00
spirv/nir: Add support for SPV_KHR_8bit_storage
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
This commit is contained in:
parent
f29c19cd5c
commit
0c01bf70e0
2 changed files with 7 additions and 0 deletions
|
|
@ -58,6 +58,7 @@ struct spirv_supported_capabilities {
|
|||
bool runtime_descriptor_array;
|
||||
bool stencil_export;
|
||||
bool atomic_storage;
|
||||
bool storage_8bit;
|
||||
};
|
||||
|
||||
typedef struct shader_info {
|
||||
|
|
|
|||
|
|
@ -3498,6 +3498,12 @@ vtn_handle_preamble_instruction(struct vtn_builder *b, SpvOp opcode,
|
|||
spv_check_supported(shader_viewport_index_layer, cap);
|
||||
break;
|
||||
|
||||
case SpvCapabilityStorageBuffer8BitAccess:
|
||||
case SpvCapabilityUniformAndStorageBuffer8BitAccess:
|
||||
case SpvCapabilityStoragePushConstant8:
|
||||
spv_check_supported(storage_8bit, cap);
|
||||
break;
|
||||
|
||||
case SpvCapabilityInputAttachmentArrayDynamicIndexingEXT:
|
||||
case SpvCapabilityUniformTexelBufferArrayDynamicIndexingEXT:
|
||||
case SpvCapabilityStorageTexelBufferArrayDynamicIndexingEXT:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue