Skip to content
Snippets Groups Projects
Commit 0c01bf70 authored by José María Casanova Crespo's avatar José María Casanova Crespo
Browse files

spirv/nir: Add support for SPV_KHR_8bit_storage


Reviewed-by: default avatarJason Ekstrand <jason@jlekstrand.net>
parent f29c19cd
No related merge requests found
......@@ -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:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment