Skip to content

Commit

Permalink
Add support for Vulkan 1.3 and Roadmap 2022 profile
Browse files Browse the repository at this point in the history
  • Loading branch information
baldurk committed Jan 25, 2022
1 parent e0ed64d commit 3996d03
Show file tree
Hide file tree
Showing 54 changed files with 7,389 additions and 4,157 deletions.
8 changes: 8 additions & 0 deletions renderdoc/driver/vulkan/all_exts.txt
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
041 VK_EXT_video_decode_h264
042 VK_AMD_texture_gather_bias_lod
043 VK_AMD_shader_info
045 VK_KHR_dynamic_rendering
047 VK_AMD_shader_image_load_store_lod
050 VK_GGP_stream_descriptor_surface
051 VK_NV_corner_sampled_image
Expand Down Expand Up @@ -145,6 +146,7 @@
185 VK_EXT_calibrated_timestamps
186 VK_AMD_shader_core_properties
188 VK_EXT_video_decode_h265
189 VK_KHR_global_priority
190 VK_AMD_memory_overallocation_behavior
191 VK_EXT_vertex_attribute_divisor
192 VK_GGP_frame_token
Expand Down Expand Up @@ -237,6 +239,7 @@
337 VK_KHR_workgroup_memory_explicit_layout
338 VK_KHR_copy_commands2
341 VK_EXT_4444_formats
343 VK_ARM_rasterization_order_attachment_access
345 VK_EXT_rgba10x6_formats
346 VK_NV_acquire_winrt_display
347 VK_EXT_directfb_surface
Expand All @@ -245,6 +248,7 @@
352 VK_VALVE_mutable_descriptor_type
353 VK_EXT_vertex_input_dynamic_state
354 VK_EXT_physical_device_drm
356 VK_EXT_depth_clip_control
357 VK_EXT_primitive_topology_list_restart
361 VK_KHR_format_feature_flags2
365 VK_FUCHSIA_external_memory
Expand All @@ -257,8 +261,12 @@
379 VK_QNX_screen_surface
382 VK_EXT_color_write_enable
389 VK_EXT_global_priority_query
392 VK_EXT_image_view_min_lod
393 VK_EXT_multi_draw
401 VK_EXT_load_store_op_none
412 VK_EXT_border_color_swizzle
413 VK_EXT_pageable_device_local_memory
414 VK_KHR_maintenance4
426 VK_QCOM_fragment_density_map_offset
431 VK_NV_linear_color_attachment
434 VK_GOOGLE_surfaceless_query
13 changes: 13 additions & 0 deletions renderdoc/driver/vulkan/extension_support.md
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,7 @@ Maintainers can update this file by updating vk.xml in this folder and running `
* `VK_KHR_get_memory_requirements2`
* `VK_KHR_get_physical_device_properties2`
* `VK_KHR_get_surface_capabilities2`
* `VK_KHR_global_priority`
* `VK_KHR_image_format_list`
* `VK_KHR_imageless_framebuffer`
* `VK_KHR_incremental_present`
Expand Down Expand Up @@ -226,9 +227,11 @@ Ray tracing extensions are now standard and will likely be supported at some poi
* `VK_EXT_acquire_drm_display`
* `VK_EXT_blend_operation_advanced`
* `VK_EXT_border_color_swizzle`
* `VK_EXT_depth_clip_control`
* `VK_EXT_device_memory_report`
* `VK_EXT_external_memory_host`
* `VK_EXT_image_drm_format_modifier`
* `VK_EXT_image_view_min_lod`
* `VK_EXT_multi_draw`
* `VK_EXT_pageable_device_local_memory`
* `VK_EXT_physical_device_drm`
Expand All @@ -237,6 +240,10 @@ Ray tracing extensions are now standard and will likely be supported at some poi

## Platform/IHV Extensions

### ARM

* `VK_ARM_rasterization_order_attachment_access`

### AMD

* `VK_AMD_memory_overallocation_behavior`
Expand All @@ -251,6 +258,10 @@ Ray tracing extensions are now standard and will likely be supported at some poi
* `VK_FUCHSIA_external_semaphore`
* `VK_FUCHSIA_buffer_collection`

### Google

* `VK_GOOGLE_surfaceless_query`

### Huawei

* `VK_HUAWEI_subpass_shading`
Expand All @@ -277,6 +288,7 @@ Ray tracing extensions are now standard and will likely be supported at some poi
* `VK_NV_fragment_shading_rate_enums`
* `VK_NV_framebuffer_mixed_samples`
* `VK_NV_inherited_viewport_scissor`
* `VK_NV_linear_color_attachment`
* `VK_NV_mesh_shader`
* `VK_NV_ray_tracing_motion_blur`
* `VK_NV_representative_fragment_test`
Expand All @@ -287,6 +299,7 @@ Ray tracing extensions are now standard and will likely be supported at some poi

### Qualcomm

* `VK_QCOM_fragment_density_map_offset`
* `VK_QCOM_render_pass_shader_resolve`
* `VK_QCOM_render_pass_store_ops`
* `VK_QCOM_render_pass_transform`
Expand Down
4 changes: 2 additions & 2 deletions renderdoc/driver/vulkan/official/vk_platform.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// File: vk_platform.h
//
/*
** Copyright 2014-2021 The Khronos Group Inc.
** Copyright 2014-2022 The Khronos Group Inc.
**
** SPDX-License-Identifier: Apache-2.0
*/
Expand Down Expand Up @@ -42,7 +42,7 @@ extern "C"
#define VKAPI_CALL __stdcall
#define VKAPI_PTR VKAPI_CALL
#elif defined(__ANDROID__) && defined(__ARM_ARCH) && __ARM_ARCH < 7
#error "Vulkan isn't supported for the 'armeabi' NDK ABI"
#error "Vulkan is not supported for the 'armeabi' NDK ABI"
#elif defined(__ANDROID__) && defined(__ARM_ARCH) && __ARM_ARCH >= 7 && defined(__ARM_32BIT_STATE)
// On Android 32-bit ARM targets, Vulkan functions use the "hardfloat"
// calling convention, i.e. float parameters are passed in registers. This
Expand Down
2 changes: 1 addition & 1 deletion renderdoc/driver/vulkan/official/vulkan.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#define VULKAN_H_ 1

/*
** Copyright 2015-2021 The Khronos Group Inc.
** Copyright 2015-2022 The Khronos Group Inc.
**
** SPDX-License-Identifier: Apache-2.0
*/
Expand Down
4 changes: 2 additions & 2 deletions renderdoc/driver/vulkan/official/vulkan_android.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#define VULKAN_ANDROID_H_ 1

/*
** Copyright 2015-2021 The Khronos Group Inc.
** Copyright 2015-2022 The Khronos Group Inc.
**
** SPDX-License-Identifier: Apache-2.0
*/
Expand Down Expand Up @@ -95,7 +95,7 @@ typedef struct VkAndroidHardwareBufferFormatProperties2ANDROID {
void* pNext;
VkFormat format;
uint64_t externalFormat;
VkFormatFeatureFlags2KHR formatFeatures;
VkFormatFeatureFlags2 formatFeatures;
VkComponentMapping samplerYcbcrConversionComponents;
VkSamplerYcbcrModelConversion suggestedYcbcrModel;
VkSamplerYcbcrRange suggestedYcbcrRange;
Expand Down
Loading

0 comments on commit 3996d03

Please sign in to comment.