mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-29 21:00:16 +01:00
venus: sync latest protocol for more shader extensions support
Below are added: - VK_KHR_cooperative_matrix - VK_KHR_shader_bfloat16 - VK_KHR_shader_untyped_pointers - VK_EXT_shader_float8 - VK_EXT_shader_uniform_buffer_unsized_array Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38722>
This commit is contained in:
parent
5ca8113eb9
commit
463ab89afb
5 changed files with 1394 additions and 4 deletions
|
|
@ -1,4 +1,4 @@
|
|||
/* This file is generated by venus-protocol git-71f7f360. */
|
||||
/* This file is generated by venus-protocol git-06940dd5. */
|
||||
|
||||
/*
|
||||
* Copyright 2020 Google LLC
|
||||
|
|
|
|||
|
|
@ -461,6 +461,7 @@ typedef enum VkCommandTypeEXT {
|
|||
VK_COMMAND_TYPE_vkCmdSetDepthBias2EXT_EXT = 328,
|
||||
VK_COMMAND_TYPE_vkCmdSetAttachmentFeedbackLoopEnableEXT_EXT = 329,
|
||||
VK_COMMAND_TYPE_vkCmdSetDepthClampRangeEXT_EXT = 330,
|
||||
VK_COMMAND_TYPE_vkGetPhysicalDeviceCooperativeMatrixPropertiesKHR_EXT = 331,
|
||||
} VkCommandTypeEXT;
|
||||
|
||||
typedef enum VkCommandFlagBitsEXT {
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
|
|
@ -10,7 +10,7 @@
|
|||
|
||||
#include "vn_protocol_driver_defines.h"
|
||||
|
||||
#define VN_INFO_EXTENSION_MAX_NUMBER (613)
|
||||
#define VN_INFO_EXTENSION_MAX_NUMBER (643)
|
||||
|
||||
struct vn_info_extension {
|
||||
const char *name;
|
||||
|
|
@ -19,8 +19,8 @@ struct vn_info_extension {
|
|||
};
|
||||
|
||||
/* sorted by extension names for bsearch */
|
||||
static const uint32_t _vn_info_extension_count = 179;
|
||||
static const struct vn_info_extension _vn_info_extensions[179] = {
|
||||
static const uint32_t _vn_info_extension_count = 184;
|
||||
static const struct vn_info_extension _vn_info_extensions[184] = {
|
||||
{ "VK_ARM_rasterization_order_attachment_access", 343, 1 },
|
||||
{ "VK_EXT_4444_formats", 341, 1 },
|
||||
{ "VK_EXT_attachment_feedback_loop_dynamic_state", 525, 1 },
|
||||
|
|
@ -92,11 +92,13 @@ static const struct vn_info_extension _vn_info_extensions[179] = {
|
|||
{ "VK_EXT_shader_atomic_float", 261, 1 },
|
||||
{ "VK_EXT_shader_atomic_float2", 274, 1 },
|
||||
{ "VK_EXT_shader_demote_to_helper_invocation", 277, 1 },
|
||||
{ "VK_EXT_shader_float8", 568, 1 },
|
||||
{ "VK_EXT_shader_image_atomic_int64", 235, 1 },
|
||||
{ "VK_EXT_shader_replicated_composites", 565, 1 },
|
||||
{ "VK_EXT_shader_stencil_export", 141, 1 },
|
||||
{ "VK_EXT_shader_subgroup_ballot", 65, 1 },
|
||||
{ "VK_EXT_shader_subgroup_vote", 66, 1 },
|
||||
{ "VK_EXT_shader_uniform_buffer_unsized_array", 643, 1 },
|
||||
{ "VK_EXT_shader_viewport_index_layer", 163, 1 },
|
||||
{ "VK_EXT_subgroup_size_control", 226, 2 },
|
||||
{ "VK_EXT_texel_buffer_alignment", 282, 1 },
|
||||
|
|
@ -118,6 +120,7 @@ static const struct vn_info_extension _vn_info_extensions[179] = {
|
|||
{ "VK_KHR_buffer_device_address", 258, 1 },
|
||||
{ "VK_KHR_calibrated_timestamps", 544, 1 },
|
||||
{ "VK_KHR_compute_shader_derivatives", 512, 1 },
|
||||
{ "VK_KHR_cooperative_matrix", 507, 2 },
|
||||
{ "VK_KHR_copy_commands2", 338, 1 },
|
||||
{ "VK_KHR_create_renderpass2", 110, 1 },
|
||||
{ "VK_KHR_dedicated_allocation", 128, 3 },
|
||||
|
|
@ -172,6 +175,7 @@ static const struct vn_info_extension _vn_info_extensions[179] = {
|
|||
{ "VK_KHR_sampler_ycbcr_conversion", 157, 14 },
|
||||
{ "VK_KHR_separate_depth_stencil_layouts", 242, 1 },
|
||||
{ "VK_KHR_shader_atomic_int64", 181, 1 },
|
||||
{ "VK_KHR_shader_bfloat16", 142, 1 },
|
||||
{ "VK_KHR_shader_clock", 182, 1 },
|
||||
{ "VK_KHR_shader_draw_parameters", 64, 1 },
|
||||
{ "VK_KHR_shader_expect_assume", 545, 1 },
|
||||
|
|
@ -187,6 +191,7 @@ static const struct vn_info_extension _vn_info_extensions[179] = {
|
|||
{ "VK_KHR_shader_subgroup_rotate", 417, 2 },
|
||||
{ "VK_KHR_shader_subgroup_uniform_control_flow", 324, 1 },
|
||||
{ "VK_KHR_shader_terminate_invocation", 216, 1 },
|
||||
{ "VK_KHR_shader_untyped_pointers", 388, 1 },
|
||||
{ "VK_KHR_spirv_1_4", 237, 1 },
|
||||
{ "VK_KHR_storage_buffer_storage_class", 132, 1 },
|
||||
{ "VK_KHR_synchronization2", 315, 1 },
|
||||
|
|
|
|||
|
|
@ -3619,6 +3619,48 @@ vn_decode_VkDepthBiasRepresentationEXT(struct vn_cs_decoder *dec, VkDepthBiasRep
|
|||
vn_decode_int32_t(dec, (int32_t *)val);
|
||||
}
|
||||
|
||||
/* enum VkScopeKHR */
|
||||
|
||||
static inline size_t
|
||||
vn_sizeof_VkScopeKHR(const VkScopeKHR *val)
|
||||
{
|
||||
assert(sizeof(*val) == sizeof(int32_t));
|
||||
return vn_sizeof_int32_t((const int32_t *)val);
|
||||
}
|
||||
|
||||
static inline void
|
||||
vn_encode_VkScopeKHR(struct vn_cs_encoder *enc, const VkScopeKHR *val)
|
||||
{
|
||||
vn_encode_int32_t(enc, (const int32_t *)val);
|
||||
}
|
||||
|
||||
static inline void
|
||||
vn_decode_VkScopeKHR(struct vn_cs_decoder *dec, VkScopeKHR *val)
|
||||
{
|
||||
vn_decode_int32_t(dec, (int32_t *)val);
|
||||
}
|
||||
|
||||
/* enum VkComponentTypeKHR */
|
||||
|
||||
static inline size_t
|
||||
vn_sizeof_VkComponentTypeKHR(const VkComponentTypeKHR *val)
|
||||
{
|
||||
assert(sizeof(*val) == sizeof(int32_t));
|
||||
return vn_sizeof_int32_t((const int32_t *)val);
|
||||
}
|
||||
|
||||
static inline void
|
||||
vn_encode_VkComponentTypeKHR(struct vn_cs_encoder *enc, const VkComponentTypeKHR *val)
|
||||
{
|
||||
vn_encode_int32_t(enc, (const int32_t *)val);
|
||||
}
|
||||
|
||||
static inline void
|
||||
vn_decode_VkComponentTypeKHR(struct vn_cs_decoder *dec, VkComponentTypeKHR *val)
|
||||
{
|
||||
vn_decode_int32_t(dec, (int32_t *)val);
|
||||
}
|
||||
|
||||
/* enum VkDepthClampModeEXT */
|
||||
|
||||
static inline size_t
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue