mirror of
https://github.com/ZDoom/zdoom-macos-deps.git
synced 2024-11-12 23:44:20 +00:00
no message
This commit is contained in:
commit
60cb2a98df
120 changed files with 44389 additions and 18293 deletions
1
.github/workflows/build.yml
vendored
1
.github/workflows/build.yml
vendored
|
@ -23,6 +23,7 @@ jobs:
|
|||
- GZDoom
|
||||
- Raze
|
||||
- PrBoom-Plus
|
||||
- quakespasm-exp
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="Black">
|
||||
<option name="sdkName" value="Python 3.9" />
|
||||
</component>
|
||||
<component name="ProjectRootManager" version="2" project-jdk-name="Python 3.9" project-jdk-type="Python SDK" />
|
||||
</project>
|
|
@ -157,7 +157,8 @@ class Builder(object):
|
|||
self._create_prefix_directory()
|
||||
|
||||
if version := state.source_version():
|
||||
print(f'Building {version}')
|
||||
action = 'Generating' if state.xcode else 'Building'
|
||||
print(f'{action} {version}')
|
||||
|
||||
if target.multi_platform and not state.xcode:
|
||||
self._build_multiple_platforms(target)
|
||||
|
|
|
@ -72,8 +72,6 @@ def targets():
|
|||
SndFileTarget(),
|
||||
VorbisTarget(),
|
||||
VpxTarget(),
|
||||
WebpTarget(),
|
||||
ZlibNgTarget(),
|
||||
ZMusicTarget(),
|
||||
|
||||
# Libraries needed for other targets
|
||||
|
@ -97,7 +95,9 @@ def targets():
|
|||
VulkanHeadersTarget(),
|
||||
VulkanLoaderTarget(),
|
||||
WavPackTarget(),
|
||||
WebpTarget(),
|
||||
XmpTarget(),
|
||||
ZlibNgTarget(),
|
||||
|
||||
# Obsolete libraries without binaries
|
||||
BrotliTarget(),
|
||||
|
@ -113,6 +113,7 @@ def targets():
|
|||
Sdl2TtfTarget(),
|
||||
SfmlTarget(),
|
||||
TiffTarget(),
|
||||
UsbTarget(),
|
||||
WxWidgetsTarget(),
|
||||
ZstdTarget(),
|
||||
|
||||
|
@ -130,6 +131,7 @@ def targets():
|
|||
AutoconfTarget(),
|
||||
AutomakeTarget(),
|
||||
BisonTarget(),
|
||||
DfuUtilTarget(),
|
||||
DosBoxXTarget(),
|
||||
DzipTarget(),
|
||||
EricWToolsTarget(),
|
||||
|
|
|
@ -214,8 +214,8 @@ class MoltenVKTarget(base.MakeTarget):
|
|||
|
||||
def prepare_source(self, state: BuildState):
|
||||
state.download_source(
|
||||
'https://github.com/KhronosGroup/MoltenVK/archive/refs/tags/v1.2.7.tar.gz',
|
||||
'3166edcfdca886b4be1a24a3c140f11f9a9e8e49878ea999e3580dfbf9fe4bec')
|
||||
'https://github.com/KhronosGroup/MoltenVK/archive/refs/tags/v1.2.11.tar.gz',
|
||||
'bfa115e283831e52d70ee5e13adf4d152de8f0045996cf2a33f0ac541be238b1')
|
||||
|
||||
def initialize(self, state: BuildState):
|
||||
super().initialize(state)
|
||||
|
@ -258,7 +258,7 @@ class MoltenVKTarget(base.MakeTarget):
|
|||
shutil.copytree(src_path / 'include/MoltenVK', include_path / 'MoltenVK')
|
||||
shutil.copy(state.build_path / 'LICENSE', state.install_path / 'apache2.txt')
|
||||
shutil.copy(
|
||||
src_path / 'MoltenVK.xcframework/macos-arm64_x86_64/libMoltenVK.a',
|
||||
src_path / 'static/MoltenVK.xcframework/macos-arm64_x86_64/libMoltenVK.a',
|
||||
lib_path / 'libMoltenVK-static.a')
|
||||
|
||||
self._make_dylib(state)
|
||||
|
@ -280,7 +280,7 @@ class MoltenVKTarget(base.MakeTarget):
|
|||
'-dynamiclib',
|
||||
'-arch', 'arm64',
|
||||
'-arch', 'x86_64',
|
||||
'-mmacosx-version-min=10.13',
|
||||
'-mmacosx-version-min=10.15',
|
||||
'-compatibility_version', '1.0.0',
|
||||
'-current_version', '1.0.0',
|
||||
'-install_name', '@rpath/libMoltenVK.dylib',
|
||||
|
@ -307,9 +307,9 @@ class Mpg123Target(base.CMakeStaticDependencyTarget):
|
|||
|
||||
def prepare_source(self, state: BuildState):
|
||||
state.download_source(
|
||||
'https://www.mpg123.de/download/mpg123-1.32.5.tar.bz2',
|
||||
'af908cdf6cdb6544b97bc706a799f79894e69468af5881bf454a0ebb9171ed63',
|
||||
patches=('mpg123-arm64-fpu', 'mpg123-no-syn123'))
|
||||
'https://www.mpg123.de/download/mpg123-1.32.7.tar.bz2',
|
||||
'3c8919243707951cac0e3c39bbf28653bcaffc43c98ff16801a27350db8f0f21',
|
||||
patches=('mpg123-have-fpu', 'mpg123-no-syn123'))
|
||||
|
||||
def configure(self, state: BuildState):
|
||||
opts = state.options
|
||||
|
@ -360,8 +360,8 @@ class OpusTarget(base.CMakeStaticDependencyTarget):
|
|||
# LibreSSL 2.8.3 False
|
||||
# TODO: remove this workaround when TLSv1.3 will be available in Python shipped with Xcode
|
||||
state.download_source(
|
||||
'https://ftp.osuosl.org/pub/xiph/releases/opus/opus-1.5.1.tar.gz',
|
||||
'b84610959b8d417b611aa12a22565e0a3732097c6389d19098d844543e340f85')
|
||||
'https://ftp.osuosl.org/pub/xiph/releases/opus/opus-1.5.2.tar.gz',
|
||||
'65c1d2f78b9f2fb20082c38cbe47c951ad5839345876e46941612ee87f9a7ce1')
|
||||
|
||||
def configure(self, state: BuildState):
|
||||
state.options['PC_BUILD'] = 'floating-point'
|
||||
|
@ -447,15 +447,15 @@ class VpxTarget(base.ConfigureMakeDependencyTarget):
|
|||
|
||||
def prepare_source(self, state: BuildState):
|
||||
state.download_source(
|
||||
'https://github.com/webmproject/libvpx/archive/refs/tags/v1.14.0.tar.gz',
|
||||
'5f21d2db27071c8a46f1725928a10227ae45c5cd1cad3727e4aafbe476e321fa')
|
||||
'https://github.com/webmproject/libvpx/archive/refs/tags/v1.14.1.tar.gz',
|
||||
'901747254d80a7937c933d03bd7c5d41e8e6c883e0665fadcb172542167c7977')
|
||||
|
||||
def detect(self, state: BuildState) -> bool:
|
||||
return state.has_source_file('vpxstats.h')
|
||||
|
||||
def configure(self, state: BuildState):
|
||||
hosts = {
|
||||
'x86_64': 'x86_64-darwin17-gcc',
|
||||
'x86_64': 'x86_64-darwin19-gcc',
|
||||
'arm64': 'arm64-darwin20-gcc',
|
||||
}
|
||||
|
||||
|
@ -473,62 +473,14 @@ class VpxTarget(base.ConfigureMakeDependencyTarget):
|
|||
self.update_text_file(state.build_path / 'vpx_config.c', clean_build_config)
|
||||
|
||||
|
||||
class WebpTarget(base.CMakeStaticDependencyTarget):
|
||||
def __init__(self, name='webp'):
|
||||
super().__init__(name)
|
||||
|
||||
def prepare_source(self, state: BuildState):
|
||||
state.download_source(
|
||||
'https://storage.googleapis.com/downloads.webmproject.org/releases/webp/libwebp-1.3.2.tar.gz',
|
||||
'2a499607df669e40258e53d0ade8035ba4ec0175244869d1025d460562aa09b4')
|
||||
|
||||
def configure(self, state: BuildState):
|
||||
option_suffices = (
|
||||
'ANIM_UTILS', 'CWEBP', 'DWEBP', 'EXTRAS', 'GIF2WEBP', 'IMG2WEBP', 'VWEBP', 'WEBPINFO', 'WEBPMUX',
|
||||
)
|
||||
|
||||
for suffix in option_suffices:
|
||||
state.options[f'WEBP_BUILD_{suffix}'] = 'NO'
|
||||
|
||||
super().configure(state)
|
||||
|
||||
def post_build(self, state: BuildState):
|
||||
super().post_build(state)
|
||||
|
||||
shutil.copytree(state.install_path / 'share/WebP/cmake', state.install_path / 'lib/cmake/WebP')
|
||||
|
||||
|
||||
class ZlibNgTarget(base.CMakeStaticDependencyTarget):
|
||||
def __init__(self, name='zlib-ng'):
|
||||
super().__init__(name)
|
||||
|
||||
def prepare_source(self, state: BuildState):
|
||||
state.download_source(
|
||||
'https://github.com/zlib-ng/zlib-ng/archive/refs/tags/2.1.6.tar.gz',
|
||||
'a5d504c0d52e2e2721e7e7d86988dec2e290d723ced2307145dedd06aeb6fef2')
|
||||
|
||||
def detect(self, state: BuildState) -> bool:
|
||||
return state.has_source_file('zlib-ng.h')
|
||||
|
||||
def configure(self, state: BuildState):
|
||||
opts = state.options
|
||||
opts['WITH_GTEST'] = 'NO'
|
||||
opts['WITH_SANITIZER'] = 'NO'
|
||||
opts['ZLIB_COMPAT'] = 'YES'
|
||||
opts['ZLIB_ENABLE_TESTS'] = 'NO'
|
||||
opts['ZLIBNG_ENABLE_TESTS'] = 'NO'
|
||||
|
||||
super().configure(state)
|
||||
|
||||
|
||||
class ZMusicTarget(base.CMakeStaticDependencyTarget):
|
||||
def __init__(self, name='zmusic'):
|
||||
super().__init__(name)
|
||||
|
||||
def prepare_source(self, state: BuildState):
|
||||
state.download_source(
|
||||
'https://github.com/ZDoom/ZMusic/archive/refs/tags/1.1.12.tar.gz',
|
||||
'da818594b395aa9174561a36362332b0ab8e7906d2e556ec47669326e67613d4')
|
||||
'https://github.com/ZDoom/ZMusic/archive/refs/tags/1.1.14.tar.gz',
|
||||
'f04410fe4ea08136f37703e7715c27df4c8532ace1e721cf40c6f303a93acc54')
|
||||
|
||||
def detect(self, state: BuildState) -> bool:
|
||||
return state.has_source_file('include/zmusic.h')
|
||||
|
|
|
@ -54,8 +54,9 @@ class FluidSynthTarget(base.CMakeStaticDependencyTarget):
|
|||
|
||||
def prepare_source(self, state: BuildState):
|
||||
state.download_source(
|
||||
'https://github.com/FluidSynth/fluidsynth/archive/refs/tags/v2.3.4.tar.gz',
|
||||
'1529ef5bc3b9ef3adc2a7964505912f7305103e269e50cc0316f500b22053ac9')
|
||||
'https://github.com/FluidSynth/fluidsynth/archive/refs/tags/v2.3.6.tar.gz',
|
||||
'3340d73286b28fe6e5150fbe12648d4640e86c64c228878b572773bd08cac531',
|
||||
patches='fluidsynth-sf3-support')
|
||||
|
||||
def configure(self, state: BuildState):
|
||||
opts = state.options
|
||||
|
@ -301,8 +302,8 @@ class Sdl2Target(base.CMakeStaticDependencyTarget):
|
|||
|
||||
def prepare_source(self, state: BuildState):
|
||||
state.download_source(
|
||||
'https://github.com/libsdl-org/SDL/releases/download/release-2.30.1/SDL2-2.30.1.tar.gz',
|
||||
'01215ffbc8cfc4ad165ba7573750f15ddda1f971d5a66e9dcaffd37c587f473a')
|
||||
'https://github.com/libsdl-org/SDL/releases/download/release-2.30.8/SDL2-2.30.8.tar.gz',
|
||||
'380c295ea76b9bd72d90075793971c8bcb232ba0a69a9b14da4ae8f603350058')
|
||||
|
||||
def configure(self, state: BuildState):
|
||||
opts = state.options
|
||||
|
@ -397,20 +398,20 @@ class VulkanHeadersTarget(base.CMakeStaticDependencyTarget):
|
|||
def prepare_source(self, state: BuildState):
|
||||
state.download_source(
|
||||
# Version should match with the current MoltenVK release
|
||||
'https://github.com/KhronosGroup/Vulkan-Headers/archive/refs/tags/v1.3.275.tar.gz',
|
||||
'7161da645dbd33fd4ea61eec08e0d77389a640010acbf4afc00234f84df9b314')
|
||||
'https://github.com/KhronosGroup/Vulkan-Headers/archive/refs/tags/v1.3.296.tar.gz',
|
||||
'e204e0b3c19f622d197df945737f5db913d6621830999b8578d34e80a7c90585')
|
||||
|
||||
|
||||
class VulkanLoaderTarget(base.CMakeStaticDependencyTarget):
|
||||
def __init__(self, name='vulkan-loader'):
|
||||
super().__init__(name)
|
||||
self.version = '1.3.275'
|
||||
self.version = '1.3.296'
|
||||
|
||||
def prepare_source(self, state: BuildState):
|
||||
state.download_source(
|
||||
# Version should match with the current MoltenVK release
|
||||
f'https://github.com/KhronosGroup/Vulkan-Loader/archive/refs/tags/v{self.version}.tar.gz',
|
||||
'96dee7d8ccb08f2518e2b82f7a8ce84ffee511c96b16c83259fff87b6ee45232')
|
||||
'682d5323cf31308402c888599b375ebf15810f95d6d1a08ad2f525766becf99b')
|
||||
|
||||
def configure(self, state: BuildState):
|
||||
opts = state.options
|
||||
|
@ -449,6 +450,31 @@ class WavPackTarget(base.CMakeStaticDependencyTarget):
|
|||
super().configure(state)
|
||||
|
||||
|
||||
class WebpTarget(base.CMakeStaticDependencyTarget):
|
||||
def __init__(self, name='webp'):
|
||||
super().__init__(name)
|
||||
|
||||
def prepare_source(self, state: BuildState):
|
||||
state.download_source(
|
||||
'https://storage.googleapis.com/downloads.webmproject.org/releases/webp/libwebp-1.4.0.tar.gz',
|
||||
'61f873ec69e3be1b99535634340d5bde750b2e4447caa1db9f61be3fd49ab1e5')
|
||||
|
||||
def configure(self, state: BuildState):
|
||||
option_suffices = (
|
||||
'ANIM_UTILS', 'CWEBP', 'DWEBP', 'EXTRAS', 'GIF2WEBP', 'IMG2WEBP', 'VWEBP', 'WEBPINFO', 'WEBPMUX',
|
||||
)
|
||||
|
||||
for suffix in option_suffices:
|
||||
state.options[f'WEBP_BUILD_{suffix}'] = 'NO'
|
||||
|
||||
super().configure(state)
|
||||
|
||||
def post_build(self, state: BuildState):
|
||||
super().post_build(state)
|
||||
|
||||
shutil.copytree(state.install_path / 'share/WebP/cmake', state.install_path / 'lib/cmake/WebP')
|
||||
|
||||
|
||||
class XmpTarget(base.ConfigureMakeStaticDependencyTarget):
|
||||
def __init__(self, name='xmp'):
|
||||
super().__init__(name)
|
||||
|
@ -464,3 +490,26 @@ class XmpTarget(base.ConfigureMakeStaticDependencyTarget):
|
|||
def configure(self, state: BuildState):
|
||||
state.options['--enable-static'] = None
|
||||
super().configure(state)
|
||||
|
||||
|
||||
class ZlibNgTarget(base.CMakeStaticDependencyTarget):
|
||||
def __init__(self, name='zlib-ng'):
|
||||
super().__init__(name)
|
||||
|
||||
def prepare_source(self, state: BuildState):
|
||||
state.download_source(
|
||||
'https://github.com/zlib-ng/zlib-ng/archive/refs/tags/2.2.2.tar.gz',
|
||||
'fcb41dd59a3f17002aeb1bb21f04696c9b721404890bb945c5ab39d2cb69654c')
|
||||
|
||||
def detect(self, state: BuildState) -> bool:
|
||||
return state.has_source_file('zlib-ng.h')
|
||||
|
||||
def configure(self, state: BuildState):
|
||||
opts = state.options
|
||||
opts['WITH_GTEST'] = 'NO'
|
||||
opts['WITH_SANITIZER'] = 'NO'
|
||||
opts['ZLIB_COMPAT'] = 'YES'
|
||||
opts['ZLIB_ENABLE_TESTS'] = 'NO'
|
||||
opts['ZLIBNG_ENABLE_TESTS'] = 'NO'
|
||||
|
||||
super().configure(state)
|
||||
|
|
|
@ -272,8 +272,8 @@ class LuaTarget(base.MakeTarget):
|
|||
|
||||
def prepare_source(self, state: BuildState):
|
||||
state.download_source(
|
||||
'https://www.lua.org/ftp/lua-5.4.6.tar.gz',
|
||||
'7d5ea1b9cb6aa0b59ca3dde1c6adcb57ef83a1ba8e5432c0ecd06bf439b3ad88')
|
||||
'https://www.lua.org/ftp/lua-5.4.7.tar.gz',
|
||||
'9fbf5e28ef86c69858f6d3d34eccc32e911c1a28b4120ff3e84aaa70cfbf1e30')
|
||||
|
||||
def detect(self, state: BuildState) -> bool:
|
||||
return state.has_source_file('src/lua.h')
|
||||
|
@ -367,6 +367,19 @@ class TiffTarget(base.CMakeStaticDependencyTarget):
|
|||
return line
|
||||
|
||||
|
||||
class UsbTarget(base.ConfigureMakeStaticDependencyTarget):
|
||||
def __init__(self, name='usb'):
|
||||
super().__init__(name)
|
||||
|
||||
def prepare_source(self, state: BuildState):
|
||||
state.download_source(
|
||||
'https://github.com/libusb/libusb/releases/download/v1.0.27/libusb-1.0.27.tar.bz2',
|
||||
'ffaa41d741a8a3bee244ac8e54a72ea05bf2879663c098c82fc5757853441575')
|
||||
|
||||
def detect(self, state: BuildState) -> bool:
|
||||
return state.has_source_file('libusb/libusb.h')
|
||||
|
||||
|
||||
class WxWidgetsTarget(base.CMakeStaticDependencyTarget):
|
||||
def __init__(self, name='wxwidgets'):
|
||||
super().__init__(name)
|
||||
|
|
|
@ -493,6 +493,7 @@ class QuakespasmExpTarget(CMakeMainTarget):
|
|||
|
||||
if state.architecture() != machine():
|
||||
opts['MakeQuakePak_DIR'] = state.native_build_path
|
||||
opts['EntFixesGenerator_DIR'] = state.native_build_path
|
||||
|
||||
super().configure(state)
|
||||
|
||||
|
|
|
@ -123,8 +123,8 @@ class NasmTarget(base.ConfigureMakeDependencyTarget):
|
|||
|
||||
def prepare_source(self, state: BuildState):
|
||||
state.download_source(
|
||||
'https://www.nasm.us/pub/nasm/releasebuilds/2.16.01/nasm-2.16.01.tar.xz',
|
||||
'c77745f4802375efeee2ec5c0ad6b7f037ea9c87c92b149a9637ff099f162558',
|
||||
'https://www.nasm.us/pub/nasm/releasebuilds/2.16.02/nasm-2.16.02.tar.xz',
|
||||
'1e1b942ea88f22edae89659e15be26fa027eae0747f51413540f52d4eac4790d',
|
||||
patches='nasm-deterministic-date')
|
||||
|
||||
def detect(self, state: BuildState) -> bool:
|
||||
|
|
|
@ -64,6 +64,20 @@ class BisonTarget(base.ConfigureMakeStaticDependencyTarget):
|
|||
super().configure(state)
|
||||
|
||||
|
||||
class DfuUtilTarget(base.ConfigureMakeDependencyTarget):
|
||||
# Depends on usb
|
||||
def __init__(self, name='dfu-util'):
|
||||
super().__init__(name)
|
||||
|
||||
def prepare_source(self, state: BuildState):
|
||||
state.download_source(
|
||||
'https://dfu-util.sourceforge.net/releases/dfu-util-0.11.tar.gz',
|
||||
'b4b53ba21a82ef7e3d4c47df2952adf5fa494f499b6b0b57c58c5d04ae8ff19e')
|
||||
|
||||
def detect(self, state: BuildState) -> bool:
|
||||
return state.has_source_file('src/dfu_util.h')
|
||||
|
||||
|
||||
class DosBoxXTarget(base.ConfigureMakeDependencyTarget):
|
||||
# Depends on autoconf, automake, freetype
|
||||
# TODO: fix absolute paths in bin/* and share/autoconf/autom4te.cfg
|
||||
|
@ -114,23 +128,19 @@ class EricWToolsTarget(base.CMakeStaticDependencyTarget):
|
|||
|
||||
|
||||
class GlslangTarget(base.CMakeStaticDependencyTarget):
|
||||
# Build with --os-version-x64=10.15 command line option
|
||||
|
||||
def __init__(self, name='glslang'):
|
||||
super().__init__(name)
|
||||
|
||||
def prepare_source(self, state: BuildState):
|
||||
state.download_source(
|
||||
'https://github.com/KhronosGroup/glslang/archive/refs/tags/14.1.0.tar.gz',
|
||||
'b5e4c36d60eda7613f36cfee3489c6f507156829c707e1ecd7f48ca45b435322')
|
||||
'https://github.com/KhronosGroup/glslang/archive/refs/tags/15.0.0.tar.gz',
|
||||
'c31c8c2e89af907507c0631273989526ee7d5cdf7df95ececd628fd7b811e064')
|
||||
|
||||
def configure(self, state: BuildState):
|
||||
args = ('python3', 'update_glslang_sources.py')
|
||||
subprocess.run(args, check=True, cwd=state.source, env=state.environment)
|
||||
|
||||
state.validate_minimum_version('10.15') # SPIRV-Tools uses <filesystem>
|
||||
state.options['ENABLE_CTEST'] = 'NO'
|
||||
|
||||
super().configure(state)
|
||||
|
||||
def post_build(self, state: BuildState):
|
||||
|
@ -176,13 +186,6 @@ class M4Target(base.ConfigureMakeDependencyTarget):
|
|||
'https://ftp.gnu.org/gnu/m4/m4-1.4.19.tar.xz',
|
||||
'63aede5c6d33b6d9b13511cd0be2cac046f2e70fd0a07aa9573a04a82783af96')
|
||||
|
||||
def configure(self, state: BuildState):
|
||||
opts = state.options
|
||||
opts['enable_ltdl'] = 'NO'
|
||||
opts['with_gvedit'] = 'NO'
|
||||
|
||||
super().configure(state)
|
||||
|
||||
|
||||
class P7ZipTarget(base.CMakeTarget):
|
||||
def __init__(self, name='p7zip'):
|
||||
|
@ -237,8 +240,8 @@ class Radare2Target(base.MesonTarget):
|
|||
|
||||
def prepare_source(self, state: BuildState):
|
||||
state.download_source(
|
||||
'https://github.com/radareorg/radare2/releases/download/5.8.8/radare2-5.8.8.tar.xz',
|
||||
'070dbc353e8e0d09fb985a73bfee2783690abbd58d4fbbecc3a50480eab9d537')
|
||||
'https://github.com/radareorg/radare2/releases/download/5.9.4/radare2-5.9.4.tar.xz',
|
||||
'edf4fc9255482ef790a85e1e563ecce147c6dc6ef49572586b3bb7fa6f1331b3')
|
||||
|
||||
def detect(self, state: BuildState) -> bool:
|
||||
return state.has_source_file('man/radare2.1')
|
||||
|
@ -248,8 +251,10 @@ class Radare2Target(base.MesonTarget):
|
|||
option['blob'] = 'true'
|
||||
option['enable_tests'] = 'false'
|
||||
option['enable_r2r'] = 'false'
|
||||
option['local'] = 'true'
|
||||
option['r2_gittip'] = 'ea7f0356519884715cf1d5fba16042bac72b2df5'
|
||||
option['r2_version_commit'] = '1'
|
||||
option['static_runtime'] = 'true'
|
||||
|
||||
super().configure(state)
|
||||
|
||||
|
@ -267,8 +272,8 @@ class RizinTarget(base.MesonTarget):
|
|||
|
||||
def prepare_source(self, state: BuildState):
|
||||
state.download_source(
|
||||
'https://github.com/rizinorg/rizin/releases/download/v0.7.2/rizin-src-v0.7.2.tar.xz',
|
||||
'fcff3fb45ae2b75e3f604bc7a08076e322e6e14def79098186378065ccb3582a')
|
||||
'https://github.com/rizinorg/rizin/releases/download/v0.7.3/rizin-src-v0.7.3.tar.xz',
|
||||
'e0ed25ada6be42098d38da9ccef4befbd549e477e80f8dffa5ca1b8ff9fbda74')
|
||||
|
||||
def detect(self, state: BuildState) -> bool:
|
||||
return state.has_source_file('binrz/man/rizin.1')
|
||||
|
@ -291,9 +296,8 @@ class SeverZipTarget(base.MakeTarget):
|
|||
|
||||
def prepare_source(self, state: BuildState):
|
||||
state.download_source(
|
||||
'https://7-zip.org/a/7z2301-src.tar.xz',
|
||||
'356071007360e5a1824d9904993e8b2480b51b570e8c9faf7c0f58ebe4bf9f74',
|
||||
patches='7zip-fix-errors')
|
||||
'https://7-zip.org/a/7z2406-src.tar.xz',
|
||||
'2aa1660c773525b2ed84d6cd7ff0680c786ec0893b87e4db44654dcb7f5ac8b5')
|
||||
|
||||
def detect(self, state: BuildState) -> bool:
|
||||
return state.has_source_file('CPP/7zip/cmpl_mac_arm64.mak')
|
||||
|
|
|
@ -25,7 +25,7 @@ from pathlib import Path
|
|||
from .packaging.version import Version as StrictVersion
|
||||
|
||||
# Minimum OS versions
|
||||
OS_VERSION_X86_64 = StrictVersion('10.13')
|
||||
OS_VERSION_X86_64 = StrictVersion('10.15')
|
||||
OS_VERSION_ARM64 = StrictVersion('11.0')
|
||||
|
||||
|
||||
|
|
|
@ -48,6 +48,9 @@ extern "C" {
|
|||
* // ...
|
||||
* }
|
||||
* @endcode
|
||||
* All string settings are encoded in UTF-8. This includes the names
|
||||
* of the audio and MIDI devices, exposed as setting options.
|
||||
*
|
||||
* @sa @ref CreatingSettings
|
||||
*
|
||||
* @{
|
||||
|
|
4
deps/fluidsynth/include/fluidsynth/version.h
vendored
4
deps/fluidsynth/include/fluidsynth/version.h
vendored
|
@ -31,10 +31,10 @@ extern "C" {
|
|||
*
|
||||
* @{
|
||||
*/
|
||||
#define FLUIDSYNTH_VERSION "2.3.4" /**< String constant of libfluidsynth version. */
|
||||
#define FLUIDSYNTH_VERSION "2.3.6" /**< String constant of libfluidsynth version. */
|
||||
#define FLUIDSYNTH_VERSION_MAJOR 2 /**< libfluidsynth major version integer constant. */
|
||||
#define FLUIDSYNTH_VERSION_MINOR 3 /**< libfluidsynth minor version integer constant. */
|
||||
#define FLUIDSYNTH_VERSION_MICRO 4 /**< libfluidsynth micro version integer constant. */
|
||||
#define FLUIDSYNTH_VERSION_MICRO 6 /**< libfluidsynth micro version integer constant. */
|
||||
|
||||
FLUIDSYNTH_API void fluid_version(int *major, int *minor, int *micro);
|
||||
FLUIDSYNTH_API char* fluid_version_str(void);
|
||||
|
|
|
@ -35,7 +35,7 @@ find_package(PkgConfig QUIET)
|
|||
pkg_check_modules(PC_GLIB2 QUIET glib-2.0)
|
||||
pkg_check_modules(PC_GTHREAD2 QUIET gthread-2.0)
|
||||
pkg_check_modules(PC_GMODULE2 QUIET gmodule-2.0)
|
||||
pkg_check_modules(PC_GMODULE2 QUIET gobject-2.0)
|
||||
pkg_check_modules(PC_GOBJECT2 QUIET gobject-2.0)
|
||||
|
||||
# Find the headers and libraries
|
||||
find_path(
|
||||
|
@ -209,7 +209,7 @@ if(GLib2_gobject-2_LIBRARY AND NOT TARGET GLib2::gobject-2)
|
|||
# Handle transitive dependencies
|
||||
if(PC_GOBJECT2_FOUND)
|
||||
get_target_properties_from_pkg_config("${GLib2_gobject-2_LIBRARY}"
|
||||
"PC_OBJECT2" "_gobject2")
|
||||
"PC_GOBJECT2" "_gobject2")
|
||||
else()
|
||||
find_package(libffi QUIET)
|
||||
set(_gobject2_link_libraries "libffi" "GLib2::glib-2")
|
||||
|
|
|
@ -37,7 +37,7 @@ find_path(
|
|||
|
||||
find_library(
|
||||
InstPatch_LIBRARY
|
||||
NAMES "instpatch-1.0"
|
||||
NAMES "instpatch-1.0" "instpatch-2"
|
||||
HINTS "${PC_INSTPATCH_LIBDIR}")
|
||||
|
||||
# Get version from pkg-config or read the config header
|
||||
|
|
|
@ -53,13 +53,13 @@ find_library(
|
|||
|
||||
# Get the version from pkg-config
|
||||
if(PC_OPUS_VERSION)
|
||||
set(Opus_VERSION "${PC_OPUS_VERSION}")
|
||||
set(Opus_VERSION "${PC_OPUS_VERSION}.0")
|
||||
set(OPUS_VERSION "${Opus_VERSION}")
|
||||
set(OPUS_VERSION_STRING "${Opus_VERSION}")
|
||||
string(REPLACE "." ";" _opus_version_list "${Opus_VERSION}")
|
||||
list(GET _opus_version_list 0 OPUS_VERSION_MAJOR)
|
||||
list(GET _opus_version_list 1 OPUS_VERSION_MINOR)
|
||||
list(GET _opus_version_list 2 OPUS_VERSION_PATCH)
|
||||
list(GET _opus_version_list 2 OPUS_VERSION_PATCH) # might be missing if zero, hence adding the .0 above
|
||||
else()
|
||||
message(STATUS "Unable to get Opus version without pkg-config.")
|
||||
set(Opus_VERSION)
|
||||
|
|
|
@ -50,7 +50,7 @@ find_path(
|
|||
|
||||
find_library(
|
||||
_sndfile_library
|
||||
NAMES "sndfile"
|
||||
NAMES "sndfile" "sndfile-1"
|
||||
HINTS "${PC_SNDFILE_LIBDIR}")
|
||||
|
||||
# Get version from pkg-config or read the config header
|
||||
|
@ -69,7 +69,8 @@ elseif(SndFile_INCLUDE_DIR)
|
|||
endif()
|
||||
|
||||
# Check the features SndFile was built with
|
||||
if(PC_SNDFILE_FOUND)
|
||||
# 2024-01-02: Recent versions of libsndfile don't seem to provide a pkgconfig file and older version who did are lacking private libraries like OGG.
|
||||
if(TRUE) #PC_SNDFILE_FOUND
|
||||
if("vorbis" IN_LIST PC_SNDFILE_STATIC_LIBRARIES)
|
||||
set(SndFile_WITH_EXTERNAL_LIBS TRUE)
|
||||
endif()
|
||||
|
|
|
@ -92,7 +92,7 @@ find_package_handle_standard_args(
|
|||
# Create the targets
|
||||
foreach(_component libmpg123 libout123 libsyn123)
|
||||
if(mpg123_${_component}_FOUND AND NOT TARGET MPG123::${_component})
|
||||
add_library(MPG123::${_component})
|
||||
add_library(MPG123::${_component} UNKNOWN IMPORTED)
|
||||
set_target_properties(
|
||||
MPG123::${_component}
|
||||
PROPERTIES IMPORTED_LOCATION "${mpg123_${_component}_LIBRARY}"
|
||||
|
|
|
@ -10,13 +10,13 @@
|
|||
# The variable CVF_VERSION must be set before calling configure_file().
|
||||
|
||||
|
||||
set(PACKAGE_VERSION "2.3.4")
|
||||
set(PACKAGE_VERSION "2.3.6")
|
||||
|
||||
if(PACKAGE_VERSION VERSION_LESS PACKAGE_FIND_VERSION)
|
||||
set(PACKAGE_VERSION_COMPATIBLE FALSE)
|
||||
else()
|
||||
|
||||
if("2.3.4" MATCHES "^([0-9]+)\\.([0-9]+)")
|
||||
if("2.3.6" MATCHES "^([0-9]+)\\.([0-9]+)")
|
||||
set(CVF_VERSION_MAJOR "${CMAKE_MATCH_1}")
|
||||
set(CVF_VERSION_MINOR "${CMAKE_MATCH_2}")
|
||||
|
||||
|
@ -27,7 +27,7 @@ else()
|
|||
string(REGEX REPLACE "^0+" "" CVF_VERSION_MINOR "${CVF_VERSION_MINOR}")
|
||||
endif()
|
||||
else()
|
||||
set(CVF_VERSION_MAJOR "2.3.4")
|
||||
set(CVF_VERSION_MAJOR "2.3.6")
|
||||
set(CVF_VERSION_MINOR "")
|
||||
endif()
|
||||
|
||||
|
|
|
@ -76,7 +76,8 @@ macro ( unset_pkg_config _prefix )
|
|||
endmacro ( unset_pkg_config )
|
||||
|
||||
function ( get_target_properties_from_pkg_config _library _prefix _out_prefix )
|
||||
if ( "${_library}" MATCHES "${CMAKE_STATIC_LIBRARY_SUFFIX}$" )
|
||||
if ( NOT "${_library}" MATCHES "${CMAKE_IMPORT_LIBRARY_SUFFIX}$"
|
||||
AND "${_library}" MATCHES "${CMAKE_STATIC_LIBRARY_SUFFIX}$" )
|
||||
set ( _cflags ${_prefix}_STATIC_CFLAGS_OTHER )
|
||||
set ( _link_libraries ${_prefix}_STATIC_LIBRARIES )
|
||||
set ( _library_dirs ${_prefix}_STATIC_LIBRARY_DIRS )
|
||||
|
|
BIN
deps/fluidsynth/lib/libfluidsynth.a
vendored
BIN
deps/fluidsynth/lib/libfluidsynth.a
vendored
Binary file not shown.
2
deps/fluidsynth/lib/pkgconfig/fluidsynth.pc
vendored
2
deps/fluidsynth/lib/pkgconfig/fluidsynth.pc
vendored
|
@ -5,7 +5,7 @@ includedir=${prefix}/include
|
|||
|
||||
Name: FluidSynth
|
||||
Description: Software SoundFont synth
|
||||
Version: 2.3.4
|
||||
Version: 2.3.6
|
||||
Requires.private: glib-2.0 gthread-2.0 sndfile libinstpatch-1.0
|
||||
Libs: -L${libdir} -lfluidsynth
|
||||
Libs.private: -lm -Wl,-framework,CoreAudio,-framework,AudioUnit -Wl,-framework,CoreMIDI,-framework,CoreServices
|
||||
|
|
2
deps/moltenvk/include/MoltenVK/mvk_config.h
vendored
2
deps/moltenvk/include/MoltenVK/mvk_config.h
vendored
|
@ -32,7 +32,7 @@ extern "C" {
|
|||
/**
|
||||
* This header is obsolete and deprecated, and is provided for legacy compatibility only.
|
||||
*
|
||||
* To configure MoltenVK, use one of the following mechanisms,
|
||||
* To configure MoltenVK, use one of the following mechanisms,
|
||||
* as documented in MoltenVK_Configuration_Parameters.md:
|
||||
*
|
||||
* - The standard Vulkan VK_EXT_layer_settings extension (layer name "MoltenVK").
|
||||
|
|
|
@ -342,6 +342,9 @@ MTLBlendOperation mvkMTLBlendOperationFromVkBlendOp(VkBlendOp vkBlendOp);
|
|||
/** Returns the Metal MTLBlendFactor corresponding to the specified Vulkan VkBlendFactor. */
|
||||
MTLBlendFactor mvkMTLBlendFactorFromVkBlendFactor(VkBlendFactor vkBlendFactor);
|
||||
|
||||
/** Returns the Metal MTLLogicOperation corresponding to the specified Vulkan VkLogicOp. */
|
||||
NSUInteger mvkMTLLogicOperationFromVkLogicOp(VkLogicOp vkBlendOp);
|
||||
|
||||
/**
|
||||
* Returns the Metal MTLVertexFormat corresponding to the specified
|
||||
* Vulkan VkFormat as used as a vertex attribute format.
|
||||
|
@ -449,7 +452,7 @@ static inline MTLOrigin mvkMTLOriginFromVkOffset3D(VkOffset3D vkOffset) {
|
|||
}
|
||||
|
||||
/** Returns a Vulkan VkOffset3D constructed from a Metal MTLOrigin. */
|
||||
static inline VkOffset3D mvkVkOffset3DFromMTLSize(MTLOrigin mtlOrigin) {
|
||||
static inline VkOffset3D mvkVkOffset3DFromMTLOrigin(MTLOrigin mtlOrigin) {
|
||||
return { (int32_t)mtlOrigin.x, (int32_t)mtlOrigin.y, (int32_t)mtlOrigin.z };
|
||||
}
|
||||
|
||||
|
@ -479,9 +482,6 @@ static inline VkExtent3D mvkVkExtent3DFromMTLSize(MTLSize mtlSize) {
|
|||
/** Macro indicating the Vulkan memory type bits corresponding to Metal memoryless memory (not host visible and lazily allocated). */
|
||||
#define MVK_VK_MEMORY_TYPE_METAL_MEMORYLESS (VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT | VK_MEMORY_PROPERTY_LAZILY_ALLOCATED_BIT)
|
||||
|
||||
/** Returns the Metal storage mode corresponding to the specified Vulkan memory flags. */
|
||||
MTLStorageMode mvkMTLStorageModeFromVkMemoryPropertyFlags(VkMemoryPropertyFlags vkFlags);
|
||||
|
||||
/** Returns the Metal CPU cache mode corresponding to the specified Vulkan memory flags. */
|
||||
MTLCPUCacheMode mvkMTLCPUCacheModeFromVkMemoryPropertyFlags(VkMemoryPropertyFlags vkFlags);
|
||||
|
||||
|
|
53
deps/moltenvk/include/MoltenVK/mvk_private_api.h
vendored
53
deps/moltenvk/include/MoltenVK/mvk_private_api.h
vendored
|
@ -44,7 +44,7 @@ typedef unsigned long MTLArgumentBuffersTier;
|
|||
*/
|
||||
|
||||
|
||||
#define MVK_PRIVATE_API_VERSION 39
|
||||
#define MVK_PRIVATE_API_VERSION 43
|
||||
|
||||
|
||||
#pragma mark -
|
||||
|
@ -64,11 +64,14 @@ typedef unsigned long MTLArgumentBuffersTier;
|
|||
*/
|
||||
#define MVK_VERSION_MAJOR 1
|
||||
#define MVK_VERSION_MINOR 2
|
||||
#define MVK_VERSION_PATCH 7
|
||||
#define MVK_VERSION_PATCH 11
|
||||
|
||||
#define MVK_MAKE_VERSION(major, minor, patch) (((major) * 10000) + ((minor) * 100) + (patch))
|
||||
#define MVK_VERSION MVK_MAKE_VERSION(MVK_VERSION_MAJOR, MVK_VERSION_MINOR, MVK_VERSION_PATCH)
|
||||
#define MVK_MAKE_VERSION(major, minor, patch) (((major) * 10000) + ((minor) * 100) + (patch))
|
||||
#define MVK_VERSION MVK_MAKE_VERSION(MVK_VERSION_MAJOR, MVK_VERSION_MINOR, MVK_VERSION_PATCH)
|
||||
|
||||
#define MVK_STRINGIFY_IMPL(val) #val
|
||||
#define MVK_STRINGIFY(val) MVK_STRINGIFY_IMPL(val)
|
||||
#define MVK_VERSION_STRING (MVK_STRINGIFY(MVK_VERSION_MAJOR) "." MVK_STRINGIFY(MVK_VERSION_MINOR) "." MVK_STRINGIFY(MVK_VERSION_PATCH))
|
||||
|
||||
#pragma mark -
|
||||
#pragma mark MoltenVK configuration
|
||||
|
@ -121,9 +124,10 @@ typedef enum MVKConfigTraceVulkanCalls {
|
|||
|
||||
/** Identifies the scope for Metal to run an automatic GPU capture for diagnostic debugging purposes. */
|
||||
typedef enum MVKConfigAutoGPUCaptureScope {
|
||||
MVK_CONFIG_AUTO_GPU_CAPTURE_SCOPE_NONE = 0, /**< No automatic GPU capture. */
|
||||
MVK_CONFIG_AUTO_GPU_CAPTURE_SCOPE_DEVICE = 1, /**< Automatically capture all GPU activity during the lifetime of a VkDevice. */
|
||||
MVK_CONFIG_AUTO_GPU_CAPTURE_SCOPE_FRAME = 2, /**< Automatically capture all GPU activity during the rendering and presentation of the first frame. */
|
||||
MVK_CONFIG_AUTO_GPU_CAPTURE_SCOPE_NONE = 0, /**< No automatic GPU capture. */
|
||||
MVK_CONFIG_AUTO_GPU_CAPTURE_SCOPE_DEVICE = 1, /**< Automatically capture all GPU activity during the lifetime of a VkDevice. */
|
||||
MVK_CONFIG_AUTO_GPU_CAPTURE_SCOPE_FRAME = 2, /**< Automatically capture all GPU activity during the rendering and presentation of the first frame. */
|
||||
MVK_CONFIG_AUTO_GPU_CAPTURE_SCOPE_ON_DEMAND = 3, /**< Capture all GPU activity when signaled on a temporary named pipe. */
|
||||
MVK_CONFIG_AUTO_GPU_CAPTURE_SCOPE_MAX_ENUM = 0x7FFFFFFF
|
||||
} MVKConfigAutoGPUCaptureScope;
|
||||
|
||||
|
@ -136,14 +140,6 @@ typedef enum MVKConfigAdvertiseExtensionBits {
|
|||
} MVKConfigAdvertiseExtensionBits;
|
||||
typedef VkFlags MVKConfigAdvertiseExtensions;
|
||||
|
||||
/** Identifies the use of Metal Argument Buffers. */
|
||||
typedef enum MVKUseMetalArgumentBuffers {
|
||||
MVK_CONFIG_USE_METAL_ARGUMENT_BUFFERS_NEVER = 0, /**< Don't use Metal Argument Buffers. */
|
||||
MVK_CONFIG_USE_METAL_ARGUMENT_BUFFERS_ALWAYS = 1, /**< Use Metal Argument Buffers for all pipelines. */
|
||||
MVK_CONFIG_USE_METAL_ARGUMENT_BUFFERS_DESCRIPTOR_INDEXING = 2, /**< Use Metal Argument Buffers only if VK_EXT_descriptor_indexing extension is enabled. */
|
||||
MVK_CONFIG_USE_METAL_ARGUMENT_BUFFERS_MAX_ENUM = 0x7FFFFFFF
|
||||
} MVKUseMetalArgumentBuffers;
|
||||
|
||||
/** Identifies the Metal functionality used to support Vulkan semaphore functionality (VkSemaphore). */
|
||||
typedef enum MVKVkSemaphoreSupportStyle {
|
||||
MVK_CONFIG_VK_SEMAPHORE_SUPPORT_STYLE_SINGLE_QUEUE = 0, /**< Limit Vulkan to a single queue, with no explicit semaphore synchronization, and use Metal's implicit guarantees that all operations submitted to a queue will give the same result as if they had been run in submission order. */
|
||||
|
@ -229,17 +225,20 @@ typedef struct {
|
|||
MVKConfigAutoGPUCaptureScope autoGPUCaptureScope; /**< MVK_CONFIG_AUTO_GPU_CAPTURE_SCOPE */
|
||||
const char* autoGPUCaptureOutputFilepath; /**< MVK_CONFIG_AUTO_GPU_CAPTURE_OUTPUT_FILE */
|
||||
VkBool32 texture1DAs2D; /**< MVK_CONFIG_TEXTURE_1D_AS_2D */
|
||||
VkBool32 preallocateDescriptors; /**< MVK_CONFIG_PREALLOCATE_DESCRIPTORS */
|
||||
VkBool32 preallocateDescriptors; /**< Obsolete, deprecated, and ignored. */
|
||||
VkBool32 useCommandPooling; /**< MVK_CONFIG_USE_COMMAND_POOLING */
|
||||
VkBool32 useMTLHeap; /**< MVK_CONFIG_USE_MTLHEAP */
|
||||
MVKConfigActivityPerformanceLoggingStyle activityPerformanceLoggingStyle; /**< MVK_CONFIG_ACTIVITY_PERFORMANCE_LOGGING_STYLE */
|
||||
uint32_t apiVersionToAdvertise; /**< MVK_CONFIG_API_VERSION_TO_ADVERTISE */
|
||||
MVKConfigAdvertiseExtensions advertiseExtensions; /**< MVK_CONFIG_ADVERTISE_EXTENSIONS */
|
||||
VkBool32 resumeLostDevice; /**< MVK_CONFIG_RESUME_LOST_DEVICE */
|
||||
MVKUseMetalArgumentBuffers useMetalArgumentBuffers; /**< MVK_CONFIG_USE_METAL_ARGUMENT_BUFFERS */
|
||||
VkBool32 useMetalArgumentBuffers; /**< MVK_CONFIG_USE_METAL_ARGUMENT_BUFFERS */
|
||||
MVKConfigCompressionAlgorithm shaderSourceCompressionAlgorithm; /**< MVK_CONFIG_SHADER_COMPRESSION_ALGORITHM */
|
||||
VkBool32 shouldMaximizeConcurrentCompilation; /**< MVK_CONFIG_SHOULD_MAXIMIZE_CONCURRENT_COMPILATION */
|
||||
float timestampPeriodLowPassAlpha; /**< MVK_CONFIG_TIMESTAMP_PERIOD_LOWPASS_ALPHA */
|
||||
VkBool32 useMetalPrivateAPI; /**< MVK_CONFIG_USE_METAL_PRIVATE_API */
|
||||
const char* shaderDumpDir; /**< MVK_CONFIG_SHADER_DUMP_DIR */
|
||||
VkBool32 shaderLogEstimatedGLSL; /**< MVK_CONFIG_SHADER_LOG_ESTIMATED_GLSL */
|
||||
} MVKConfiguration;
|
||||
|
||||
// Legacy support for renamed struct elements.
|
||||
|
@ -344,10 +343,10 @@ typedef struct {
|
|||
VkBool32 simdPermute; /**< If true, SIMD-group permutation functions (vote, ballot, shuffle) are supported in shaders. */
|
||||
VkBool32 simdReduction; /**< If true, SIMD-group reduction functions (arithmetic) are supported in shaders. */
|
||||
uint32_t minSubgroupSize; /**< The minimum number of threads in a SIMD-group. */
|
||||
VkBool32 textureBarriers; /**< If true, texture barriers are supported within Metal render passes. */
|
||||
VkBool32 textureBarriers; /**< If true, texture barriers are supported within Metal render passes. Deprecated. Will always be false on all platforms. */
|
||||
VkBool32 tileBasedDeferredRendering; /**< If true, this device uses tile-based deferred rendering. */
|
||||
VkBool32 argumentBuffers; /**< If true, Metal argument buffers are supported. */
|
||||
VkBool32 descriptorSetArgumentBuffers; /**< If true, a Metal argument buffer can be assigned to a descriptor set, and used on any pipeline and pipeline stage. If false, a different Metal argument buffer must be used for each pipeline-stage/descriptor-set combination. */
|
||||
VkBool32 argumentBuffers; /**< If true, Metal argument buffers are supported on the platform. */
|
||||
VkBool32 descriptorSetArgumentBuffers; /**< If true, Metal argument buffers can be used for descriptor sets. */
|
||||
MVKFloatRounding clearColorFloatRounding; /**< Identifies the type of rounding Metal uses for MTLClearColor float to integer conversions. */
|
||||
MVKCounterSamplingFlags counterSamplingPoints; /**< Identifies the points where pipeline GPU counter sampling may occur. */
|
||||
VkBool32 programmableSamplePositions; /**< If true, programmable MSAA sample positions are supported. */
|
||||
|
@ -357,6 +356,8 @@ typedef struct {
|
|||
VkDeviceSize hostMemoryPageSize; /**< The size of a page of host memory on this platform. */
|
||||
VkBool32 dynamicVertexStride; /**< If true, VK_DYNAMIC_STATE_VERTEX_INPUT_BINDING_STRIDE is supported. */
|
||||
VkBool32 needsCubeGradWorkaround; /**< If true, sampling from cube textures with explicit gradients is broken and needs a workaround. */
|
||||
VkBool32 nativeTextureAtomics; /**< If true, atomic operations on textures are supported natively. */
|
||||
VkBool32 needsArgumentBufferEncoders; /**< If true, Metal argument buffer encoders are needed to populate argument buffer content. */
|
||||
} MVKPhysicalDeviceMetalFeatures;
|
||||
|
||||
|
||||
|
@ -370,6 +371,7 @@ typedef struct {
|
|||
typedef struct {
|
||||
uint32_t count; /**< The number of activities of this type. */
|
||||
double latest; /**< The latest (most recent) value of the activity. */
|
||||
double previous; /**< The previous (second most recent) value of the activity. */
|
||||
double average; /**< The average value of the activity. */
|
||||
double minimum; /**< The minimum value of the activity. */
|
||||
double maximum; /**< The maximum value of the activity. */
|
||||
|
@ -401,9 +403,11 @@ typedef struct {
|
|||
typedef struct {
|
||||
MVKPerformanceTracker retrieveMTLCommandBuffer; /** Retrieve a MTLCommandBuffer from a MTLQueue, in milliseconds. */
|
||||
MVKPerformanceTracker commandBufferEncoding; /** Encode a single VkCommandBuffer to a MTLCommandBuffer (excludes MTLCommandBuffer encoding from configured immediate prefilling), in milliseconds. */
|
||||
MVKPerformanceTracker waitSubmitCommandBuffers; /** Wait time from vkQueueSubmit() call to starting the encoding of the command buffers to the GPU, in milliseconds. Useful when MVK_CONFIG_SYNCHRONOUS_QUEUE_SUBMITS is disabled. */
|
||||
MVKPerformanceTracker submitCommandBuffers; /** Submit and encode all VkCommandBuffers in a vkQueueSubmit() operation to MTLCommandBuffers (including both prefilled and deferred encoding), in milliseconds. */
|
||||
MVKPerformanceTracker mtlCommandBufferExecution; /** Execute a MTLCommandBuffer on the GPU, from commit to completion callback, in milliseconds. */
|
||||
MVKPerformanceTracker retrieveCAMetalDrawable; /** Retrieve next CAMetalDrawable from a CAMetalLayer, in milliseconds. */
|
||||
MVKPerformanceTracker waitPresentSwapchains; /** Wait time from vkQueuePresentKHR() call to starting the encoding of the swapchains to the GPU, in milliseconds. Useful when MVK_CONFIG_SYNCHRONOUS_QUEUE_SUBMITS is disabled. */
|
||||
MVKPerformanceTracker presentSwapchains; /** Present the swapchains in a vkQueuePresentKHR() on the GPU, from commit to presentation callback, in milliseconds. */
|
||||
MVKPerformanceTracker frameInterval; /** Frame presentation interval (1000/FPS), in milliseconds. */
|
||||
} MVKQueuePerformance;
|
||||
|
@ -421,10 +425,6 @@ typedef struct {
|
|||
* than your app was, the size of this structure in your app may be larger or smaller than the
|
||||
* struct in MoltenVK. See the description of the vkGetPerformanceStatisticsMVK() function for
|
||||
* information about how to handle this.
|
||||
*
|
||||
* TO SUPPORT DYNAMIC LINKING TO THIS STRUCTURE AS DESCRIBED ABOVE, THIS STRUCTURE SHOULD NOT
|
||||
* BE CHANGED EXCEPT TO ADD ADDITIONAL MEMBERS ON THE END. EXISTING MEMBERS, AND THEIR ORDER,
|
||||
* SHOULD NOT BE CHANGED.
|
||||
*/
|
||||
typedef struct {
|
||||
MVKShaderCompilationPerformance shaderCompilation; /** Shader compilations activities. */
|
||||
|
@ -520,11 +520,12 @@ VKAPI_ATTR VkResult VKAPI_CALL vkGetPhysicalDeviceMetalFeaturesMVK(
|
|||
* to tell MoltenVK the limit of the size of your MVKPerformanceStatistics structure. Upon return
|
||||
* from this function, the value of *pPerfSize will hold the actual number of bytes copied into
|
||||
* your passed MVKPerformanceStatistics structure, which will be the smaller of what your app
|
||||
* thinks is the size of MVKPerformanceStatistics, and what MoltenVK thinks it is. This
|
||||
* represents the safe access area within the structure for both MoltenVK and your app.
|
||||
* thinks is the size of MVKPerformanceStatistics, and what MoltenVK thinks it is.
|
||||
*
|
||||
* If the size that MoltenVK expects for MVKPerformanceStatistics is different than the value passed
|
||||
* in *pPerfSize, this function will return VK_INCOMPLETE, otherwise it will return VK_SUCCESS.
|
||||
* This indicates that the data returned from this function will likely be incorrect, as the structures
|
||||
* nested under MVKPerformanceStatistics may be different.
|
||||
*
|
||||
* Although it is not necessary, you can use this function to determine in advance the value
|
||||
* that MoltenVK expects the size of MVKPerformanceStatistics to be by setting the value of
|
||||
|
|
BIN
deps/moltenvk/lib/libMoltenVK-static.a
vendored
BIN
deps/moltenvk/lib/libMoltenVK-static.a
vendored
Binary file not shown.
|
@ -7,7 +7,7 @@
|
|||
# PACKAGE_VERSION_COMPATIBLE if the current version is >= requested version.
|
||||
# The variable CVF_VERSION must be set before calling configure_file().
|
||||
|
||||
set(PACKAGE_VERSION "1.32.5")
|
||||
set(PACKAGE_VERSION "1.32.7")
|
||||
|
||||
if (PACKAGE_FIND_VERSION_RANGE)
|
||||
# Package version must be in the requested version range
|
||||
|
|
BIN
deps/mpg123/lib/libmpg123.a
vendored
BIN
deps/mpg123/lib/libmpg123.a
vendored
Binary file not shown.
2
deps/mpg123/lib/pkgconfig/libmpg123.pc
vendored
2
deps/mpg123/lib/pkgconfig/libmpg123.pc
vendored
|
@ -6,7 +6,7 @@ includedir=${prefix}/include
|
|||
Name: libmpg123
|
||||
Description: An optimised MPEG Audio decoder
|
||||
Requires:
|
||||
Version: 1.32.5
|
||||
Version: 1.32.7
|
||||
Libs: -L${libdir} -lmpg123
|
||||
Libs.private:
|
||||
Cflags: -I${includedir}
|
||||
|
|
BIN
deps/nasm/bin/nasm
vendored
BIN
deps/nasm/bin/nasm
vendored
Binary file not shown.
6
deps/opus/lib/cmake/Opus/OpusConfig.cmake
vendored
6
deps/opus/lib/cmake/Opus/OpusConfig.cmake
vendored
|
@ -1,8 +1,8 @@
|
|||
set(OPUS_VERSION 1.5.1)
|
||||
set(OPUS_VERSION_STRING 1.5.1)
|
||||
set(OPUS_VERSION 1.5.2)
|
||||
set(OPUS_VERSION_STRING 1.5.2)
|
||||
set(OPUS_VERSION_MAJOR 1)
|
||||
set(OPUS_VERSION_MINOR 5)
|
||||
set(OPUS_VERSION_PATCH 1)
|
||||
set(OPUS_VERSION_PATCH 2)
|
||||
|
||||
|
||||
####### Expanded from @PACKAGE_INIT@ by configure_package_config_file() #######
|
||||
|
|
|
@ -9,19 +9,19 @@
|
|||
# The variable CVF_VERSION must be set before calling configure_file().
|
||||
|
||||
|
||||
set(PACKAGE_VERSION "1.5.1")
|
||||
set(PACKAGE_VERSION "1.5.2")
|
||||
|
||||
if(PACKAGE_VERSION VERSION_LESS PACKAGE_FIND_VERSION)
|
||||
set(PACKAGE_VERSION_COMPATIBLE FALSE)
|
||||
else()
|
||||
|
||||
if("1.5.1" MATCHES "^([0-9]+)\\.")
|
||||
if("1.5.2" MATCHES "^([0-9]+)\\.")
|
||||
set(CVF_VERSION_MAJOR "${CMAKE_MATCH_1}")
|
||||
if(NOT CVF_VERSION_MAJOR VERSION_EQUAL 0)
|
||||
string(REGEX REPLACE "^0+" "" CVF_VERSION_MAJOR "${CVF_VERSION_MAJOR}")
|
||||
endif()
|
||||
else()
|
||||
set(CVF_VERSION_MAJOR "1.5.1")
|
||||
set(CVF_VERSION_MAJOR "1.5.2")
|
||||
endif()
|
||||
|
||||
if(PACKAGE_FIND_VERSION_RANGE)
|
||||
|
|
BIN
deps/opus/lib/libopus.a
vendored
BIN
deps/opus/lib/libopus.a
vendored
Binary file not shown.
2
deps/opus/lib/pkgconfig/opus.pc
vendored
2
deps/opus/lib/pkgconfig/opus.pc
vendored
|
@ -8,7 +8,7 @@ includedir=${prefix}/include
|
|||
Name: Opus
|
||||
Description: Opus IETF audio codec (floating-point build)
|
||||
URL: https://opus-codec.org/
|
||||
Version: 1.5.1
|
||||
Version: 1.5.2
|
||||
Requires:
|
||||
Conflicts:
|
||||
Libs: -L${libdir} -lopus
|
||||
|
|
4
deps/sdl2/bin/sdl2-config
vendored
4
deps/sdl2/bin/sdl2-config
vendored
|
@ -43,7 +43,7 @@ while test $# -gt 0; do
|
|||
echo $exec_prefix
|
||||
;;
|
||||
--version)
|
||||
echo 2.30.1
|
||||
echo 2.30.8
|
||||
;;
|
||||
--cflags)
|
||||
echo -I${prefix}/include/SDL2 -D_THREAD_SAFE
|
||||
|
@ -53,7 +53,7 @@ while test $# -gt 0; do
|
|||
# ;;
|
||||
# --static-libs)
|
||||
--libs|--static-libs)
|
||||
sdl_static_libs=$(echo " -lSDL2 -lSDL2 -Wl,-framework,CoreVideo -Wl,-framework,Cocoa -Wl,-framework,IOKit -Wl,-framework,ForceFeedback -Wl,-framework,Carbon -Wl,-framework,CoreAudio -Wl,-framework,AudioToolbox -Wl,-framework,AVFoundation -Wl,-framework,Foundation -Wl,-weak_framework,GameController -Wl,-weak_framework,Metal -Wl,-weak_framework,QuartzCore -Wl,-weak_framework,CoreHaptics -lm -liconv" | sed -E "s#-lSDL2[ $]#$libdir/libSDL2.a #g")
|
||||
sdl_static_libs=$(echo " -lSDL2 -lSDL2 -Wl,-framework,CoreVideo -Wl,-framework,Cocoa -Wl,-framework,IOKit -Wl,-framework,ForceFeedback -Wl,-framework,Carbon -Wl,-framework,CoreAudio -Wl,-framework,AudioToolbox -Wl,-framework,AVFoundation -Wl,-framework,Foundation -Wl,-weak_framework,GameController -Wl,-weak_framework,Metal -Wl,-weak_framework,QuartzCore -Wl,-weak_framework,CoreHaptics -lm" | sed -E "s#-lSDL2[ $]#$libdir/libSDL2.a #g")
|
||||
echo -L${exec_prefix}/lib $sdl_static_libs
|
||||
;;
|
||||
*)
|
||||
|
|
6
deps/sdl2/include/SDL2/SDL_config.h
vendored
6
deps/sdl2/include/SDL2/SDL_config.h
vendored
|
@ -190,6 +190,8 @@
|
|||
/* #undef HAVE_FOPEN64 */
|
||||
#define HAVE_FSEEKO 1
|
||||
/* #undef HAVE_FSEEKO64 */
|
||||
/* #undef HAVE_MEMFD_CREATE */
|
||||
/* #undef HAVE_POSIX_FALLOCATE */
|
||||
#define HAVE_SIGACTION 1
|
||||
#define HAVE_SA_SIGACTION 1
|
||||
#define HAVE_SETJMP 1
|
||||
|
@ -199,8 +201,8 @@
|
|||
/* #undef HAVE_CLOCK_GETTIME */
|
||||
/* #undef HAVE_GETPAGESIZE */
|
||||
#define HAVE_MPROTECT 1
|
||||
#define HAVE_ICONV 1
|
||||
#define SDL_USE_LIBICONV 1
|
||||
/* #undef HAVE_ICONV */
|
||||
/* #undef SDL_USE_LIBICONV */
|
||||
#define HAVE_PTHREAD_SETNAME_NP 1
|
||||
/* #undef HAVE_PTHREAD_SET_NAME_NP */
|
||||
/* #undef HAVE_SEM_TIMEDWAIT */
|
||||
|
|
15
deps/sdl2/include/SDL2/SDL_hints.h
vendored
15
deps/sdl2/include/SDL2/SDL_hints.h
vendored
|
@ -1424,7 +1424,19 @@ extern "C" {
|
|||
#define SDL_HINT_MOUSE_RELATIVE_WARP_MOTION "SDL_MOUSE_RELATIVE_WARP_MOTION"
|
||||
|
||||
/**
|
||||
* \brief A variable controlling whether mouse events should generate synthetic touch events
|
||||
* \brief A variable controlling whether the hardware cursor stays visible when relative mode is active.
|
||||
*
|
||||
* This variable can be set to the following values:
|
||||
* "0" - The cursor will be hidden while relative mode is active (default)
|
||||
* "1" - The cursor will remain visible while relative mode is active
|
||||
*
|
||||
* Note that for systems without raw hardware inputs, relative mode is implemented using warping, so the hardware cursor will visibly warp between frames if this is enabled on those systems.
|
||||
*/
|
||||
#define SDL_HINT_MOUSE_RELATIVE_CURSOR_VISIBLE "SDL_MOUSE_RELATIVE_CURSOR_VISIBLE"
|
||||
|
||||
/**
|
||||
* A variable controlling whether mouse events should generate synthetic touch
|
||||
* events
|
||||
*
|
||||
* This variable can be set to the following values:
|
||||
* "0" - Mouse events will not generate touch events (default for desktop platforms)
|
||||
|
@ -1900,6 +1912,7 @@ extern "C" {
|
|||
* Since it's driver-specific, it's only supported where possible and
|
||||
* implemented. Currently supported the following drivers:
|
||||
*
|
||||
* - Wayland (wayland)
|
||||
* - KMSDRM (kmsdrm)
|
||||
* - Raspberry Pi (raspberrypi)
|
||||
*/
|
||||
|
|
15
deps/sdl2/include/SDL2/SDL_joystick.h
vendored
15
deps/sdl2/include/SDL2/SDL_joystick.h
vendored
|
@ -790,12 +790,17 @@ extern DECLSPEC void SDLCALL SDL_JoystickUpdate(void);
|
|||
* **WARNING**: Calling this function may delete all events currently in SDL's
|
||||
* event queue.
|
||||
*
|
||||
* \param state can be one of `SDL_QUERY`, `SDL_IGNORE`, or `SDL_ENABLE`
|
||||
* \returns 1 if enabled, 0 if disabled, or a negative error code on failure;
|
||||
* call SDL_GetError() for more information.
|
||||
* While `param` is meant to be one of `SDL_QUERY`, `SDL_IGNORE`, or
|
||||
* `SDL_ENABLE`, this function accepts any value, with any non-zero value that
|
||||
* isn't `SDL_QUERY` being treated as `SDL_ENABLE`.
|
||||
*
|
||||
* If `state` is `SDL_QUERY` then the current state is returned,
|
||||
* otherwise the new processing state is returned.
|
||||
* If SDL was built with events disabled (extremely uncommon!), this will
|
||||
* do nothing and always return `SDL_IGNORE`.
|
||||
*
|
||||
* \param state can be one of `SDL_QUERY`, `SDL_IGNORE`, or `SDL_ENABLE`
|
||||
* \returns If `state` is `SDL_QUERY` then the current state is returned,
|
||||
* otherwise `state` is returned (even if it was not one of the
|
||||
* allowed values).
|
||||
*
|
||||
* \since This function is available since SDL 2.0.0.
|
||||
*
|
||||
|
|
10
deps/sdl2/include/SDL2/SDL_platform.h
vendored
10
deps/sdl2/include/SDL2/SDL_platform.h
vendored
|
@ -73,7 +73,13 @@
|
|||
#if defined(__APPLE__)
|
||||
/* lets us know what version of Mac OS X we're compiling on */
|
||||
#include <AvailabilityMacros.h>
|
||||
#ifndef __has_extension /* Older compilers don't support this */
|
||||
#define __has_extension(x) 0
|
||||
#include <TargetConditionals.h>
|
||||
#undef __has_extension
|
||||
#else
|
||||
#include <TargetConditionals.h>
|
||||
#endif
|
||||
|
||||
/* Fix building with older SDKs that don't define these
|
||||
See this for more information:
|
||||
|
@ -199,8 +205,10 @@
|
|||
#undef __GDK__
|
||||
#define __GDK__ 1
|
||||
#endif
|
||||
#if defined(__PSP__)
|
||||
#if defined(__PSP__) || defined(__psp__)
|
||||
#ifdef __PSP__
|
||||
#undef __PSP__
|
||||
#endif
|
||||
#define __PSP__ 1
|
||||
#endif
|
||||
#if defined(PS2)
|
||||
|
|
4
deps/sdl2/include/SDL2/SDL_revision.h
vendored
4
deps/sdl2/include/SDL2/SDL_revision.h
vendored
|
@ -2,7 +2,7 @@
|
|||
#define SDL_REVISION_NUMBER 0
|
||||
|
||||
#ifdef SDL_VENDOR_INFO
|
||||
#define SDL_REVISION "SDL-release-2.30.1-0-g5adbf3765 (" SDL_VENDOR_INFO ")"
|
||||
#define SDL_REVISION "SDL-2.30.8 (" SDL_VENDOR_INFO ")"
|
||||
#else
|
||||
#define SDL_REVISION "SDL-release-2.30.1-0-g5adbf3765"
|
||||
#define SDL_REVISION "SDL-2.30.8"
|
||||
#endif
|
||||
|
|
29
deps/sdl2/include/SDL2/SDL_stdinc.h
vendored
29
deps/sdl2/include/SDL2/SDL_stdinc.h
vendored
|
@ -107,7 +107,7 @@
|
|||
# elif defined(__MRC__)
|
||||
void *alloca(unsigned);
|
||||
# else
|
||||
char *alloca();
|
||||
void *alloca(size_t);
|
||||
# endif
|
||||
#endif
|
||||
|
||||
|
@ -253,10 +253,10 @@ typedef uint64_t Uint64;
|
|||
* <stdint.h> should define these but this is not true all platforms.
|
||||
* (for example win32) */
|
||||
#ifndef SDL_PRIs64
|
||||
#ifdef PRIs64
|
||||
#define SDL_PRIs64 PRIs64
|
||||
#elif defined(__WIN32__) || defined(__GDK__)
|
||||
#if defined(__WIN32__) || defined(__GDK__)
|
||||
#define SDL_PRIs64 "I64d"
|
||||
#elif defined(PRIs64)
|
||||
#define SDL_PRIs64 PRIs64
|
||||
#elif defined(__LP64__) && !defined(__APPLE__)
|
||||
#define SDL_PRIs64 "ld"
|
||||
#else
|
||||
|
@ -264,10 +264,10 @@ typedef uint64_t Uint64;
|
|||
#endif
|
||||
#endif
|
||||
#ifndef SDL_PRIu64
|
||||
#ifdef PRIu64
|
||||
#define SDL_PRIu64 PRIu64
|
||||
#elif defined(__WIN32__) || defined(__GDK__)
|
||||
#if defined(__WIN32__) || defined(__GDK__)
|
||||
#define SDL_PRIu64 "I64u"
|
||||
#elif defined(PRIu64)
|
||||
#define SDL_PRIu64 PRIu64
|
||||
#elif defined(__LP64__) && !defined(__APPLE__)
|
||||
#define SDL_PRIu64 "lu"
|
||||
#else
|
||||
|
@ -275,10 +275,10 @@ typedef uint64_t Uint64;
|
|||
#endif
|
||||
#endif
|
||||
#ifndef SDL_PRIx64
|
||||
#ifdef PRIx64
|
||||
#define SDL_PRIx64 PRIx64
|
||||
#elif defined(__WIN32__) || defined(__GDK__)
|
||||
#if defined(__WIN32__) || defined(__GDK__)
|
||||
#define SDL_PRIx64 "I64x"
|
||||
#elif defined(PRIx64)
|
||||
#define SDL_PRIx64 PRIx64
|
||||
#elif defined(__LP64__) && !defined(__APPLE__)
|
||||
#define SDL_PRIx64 "lx"
|
||||
#else
|
||||
|
@ -286,10 +286,10 @@ typedef uint64_t Uint64;
|
|||
#endif
|
||||
#endif
|
||||
#ifndef SDL_PRIX64
|
||||
#ifdef PRIX64
|
||||
#define SDL_PRIX64 PRIX64
|
||||
#elif defined(__WIN32__) || defined(__GDK__)
|
||||
#if defined(__WIN32__) || defined(__GDK__)
|
||||
#define SDL_PRIX64 "I64X"
|
||||
#elif defined(PRIX64)
|
||||
#define SDL_PRIX64 PRIX64
|
||||
#elif defined(__LP64__) && !defined(__APPLE__)
|
||||
#define SDL_PRIX64 "lX"
|
||||
#else
|
||||
|
@ -377,9 +377,12 @@ typedef uint64_t Uint64;
|
|||
|
||||
#ifndef SDL_COMPILE_TIME_ASSERT
|
||||
#if defined(__cplusplus)
|
||||
/* Keep C++ case alone: Some versions of gcc will define __STDC_VERSION__ even when compiling in C++ mode. */
|
||||
#if (__cplusplus >= 201103L)
|
||||
#define SDL_COMPILE_TIME_ASSERT(name, x) static_assert(x, #x)
|
||||
#endif
|
||||
#elif defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 202311L)
|
||||
#define SDL_COMPILE_TIME_ASSERT(name, x) static_assert(x, #x)
|
||||
#elif defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 201112L)
|
||||
#define SDL_COMPILE_TIME_ASSERT(name, x) _Static_assert(x, #x)
|
||||
#endif
|
||||
|
|
2
deps/sdl2/include/SDL2/SDL_version.h
vendored
2
deps/sdl2/include/SDL2/SDL_version.h
vendored
|
@ -59,7 +59,7 @@ typedef struct SDL_version
|
|||
*/
|
||||
#define SDL_MAJOR_VERSION 2
|
||||
#define SDL_MINOR_VERSION 30
|
||||
#define SDL_PATCHLEVEL 1
|
||||
#define SDL_PATCHLEVEL 8
|
||||
|
||||
/**
|
||||
* Macro to determine SDL version program was compiled against.
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
# PACKAGE_VERSION_COMPATIBLE if the current version is >= requested version.
|
||||
# The variable CVF_VERSION must be set before calling configure_file().
|
||||
|
||||
set(PACKAGE_VERSION "2.30.1")
|
||||
set(PACKAGE_VERSION "2.30.8")
|
||||
|
||||
if (PACKAGE_FIND_VERSION_RANGE)
|
||||
# Package version must be in the requested version range
|
||||
|
|
|
@ -62,7 +62,7 @@ set_target_properties(SDL2::SDL2-static PROPERTIES
|
|||
COMPATIBLE_INTERFACE_BOOL "SDL2_SHARED"
|
||||
COMPATIBLE_INTERFACE_STRING "SDL_VERSION"
|
||||
INTERFACE_INCLUDE_DIRECTORIES "${_IMPORT_PREFIX}/include;${_IMPORT_PREFIX}/include/SDL2"
|
||||
INTERFACE_LINK_LIBRARIES "\$<LINK_ONLY:m>;\$<LINK_ONLY:iconv>;-Wl,-framework,CoreVideo;-Wl,-framework,Cocoa;-Wl,-framework,IOKit;-Wl,-framework,ForceFeedback;-Wl,-framework,Carbon;-Wl,-framework,CoreAudio;-Wl,-framework,AudioToolbox;-Wl,-framework,AVFoundation;-Wl,-framework,Foundation;-Wl,-weak_framework,GameController;-Wl,-weak_framework,Metal;-Wl,-weak_framework,QuartzCore;-Wl,-weak_framework,CoreHaptics;\$<LINK_ONLY:>"
|
||||
INTERFACE_LINK_LIBRARIES "\$<LINK_ONLY:m>;-Wl,-framework,CoreVideo;-Wl,-framework,Cocoa;-Wl,-framework,IOKit;-Wl,-framework,ForceFeedback;-Wl,-framework,Carbon;-Wl,-framework,CoreAudio;-Wl,-framework,AudioToolbox;-Wl,-framework,AVFoundation;-Wl,-framework,Foundation;-Wl,-weak_framework,GameController;-Wl,-weak_framework,Metal;-Wl,-weak_framework,QuartzCore;-Wl,-weak_framework,CoreHaptics;\$<LINK_ONLY:>"
|
||||
INTERFACE_SDL2_SHARED "FALSE"
|
||||
INTERFACE_SDL_VERSION "SDL2"
|
||||
)
|
||||
|
|
BIN
deps/sdl2/lib/libSDL2.a
vendored
BIN
deps/sdl2/lib/libSDL2.a
vendored
Binary file not shown.
BIN
deps/sdl2/lib/libSDL2main.a
vendored
BIN
deps/sdl2/lib/libSDL2main.a
vendored
Binary file not shown.
4
deps/sdl2/lib/pkgconfig/sdl2.pc
vendored
4
deps/sdl2/lib/pkgconfig/sdl2.pc
vendored
|
@ -7,8 +7,8 @@ includedir=${prefix}/include
|
|||
|
||||
Name: sdl2
|
||||
Description: Simple DirectMedia Layer is a cross-platform multimedia library designed to provide low level access to audio, keyboard, mouse, joystick, 3D hardware via OpenGL, and 2D video framebuffer.
|
||||
Version: 2.30.1
|
||||
Version: 2.30.8
|
||||
Requires.private:
|
||||
Conflicts:
|
||||
Libs: -L${libdir} -lSDL2 -lSDL2 -Wl,-framework,CoreVideo -Wl,-framework,Cocoa -Wl,-framework,IOKit -Wl,-framework,ForceFeedback -Wl,-framework,Carbon -Wl,-framework,CoreAudio -Wl,-framework,AudioToolbox -Wl,-framework,AVFoundation -Wl,-framework,Foundation -Wl,-weak_framework,GameController -Wl,-weak_framework,Metal -Wl,-weak_framework,QuartzCore -Wl,-weak_framework,CoreHaptics -lm -liconv
|
||||
Libs: -L${libdir} -lSDL2 -lSDL2 -Wl,-framework,CoreVideo -Wl,-framework,Cocoa -Wl,-framework,IOKit -Wl,-framework,ForceFeedback -Wl,-framework,Carbon -Wl,-framework,CoreAudio -Wl,-framework,AudioToolbox -Wl,-framework,AVFoundation -Wl,-framework,Foundation -Wl,-weak_framework,GameController -Wl,-weak_framework,Metal -Wl,-weak_framework,QuartzCore -Wl,-weak_framework,CoreHaptics -lm
|
||||
Cflags: -I${includedir} -I${includedir}/SDL2 -D_THREAD_SAFE
|
||||
|
|
11
deps/vpx/include/vpx/vpx_encoder.h
vendored
11
deps/vpx/include/vpx/vpx_encoder.h
vendored
|
@ -970,12 +970,21 @@ vpx_codec_err_t vpx_codec_enc_config_set(vpx_codec_ctx_t *ctx,
|
|||
*
|
||||
* Retrieves a stream level global header packet, if supported by the codec.
|
||||
*
|
||||
* \li VP8: Unsupported
|
||||
* \li VP9: Returns a buffer of <tt>ID (1 byte)|Length (1 byte)|Length
|
||||
* bytes</tt> values. The function should be called after encoding to retrieve
|
||||
* the most accurate information.
|
||||
*
|
||||
* \param[in] ctx Pointer to this instance's context
|
||||
*
|
||||
* \retval NULL
|
||||
* Encoder does not support global header
|
||||
* \retval Non-NULL
|
||||
* Pointer to buffer containing global header packet
|
||||
* Pointer to buffer containing global header packet. The buffer pointer
|
||||
* and its contents are only valid for the lifetime of \a ctx. The contents
|
||||
* may change in subsequent calls to the function.
|
||||
* \sa
|
||||
* https://www.webmproject.org/docs/container/#vp9-codec-feature-metadata-codecprivate
|
||||
*/
|
||||
vpx_fixed_buf_t *vpx_codec_get_global_headers(vpx_codec_ctx_t *ctx);
|
||||
|
||||
|
|
18
deps/vpx/include/vpx/vpx_image.h
vendored
18
deps/vpx/include/vpx/vpx_image.h
vendored
|
@ -132,10 +132,13 @@ typedef struct vpx_image_rect {
|
|||
* is NULL, the storage for the descriptor will be
|
||||
* allocated on the heap.
|
||||
* \param[in] fmt Format for the image
|
||||
* \param[in] d_w Width of the image
|
||||
* \param[in] d_h Height of the image
|
||||
* \param[in] d_w Width of the image. Must not exceed 0x08000000
|
||||
* (2^27).
|
||||
* \param[in] d_h Height of the image. Must not exceed 0x08000000
|
||||
* (2^27).
|
||||
* \param[in] align Alignment, in bytes, of the image buffer and
|
||||
* each row in the image(stride).
|
||||
* each row in the image (stride). Must not exceed
|
||||
* 65536.
|
||||
*
|
||||
* \return Returns a pointer to the initialized image descriptor. If the img
|
||||
* parameter is non-null, the value of the img parameter will be
|
||||
|
@ -155,9 +158,12 @@ vpx_image_t *vpx_img_alloc(vpx_image_t *img, vpx_img_fmt_t fmt,
|
|||
* parameter is NULL, the storage for the descriptor
|
||||
* will be allocated on the heap.
|
||||
* \param[in] fmt Format for the image
|
||||
* \param[in] d_w Width of the image
|
||||
* \param[in] d_h Height of the image
|
||||
* \param[in] stride_align Alignment, in bytes, of each row in the image.
|
||||
* \param[in] d_w Width of the image. Must not exceed 0x08000000
|
||||
* (2^27).
|
||||
* \param[in] d_h Height of the image. Must not exceed 0x08000000
|
||||
* (2^27).
|
||||
* \param[in] stride_align Alignment, in bytes, of each row in the image
|
||||
* (stride). Must not exceed 65536.
|
||||
* \param[in] img_data Storage to use for the image
|
||||
*
|
||||
* \return Returns a pointer to the initialized image descriptor. If the img
|
||||
|
|
BIN
deps/vpx/lib/libvpx.a
vendored
BIN
deps/vpx/lib/libvpx.a
vendored
Binary file not shown.
4
deps/vpx/lib/pkgconfig/vpx.pc
vendored
4
deps/vpx/lib/pkgconfig/vpx.pc
vendored
|
@ -1,4 +1,4 @@
|
|||
# pkg-config file from libvpx v1.14.0
|
||||
# pkg-config file from libvpx v1.14.1
|
||||
prefix=
|
||||
exec_prefix=${prefix}
|
||||
libdir=${exec_prefix}/lib
|
||||
|
@ -6,7 +6,7 @@ includedir=${prefix}/include
|
|||
|
||||
Name: vpx
|
||||
Description: WebM Project VPx codec implementation
|
||||
Version: 1.14.0
|
||||
Version: 1.14.1
|
||||
Requires:
|
||||
Conflicts:
|
||||
Libs: -L${libdir} -lvpx -lm
|
||||
|
|
392
deps/vulkan-headers/include/vk_video/vulkan_video_codec_av1std.h
vendored
Normal file
392
deps/vulkan-headers/include/vk_video/vulkan_video_codec_av1std.h
vendored
Normal file
|
@ -0,0 +1,392 @@
|
|||
#ifndef VULKAN_VIDEO_CODEC_AV1STD_H_
|
||||
#define VULKAN_VIDEO_CODEC_AV1STD_H_ 1
|
||||
|
||||
/*
|
||||
** Copyright 2015-2024 The Khronos Group Inc.
|
||||
**
|
||||
** SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
/*
|
||||
** This header is generated from the Khronos Vulkan XML API Registry.
|
||||
**
|
||||
*/
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
// vulkan_video_codec_av1std is a preprocessor guard. Do not pass it to API calls.
|
||||
#define vulkan_video_codec_av1std 1
|
||||
#include "vulkan_video_codecs_common.h"
|
||||
#define STD_VIDEO_AV1_NUM_REF_FRAMES 8
|
||||
#define STD_VIDEO_AV1_REFS_PER_FRAME 7
|
||||
#define STD_VIDEO_AV1_TOTAL_REFS_PER_FRAME 8
|
||||
#define STD_VIDEO_AV1_MAX_TILE_COLS 64
|
||||
#define STD_VIDEO_AV1_MAX_TILE_ROWS 64
|
||||
#define STD_VIDEO_AV1_MAX_SEGMENTS 8
|
||||
#define STD_VIDEO_AV1_SEG_LVL_MAX 8
|
||||
#define STD_VIDEO_AV1_PRIMARY_REF_NONE 7
|
||||
#define STD_VIDEO_AV1_SELECT_INTEGER_MV 2
|
||||
#define STD_VIDEO_AV1_SELECT_SCREEN_CONTENT_TOOLS 2
|
||||
#define STD_VIDEO_AV1_SKIP_MODE_FRAMES 2
|
||||
#define STD_VIDEO_AV1_MAX_LOOP_FILTER_STRENGTHS 4
|
||||
#define STD_VIDEO_AV1_LOOP_FILTER_ADJUSTMENTS 2
|
||||
#define STD_VIDEO_AV1_MAX_CDEF_FILTER_STRENGTHS 8
|
||||
#define STD_VIDEO_AV1_MAX_NUM_PLANES 3
|
||||
#define STD_VIDEO_AV1_GLOBAL_MOTION_PARAMS 6
|
||||
#define STD_VIDEO_AV1_MAX_NUM_Y_POINTS 14
|
||||
#define STD_VIDEO_AV1_MAX_NUM_CB_POINTS 10
|
||||
#define STD_VIDEO_AV1_MAX_NUM_CR_POINTS 10
|
||||
#define STD_VIDEO_AV1_MAX_NUM_POS_LUMA 24
|
||||
#define STD_VIDEO_AV1_MAX_NUM_POS_CHROMA 25
|
||||
|
||||
typedef enum StdVideoAV1Profile {
|
||||
STD_VIDEO_AV1_PROFILE_MAIN = 0,
|
||||
STD_VIDEO_AV1_PROFILE_HIGH = 1,
|
||||
STD_VIDEO_AV1_PROFILE_PROFESSIONAL = 2,
|
||||
STD_VIDEO_AV1_PROFILE_INVALID = 0x7FFFFFFF,
|
||||
STD_VIDEO_AV1_PROFILE_MAX_ENUM = 0x7FFFFFFF
|
||||
} StdVideoAV1Profile;
|
||||
|
||||
typedef enum StdVideoAV1Level {
|
||||
STD_VIDEO_AV1_LEVEL_2_0 = 0,
|
||||
STD_VIDEO_AV1_LEVEL_2_1 = 1,
|
||||
STD_VIDEO_AV1_LEVEL_2_2 = 2,
|
||||
STD_VIDEO_AV1_LEVEL_2_3 = 3,
|
||||
STD_VIDEO_AV1_LEVEL_3_0 = 4,
|
||||
STD_VIDEO_AV1_LEVEL_3_1 = 5,
|
||||
STD_VIDEO_AV1_LEVEL_3_2 = 6,
|
||||
STD_VIDEO_AV1_LEVEL_3_3 = 7,
|
||||
STD_VIDEO_AV1_LEVEL_4_0 = 8,
|
||||
STD_VIDEO_AV1_LEVEL_4_1 = 9,
|
||||
STD_VIDEO_AV1_LEVEL_4_2 = 10,
|
||||
STD_VIDEO_AV1_LEVEL_4_3 = 11,
|
||||
STD_VIDEO_AV1_LEVEL_5_0 = 12,
|
||||
STD_VIDEO_AV1_LEVEL_5_1 = 13,
|
||||
STD_VIDEO_AV1_LEVEL_5_2 = 14,
|
||||
STD_VIDEO_AV1_LEVEL_5_3 = 15,
|
||||
STD_VIDEO_AV1_LEVEL_6_0 = 16,
|
||||
STD_VIDEO_AV1_LEVEL_6_1 = 17,
|
||||
STD_VIDEO_AV1_LEVEL_6_2 = 18,
|
||||
STD_VIDEO_AV1_LEVEL_6_3 = 19,
|
||||
STD_VIDEO_AV1_LEVEL_7_0 = 20,
|
||||
STD_VIDEO_AV1_LEVEL_7_1 = 21,
|
||||
STD_VIDEO_AV1_LEVEL_7_2 = 22,
|
||||
STD_VIDEO_AV1_LEVEL_7_3 = 23,
|
||||
STD_VIDEO_AV1_LEVEL_INVALID = 0x7FFFFFFF,
|
||||
STD_VIDEO_AV1_LEVEL_MAX_ENUM = 0x7FFFFFFF
|
||||
} StdVideoAV1Level;
|
||||
|
||||
typedef enum StdVideoAV1FrameType {
|
||||
STD_VIDEO_AV1_FRAME_TYPE_KEY = 0,
|
||||
STD_VIDEO_AV1_FRAME_TYPE_INTER = 1,
|
||||
STD_VIDEO_AV1_FRAME_TYPE_INTRA_ONLY = 2,
|
||||
STD_VIDEO_AV1_FRAME_TYPE_SWITCH = 3,
|
||||
STD_VIDEO_AV1_FRAME_TYPE_INVALID = 0x7FFFFFFF,
|
||||
STD_VIDEO_AV1_FRAME_TYPE_MAX_ENUM = 0x7FFFFFFF
|
||||
} StdVideoAV1FrameType;
|
||||
|
||||
typedef enum StdVideoAV1ReferenceName {
|
||||
STD_VIDEO_AV1_REFERENCE_NAME_INTRA_FRAME = 0,
|
||||
STD_VIDEO_AV1_REFERENCE_NAME_LAST_FRAME = 1,
|
||||
STD_VIDEO_AV1_REFERENCE_NAME_LAST2_FRAME = 2,
|
||||
STD_VIDEO_AV1_REFERENCE_NAME_LAST3_FRAME = 3,
|
||||
STD_VIDEO_AV1_REFERENCE_NAME_GOLDEN_FRAME = 4,
|
||||
STD_VIDEO_AV1_REFERENCE_NAME_BWDREF_FRAME = 5,
|
||||
STD_VIDEO_AV1_REFERENCE_NAME_ALTREF2_FRAME = 6,
|
||||
STD_VIDEO_AV1_REFERENCE_NAME_ALTREF_FRAME = 7,
|
||||
STD_VIDEO_AV1_REFERENCE_NAME_INVALID = 0x7FFFFFFF,
|
||||
STD_VIDEO_AV1_REFERENCE_NAME_MAX_ENUM = 0x7FFFFFFF
|
||||
} StdVideoAV1ReferenceName;
|
||||
|
||||
typedef enum StdVideoAV1InterpolationFilter {
|
||||
STD_VIDEO_AV1_INTERPOLATION_FILTER_EIGHTTAP = 0,
|
||||
STD_VIDEO_AV1_INTERPOLATION_FILTER_EIGHTTAP_SMOOTH = 1,
|
||||
STD_VIDEO_AV1_INTERPOLATION_FILTER_EIGHTTAP_SHARP = 2,
|
||||
STD_VIDEO_AV1_INTERPOLATION_FILTER_BILINEAR = 3,
|
||||
STD_VIDEO_AV1_INTERPOLATION_FILTER_SWITCHABLE = 4,
|
||||
STD_VIDEO_AV1_INTERPOLATION_FILTER_INVALID = 0x7FFFFFFF,
|
||||
STD_VIDEO_AV1_INTERPOLATION_FILTER_MAX_ENUM = 0x7FFFFFFF
|
||||
} StdVideoAV1InterpolationFilter;
|
||||
|
||||
typedef enum StdVideoAV1TxMode {
|
||||
STD_VIDEO_AV1_TX_MODE_ONLY_4X4 = 0,
|
||||
STD_VIDEO_AV1_TX_MODE_LARGEST = 1,
|
||||
STD_VIDEO_AV1_TX_MODE_SELECT = 2,
|
||||
STD_VIDEO_AV1_TX_MODE_INVALID = 0x7FFFFFFF,
|
||||
STD_VIDEO_AV1_TX_MODE_MAX_ENUM = 0x7FFFFFFF
|
||||
} StdVideoAV1TxMode;
|
||||
|
||||
typedef enum StdVideoAV1FrameRestorationType {
|
||||
STD_VIDEO_AV1_FRAME_RESTORATION_TYPE_NONE = 0,
|
||||
STD_VIDEO_AV1_FRAME_RESTORATION_TYPE_WIENER = 1,
|
||||
STD_VIDEO_AV1_FRAME_RESTORATION_TYPE_SGRPROJ = 2,
|
||||
STD_VIDEO_AV1_FRAME_RESTORATION_TYPE_SWITCHABLE = 3,
|
||||
STD_VIDEO_AV1_FRAME_RESTORATION_TYPE_INVALID = 0x7FFFFFFF,
|
||||
STD_VIDEO_AV1_FRAME_RESTORATION_TYPE_MAX_ENUM = 0x7FFFFFFF
|
||||
} StdVideoAV1FrameRestorationType;
|
||||
|
||||
typedef enum StdVideoAV1ColorPrimaries {
|
||||
STD_VIDEO_AV1_COLOR_PRIMARIES_BT_709 = 1,
|
||||
STD_VIDEO_AV1_COLOR_PRIMARIES_BT_UNSPECIFIED = 2,
|
||||
STD_VIDEO_AV1_COLOR_PRIMARIES_BT_470_M = 4,
|
||||
STD_VIDEO_AV1_COLOR_PRIMARIES_BT_470_B_G = 5,
|
||||
STD_VIDEO_AV1_COLOR_PRIMARIES_BT_601 = 6,
|
||||
STD_VIDEO_AV1_COLOR_PRIMARIES_SMPTE_240 = 7,
|
||||
STD_VIDEO_AV1_COLOR_PRIMARIES_GENERIC_FILM = 8,
|
||||
STD_VIDEO_AV1_COLOR_PRIMARIES_BT_2020 = 9,
|
||||
STD_VIDEO_AV1_COLOR_PRIMARIES_XYZ = 10,
|
||||
STD_VIDEO_AV1_COLOR_PRIMARIES_SMPTE_431 = 11,
|
||||
STD_VIDEO_AV1_COLOR_PRIMARIES_SMPTE_432 = 12,
|
||||
STD_VIDEO_AV1_COLOR_PRIMARIES_EBU_3213 = 22,
|
||||
STD_VIDEO_AV1_COLOR_PRIMARIES_INVALID = 0x7FFFFFFF,
|
||||
STD_VIDEO_AV1_COLOR_PRIMARIES_MAX_ENUM = 0x7FFFFFFF
|
||||
} StdVideoAV1ColorPrimaries;
|
||||
|
||||
typedef enum StdVideoAV1TransferCharacteristics {
|
||||
STD_VIDEO_AV1_TRANSFER_CHARACTERISTICS_RESERVED_0 = 0,
|
||||
STD_VIDEO_AV1_TRANSFER_CHARACTERISTICS_BT_709 = 1,
|
||||
STD_VIDEO_AV1_TRANSFER_CHARACTERISTICS_UNSPECIFIED = 2,
|
||||
STD_VIDEO_AV1_TRANSFER_CHARACTERISTICS_RESERVED_3 = 3,
|
||||
STD_VIDEO_AV1_TRANSFER_CHARACTERISTICS_BT_470_M = 4,
|
||||
STD_VIDEO_AV1_TRANSFER_CHARACTERISTICS_BT_470_B_G = 5,
|
||||
STD_VIDEO_AV1_TRANSFER_CHARACTERISTICS_BT_601 = 6,
|
||||
STD_VIDEO_AV1_TRANSFER_CHARACTERISTICS_SMPTE_240 = 7,
|
||||
STD_VIDEO_AV1_TRANSFER_CHARACTERISTICS_LINEAR = 8,
|
||||
STD_VIDEO_AV1_TRANSFER_CHARACTERISTICS_LOG_100 = 9,
|
||||
STD_VIDEO_AV1_TRANSFER_CHARACTERISTICS_LOG_100_SQRT10 = 10,
|
||||
STD_VIDEO_AV1_TRANSFER_CHARACTERISTICS_IEC_61966 = 11,
|
||||
STD_VIDEO_AV1_TRANSFER_CHARACTERISTICS_BT_1361 = 12,
|
||||
STD_VIDEO_AV1_TRANSFER_CHARACTERISTICS_SRGB = 13,
|
||||
STD_VIDEO_AV1_TRANSFER_CHARACTERISTICS_BT_2020_10_BIT = 14,
|
||||
STD_VIDEO_AV1_TRANSFER_CHARACTERISTICS_BT_2020_12_BIT = 15,
|
||||
STD_VIDEO_AV1_TRANSFER_CHARACTERISTICS_SMPTE_2084 = 16,
|
||||
STD_VIDEO_AV1_TRANSFER_CHARACTERISTICS_SMPTE_428 = 17,
|
||||
STD_VIDEO_AV1_TRANSFER_CHARACTERISTICS_HLG = 18,
|
||||
STD_VIDEO_AV1_TRANSFER_CHARACTERISTICS_INVALID = 0x7FFFFFFF,
|
||||
STD_VIDEO_AV1_TRANSFER_CHARACTERISTICS_MAX_ENUM = 0x7FFFFFFF
|
||||
} StdVideoAV1TransferCharacteristics;
|
||||
|
||||
typedef enum StdVideoAV1MatrixCoefficients {
|
||||
STD_VIDEO_AV1_MATRIX_COEFFICIENTS_IDENTITY = 0,
|
||||
STD_VIDEO_AV1_MATRIX_COEFFICIENTS_BT_709 = 1,
|
||||
STD_VIDEO_AV1_MATRIX_COEFFICIENTS_UNSPECIFIED = 2,
|
||||
STD_VIDEO_AV1_MATRIX_COEFFICIENTS_RESERVED_3 = 3,
|
||||
STD_VIDEO_AV1_MATRIX_COEFFICIENTS_FCC = 4,
|
||||
STD_VIDEO_AV1_MATRIX_COEFFICIENTS_BT_470_B_G = 5,
|
||||
STD_VIDEO_AV1_MATRIX_COEFFICIENTS_BT_601 = 6,
|
||||
STD_VIDEO_AV1_MATRIX_COEFFICIENTS_SMPTE_240 = 7,
|
||||
STD_VIDEO_AV1_MATRIX_COEFFICIENTS_SMPTE_YCGCO = 8,
|
||||
STD_VIDEO_AV1_MATRIX_COEFFICIENTS_BT_2020_NCL = 9,
|
||||
STD_VIDEO_AV1_MATRIX_COEFFICIENTS_BT_2020_CL = 10,
|
||||
STD_VIDEO_AV1_MATRIX_COEFFICIENTS_SMPTE_2085 = 11,
|
||||
STD_VIDEO_AV1_MATRIX_COEFFICIENTS_CHROMAT_NCL = 12,
|
||||
STD_VIDEO_AV1_MATRIX_COEFFICIENTS_CHROMAT_CL = 13,
|
||||
STD_VIDEO_AV1_MATRIX_COEFFICIENTS_ICTCP = 14,
|
||||
STD_VIDEO_AV1_MATRIX_COEFFICIENTS_INVALID = 0x7FFFFFFF,
|
||||
STD_VIDEO_AV1_MATRIX_COEFFICIENTS_MAX_ENUM = 0x7FFFFFFF
|
||||
} StdVideoAV1MatrixCoefficients;
|
||||
|
||||
typedef enum StdVideoAV1ChromaSamplePosition {
|
||||
STD_VIDEO_AV1_CHROMA_SAMPLE_POSITION_UNKNOWN = 0,
|
||||
STD_VIDEO_AV1_CHROMA_SAMPLE_POSITION_VERTICAL = 1,
|
||||
STD_VIDEO_AV1_CHROMA_SAMPLE_POSITION_COLOCATED = 2,
|
||||
STD_VIDEO_AV1_CHROMA_SAMPLE_POSITION_RESERVED = 3,
|
||||
STD_VIDEO_AV1_CHROMA_SAMPLE_POSITION_INVALID = 0x7FFFFFFF,
|
||||
STD_VIDEO_AV1_CHROMA_SAMPLE_POSITION_MAX_ENUM = 0x7FFFFFFF
|
||||
} StdVideoAV1ChromaSamplePosition;
|
||||
typedef struct StdVideoAV1ColorConfigFlags {
|
||||
uint32_t mono_chrome : 1;
|
||||
uint32_t color_range : 1;
|
||||
uint32_t separate_uv_delta_q : 1;
|
||||
uint32_t color_description_present_flag : 1;
|
||||
uint32_t reserved : 28;
|
||||
} StdVideoAV1ColorConfigFlags;
|
||||
|
||||
typedef struct StdVideoAV1ColorConfig {
|
||||
StdVideoAV1ColorConfigFlags flags;
|
||||
uint8_t BitDepth;
|
||||
uint8_t subsampling_x;
|
||||
uint8_t subsampling_y;
|
||||
uint8_t reserved1;
|
||||
StdVideoAV1ColorPrimaries color_primaries;
|
||||
StdVideoAV1TransferCharacteristics transfer_characteristics;
|
||||
StdVideoAV1MatrixCoefficients matrix_coefficients;
|
||||
StdVideoAV1ChromaSamplePosition chroma_sample_position;
|
||||
} StdVideoAV1ColorConfig;
|
||||
|
||||
typedef struct StdVideoAV1TimingInfoFlags {
|
||||
uint32_t equal_picture_interval : 1;
|
||||
uint32_t reserved : 31;
|
||||
} StdVideoAV1TimingInfoFlags;
|
||||
|
||||
typedef struct StdVideoAV1TimingInfo {
|
||||
StdVideoAV1TimingInfoFlags flags;
|
||||
uint32_t num_units_in_display_tick;
|
||||
uint32_t time_scale;
|
||||
uint32_t num_ticks_per_picture_minus_1;
|
||||
} StdVideoAV1TimingInfo;
|
||||
|
||||
typedef struct StdVideoAV1LoopFilterFlags {
|
||||
uint32_t loop_filter_delta_enabled : 1;
|
||||
uint32_t loop_filter_delta_update : 1;
|
||||
uint32_t reserved : 30;
|
||||
} StdVideoAV1LoopFilterFlags;
|
||||
|
||||
typedef struct StdVideoAV1LoopFilter {
|
||||
StdVideoAV1LoopFilterFlags flags;
|
||||
uint8_t loop_filter_level[STD_VIDEO_AV1_MAX_LOOP_FILTER_STRENGTHS];
|
||||
uint8_t loop_filter_sharpness;
|
||||
uint8_t update_ref_delta;
|
||||
int8_t loop_filter_ref_deltas[STD_VIDEO_AV1_TOTAL_REFS_PER_FRAME];
|
||||
uint8_t update_mode_delta;
|
||||
int8_t loop_filter_mode_deltas[STD_VIDEO_AV1_LOOP_FILTER_ADJUSTMENTS];
|
||||
} StdVideoAV1LoopFilter;
|
||||
|
||||
typedef struct StdVideoAV1QuantizationFlags {
|
||||
uint32_t using_qmatrix : 1;
|
||||
uint32_t diff_uv_delta : 1;
|
||||
uint32_t reserved : 30;
|
||||
} StdVideoAV1QuantizationFlags;
|
||||
|
||||
typedef struct StdVideoAV1Quantization {
|
||||
StdVideoAV1QuantizationFlags flags;
|
||||
uint8_t base_q_idx;
|
||||
int8_t DeltaQYDc;
|
||||
int8_t DeltaQUDc;
|
||||
int8_t DeltaQUAc;
|
||||
int8_t DeltaQVDc;
|
||||
int8_t DeltaQVAc;
|
||||
uint8_t qm_y;
|
||||
uint8_t qm_u;
|
||||
uint8_t qm_v;
|
||||
} StdVideoAV1Quantization;
|
||||
|
||||
typedef struct StdVideoAV1Segmentation {
|
||||
uint8_t FeatureEnabled[STD_VIDEO_AV1_MAX_SEGMENTS];
|
||||
int16_t FeatureData[STD_VIDEO_AV1_MAX_SEGMENTS][STD_VIDEO_AV1_SEG_LVL_MAX];
|
||||
} StdVideoAV1Segmentation;
|
||||
|
||||
typedef struct StdVideoAV1TileInfoFlags {
|
||||
uint32_t uniform_tile_spacing_flag : 1;
|
||||
uint32_t reserved : 31;
|
||||
} StdVideoAV1TileInfoFlags;
|
||||
|
||||
typedef struct StdVideoAV1TileInfo {
|
||||
StdVideoAV1TileInfoFlags flags;
|
||||
uint8_t TileCols;
|
||||
uint8_t TileRows;
|
||||
uint16_t context_update_tile_id;
|
||||
uint8_t tile_size_bytes_minus_1;
|
||||
uint8_t reserved1[7];
|
||||
const uint16_t* pMiColStarts;
|
||||
const uint16_t* pMiRowStarts;
|
||||
const uint16_t* pWidthInSbsMinus1;
|
||||
const uint16_t* pHeightInSbsMinus1;
|
||||
} StdVideoAV1TileInfo;
|
||||
|
||||
typedef struct StdVideoAV1CDEF {
|
||||
uint8_t cdef_damping_minus_3;
|
||||
uint8_t cdef_bits;
|
||||
uint8_t cdef_y_pri_strength[STD_VIDEO_AV1_MAX_CDEF_FILTER_STRENGTHS];
|
||||
uint8_t cdef_y_sec_strength[STD_VIDEO_AV1_MAX_CDEF_FILTER_STRENGTHS];
|
||||
uint8_t cdef_uv_pri_strength[STD_VIDEO_AV1_MAX_CDEF_FILTER_STRENGTHS];
|
||||
uint8_t cdef_uv_sec_strength[STD_VIDEO_AV1_MAX_CDEF_FILTER_STRENGTHS];
|
||||
} StdVideoAV1CDEF;
|
||||
|
||||
typedef struct StdVideoAV1LoopRestoration {
|
||||
StdVideoAV1FrameRestorationType FrameRestorationType[STD_VIDEO_AV1_MAX_NUM_PLANES];
|
||||
uint16_t LoopRestorationSize[STD_VIDEO_AV1_MAX_NUM_PLANES];
|
||||
} StdVideoAV1LoopRestoration;
|
||||
|
||||
typedef struct StdVideoAV1GlobalMotion {
|
||||
uint8_t GmType[STD_VIDEO_AV1_NUM_REF_FRAMES];
|
||||
int32_t gm_params[STD_VIDEO_AV1_NUM_REF_FRAMES][STD_VIDEO_AV1_GLOBAL_MOTION_PARAMS];
|
||||
} StdVideoAV1GlobalMotion;
|
||||
|
||||
typedef struct StdVideoAV1FilmGrainFlags {
|
||||
uint32_t chroma_scaling_from_luma : 1;
|
||||
uint32_t overlap_flag : 1;
|
||||
uint32_t clip_to_restricted_range : 1;
|
||||
uint32_t update_grain : 1;
|
||||
uint32_t reserved : 28;
|
||||
} StdVideoAV1FilmGrainFlags;
|
||||
|
||||
typedef struct StdVideoAV1FilmGrain {
|
||||
StdVideoAV1FilmGrainFlags flags;
|
||||
uint8_t grain_scaling_minus_8;
|
||||
uint8_t ar_coeff_lag;
|
||||
uint8_t ar_coeff_shift_minus_6;
|
||||
uint8_t grain_scale_shift;
|
||||
uint16_t grain_seed;
|
||||
uint8_t film_grain_params_ref_idx;
|
||||
uint8_t num_y_points;
|
||||
uint8_t point_y_value[STD_VIDEO_AV1_MAX_NUM_Y_POINTS];
|
||||
uint8_t point_y_scaling[STD_VIDEO_AV1_MAX_NUM_Y_POINTS];
|
||||
uint8_t num_cb_points;
|
||||
uint8_t point_cb_value[STD_VIDEO_AV1_MAX_NUM_CB_POINTS];
|
||||
uint8_t point_cb_scaling[STD_VIDEO_AV1_MAX_NUM_CB_POINTS];
|
||||
uint8_t num_cr_points;
|
||||
uint8_t point_cr_value[STD_VIDEO_AV1_MAX_NUM_CR_POINTS];
|
||||
uint8_t point_cr_scaling[STD_VIDEO_AV1_MAX_NUM_CR_POINTS];
|
||||
int8_t ar_coeffs_y_plus_128[STD_VIDEO_AV1_MAX_NUM_POS_LUMA];
|
||||
int8_t ar_coeffs_cb_plus_128[STD_VIDEO_AV1_MAX_NUM_POS_CHROMA];
|
||||
int8_t ar_coeffs_cr_plus_128[STD_VIDEO_AV1_MAX_NUM_POS_CHROMA];
|
||||
uint8_t cb_mult;
|
||||
uint8_t cb_luma_mult;
|
||||
uint16_t cb_offset;
|
||||
uint8_t cr_mult;
|
||||
uint8_t cr_luma_mult;
|
||||
uint16_t cr_offset;
|
||||
} StdVideoAV1FilmGrain;
|
||||
|
||||
typedef struct StdVideoAV1SequenceHeaderFlags {
|
||||
uint32_t still_picture : 1;
|
||||
uint32_t reduced_still_picture_header : 1;
|
||||
uint32_t use_128x128_superblock : 1;
|
||||
uint32_t enable_filter_intra : 1;
|
||||
uint32_t enable_intra_edge_filter : 1;
|
||||
uint32_t enable_interintra_compound : 1;
|
||||
uint32_t enable_masked_compound : 1;
|
||||
uint32_t enable_warped_motion : 1;
|
||||
uint32_t enable_dual_filter : 1;
|
||||
uint32_t enable_order_hint : 1;
|
||||
uint32_t enable_jnt_comp : 1;
|
||||
uint32_t enable_ref_frame_mvs : 1;
|
||||
uint32_t frame_id_numbers_present_flag : 1;
|
||||
uint32_t enable_superres : 1;
|
||||
uint32_t enable_cdef : 1;
|
||||
uint32_t enable_restoration : 1;
|
||||
uint32_t film_grain_params_present : 1;
|
||||
uint32_t timing_info_present_flag : 1;
|
||||
uint32_t initial_display_delay_present_flag : 1;
|
||||
uint32_t reserved : 13;
|
||||
} StdVideoAV1SequenceHeaderFlags;
|
||||
|
||||
typedef struct StdVideoAV1SequenceHeader {
|
||||
StdVideoAV1SequenceHeaderFlags flags;
|
||||
StdVideoAV1Profile seq_profile;
|
||||
uint8_t frame_width_bits_minus_1;
|
||||
uint8_t frame_height_bits_minus_1;
|
||||
uint16_t max_frame_width_minus_1;
|
||||
uint16_t max_frame_height_minus_1;
|
||||
uint8_t delta_frame_id_length_minus_2;
|
||||
uint8_t additional_frame_id_length_minus_1;
|
||||
uint8_t order_hint_bits_minus_1;
|
||||
uint8_t seq_force_integer_mv;
|
||||
uint8_t seq_force_screen_content_tools;
|
||||
uint8_t reserved1[5];
|
||||
const StdVideoAV1ColorConfig* pColorConfig;
|
||||
const StdVideoAV1TimingInfo* pTimingInfo;
|
||||
} StdVideoAV1SequenceHeader;
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
109
deps/vulkan-headers/include/vk_video/vulkan_video_codec_av1std_decode.h
vendored
Normal file
109
deps/vulkan-headers/include/vk_video/vulkan_video_codec_av1std_decode.h
vendored
Normal file
|
@ -0,0 +1,109 @@
|
|||
#ifndef VULKAN_VIDEO_CODEC_AV1STD_DECODE_H_
|
||||
#define VULKAN_VIDEO_CODEC_AV1STD_DECODE_H_ 1
|
||||
|
||||
/*
|
||||
** Copyright 2015-2024 The Khronos Group Inc.
|
||||
**
|
||||
** SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
/*
|
||||
** This header is generated from the Khronos Vulkan XML API Registry.
|
||||
**
|
||||
*/
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
// vulkan_video_codec_av1std_decode is a preprocessor guard. Do not pass it to API calls.
|
||||
#define vulkan_video_codec_av1std_decode 1
|
||||
#include "vulkan_video_codec_av1std.h"
|
||||
|
||||
#define VK_STD_VULKAN_VIDEO_CODEC_AV1_DECODE_API_VERSION_1_0_0 VK_MAKE_VIDEO_STD_VERSION(1, 0, 0)
|
||||
|
||||
#define VK_STD_VULKAN_VIDEO_CODEC_AV1_DECODE_SPEC_VERSION VK_STD_VULKAN_VIDEO_CODEC_AV1_DECODE_API_VERSION_1_0_0
|
||||
#define VK_STD_VULKAN_VIDEO_CODEC_AV1_DECODE_EXTENSION_NAME "VK_STD_vulkan_video_codec_av1_decode"
|
||||
typedef struct StdVideoDecodeAV1PictureInfoFlags {
|
||||
uint32_t error_resilient_mode : 1;
|
||||
uint32_t disable_cdf_update : 1;
|
||||
uint32_t use_superres : 1;
|
||||
uint32_t render_and_frame_size_different : 1;
|
||||
uint32_t allow_screen_content_tools : 1;
|
||||
uint32_t is_filter_switchable : 1;
|
||||
uint32_t force_integer_mv : 1;
|
||||
uint32_t frame_size_override_flag : 1;
|
||||
uint32_t buffer_removal_time_present_flag : 1;
|
||||
uint32_t allow_intrabc : 1;
|
||||
uint32_t frame_refs_short_signaling : 1;
|
||||
uint32_t allow_high_precision_mv : 1;
|
||||
uint32_t is_motion_mode_switchable : 1;
|
||||
uint32_t use_ref_frame_mvs : 1;
|
||||
uint32_t disable_frame_end_update_cdf : 1;
|
||||
uint32_t allow_warped_motion : 1;
|
||||
uint32_t reduced_tx_set : 1;
|
||||
uint32_t reference_select : 1;
|
||||
uint32_t skip_mode_present : 1;
|
||||
uint32_t delta_q_present : 1;
|
||||
uint32_t delta_lf_present : 1;
|
||||
uint32_t delta_lf_multi : 1;
|
||||
uint32_t segmentation_enabled : 1;
|
||||
uint32_t segmentation_update_map : 1;
|
||||
uint32_t segmentation_temporal_update : 1;
|
||||
uint32_t segmentation_update_data : 1;
|
||||
uint32_t UsesLr : 1;
|
||||
uint32_t usesChromaLr : 1;
|
||||
uint32_t apply_grain : 1;
|
||||
uint32_t reserved : 3;
|
||||
} StdVideoDecodeAV1PictureInfoFlags;
|
||||
|
||||
typedef struct StdVideoDecodeAV1PictureInfo {
|
||||
StdVideoDecodeAV1PictureInfoFlags flags;
|
||||
StdVideoAV1FrameType frame_type;
|
||||
uint32_t current_frame_id;
|
||||
uint8_t OrderHint;
|
||||
uint8_t primary_ref_frame;
|
||||
uint8_t refresh_frame_flags;
|
||||
uint8_t reserved1;
|
||||
StdVideoAV1InterpolationFilter interpolation_filter;
|
||||
StdVideoAV1TxMode TxMode;
|
||||
uint8_t delta_q_res;
|
||||
uint8_t delta_lf_res;
|
||||
uint8_t SkipModeFrame[STD_VIDEO_AV1_SKIP_MODE_FRAMES];
|
||||
uint8_t coded_denom;
|
||||
uint8_t reserved2[3];
|
||||
uint8_t OrderHints[STD_VIDEO_AV1_NUM_REF_FRAMES];
|
||||
uint32_t expectedFrameId[STD_VIDEO_AV1_NUM_REF_FRAMES];
|
||||
const StdVideoAV1TileInfo* pTileInfo;
|
||||
const StdVideoAV1Quantization* pQuantization;
|
||||
const StdVideoAV1Segmentation* pSegmentation;
|
||||
const StdVideoAV1LoopFilter* pLoopFilter;
|
||||
const StdVideoAV1CDEF* pCDEF;
|
||||
const StdVideoAV1LoopRestoration* pLoopRestoration;
|
||||
const StdVideoAV1GlobalMotion* pGlobalMotion;
|
||||
const StdVideoAV1FilmGrain* pFilmGrain;
|
||||
} StdVideoDecodeAV1PictureInfo;
|
||||
|
||||
typedef struct StdVideoDecodeAV1ReferenceInfoFlags {
|
||||
uint32_t disable_frame_end_update_cdf : 1;
|
||||
uint32_t segmentation_enabled : 1;
|
||||
uint32_t reserved : 30;
|
||||
} StdVideoDecodeAV1ReferenceInfoFlags;
|
||||
|
||||
typedef struct StdVideoDecodeAV1ReferenceInfo {
|
||||
StdVideoDecodeAV1ReferenceInfoFlags flags;
|
||||
uint8_t frame_type;
|
||||
uint8_t RefFrameSignBias;
|
||||
uint8_t OrderHint;
|
||||
uint8_t SavedOrderHints[STD_VIDEO_AV1_NUM_REF_FRAMES];
|
||||
} StdVideoDecodeAV1ReferenceInfo;
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
346
deps/vulkan-headers/include/vulkan/vulkan.cppm
vendored
346
deps/vulkan-headers/include/vulkan/vulkan.cppm
vendored
|
@ -10,6 +10,12 @@
|
|||
|
||||
module;
|
||||
|
||||
#include <vulkan/vulkan_hpp_macros.hpp>
|
||||
|
||||
#if defined( __cpp_lib_modules )
|
||||
# define VULKAN_HPP_ENABLE_STD_MODULE
|
||||
#endif
|
||||
|
||||
#include <vulkan/vulkan.hpp>
|
||||
#include <vulkan/vulkan_extension_inspection.hpp>
|
||||
#include <vulkan/vulkan_format_traits.hpp>
|
||||
|
@ -62,6 +68,8 @@ export namespace VULKAN_HPP_NAMESPACE
|
|||
using VULKAN_HPP_NAMESPACE::UniqueHandle;
|
||||
#endif /*VULKAN_HPP_NO_SMART_HANDLE*/
|
||||
|
||||
using VULKAN_HPP_NAMESPACE::exchange;
|
||||
|
||||
//==================
|
||||
//=== BASE TYPEs ===
|
||||
//==================
|
||||
|
@ -236,37 +244,48 @@ export namespace VULKAN_HPP_NAMESPACE
|
|||
using VULKAN_HPP_NAMESPACE::ChromaLocationKHR;
|
||||
using VULKAN_HPP_NAMESPACE::CommandPoolTrimFlagBits;
|
||||
using VULKAN_HPP_NAMESPACE::CommandPoolTrimFlags;
|
||||
using VULKAN_HPP_NAMESPACE::CommandPoolTrimFlagsKHR;
|
||||
using VULKAN_HPP_NAMESPACE::DescriptorUpdateTemplateCreateFlagBits;
|
||||
using VULKAN_HPP_NAMESPACE::DescriptorUpdateTemplateCreateFlags;
|
||||
using VULKAN_HPP_NAMESPACE::DescriptorUpdateTemplateCreateFlagsKHR;
|
||||
using VULKAN_HPP_NAMESPACE::DescriptorUpdateTemplateType;
|
||||
using VULKAN_HPP_NAMESPACE::DescriptorUpdateTemplateTypeKHR;
|
||||
using VULKAN_HPP_NAMESPACE::ExternalFenceFeatureFlagBits;
|
||||
using VULKAN_HPP_NAMESPACE::ExternalFenceFeatureFlagBitsKHR;
|
||||
using VULKAN_HPP_NAMESPACE::ExternalFenceFeatureFlags;
|
||||
using VULKAN_HPP_NAMESPACE::ExternalFenceFeatureFlagsKHR;
|
||||
using VULKAN_HPP_NAMESPACE::ExternalFenceHandleTypeFlagBits;
|
||||
using VULKAN_HPP_NAMESPACE::ExternalFenceHandleTypeFlagBitsKHR;
|
||||
using VULKAN_HPP_NAMESPACE::ExternalFenceHandleTypeFlags;
|
||||
using VULKAN_HPP_NAMESPACE::ExternalFenceHandleTypeFlagsKHR;
|
||||
using VULKAN_HPP_NAMESPACE::ExternalMemoryFeatureFlagBits;
|
||||
using VULKAN_HPP_NAMESPACE::ExternalMemoryFeatureFlagBitsKHR;
|
||||
using VULKAN_HPP_NAMESPACE::ExternalMemoryFeatureFlags;
|
||||
using VULKAN_HPP_NAMESPACE::ExternalMemoryFeatureFlagsKHR;
|
||||
using VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlagBits;
|
||||
using VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlagBitsKHR;
|
||||
using VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlags;
|
||||
using VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlagsKHR;
|
||||
using VULKAN_HPP_NAMESPACE::ExternalSemaphoreFeatureFlagBits;
|
||||
using VULKAN_HPP_NAMESPACE::ExternalSemaphoreFeatureFlagBitsKHR;
|
||||
using VULKAN_HPP_NAMESPACE::ExternalSemaphoreFeatureFlags;
|
||||
using VULKAN_HPP_NAMESPACE::ExternalSemaphoreFeatureFlagsKHR;
|
||||
using VULKAN_HPP_NAMESPACE::ExternalSemaphoreHandleTypeFlagBits;
|
||||
using VULKAN_HPP_NAMESPACE::ExternalSemaphoreHandleTypeFlagBitsKHR;
|
||||
using VULKAN_HPP_NAMESPACE::ExternalSemaphoreHandleTypeFlags;
|
||||
using VULKAN_HPP_NAMESPACE::ExternalSemaphoreHandleTypeFlagsKHR;
|
||||
using VULKAN_HPP_NAMESPACE::FenceImportFlagBits;
|
||||
using VULKAN_HPP_NAMESPACE::FenceImportFlagBitsKHR;
|
||||
using VULKAN_HPP_NAMESPACE::FenceImportFlags;
|
||||
using VULKAN_HPP_NAMESPACE::FenceImportFlagsKHR;
|
||||
using VULKAN_HPP_NAMESPACE::MemoryAllocateFlagBits;
|
||||
using VULKAN_HPP_NAMESPACE::MemoryAllocateFlagBitsKHR;
|
||||
using VULKAN_HPP_NAMESPACE::MemoryAllocateFlags;
|
||||
using VULKAN_HPP_NAMESPACE::MemoryAllocateFlagsKHR;
|
||||
using VULKAN_HPP_NAMESPACE::PeerMemoryFeatureFlagBits;
|
||||
using VULKAN_HPP_NAMESPACE::PeerMemoryFeatureFlagBitsKHR;
|
||||
using VULKAN_HPP_NAMESPACE::PeerMemoryFeatureFlags;
|
||||
using VULKAN_HPP_NAMESPACE::PeerMemoryFeatureFlagsKHR;
|
||||
using VULKAN_HPP_NAMESPACE::PointClippingBehavior;
|
||||
using VULKAN_HPP_NAMESPACE::PointClippingBehaviorKHR;
|
||||
using VULKAN_HPP_NAMESPACE::SamplerYcbcrModelConversion;
|
||||
|
@ -276,6 +295,7 @@ export namespace VULKAN_HPP_NAMESPACE
|
|||
using VULKAN_HPP_NAMESPACE::SemaphoreImportFlagBits;
|
||||
using VULKAN_HPP_NAMESPACE::SemaphoreImportFlagBitsKHR;
|
||||
using VULKAN_HPP_NAMESPACE::SemaphoreImportFlags;
|
||||
using VULKAN_HPP_NAMESPACE::SemaphoreImportFlagsKHR;
|
||||
using VULKAN_HPP_NAMESPACE::SubgroupFeatureFlagBits;
|
||||
using VULKAN_HPP_NAMESPACE::SubgroupFeatureFlags;
|
||||
using VULKAN_HPP_NAMESPACE::TessellationDomainOrigin;
|
||||
|
@ -285,11 +305,13 @@ export namespace VULKAN_HPP_NAMESPACE
|
|||
using VULKAN_HPP_NAMESPACE::DescriptorBindingFlagBits;
|
||||
using VULKAN_HPP_NAMESPACE::DescriptorBindingFlagBitsEXT;
|
||||
using VULKAN_HPP_NAMESPACE::DescriptorBindingFlags;
|
||||
using VULKAN_HPP_NAMESPACE::DescriptorBindingFlagsEXT;
|
||||
using VULKAN_HPP_NAMESPACE::DriverId;
|
||||
using VULKAN_HPP_NAMESPACE::DriverIdKHR;
|
||||
using VULKAN_HPP_NAMESPACE::ResolveModeFlagBits;
|
||||
using VULKAN_HPP_NAMESPACE::ResolveModeFlagBitsKHR;
|
||||
using VULKAN_HPP_NAMESPACE::ResolveModeFlags;
|
||||
using VULKAN_HPP_NAMESPACE::ResolveModeFlagsKHR;
|
||||
using VULKAN_HPP_NAMESPACE::SamplerReductionMode;
|
||||
using VULKAN_HPP_NAMESPACE::SamplerReductionModeEXT;
|
||||
using VULKAN_HPP_NAMESPACE::SemaphoreType;
|
||||
|
@ -297,6 +319,7 @@ export namespace VULKAN_HPP_NAMESPACE
|
|||
using VULKAN_HPP_NAMESPACE::SemaphoreWaitFlagBits;
|
||||
using VULKAN_HPP_NAMESPACE::SemaphoreWaitFlagBitsKHR;
|
||||
using VULKAN_HPP_NAMESPACE::SemaphoreWaitFlags;
|
||||
using VULKAN_HPP_NAMESPACE::SemaphoreWaitFlagsKHR;
|
||||
using VULKAN_HPP_NAMESPACE::ShaderFloatControlsIndependence;
|
||||
using VULKAN_HPP_NAMESPACE::ShaderFloatControlsIndependenceKHR;
|
||||
|
||||
|
@ -304,27 +327,35 @@ export namespace VULKAN_HPP_NAMESPACE
|
|||
using VULKAN_HPP_NAMESPACE::AccessFlagBits2;
|
||||
using VULKAN_HPP_NAMESPACE::AccessFlagBits2KHR;
|
||||
using VULKAN_HPP_NAMESPACE::AccessFlags2;
|
||||
using VULKAN_HPP_NAMESPACE::AccessFlags2KHR;
|
||||
using VULKAN_HPP_NAMESPACE::FormatFeatureFlagBits2;
|
||||
using VULKAN_HPP_NAMESPACE::FormatFeatureFlagBits2KHR;
|
||||
using VULKAN_HPP_NAMESPACE::FormatFeatureFlags2;
|
||||
using VULKAN_HPP_NAMESPACE::FormatFeatureFlags2KHR;
|
||||
using VULKAN_HPP_NAMESPACE::PipelineCreationFeedbackFlagBits;
|
||||
using VULKAN_HPP_NAMESPACE::PipelineCreationFeedbackFlagBitsEXT;
|
||||
using VULKAN_HPP_NAMESPACE::PipelineCreationFeedbackFlags;
|
||||
using VULKAN_HPP_NAMESPACE::PipelineCreationFeedbackFlagsEXT;
|
||||
using VULKAN_HPP_NAMESPACE::PipelineStageFlagBits2;
|
||||
using VULKAN_HPP_NAMESPACE::PipelineStageFlagBits2KHR;
|
||||
using VULKAN_HPP_NAMESPACE::PipelineStageFlags2;
|
||||
using VULKAN_HPP_NAMESPACE::PipelineStageFlags2KHR;
|
||||
using VULKAN_HPP_NAMESPACE::PrivateDataSlotCreateFlagBits;
|
||||
using VULKAN_HPP_NAMESPACE::PrivateDataSlotCreateFlagBitsEXT;
|
||||
using VULKAN_HPP_NAMESPACE::PrivateDataSlotCreateFlags;
|
||||
using VULKAN_HPP_NAMESPACE::PrivateDataSlotCreateFlagsEXT;
|
||||
using VULKAN_HPP_NAMESPACE::RenderingFlagBits;
|
||||
using VULKAN_HPP_NAMESPACE::RenderingFlagBitsKHR;
|
||||
using VULKAN_HPP_NAMESPACE::RenderingFlags;
|
||||
using VULKAN_HPP_NAMESPACE::RenderingFlagsKHR;
|
||||
using VULKAN_HPP_NAMESPACE::SubmitFlagBits;
|
||||
using VULKAN_HPP_NAMESPACE::SubmitFlagBitsKHR;
|
||||
using VULKAN_HPP_NAMESPACE::SubmitFlags;
|
||||
using VULKAN_HPP_NAMESPACE::SubmitFlagsKHR;
|
||||
using VULKAN_HPP_NAMESPACE::ToolPurposeFlagBits;
|
||||
using VULKAN_HPP_NAMESPACE::ToolPurposeFlagBitsEXT;
|
||||
using VULKAN_HPP_NAMESPACE::ToolPurposeFlags;
|
||||
using VULKAN_HPP_NAMESPACE::ToolPurposeFlagsEXT;
|
||||
|
||||
//=== VK_KHR_surface ===
|
||||
using VULKAN_HPP_NAMESPACE::ColorSpaceKHR;
|
||||
|
@ -551,15 +582,18 @@ export namespace VULKAN_HPP_NAMESPACE
|
|||
using VULKAN_HPP_NAMESPACE::BuildAccelerationStructureFlagBitsKHR;
|
||||
using VULKAN_HPP_NAMESPACE::BuildAccelerationStructureFlagBitsNV;
|
||||
using VULKAN_HPP_NAMESPACE::BuildAccelerationStructureFlagsKHR;
|
||||
using VULKAN_HPP_NAMESPACE::BuildAccelerationStructureFlagsNV;
|
||||
using VULKAN_HPP_NAMESPACE::BuildAccelerationStructureModeKHR;
|
||||
using VULKAN_HPP_NAMESPACE::CopyAccelerationStructureModeKHR;
|
||||
using VULKAN_HPP_NAMESPACE::CopyAccelerationStructureModeNV;
|
||||
using VULKAN_HPP_NAMESPACE::GeometryFlagBitsKHR;
|
||||
using VULKAN_HPP_NAMESPACE::GeometryFlagBitsNV;
|
||||
using VULKAN_HPP_NAMESPACE::GeometryFlagsKHR;
|
||||
using VULKAN_HPP_NAMESPACE::GeometryFlagsNV;
|
||||
using VULKAN_HPP_NAMESPACE::GeometryInstanceFlagBitsKHR;
|
||||
using VULKAN_HPP_NAMESPACE::GeometryInstanceFlagBitsNV;
|
||||
using VULKAN_HPP_NAMESPACE::GeometryInstanceFlagsKHR;
|
||||
using VULKAN_HPP_NAMESPACE::GeometryInstanceFlagsNV;
|
||||
using VULKAN_HPP_NAMESPACE::GeometryTypeKHR;
|
||||
using VULKAN_HPP_NAMESPACE::GeometryTypeNV;
|
||||
|
||||
|
@ -643,9 +677,6 @@ export namespace VULKAN_HPP_NAMESPACE
|
|||
using VULKAN_HPP_NAMESPACE::HeadlessSurfaceCreateFlagBitsEXT;
|
||||
using VULKAN_HPP_NAMESPACE::HeadlessSurfaceCreateFlagsEXT;
|
||||
|
||||
//=== VK_EXT_line_rasterization ===
|
||||
using VULKAN_HPP_NAMESPACE::LineRasterizationModeEXT;
|
||||
|
||||
//=== VK_KHR_pipeline_executable_properties ===
|
||||
using VULKAN_HPP_NAMESPACE::PipelineExecutableStatisticFormatKHR;
|
||||
|
||||
|
@ -809,6 +840,10 @@ export namespace VULKAN_HPP_NAMESPACE
|
|||
using VULKAN_HPP_NAMESPACE::PipelineCreateFlagBits2KHR;
|
||||
using VULKAN_HPP_NAMESPACE::PipelineCreateFlags2KHR;
|
||||
|
||||
//=== VK_AMD_anti_lag ===
|
||||
using VULKAN_HPP_NAMESPACE::AntiLagModeAMD;
|
||||
using VULKAN_HPP_NAMESPACE::AntiLagStageAMD;
|
||||
|
||||
//=== VK_EXT_shader_object ===
|
||||
using VULKAN_HPP_NAMESPACE::ShaderCodeTypeEXT;
|
||||
using VULKAN_HPP_NAMESPACE::ShaderCreateFlagBitsEXT;
|
||||
|
@ -839,10 +874,28 @@ export namespace VULKAN_HPP_NAMESPACE
|
|||
//=== VK_MSFT_layered_driver ===
|
||||
using VULKAN_HPP_NAMESPACE::LayeredDriverUnderlyingApiMSFT;
|
||||
|
||||
//=== VK_KHR_line_rasterization ===
|
||||
using VULKAN_HPP_NAMESPACE::LineRasterizationModeEXT;
|
||||
using VULKAN_HPP_NAMESPACE::LineRasterizationModeKHR;
|
||||
|
||||
//=== VK_KHR_calibrated_timestamps ===
|
||||
using VULKAN_HPP_NAMESPACE::TimeDomainEXT;
|
||||
using VULKAN_HPP_NAMESPACE::TimeDomainKHR;
|
||||
|
||||
//=== VK_KHR_maintenance7 ===
|
||||
using VULKAN_HPP_NAMESPACE::PhysicalDeviceLayeredApiKHR;
|
||||
|
||||
//=== VK_EXT_device_generated_commands ===
|
||||
using VULKAN_HPP_NAMESPACE::IndirectCommandsInputModeFlagBitsEXT;
|
||||
using VULKAN_HPP_NAMESPACE::IndirectCommandsInputModeFlagsEXT;
|
||||
using VULKAN_HPP_NAMESPACE::IndirectCommandsLayoutUsageFlagBitsEXT;
|
||||
using VULKAN_HPP_NAMESPACE::IndirectCommandsLayoutUsageFlagsEXT;
|
||||
using VULKAN_HPP_NAMESPACE::IndirectCommandsTokenTypeEXT;
|
||||
using VULKAN_HPP_NAMESPACE::IndirectExecutionSetInfoTypeEXT;
|
||||
|
||||
//=== VK_EXT_depth_clamp_control ===
|
||||
using VULKAN_HPP_NAMESPACE::DepthClampModeEXT;
|
||||
|
||||
//=========================
|
||||
//=== Index Type Traits ===
|
||||
//=========================
|
||||
|
@ -904,13 +957,10 @@ export namespace VULKAN_HPP_NAMESPACE
|
|||
# endif /*VK_USE_PLATFORM_WIN32_KHR*/
|
||||
|
||||
using VULKAN_HPP_NAMESPACE::CompressionExhaustedEXTError;
|
||||
using VULKAN_HPP_NAMESPACE::IncompatibleShaderBinaryEXTError;
|
||||
using VULKAN_HPP_NAMESPACE::InvalidVideoStdParametersKHRError;
|
||||
using VULKAN_HPP_NAMESPACE::NotEnoughSpaceKHRError;
|
||||
#endif /*VULKAN_HPP_NO_EXCEPTIONS*/
|
||||
|
||||
using VULKAN_HPP_NAMESPACE::createResultValueType;
|
||||
using VULKAN_HPP_NAMESPACE::ignore;
|
||||
using VULKAN_HPP_NAMESPACE::resultCheck;
|
||||
using VULKAN_HPP_NAMESPACE::ResultValue;
|
||||
using VULKAN_HPP_NAMESPACE::ResultValueType;
|
||||
|
||||
|
@ -1742,10 +1792,18 @@ export namespace VULKAN_HPP_NAMESPACE
|
|||
using VULKAN_HPP_NAMESPACE::AMDDeviceCoherentMemoryExtensionName;
|
||||
using VULKAN_HPP_NAMESPACE::AMDDeviceCoherentMemorySpecVersion;
|
||||
|
||||
//=== VK_KHR_dynamic_rendering_local_read ===
|
||||
using VULKAN_HPP_NAMESPACE::KHRDynamicRenderingLocalReadExtensionName;
|
||||
using VULKAN_HPP_NAMESPACE::KHRDynamicRenderingLocalReadSpecVersion;
|
||||
|
||||
//=== VK_EXT_shader_image_atomic_int64 ===
|
||||
using VULKAN_HPP_NAMESPACE::EXTShaderImageAtomicInt64ExtensionName;
|
||||
using VULKAN_HPP_NAMESPACE::EXTShaderImageAtomicInt64SpecVersion;
|
||||
|
||||
//=== VK_KHR_shader_quad_control ===
|
||||
using VULKAN_HPP_NAMESPACE::KHRShaderQuadControlExtensionName;
|
||||
using VULKAN_HPP_NAMESPACE::KHRShaderQuadControlSpecVersion;
|
||||
|
||||
//=== VK_KHR_spirv_1_4 ===
|
||||
using VULKAN_HPP_NAMESPACE::KHRSpirv14ExtensionName;
|
||||
using VULKAN_HPP_NAMESPACE::KHRSpirv14SpecVersion;
|
||||
|
@ -1864,6 +1922,10 @@ export namespace VULKAN_HPP_NAMESPACE
|
|||
using VULKAN_HPP_NAMESPACE::KHRMapMemory2ExtensionName;
|
||||
using VULKAN_HPP_NAMESPACE::KHRMapMemory2SpecVersion;
|
||||
|
||||
//=== VK_EXT_map_memory_placed ===
|
||||
using VULKAN_HPP_NAMESPACE::EXTMapMemoryPlacedExtensionName;
|
||||
using VULKAN_HPP_NAMESPACE::EXTMapMemoryPlacedSpecVersion;
|
||||
|
||||
//=== VK_EXT_shader_atomic_float2 ===
|
||||
using VULKAN_HPP_NAMESPACE::EXTShaderAtomicFloat2ExtensionName;
|
||||
using VULKAN_HPP_NAMESPACE::EXTShaderAtomicFloat2SpecVersion;
|
||||
|
@ -2227,6 +2289,10 @@ export namespace VULKAN_HPP_NAMESPACE
|
|||
using VULKAN_HPP_NAMESPACE::ARMShaderCorePropertiesExtensionName;
|
||||
using VULKAN_HPP_NAMESPACE::ARMShaderCorePropertiesSpecVersion;
|
||||
|
||||
//=== VK_KHR_shader_subgroup_rotate ===
|
||||
using VULKAN_HPP_NAMESPACE::KHRShaderSubgroupRotateExtensionName;
|
||||
using VULKAN_HPP_NAMESPACE::KHRShaderSubgroupRotateSpecVersion;
|
||||
|
||||
//=== VK_ARM_scheduling_controls ===
|
||||
using VULKAN_HPP_NAMESPACE::ARMSchedulingControlsExtensionName;
|
||||
using VULKAN_HPP_NAMESPACE::ARMSchedulingControlsSpecVersion;
|
||||
|
@ -2276,6 +2342,10 @@ export namespace VULKAN_HPP_NAMESPACE
|
|||
using VULKAN_HPP_NAMESPACE::GOOGLESurfacelessQueryExtensionName;
|
||||
using VULKAN_HPP_NAMESPACE::GOOGLESurfacelessQuerySpecVersion;
|
||||
|
||||
//=== VK_KHR_shader_maximal_reconvergence ===
|
||||
using VULKAN_HPP_NAMESPACE::KHRShaderMaximalReconvergenceExtensionName;
|
||||
using VULKAN_HPP_NAMESPACE::KHRShaderMaximalReconvergenceSpecVersion;
|
||||
|
||||
//=== VK_EXT_image_compression_control_swapchain ===
|
||||
using VULKAN_HPP_NAMESPACE::EXTImageCompressionControlSwapchainExtensionName;
|
||||
using VULKAN_HPP_NAMESPACE::EXTImageCompressionControlSwapchainSpecVersion;
|
||||
|
@ -2335,6 +2405,10 @@ export namespace VULKAN_HPP_NAMESPACE
|
|||
using VULKAN_HPP_NAMESPACE::KHRMaintenance5ExtensionName;
|
||||
using VULKAN_HPP_NAMESPACE::KHRMaintenance5SpecVersion;
|
||||
|
||||
//=== VK_AMD_anti_lag ===
|
||||
using VULKAN_HPP_NAMESPACE::AMDAntiLagExtensionName;
|
||||
using VULKAN_HPP_NAMESPACE::AMDAntiLagSpecVersion;
|
||||
|
||||
//=== VK_KHR_ray_tracing_position_fetch ===
|
||||
using VULKAN_HPP_NAMESPACE::KHRRayTracingPositionFetchExtensionName;
|
||||
using VULKAN_HPP_NAMESPACE::KHRRayTracingPositionFetchSpecVersion;
|
||||
|
@ -2343,6 +2417,11 @@ export namespace VULKAN_HPP_NAMESPACE
|
|||
using VULKAN_HPP_NAMESPACE::EXTShaderObjectExtensionName;
|
||||
using VULKAN_HPP_NAMESPACE::EXTShaderObjectSpecVersion;
|
||||
|
||||
//=== VK_KHR_pipeline_binary ===
|
||||
using VULKAN_HPP_NAMESPACE::KHRPipelineBinaryExtensionName;
|
||||
using VULKAN_HPP_NAMESPACE::KHRPipelineBinarySpecVersion;
|
||||
using VULKAN_HPP_NAMESPACE::MaxPipelineBinaryKeySizeKHR;
|
||||
|
||||
//=== VK_QCOM_tile_properties ===
|
||||
using VULKAN_HPP_NAMESPACE::QCOMTilePropertiesExtensionName;
|
||||
using VULKAN_HPP_NAMESPACE::QCOMTilePropertiesSpecVersion;
|
||||
|
@ -2367,6 +2446,10 @@ export namespace VULKAN_HPP_NAMESPACE
|
|||
using VULKAN_HPP_NAMESPACE::EXTMutableDescriptorTypeExtensionName;
|
||||
using VULKAN_HPP_NAMESPACE::EXTMutableDescriptorTypeSpecVersion;
|
||||
|
||||
//=== VK_EXT_legacy_vertex_attributes ===
|
||||
using VULKAN_HPP_NAMESPACE::EXTLegacyVertexAttributesExtensionName;
|
||||
using VULKAN_HPP_NAMESPACE::EXTLegacyVertexAttributesSpecVersion;
|
||||
|
||||
//=== VK_EXT_layer_settings ===
|
||||
using VULKAN_HPP_NAMESPACE::EXTLayerSettingsExtensionName;
|
||||
using VULKAN_HPP_NAMESPACE::EXTLayerSettingsSpecVersion;
|
||||
|
@ -2395,6 +2478,15 @@ export namespace VULKAN_HPP_NAMESPACE
|
|||
using VULKAN_HPP_NAMESPACE::QCOMMultiviewPerViewRenderAreasExtensionName;
|
||||
using VULKAN_HPP_NAMESPACE::QCOMMultiviewPerViewRenderAreasSpecVersion;
|
||||
|
||||
//=== VK_KHR_compute_shader_derivatives ===
|
||||
using VULKAN_HPP_NAMESPACE::KHRComputeShaderDerivativesExtensionName;
|
||||
using VULKAN_HPP_NAMESPACE::KHRComputeShaderDerivativesSpecVersion;
|
||||
|
||||
//=== VK_KHR_video_decode_av1 ===
|
||||
using VULKAN_HPP_NAMESPACE::KHRVideoDecodeAv1ExtensionName;
|
||||
using VULKAN_HPP_NAMESPACE::KHRVideoDecodeAv1SpecVersion;
|
||||
using VULKAN_HPP_NAMESPACE::MaxVideoAv1ReferencesPerFrameKHR;
|
||||
|
||||
//=== VK_KHR_video_maintenance1 ===
|
||||
using VULKAN_HPP_NAMESPACE::KHRVideoMaintenance1ExtensionName;
|
||||
using VULKAN_HPP_NAMESPACE::KHRVideoMaintenance1SpecVersion;
|
||||
|
@ -2427,6 +2519,14 @@ export namespace VULKAN_HPP_NAMESPACE
|
|||
using VULKAN_HPP_NAMESPACE::KHRVertexAttributeDivisorExtensionName;
|
||||
using VULKAN_HPP_NAMESPACE::KHRVertexAttributeDivisorSpecVersion;
|
||||
|
||||
//=== VK_KHR_load_store_op_none ===
|
||||
using VULKAN_HPP_NAMESPACE::KHRLoadStoreOpNoneExtensionName;
|
||||
using VULKAN_HPP_NAMESPACE::KHRLoadStoreOpNoneSpecVersion;
|
||||
|
||||
//=== VK_KHR_shader_float_controls2 ===
|
||||
using VULKAN_HPP_NAMESPACE::KHRShaderFloatControls2ExtensionName;
|
||||
using VULKAN_HPP_NAMESPACE::KHRShaderFloatControls2SpecVersion;
|
||||
|
||||
#if defined( VK_USE_PLATFORM_SCREEN_QNX )
|
||||
//=== VK_QNX_external_memory_screen_buffer ===
|
||||
using VULKAN_HPP_NAMESPACE::QNXExternalMemoryScreenBufferExtensionName;
|
||||
|
@ -2437,10 +2537,22 @@ export namespace VULKAN_HPP_NAMESPACE
|
|||
using VULKAN_HPP_NAMESPACE::MSFTLayeredDriverExtensionName;
|
||||
using VULKAN_HPP_NAMESPACE::MSFTLayeredDriverSpecVersion;
|
||||
|
||||
//=== VK_KHR_index_type_uint8 ===
|
||||
using VULKAN_HPP_NAMESPACE::KHRIndexTypeUint8ExtensionName;
|
||||
using VULKAN_HPP_NAMESPACE::KHRIndexTypeUint8SpecVersion;
|
||||
|
||||
//=== VK_KHR_line_rasterization ===
|
||||
using VULKAN_HPP_NAMESPACE::KHRLineRasterizationExtensionName;
|
||||
using VULKAN_HPP_NAMESPACE::KHRLineRasterizationSpecVersion;
|
||||
|
||||
//=== VK_KHR_calibrated_timestamps ===
|
||||
using VULKAN_HPP_NAMESPACE::KHRCalibratedTimestampsExtensionName;
|
||||
using VULKAN_HPP_NAMESPACE::KHRCalibratedTimestampsSpecVersion;
|
||||
|
||||
//=== VK_KHR_shader_expect_assume ===
|
||||
using VULKAN_HPP_NAMESPACE::KHRShaderExpectAssumeExtensionName;
|
||||
using VULKAN_HPP_NAMESPACE::KHRShaderExpectAssumeSpecVersion;
|
||||
|
||||
//=== VK_KHR_maintenance6 ===
|
||||
using VULKAN_HPP_NAMESPACE::KHRMaintenance6ExtensionName;
|
||||
using VULKAN_HPP_NAMESPACE::KHRMaintenance6SpecVersion;
|
||||
|
@ -2449,10 +2561,51 @@ export namespace VULKAN_HPP_NAMESPACE
|
|||
using VULKAN_HPP_NAMESPACE::NVDescriptorPoolOverallocationExtensionName;
|
||||
using VULKAN_HPP_NAMESPACE::NVDescriptorPoolOverallocationSpecVersion;
|
||||
|
||||
//=== VK_NV_raw_access_chains ===
|
||||
using VULKAN_HPP_NAMESPACE::NVRawAccessChainsExtensionName;
|
||||
using VULKAN_HPP_NAMESPACE::NVRawAccessChainsSpecVersion;
|
||||
|
||||
//=== VK_KHR_shader_relaxed_extended_instruction ===
|
||||
using VULKAN_HPP_NAMESPACE::KHRShaderRelaxedExtendedInstructionExtensionName;
|
||||
using VULKAN_HPP_NAMESPACE::KHRShaderRelaxedExtendedInstructionSpecVersion;
|
||||
|
||||
//=== VK_NV_command_buffer_inheritance ===
|
||||
using VULKAN_HPP_NAMESPACE::NVCommandBufferInheritanceExtensionName;
|
||||
using VULKAN_HPP_NAMESPACE::NVCommandBufferInheritanceSpecVersion;
|
||||
|
||||
//=== VK_KHR_maintenance7 ===
|
||||
using VULKAN_HPP_NAMESPACE::KHRMaintenance7ExtensionName;
|
||||
using VULKAN_HPP_NAMESPACE::KHRMaintenance7SpecVersion;
|
||||
|
||||
//=== VK_NV_shader_atomic_float16_vector ===
|
||||
using VULKAN_HPP_NAMESPACE::NVShaderAtomicFloat16VectorExtensionName;
|
||||
using VULKAN_HPP_NAMESPACE::NVShaderAtomicFloat16VectorSpecVersion;
|
||||
|
||||
//=== VK_EXT_shader_replicated_composites ===
|
||||
using VULKAN_HPP_NAMESPACE::EXTShaderReplicatedCompositesExtensionName;
|
||||
using VULKAN_HPP_NAMESPACE::EXTShaderReplicatedCompositesSpecVersion;
|
||||
|
||||
//=== VK_NV_ray_tracing_validation ===
|
||||
using VULKAN_HPP_NAMESPACE::NVRayTracingValidationExtensionName;
|
||||
using VULKAN_HPP_NAMESPACE::NVRayTracingValidationSpecVersion;
|
||||
|
||||
//=== VK_EXT_device_generated_commands ===
|
||||
using VULKAN_HPP_NAMESPACE::EXTDeviceGeneratedCommandsExtensionName;
|
||||
using VULKAN_HPP_NAMESPACE::EXTDeviceGeneratedCommandsSpecVersion;
|
||||
|
||||
//=== VK_MESA_image_alignment_control ===
|
||||
using VULKAN_HPP_NAMESPACE::MESAImageAlignmentControlExtensionName;
|
||||
using VULKAN_HPP_NAMESPACE::MESAImageAlignmentControlSpecVersion;
|
||||
|
||||
//=== VK_EXT_depth_clamp_control ===
|
||||
using VULKAN_HPP_NAMESPACE::EXTDepthClampControlExtensionName;
|
||||
using VULKAN_HPP_NAMESPACE::EXTDepthClampControlSpecVersion;
|
||||
|
||||
//========================
|
||||
//=== CONSTEXPR VALUEs ===
|
||||
//========================
|
||||
using VULKAN_HPP_NAMESPACE::HeaderVersion;
|
||||
using VULKAN_HPP_NAMESPACE::Use64BitPtrDefines;
|
||||
|
||||
//=========================
|
||||
//=== CONSTEXPR CALLEEs ===
|
||||
|
@ -3463,9 +3616,6 @@ export namespace VULKAN_HPP_NAMESPACE
|
|||
using VULKAN_HPP_NAMESPACE::PresentFrameTokenGGP;
|
||||
#endif /*VK_USE_PLATFORM_GGP*/
|
||||
|
||||
//=== VK_NV_compute_shader_derivatives ===
|
||||
using VULKAN_HPP_NAMESPACE::PhysicalDeviceComputeShaderDerivativesFeaturesNV;
|
||||
|
||||
//=== VK_NV_mesh_shader ===
|
||||
using VULKAN_HPP_NAMESPACE::DrawMeshTasksIndirectCommandNV;
|
||||
using VULKAN_HPP_NAMESPACE::PhysicalDeviceMeshShaderFeaturesNV;
|
||||
|
@ -3531,9 +3681,17 @@ export namespace VULKAN_HPP_NAMESPACE
|
|||
//=== VK_AMD_device_coherent_memory ===
|
||||
using VULKAN_HPP_NAMESPACE::PhysicalDeviceCoherentMemoryFeaturesAMD;
|
||||
|
||||
//=== VK_KHR_dynamic_rendering_local_read ===
|
||||
using VULKAN_HPP_NAMESPACE::PhysicalDeviceDynamicRenderingLocalReadFeaturesKHR;
|
||||
using VULKAN_HPP_NAMESPACE::RenderingAttachmentLocationInfoKHR;
|
||||
using VULKAN_HPP_NAMESPACE::RenderingInputAttachmentIndexInfoKHR;
|
||||
|
||||
//=== VK_EXT_shader_image_atomic_int64 ===
|
||||
using VULKAN_HPP_NAMESPACE::PhysicalDeviceShaderImageAtomicInt64FeaturesEXT;
|
||||
|
||||
//=== VK_KHR_shader_quad_control ===
|
||||
using VULKAN_HPP_NAMESPACE::PhysicalDeviceShaderQuadControlFeaturesKHR;
|
||||
|
||||
//=== VK_EXT_memory_budget ===
|
||||
using VULKAN_HPP_NAMESPACE::PhysicalDeviceMemoryBudgetPropertiesEXT;
|
||||
|
||||
|
@ -3589,17 +3747,9 @@ export namespace VULKAN_HPP_NAMESPACE
|
|||
//=== VK_EXT_headless_surface ===
|
||||
using VULKAN_HPP_NAMESPACE::HeadlessSurfaceCreateInfoEXT;
|
||||
|
||||
//=== VK_EXT_line_rasterization ===
|
||||
using VULKAN_HPP_NAMESPACE::PhysicalDeviceLineRasterizationFeaturesEXT;
|
||||
using VULKAN_HPP_NAMESPACE::PhysicalDeviceLineRasterizationPropertiesEXT;
|
||||
using VULKAN_HPP_NAMESPACE::PipelineRasterizationLineStateCreateInfoEXT;
|
||||
|
||||
//=== VK_EXT_shader_atomic_float ===
|
||||
using VULKAN_HPP_NAMESPACE::PhysicalDeviceShaderAtomicFloatFeaturesEXT;
|
||||
|
||||
//=== VK_EXT_index_type_uint8 ===
|
||||
using VULKAN_HPP_NAMESPACE::PhysicalDeviceIndexTypeUint8FeaturesEXT;
|
||||
|
||||
//=== VK_EXT_extended_dynamic_state ===
|
||||
using VULKAN_HPP_NAMESPACE::PhysicalDeviceExtendedDynamicStateFeaturesEXT;
|
||||
|
||||
|
@ -3629,6 +3779,11 @@ export namespace VULKAN_HPP_NAMESPACE
|
|||
using VULKAN_HPP_NAMESPACE::MemoryMapInfoKHR;
|
||||
using VULKAN_HPP_NAMESPACE::MemoryUnmapInfoKHR;
|
||||
|
||||
//=== VK_EXT_map_memory_placed ===
|
||||
using VULKAN_HPP_NAMESPACE::MemoryMapPlacedInfoEXT;
|
||||
using VULKAN_HPP_NAMESPACE::PhysicalDeviceMapMemoryPlacedFeaturesEXT;
|
||||
using VULKAN_HPP_NAMESPACE::PhysicalDeviceMapMemoryPlacedPropertiesEXT;
|
||||
|
||||
//=== VK_EXT_shader_atomic_float2 ===
|
||||
using VULKAN_HPP_NAMESPACE::PhysicalDeviceShaderAtomicFloat2FeaturesEXT;
|
||||
|
||||
|
@ -3986,6 +4141,9 @@ export namespace VULKAN_HPP_NAMESPACE
|
|||
//=== VK_ARM_shader_core_properties ===
|
||||
using VULKAN_HPP_NAMESPACE::PhysicalDeviceShaderCorePropertiesARM;
|
||||
|
||||
//=== VK_KHR_shader_subgroup_rotate ===
|
||||
using VULKAN_HPP_NAMESPACE::PhysicalDeviceShaderSubgroupRotateFeaturesKHR;
|
||||
|
||||
//=== VK_ARM_scheduling_controls ===
|
||||
using VULKAN_HPP_NAMESPACE::DeviceQueueShaderCoreControlCreateInfoARM;
|
||||
using VULKAN_HPP_NAMESPACE::PhysicalDeviceSchedulingControlsFeaturesARM;
|
||||
|
@ -4038,6 +4196,9 @@ export namespace VULKAN_HPP_NAMESPACE
|
|||
//=== VK_NV_linear_color_attachment ===
|
||||
using VULKAN_HPP_NAMESPACE::PhysicalDeviceLinearColorAttachmentFeaturesNV;
|
||||
|
||||
//=== VK_KHR_shader_maximal_reconvergence ===
|
||||
using VULKAN_HPP_NAMESPACE::PhysicalDeviceShaderMaximalReconvergenceFeaturesKHR;
|
||||
|
||||
//=== VK_EXT_image_compression_control_swapchain ===
|
||||
using VULKAN_HPP_NAMESPACE::PhysicalDeviceImageCompressionControlSwapchainFeaturesEXT;
|
||||
|
||||
|
@ -4115,6 +4276,11 @@ export namespace VULKAN_HPP_NAMESPACE
|
|||
using VULKAN_HPP_NAMESPACE::SubresourceLayout2EXT;
|
||||
using VULKAN_HPP_NAMESPACE::SubresourceLayout2KHR;
|
||||
|
||||
//=== VK_AMD_anti_lag ===
|
||||
using VULKAN_HPP_NAMESPACE::AntiLagDataAMD;
|
||||
using VULKAN_HPP_NAMESPACE::AntiLagPresentationInfoAMD;
|
||||
using VULKAN_HPP_NAMESPACE::PhysicalDeviceAntiLagFeaturesAMD;
|
||||
|
||||
//=== VK_KHR_ray_tracing_position_fetch ===
|
||||
using VULKAN_HPP_NAMESPACE::PhysicalDeviceRayTracingPositionFetchFeaturesKHR;
|
||||
|
||||
|
@ -4123,6 +4289,20 @@ export namespace VULKAN_HPP_NAMESPACE
|
|||
using VULKAN_HPP_NAMESPACE::PhysicalDeviceShaderObjectPropertiesEXT;
|
||||
using VULKAN_HPP_NAMESPACE::ShaderCreateInfoEXT;
|
||||
|
||||
//=== VK_KHR_pipeline_binary ===
|
||||
using VULKAN_HPP_NAMESPACE::DevicePipelineBinaryInternalCacheControlKHR;
|
||||
using VULKAN_HPP_NAMESPACE::PhysicalDevicePipelineBinaryFeaturesKHR;
|
||||
using VULKAN_HPP_NAMESPACE::PhysicalDevicePipelineBinaryPropertiesKHR;
|
||||
using VULKAN_HPP_NAMESPACE::PipelineBinaryCreateInfoKHR;
|
||||
using VULKAN_HPP_NAMESPACE::PipelineBinaryDataInfoKHR;
|
||||
using VULKAN_HPP_NAMESPACE::PipelineBinaryDataKHR;
|
||||
using VULKAN_HPP_NAMESPACE::PipelineBinaryHandlesInfoKHR;
|
||||
using VULKAN_HPP_NAMESPACE::PipelineBinaryInfoKHR;
|
||||
using VULKAN_HPP_NAMESPACE::PipelineBinaryKeyKHR;
|
||||
using VULKAN_HPP_NAMESPACE::PipelineBinaryKeysAndDataKHR;
|
||||
using VULKAN_HPP_NAMESPACE::PipelineCreateInfoKHR;
|
||||
using VULKAN_HPP_NAMESPACE::ReleaseCapturedPipelineDataInfoKHR;
|
||||
|
||||
//=== VK_QCOM_tile_properties ===
|
||||
using VULKAN_HPP_NAMESPACE::PhysicalDeviceTilePropertiesFeaturesQCOM;
|
||||
using VULKAN_HPP_NAMESPACE::TilePropertiesQCOM;
|
||||
|
@ -4150,6 +4330,10 @@ export namespace VULKAN_HPP_NAMESPACE
|
|||
using VULKAN_HPP_NAMESPACE::PhysicalDeviceMutableDescriptorTypeFeaturesEXT;
|
||||
using VULKAN_HPP_NAMESPACE::PhysicalDeviceMutableDescriptorTypeFeaturesVALVE;
|
||||
|
||||
//=== VK_EXT_legacy_vertex_attributes ===
|
||||
using VULKAN_HPP_NAMESPACE::PhysicalDeviceLegacyVertexAttributesFeaturesEXT;
|
||||
using VULKAN_HPP_NAMESPACE::PhysicalDeviceLegacyVertexAttributesPropertiesEXT;
|
||||
|
||||
//=== VK_EXT_layer_settings ===
|
||||
using VULKAN_HPP_NAMESPACE::LayerSettingEXT;
|
||||
using VULKAN_HPP_NAMESPACE::LayerSettingsCreateInfoEXT;
|
||||
|
@ -4184,6 +4368,18 @@ export namespace VULKAN_HPP_NAMESPACE
|
|||
using VULKAN_HPP_NAMESPACE::MultiviewPerViewRenderAreasRenderPassBeginInfoQCOM;
|
||||
using VULKAN_HPP_NAMESPACE::PhysicalDeviceMultiviewPerViewRenderAreasFeaturesQCOM;
|
||||
|
||||
//=== VK_KHR_compute_shader_derivatives ===
|
||||
using VULKAN_HPP_NAMESPACE::PhysicalDeviceComputeShaderDerivativesFeaturesKHR;
|
||||
using VULKAN_HPP_NAMESPACE::PhysicalDeviceComputeShaderDerivativesFeaturesNV;
|
||||
using VULKAN_HPP_NAMESPACE::PhysicalDeviceComputeShaderDerivativesPropertiesKHR;
|
||||
|
||||
//=== VK_KHR_video_decode_av1 ===
|
||||
using VULKAN_HPP_NAMESPACE::VideoDecodeAV1CapabilitiesKHR;
|
||||
using VULKAN_HPP_NAMESPACE::VideoDecodeAV1DpbSlotInfoKHR;
|
||||
using VULKAN_HPP_NAMESPACE::VideoDecodeAV1PictureInfoKHR;
|
||||
using VULKAN_HPP_NAMESPACE::VideoDecodeAV1ProfileInfoKHR;
|
||||
using VULKAN_HPP_NAMESPACE::VideoDecodeAV1SessionParametersCreateInfoKHR;
|
||||
|
||||
//=== VK_KHR_video_maintenance1 ===
|
||||
using VULKAN_HPP_NAMESPACE::PhysicalDeviceVideoMaintenance1FeaturesKHR;
|
||||
using VULKAN_HPP_NAMESPACE::VideoInlineQueryInfoKHR;
|
||||
|
@ -4220,6 +4416,9 @@ export namespace VULKAN_HPP_NAMESPACE
|
|||
using VULKAN_HPP_NAMESPACE::VertexInputBindingDivisorDescriptionEXT;
|
||||
using VULKAN_HPP_NAMESPACE::VertexInputBindingDivisorDescriptionKHR;
|
||||
|
||||
//=== VK_KHR_shader_float_controls2 ===
|
||||
using VULKAN_HPP_NAMESPACE::PhysicalDeviceShaderFloatControls2FeaturesKHR;
|
||||
|
||||
#if defined( VK_USE_PLATFORM_SCREEN_QNX )
|
||||
//=== VK_QNX_external_memory_screen_buffer ===
|
||||
using VULKAN_HPP_NAMESPACE::ExternalFormatQNX;
|
||||
|
@ -4232,10 +4431,25 @@ export namespace VULKAN_HPP_NAMESPACE
|
|||
//=== VK_MSFT_layered_driver ===
|
||||
using VULKAN_HPP_NAMESPACE::PhysicalDeviceLayeredDriverPropertiesMSFT;
|
||||
|
||||
//=== VK_KHR_index_type_uint8 ===
|
||||
using VULKAN_HPP_NAMESPACE::PhysicalDeviceIndexTypeUint8FeaturesEXT;
|
||||
using VULKAN_HPP_NAMESPACE::PhysicalDeviceIndexTypeUint8FeaturesKHR;
|
||||
|
||||
//=== VK_KHR_line_rasterization ===
|
||||
using VULKAN_HPP_NAMESPACE::PhysicalDeviceLineRasterizationFeaturesEXT;
|
||||
using VULKAN_HPP_NAMESPACE::PhysicalDeviceLineRasterizationFeaturesKHR;
|
||||
using VULKAN_HPP_NAMESPACE::PhysicalDeviceLineRasterizationPropertiesEXT;
|
||||
using VULKAN_HPP_NAMESPACE::PhysicalDeviceLineRasterizationPropertiesKHR;
|
||||
using VULKAN_HPP_NAMESPACE::PipelineRasterizationLineStateCreateInfoEXT;
|
||||
using VULKAN_HPP_NAMESPACE::PipelineRasterizationLineStateCreateInfoKHR;
|
||||
|
||||
//=== VK_KHR_calibrated_timestamps ===
|
||||
using VULKAN_HPP_NAMESPACE::CalibratedTimestampInfoEXT;
|
||||
using VULKAN_HPP_NAMESPACE::CalibratedTimestampInfoKHR;
|
||||
|
||||
//=== VK_KHR_shader_expect_assume ===
|
||||
using VULKAN_HPP_NAMESPACE::PhysicalDeviceShaderExpectAssumeFeaturesKHR;
|
||||
|
||||
//=== VK_KHR_maintenance6 ===
|
||||
using VULKAN_HPP_NAMESPACE::BindDescriptorBufferEmbeddedSamplersInfoEXT;
|
||||
using VULKAN_HPP_NAMESPACE::BindDescriptorSetsInfoKHR;
|
||||
|
@ -4250,6 +4464,66 @@ export namespace VULKAN_HPP_NAMESPACE
|
|||
//=== VK_NV_descriptor_pool_overallocation ===
|
||||
using VULKAN_HPP_NAMESPACE::PhysicalDeviceDescriptorPoolOverallocationFeaturesNV;
|
||||
|
||||
//=== VK_NV_raw_access_chains ===
|
||||
using VULKAN_HPP_NAMESPACE::PhysicalDeviceRawAccessChainsFeaturesNV;
|
||||
|
||||
//=== VK_KHR_shader_relaxed_extended_instruction ===
|
||||
using VULKAN_HPP_NAMESPACE::PhysicalDeviceShaderRelaxedExtendedInstructionFeaturesKHR;
|
||||
|
||||
//=== VK_NV_command_buffer_inheritance ===
|
||||
using VULKAN_HPP_NAMESPACE::PhysicalDeviceCommandBufferInheritanceFeaturesNV;
|
||||
|
||||
//=== VK_KHR_maintenance7 ===
|
||||
using VULKAN_HPP_NAMESPACE::PhysicalDeviceLayeredApiPropertiesKHR;
|
||||
using VULKAN_HPP_NAMESPACE::PhysicalDeviceLayeredApiPropertiesListKHR;
|
||||
using VULKAN_HPP_NAMESPACE::PhysicalDeviceLayeredApiVulkanPropertiesKHR;
|
||||
using VULKAN_HPP_NAMESPACE::PhysicalDeviceMaintenance7FeaturesKHR;
|
||||
using VULKAN_HPP_NAMESPACE::PhysicalDeviceMaintenance7PropertiesKHR;
|
||||
|
||||
//=== VK_NV_shader_atomic_float16_vector ===
|
||||
using VULKAN_HPP_NAMESPACE::PhysicalDeviceShaderAtomicFloat16VectorFeaturesNV;
|
||||
|
||||
//=== VK_EXT_shader_replicated_composites ===
|
||||
using VULKAN_HPP_NAMESPACE::PhysicalDeviceShaderReplicatedCompositesFeaturesEXT;
|
||||
|
||||
//=== VK_NV_ray_tracing_validation ===
|
||||
using VULKAN_HPP_NAMESPACE::PhysicalDeviceRayTracingValidationFeaturesNV;
|
||||
|
||||
//=== VK_EXT_device_generated_commands ===
|
||||
using VULKAN_HPP_NAMESPACE::BindIndexBufferIndirectCommandEXT;
|
||||
using VULKAN_HPP_NAMESPACE::BindVertexBufferIndirectCommandEXT;
|
||||
using VULKAN_HPP_NAMESPACE::DrawIndirectCountIndirectCommandEXT;
|
||||
using VULKAN_HPP_NAMESPACE::GeneratedCommandsInfoEXT;
|
||||
using VULKAN_HPP_NAMESPACE::GeneratedCommandsMemoryRequirementsInfoEXT;
|
||||
using VULKAN_HPP_NAMESPACE::GeneratedCommandsPipelineInfoEXT;
|
||||
using VULKAN_HPP_NAMESPACE::GeneratedCommandsShaderInfoEXT;
|
||||
using VULKAN_HPP_NAMESPACE::IndirectCommandsExecutionSetTokenEXT;
|
||||
using VULKAN_HPP_NAMESPACE::IndirectCommandsIndexBufferTokenEXT;
|
||||
using VULKAN_HPP_NAMESPACE::IndirectCommandsLayoutCreateInfoEXT;
|
||||
using VULKAN_HPP_NAMESPACE::IndirectCommandsLayoutTokenEXT;
|
||||
using VULKAN_HPP_NAMESPACE::IndirectCommandsPushConstantTokenEXT;
|
||||
using VULKAN_HPP_NAMESPACE::IndirectCommandsTokenDataEXT;
|
||||
using VULKAN_HPP_NAMESPACE::IndirectCommandsVertexBufferTokenEXT;
|
||||
using VULKAN_HPP_NAMESPACE::IndirectExecutionSetCreateInfoEXT;
|
||||
using VULKAN_HPP_NAMESPACE::IndirectExecutionSetInfoEXT;
|
||||
using VULKAN_HPP_NAMESPACE::IndirectExecutionSetPipelineInfoEXT;
|
||||
using VULKAN_HPP_NAMESPACE::IndirectExecutionSetShaderInfoEXT;
|
||||
using VULKAN_HPP_NAMESPACE::IndirectExecutionSetShaderLayoutInfoEXT;
|
||||
using VULKAN_HPP_NAMESPACE::PhysicalDeviceDeviceGeneratedCommandsFeaturesEXT;
|
||||
using VULKAN_HPP_NAMESPACE::PhysicalDeviceDeviceGeneratedCommandsPropertiesEXT;
|
||||
using VULKAN_HPP_NAMESPACE::WriteIndirectExecutionSetPipelineEXT;
|
||||
using VULKAN_HPP_NAMESPACE::WriteIndirectExecutionSetShaderEXT;
|
||||
|
||||
//=== VK_MESA_image_alignment_control ===
|
||||
using VULKAN_HPP_NAMESPACE::ImageAlignmentControlCreateInfoMESA;
|
||||
using VULKAN_HPP_NAMESPACE::PhysicalDeviceImageAlignmentControlFeaturesMESA;
|
||||
using VULKAN_HPP_NAMESPACE::PhysicalDeviceImageAlignmentControlPropertiesMESA;
|
||||
|
||||
//=== VK_EXT_depth_clamp_control ===
|
||||
using VULKAN_HPP_NAMESPACE::DepthClampRangeEXT;
|
||||
using VULKAN_HPP_NAMESPACE::PhysicalDeviceDepthClampControlFeaturesEXT;
|
||||
using VULKAN_HPP_NAMESPACE::PipelineViewportDepthClampControlCreateInfoEXT;
|
||||
|
||||
//===============
|
||||
//=== HANDLEs ===
|
||||
//===============
|
||||
|
@ -4352,6 +4626,13 @@ export namespace VULKAN_HPP_NAMESPACE
|
|||
//=== VK_EXT_shader_object ===
|
||||
using VULKAN_HPP_NAMESPACE::ShaderEXT;
|
||||
|
||||
//=== VK_KHR_pipeline_binary ===
|
||||
using VULKAN_HPP_NAMESPACE::PipelineBinaryKHR;
|
||||
|
||||
//=== VK_EXT_device_generated_commands ===
|
||||
using VULKAN_HPP_NAMESPACE::IndirectCommandsLayoutEXT;
|
||||
using VULKAN_HPP_NAMESPACE::IndirectExecutionSetEXT;
|
||||
|
||||
//======================
|
||||
//=== UNIQUE HANDLEs ===
|
||||
//======================
|
||||
|
@ -4449,8 +4730,15 @@ export namespace VULKAN_HPP_NAMESPACE
|
|||
using VULKAN_HPP_NAMESPACE::UniqueOpticalFlowSessionNV;
|
||||
|
||||
//=== VK_EXT_shader_object ===
|
||||
using VULKAN_HPP_NAMESPACE::UniqueHandleTraits;
|
||||
using VULKAN_HPP_NAMESPACE::UniqueShaderEXT;
|
||||
|
||||
//=== VK_KHR_pipeline_binary ===
|
||||
using VULKAN_HPP_NAMESPACE::UniquePipelineBinaryKHR;
|
||||
|
||||
//=== VK_EXT_device_generated_commands ===
|
||||
using VULKAN_HPP_NAMESPACE::UniqueHandleTraits;
|
||||
using VULKAN_HPP_NAMESPACE::UniqueIndirectCommandsLayoutEXT;
|
||||
using VULKAN_HPP_NAMESPACE::UniqueIndirectExecutionSetEXT;
|
||||
#endif /*VULKAN_HPP_NO_SMART_HANDLE*/
|
||||
|
||||
//======================
|
||||
|
@ -4553,8 +4841,15 @@ export namespace VULKAN_HPP_NAMESPACE
|
|||
using VULKAN_HPP_NAMESPACE::SharedOpticalFlowSessionNV;
|
||||
|
||||
//=== VK_EXT_shader_object ===
|
||||
using VULKAN_HPP_NAMESPACE::SharedHandleTraits;
|
||||
using VULKAN_HPP_NAMESPACE::SharedShaderEXT;
|
||||
|
||||
//=== VK_KHR_pipeline_binary ===
|
||||
using VULKAN_HPP_NAMESPACE::SharedPipelineBinaryKHR;
|
||||
|
||||
//=== VK_EXT_device_generated_commands ===
|
||||
using VULKAN_HPP_NAMESPACE::SharedHandleTraits;
|
||||
using VULKAN_HPP_NAMESPACE::SharedIndirectCommandsLayoutEXT;
|
||||
using VULKAN_HPP_NAMESPACE::SharedIndirectExecutionSetEXT;
|
||||
#endif /*VULKAN_HPP_NO_SMART_HANDLE*/
|
||||
|
||||
//===========================
|
||||
|
@ -4573,7 +4868,7 @@ export namespace VULKAN_HPP_NAMESPACE
|
|||
using VULKAN_HPP_NAMESPACE::StructExtends;
|
||||
#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
|
||||
|
||||
#if defined( VULKAN_HPP_ENABLE_DYNAMIC_LOADER_TOOL )
|
||||
#if VULKAN_HPP_ENABLE_DYNAMIC_LOADER_TOOL
|
||||
using VULKAN_HPP_NAMESPACE::DynamicLoader;
|
||||
#endif /*VULKAN_HPP_ENABLE_DYNAMIC_LOADER_TOOL*/
|
||||
|
||||
|
@ -4626,7 +4921,6 @@ export namespace VULKAN_HPP_NAMESPACE
|
|||
using VULKAN_HPP_RAII_NAMESPACE::Context;
|
||||
using VULKAN_HPP_RAII_NAMESPACE::ContextDispatcher;
|
||||
using VULKAN_HPP_RAII_NAMESPACE::DeviceDispatcher;
|
||||
using VULKAN_HPP_RAII_NAMESPACE::exchange;
|
||||
using VULKAN_HPP_RAII_NAMESPACE::InstanceDispatcher;
|
||||
|
||||
//====================
|
||||
|
@ -4736,6 +5030,14 @@ export namespace VULKAN_HPP_NAMESPACE
|
|||
using VULKAN_HPP_RAII_NAMESPACE::ShaderEXT;
|
||||
using VULKAN_HPP_RAII_NAMESPACE::ShaderEXTs;
|
||||
|
||||
//=== VK_KHR_pipeline_binary ===
|
||||
using VULKAN_HPP_RAII_NAMESPACE::PipelineBinaryKHR;
|
||||
using VULKAN_HPP_RAII_NAMESPACE::PipelineBinaryKHRs;
|
||||
|
||||
//=== VK_EXT_device_generated_commands ===
|
||||
using VULKAN_HPP_RAII_NAMESPACE::IndirectCommandsLayoutEXT;
|
||||
using VULKAN_HPP_RAII_NAMESPACE::IndirectExecutionSetEXT;
|
||||
|
||||
} // namespace VULKAN_HPP_RAII_NAMESPACE
|
||||
#endif
|
||||
} // namespace VULKAN_HPP_NAMESPACE
|
||||
|
|
1969
deps/vulkan-headers/include/vulkan/vulkan.hpp
vendored
1969
deps/vulkan-headers/include/vulkan/vulkan.hpp
vendored
File diff suppressed because it is too large
Load diff
1163
deps/vulkan-headers/include/vulkan/vulkan_core.h
vendored
1163
deps/vulkan-headers/include/vulkan/vulkan_core.h
vendored
File diff suppressed because it is too large
Load diff
2184
deps/vulkan-headers/include/vulkan/vulkan_enums.hpp
vendored
2184
deps/vulkan-headers/include/vulkan/vulkan_enums.hpp
vendored
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
|
@ -362,7 +362,7 @@ namespace VULKAN_HPP_NAMESPACE
|
|||
case VULKAN_HPP_NAMESPACE::Format::ePvrtc14BppSrgbBlockIMG: return 8;
|
||||
case VULKAN_HPP_NAMESPACE::Format::ePvrtc22BppSrgbBlockIMG: return 8;
|
||||
case VULKAN_HPP_NAMESPACE::Format::ePvrtc24BppSrgbBlockIMG: return 8;
|
||||
case VULKAN_HPP_NAMESPACE::Format::eR16G16S105NV: return 4;
|
||||
case VULKAN_HPP_NAMESPACE::Format::eR16G16Sfixed5NV: return 4;
|
||||
case VULKAN_HPP_NAMESPACE::Format::eA1B5G5R5UnormPack16KHR: return 2;
|
||||
case VULKAN_HPP_NAMESPACE::Format::eA8UnormKHR: return 1;
|
||||
|
||||
|
@ -621,7 +621,7 @@ namespace VULKAN_HPP_NAMESPACE
|
|||
case VULKAN_HPP_NAMESPACE::Format::ePvrtc14BppSrgbBlockIMG: return "PVRTC1_4BPP";
|
||||
case VULKAN_HPP_NAMESPACE::Format::ePvrtc22BppSrgbBlockIMG: return "PVRTC2_2BPP";
|
||||
case VULKAN_HPP_NAMESPACE::Format::ePvrtc24BppSrgbBlockIMG: return "PVRTC2_4BPP";
|
||||
case VULKAN_HPP_NAMESPACE::Format::eR16G16S105NV: return "32-bit";
|
||||
case VULKAN_HPP_NAMESPACE::Format::eR16G16Sfixed5NV: return "32-bit";
|
||||
case VULKAN_HPP_NAMESPACE::Format::eA1B5G5R5UnormPack16KHR: return "16-bit";
|
||||
case VULKAN_HPP_NAMESPACE::Format::eA8UnormKHR: return "8-bit alpha";
|
||||
|
||||
|
@ -2005,7 +2005,7 @@ namespace VULKAN_HPP_NAMESPACE
|
|||
case 3: return 4;
|
||||
default: VULKAN_HPP_ASSERT( false ); return 0;
|
||||
}
|
||||
case VULKAN_HPP_NAMESPACE::Format::eR16G16S105NV:
|
||||
case VULKAN_HPP_NAMESPACE::Format::eR16G16Sfixed5NV:
|
||||
switch ( component )
|
||||
{
|
||||
case 0: return 16;
|
||||
|
@ -2283,7 +2283,7 @@ namespace VULKAN_HPP_NAMESPACE
|
|||
case VULKAN_HPP_NAMESPACE::Format::ePvrtc14BppSrgbBlockIMG: return 4;
|
||||
case VULKAN_HPP_NAMESPACE::Format::ePvrtc22BppSrgbBlockIMG: return 4;
|
||||
case VULKAN_HPP_NAMESPACE::Format::ePvrtc24BppSrgbBlockIMG: return 4;
|
||||
case VULKAN_HPP_NAMESPACE::Format::eR16G16S105NV: return 2;
|
||||
case VULKAN_HPP_NAMESPACE::Format::eR16G16Sfixed5NV: return 2;
|
||||
case VULKAN_HPP_NAMESPACE::Format::eA1B5G5R5UnormPack16KHR: return 4;
|
||||
case VULKAN_HPP_NAMESPACE::Format::eA8UnormKHR: return 1;
|
||||
|
||||
|
@ -4299,7 +4299,7 @@ namespace VULKAN_HPP_NAMESPACE
|
|||
case 3: return "A";
|
||||
default: VULKAN_HPP_ASSERT( false ); return "";
|
||||
}
|
||||
case VULKAN_HPP_NAMESPACE::Format::eR16G16S105NV:
|
||||
case VULKAN_HPP_NAMESPACE::Format::eR16G16Sfixed5NV:
|
||||
switch ( component )
|
||||
{
|
||||
case 0: return "R";
|
||||
|
@ -6334,11 +6334,11 @@ namespace VULKAN_HPP_NAMESPACE
|
|||
case 3: return "SRGB";
|
||||
default: VULKAN_HPP_ASSERT( false ); return "";
|
||||
}
|
||||
case VULKAN_HPP_NAMESPACE::Format::eR16G16S105NV:
|
||||
case VULKAN_HPP_NAMESPACE::Format::eR16G16Sfixed5NV:
|
||||
switch ( component )
|
||||
{
|
||||
case 0: return "SINT";
|
||||
case 1: return "SINT";
|
||||
case 0: return "SFIXED5";
|
||||
case 1: return "SFIXED5";
|
||||
default: VULKAN_HPP_ASSERT( false ); return "";
|
||||
}
|
||||
case VULKAN_HPP_NAMESPACE::Format::eA1B5G5R5UnormPack16KHR:
|
||||
|
@ -7657,7 +7657,7 @@ namespace VULKAN_HPP_NAMESPACE
|
|||
case VULKAN_HPP_NAMESPACE::Format::ePvrtc14BppSrgbBlockIMG: return 1;
|
||||
case VULKAN_HPP_NAMESPACE::Format::ePvrtc22BppSrgbBlockIMG: return 1;
|
||||
case VULKAN_HPP_NAMESPACE::Format::ePvrtc24BppSrgbBlockIMG: return 1;
|
||||
case VULKAN_HPP_NAMESPACE::Format::eR16G16S105NV: return 1;
|
||||
case VULKAN_HPP_NAMESPACE::Format::eR16G16Sfixed5NV: return 1;
|
||||
case VULKAN_HPP_NAMESPACE::Format::eA1B5G5R5UnormPack16KHR: return 1;
|
||||
case VULKAN_HPP_NAMESPACE::Format::eA8UnormKHR: return 1;
|
||||
|
||||
|
|
6110
deps/vulkan-headers/include/vulkan/vulkan_funcs.hpp
vendored
6110
deps/vulkan-headers/include/vulkan/vulkan_funcs.hpp
vendored
File diff suppressed because it is too large
Load diff
2784
deps/vulkan-headers/include/vulkan/vulkan_handles.hpp
vendored
2784
deps/vulkan-headers/include/vulkan/vulkan_handles.hpp
vendored
File diff suppressed because it is too large
Load diff
1277
deps/vulkan-headers/include/vulkan/vulkan_hash.hpp
vendored
1277
deps/vulkan-headers/include/vulkan/vulkan_hash.hpp
vendored
File diff suppressed because it is too large
Load diff
|
@ -87,11 +87,25 @@
|
|||
# define VULKAN_HPP_SUPPORT_SPAN
|
||||
#endif
|
||||
|
||||
#if defined( __cpp_lib_modules ) && !defined( VULKAN_HPP_STD_MODULE ) && defined( VULKAN_HPP_ENABLE_STD_MODULE )
|
||||
# define VULKAN_HPP_STD_MODULE std.compat
|
||||
#endif
|
||||
|
||||
#ifndef VK_USE_64_BIT_PTR_DEFINES
|
||||
# if defined( __LP64__ ) || defined( _WIN64 ) || ( defined( __x86_64__ ) && !defined( __ILP32__ ) ) || defined( _M_X64 ) || defined( __ia64 ) || \
|
||||
defined( _M_IA64 ) || defined( __aarch64__ ) || defined( __powerpc64__ ) || ( defined( __riscv ) && __riscv_xlen == 64 )
|
||||
# define VK_USE_64_BIT_PTR_DEFINES 1
|
||||
# else
|
||||
# define VK_USE_64_BIT_PTR_DEFINES 0
|
||||
# endif
|
||||
#endif
|
||||
|
||||
// 32-bit vulkan is not typesafe for non-dispatchable handles, so don't allow copy constructors on this platform by default.
|
||||
// To enable this feature on 32-bit platforms please define VULKAN_HPP_TYPESAFE_CONVERSION
|
||||
// To enable this feature on 32-bit platforms please #define VULKAN_HPP_TYPESAFE_CONVERSION 1
|
||||
// To disable this feature on 64-bit platforms please #define VULKAN_HPP_TYPESAFE_CONVERSION 0
|
||||
#if ( VK_USE_64_BIT_PTR_DEFINES == 1 )
|
||||
# if !defined( VULKAN_HPP_TYPESAFE_CONVERSION )
|
||||
# define VULKAN_HPP_TYPESAFE_CONVERSION
|
||||
# define VULKAN_HPP_TYPESAFE_CONVERSION 1
|
||||
# endif
|
||||
#endif
|
||||
|
||||
|
@ -131,7 +145,7 @@
|
|||
# endif
|
||||
#endif
|
||||
|
||||
#if defined( VULKAN_HPP_TYPESAFE_CONVERSION )
|
||||
#if ( VULKAN_HPP_TYPESAFE_CONVERSION == 1 )
|
||||
# define VULKAN_HPP_TYPESAFE_EXPLICIT
|
||||
#else
|
||||
# define VULKAN_HPP_TYPESAFE_EXPLICIT explicit
|
||||
|
@ -184,6 +198,12 @@
|
|||
# define VULKAN_HPP_DEPRECATED( msg )
|
||||
#endif
|
||||
|
||||
#if 17 <= VULKAN_HPP_CPP_VERSION
|
||||
# define VULKAN_HPP_DEPRECATED_17( msg ) [[deprecated( msg )]]
|
||||
#else
|
||||
# define VULKAN_HPP_DEPRECATED_17( msg )
|
||||
#endif
|
||||
|
||||
#if ( 17 <= VULKAN_HPP_CPP_VERSION ) && !defined( VULKAN_HPP_NO_NODISCARD_WARNINGS )
|
||||
# define VULKAN_HPP_NODISCARD [[nodiscard]]
|
||||
# if defined( VULKAN_HPP_NO_EXCEPTIONS )
|
||||
|
@ -278,7 +298,9 @@ namespace VULKAN_HPP_NAMESPACE
|
|||
#endif
|
||||
|
||||
#if !defined( VULKAN_HPP_EXPECTED ) && ( 23 <= VULKAN_HPP_CPP_VERSION ) && defined( __cpp_lib_expected )
|
||||
# include <expected>
|
||||
# if !( defined( VULKAN_HPP_ENABLE_STD_MODULE ) && defined( VULKAN_HPP_STD_MODULE ) )
|
||||
# include <expected>
|
||||
# endif
|
||||
# define VULKAN_HPP_EXPECTED std::expected
|
||||
# define VULKAN_HPP_UNEXPECTED std::unexpected
|
||||
#endif
|
||||
|
|
|
@ -52,28 +52,28 @@ VKAPI_ATTR VkResult VKAPI_CALL vkCreateMetalSurfaceEXT(
|
|||
#define VK_EXT_metal_objects 1
|
||||
#ifdef __OBJC__
|
||||
@protocol MTLDevice;
|
||||
typedef id<MTLDevice> MTLDevice_id;
|
||||
typedef __unsafe_unretained id<MTLDevice> MTLDevice_id;
|
||||
#else
|
||||
typedef void* MTLDevice_id;
|
||||
#endif
|
||||
|
||||
#ifdef __OBJC__
|
||||
@protocol MTLCommandQueue;
|
||||
typedef id<MTLCommandQueue> MTLCommandQueue_id;
|
||||
typedef __unsafe_unretained id<MTLCommandQueue> MTLCommandQueue_id;
|
||||
#else
|
||||
typedef void* MTLCommandQueue_id;
|
||||
#endif
|
||||
|
||||
#ifdef __OBJC__
|
||||
@protocol MTLBuffer;
|
||||
typedef id<MTLBuffer> MTLBuffer_id;
|
||||
typedef __unsafe_unretained id<MTLBuffer> MTLBuffer_id;
|
||||
#else
|
||||
typedef void* MTLBuffer_id;
|
||||
#endif
|
||||
|
||||
#ifdef __OBJC__
|
||||
@protocol MTLTexture;
|
||||
typedef id<MTLTexture> MTLTexture_id;
|
||||
typedef __unsafe_unretained id<MTLTexture> MTLTexture_id;
|
||||
#else
|
||||
typedef void* MTLTexture_id;
|
||||
#endif
|
||||
|
@ -81,12 +81,12 @@ typedef void* MTLTexture_id;
|
|||
typedef struct __IOSurface* IOSurfaceRef;
|
||||
#ifdef __OBJC__
|
||||
@protocol MTLSharedEvent;
|
||||
typedef id<MTLSharedEvent> MTLSharedEvent_id;
|
||||
typedef __unsafe_unretained id<MTLSharedEvent> MTLSharedEvent_id;
|
||||
#else
|
||||
typedef void* MTLSharedEvent_id;
|
||||
#endif
|
||||
|
||||
#define VK_EXT_METAL_OBJECTS_SPEC_VERSION 1
|
||||
#define VK_EXT_METAL_OBJECTS_SPEC_VERSION 2
|
||||
#define VK_EXT_METAL_OBJECTS_EXTENSION_NAME "VK_EXT_metal_objects"
|
||||
|
||||
typedef enum VkExportMetalObjectTypeFlagBitsEXT {
|
||||
|
|
2454
deps/vulkan-headers/include/vulkan/vulkan_raii.hpp
vendored
2454
deps/vulkan-headers/include/vulkan/vulkan_raii.hpp
vendored
File diff suppressed because it is too large
Load diff
|
@ -8,9 +8,12 @@
|
|||
#ifndef VULKAN_SHARED_HPP
|
||||
#define VULKAN_SHARED_HPP
|
||||
|
||||
#include <atomic> // std::atomic_size_t
|
||||
#include <vulkan/vulkan.hpp>
|
||||
|
||||
#if !( defined( VULKAN_HPP_ENABLE_STD_MODULE ) && defined( VULKAN_HPP_STD_MODULE ) )
|
||||
# include <atomic> // std::atomic_size_t
|
||||
#endif
|
||||
|
||||
namespace VULKAN_HPP_NAMESPACE
|
||||
{
|
||||
#if !defined( VULKAN_HPP_NO_SMART_HANDLE )
|
||||
|
@ -52,6 +55,28 @@ namespace VULKAN_HPP_NAMESPACE
|
|||
{
|
||||
};
|
||||
|
||||
template <typename HandleType, typename = void>
|
||||
struct HasPoolType : std::false_type
|
||||
{
|
||||
};
|
||||
|
||||
template <typename HandleType>
|
||||
struct HasPoolType<HandleType, decltype( (void)typename SharedHandleTraits<HandleType>::deleter::PoolTypeExport() )> : std::true_type
|
||||
{
|
||||
};
|
||||
|
||||
template <typename HandleType, typename Enable = void>
|
||||
struct GetPoolType
|
||||
{
|
||||
using type = NoDestructor;
|
||||
};
|
||||
|
||||
template <typename HandleType>
|
||||
struct GetPoolType<HandleType, typename std::enable_if<HasPoolType<HandleType>::value>::type>
|
||||
{
|
||||
using type = typename SharedHandleTraits<HandleType>::deleter::PoolTypeExport;
|
||||
};
|
||||
|
||||
//=====================================================================================================================
|
||||
|
||||
template <typename HandleType>
|
||||
|
@ -182,6 +207,13 @@ namespace VULKAN_HPP_NAMESPACE
|
|||
return bool( m_handle );
|
||||
}
|
||||
|
||||
# if defined( VULKAN_HPP_SMART_HANDLE_IMPLICIT_CAST )
|
||||
operator HandleType() const VULKAN_HPP_NOEXCEPT
|
||||
{
|
||||
return m_handle;
|
||||
}
|
||||
# endif
|
||||
|
||||
const HandleType * operator->() const VULKAN_HPP_NOEXCEPT
|
||||
{
|
||||
return &m_handle;
|
||||
|
@ -250,12 +282,23 @@ namespace VULKAN_HPP_NAMESPACE
|
|||
public:
|
||||
SharedHandle() = default;
|
||||
|
||||
template <typename T = HandleType, typename = typename std::enable_if<HasDestructor<T>::value>::type>
|
||||
template <typename T = HandleType, typename = typename std::enable_if<HasDestructor<T>::value && !HasPoolType<T>::value>::type>
|
||||
explicit SharedHandle( HandleType handle, SharedHandle<DestructorTypeOf<HandleType>> parent, DeleterType deleter = DeleterType() ) VULKAN_HPP_NOEXCEPT
|
||||
: BaseType( handle, std::move( parent ), std::move( deleter ) )
|
||||
{
|
||||
}
|
||||
|
||||
template <typename Dispatcher = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE,
|
||||
typename T = HandleType,
|
||||
typename = typename std::enable_if<HasDestructor<T>::value && HasPoolType<T>::value>::type>
|
||||
explicit SharedHandle( HandleType handle,
|
||||
SharedHandle<DestructorTypeOf<HandleType>> parent,
|
||||
SharedHandle<typename GetPoolType<HandleType>::type> pool,
|
||||
const Dispatcher & dispatch VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) VULKAN_HPP_NOEXCEPT
|
||||
: BaseType( handle, std::move( parent ), DeleterType{ std::move( pool ), dispatch } )
|
||||
{
|
||||
}
|
||||
|
||||
template <typename T = HandleType, typename = typename std::enable_if<!HasDestructor<T>::value>::type>
|
||||
explicit SharedHandle( HandleType handle, DeleterType deleter = DeleterType() ) VULKAN_HPP_NOEXCEPT : BaseType( handle, std::move( deleter ) )
|
||||
{
|
||||
|
@ -383,6 +426,8 @@ namespace VULKAN_HPP_NAMESPACE
|
|||
public:
|
||||
using DestructorType = typename SharedHandleTraits<HandleType>::DestructorType;
|
||||
|
||||
using PoolTypeExport = PoolType;
|
||||
|
||||
template <class Dispatcher>
|
||||
using ReturnType = decltype( std::declval<DestructorType>().free( PoolType(), 0u, nullptr, Dispatcher() ) );
|
||||
|
||||
|
@ -402,7 +447,7 @@ namespace VULKAN_HPP_NAMESPACE
|
|||
public:
|
||||
void destroy( DestructorType parent, HandleType handle ) const VULKAN_HPP_NOEXCEPT
|
||||
{
|
||||
VULKAN_HPP_ASSERT( m_destroy && m_dispatch );
|
||||
VULKAN_HPP_ASSERT( m_destroy && m_dispatch && m_pool );
|
||||
( parent.*m_destroy )( m_pool.get(), 1u, &handle, *m_dispatch );
|
||||
}
|
||||
|
||||
|
@ -918,6 +963,38 @@ namespace VULKAN_HPP_NAMESPACE
|
|||
|
||||
using SharedShaderEXT = SharedHandle<ShaderEXT>;
|
||||
|
||||
//=== VK_KHR_pipeline_binary ===
|
||||
template <>
|
||||
class SharedHandleTraits<PipelineBinaryKHR>
|
||||
{
|
||||
public:
|
||||
using DestructorType = Device;
|
||||
using deleter = ObjectDestroyShared<PipelineBinaryKHR>;
|
||||
};
|
||||
|
||||
using SharedPipelineBinaryKHR = SharedHandle<PipelineBinaryKHR>;
|
||||
|
||||
//=== VK_EXT_device_generated_commands ===
|
||||
template <>
|
||||
class SharedHandleTraits<IndirectCommandsLayoutEXT>
|
||||
{
|
||||
public:
|
||||
using DestructorType = Device;
|
||||
using deleter = ObjectDestroyShared<IndirectCommandsLayoutEXT>;
|
||||
};
|
||||
|
||||
using SharedIndirectCommandsLayoutEXT = SharedHandle<IndirectCommandsLayoutEXT>;
|
||||
|
||||
template <>
|
||||
class SharedHandleTraits<IndirectExecutionSetEXT>
|
||||
{
|
||||
public:
|
||||
using DestructorType = Device;
|
||||
using deleter = ObjectDestroyShared<IndirectExecutionSetEXT>;
|
||||
};
|
||||
|
||||
using SharedIndirectExecutionSetEXT = SharedHandle<IndirectExecutionSetEXT>;
|
||||
|
||||
enum class SwapchainOwns
|
||||
{
|
||||
no,
|
||||
|
|
File diff suppressed because it is too large
Load diff
19399
deps/vulkan-headers/include/vulkan/vulkan_structs.hpp
vendored
19399
deps/vulkan-headers/include/vulkan/vulkan_structs.hpp
vendored
File diff suppressed because it is too large
Load diff
|
@ -10,10 +10,23 @@
|
|||
|
||||
#include <vulkan/vulkan_enums.hpp>
|
||||
|
||||
#if __cpp_lib_format
|
||||
# include <format> // std::format
|
||||
// ignore warnings on using deprecated enum values in this header
|
||||
#if defined( __clang__ ) || defined( __GNUC__ )
|
||||
# pragma GCC diagnostic push
|
||||
# pragma GCC diagnostic ignored "-Wdeprecated-declarations"
|
||||
#elif defined( _MSC_VER )
|
||||
# pragma warning( push )
|
||||
# pragma warning( disable : 4996 )
|
||||
#endif
|
||||
|
||||
#if defined( VULKAN_HPP_ENABLE_STD_MODULE ) && defined( VULKAN_HPP_STD_MODULE )
|
||||
import VULKAN_HPP_STD_MODULE;
|
||||
#else
|
||||
# include <sstream> // std::stringstream
|
||||
# if __cpp_lib_format
|
||||
# include <format> // std::format
|
||||
# else
|
||||
# include <sstream> // std::stringstream
|
||||
# endif
|
||||
#endif
|
||||
|
||||
namespace VULKAN_HPP_NAMESPACE
|
||||
|
@ -382,9 +395,16 @@ namespace VULKAN_HPP_NAMESPACE
|
|||
return "{ " + result.substr( 0, result.size() - 3 ) + " }";
|
||||
}
|
||||
|
||||
VULKAN_HPP_INLINE std::string to_string( MemoryMapFlags )
|
||||
VULKAN_HPP_INLINE std::string to_string( MemoryMapFlags value )
|
||||
{
|
||||
return "{}";
|
||||
if ( !value )
|
||||
return "{}";
|
||||
|
||||
std::string result;
|
||||
if ( value & MemoryMapFlagBits::ePlacedEXT )
|
||||
result += "PlacedEXT | ";
|
||||
|
||||
return "{ " + result.substr( 0, result.size() - 3 ) + " }";
|
||||
}
|
||||
|
||||
VULKAN_HPP_INLINE std::string to_string( ImageAspectFlags value )
|
||||
|
@ -1223,6 +1243,10 @@ namespace VULKAN_HPP_NAMESPACE
|
|||
result += "Quad | ";
|
||||
if ( value & SubgroupFeatureFlagBits::ePartitionedNV )
|
||||
result += "PartitionedNV | ";
|
||||
if ( value & SubgroupFeatureFlagBits::eRotateKHR )
|
||||
result += "RotateKHR | ";
|
||||
if ( value & SubgroupFeatureFlagBits::eRotateClusteredKHR )
|
||||
result += "RotateClusteredKHR | ";
|
||||
|
||||
return "{ " + result.substr( 0, result.size() - 3 ) + " }";
|
||||
}
|
||||
|
@ -1736,10 +1760,10 @@ namespace VULKAN_HPP_NAMESPACE
|
|||
result += "Suspending | ";
|
||||
if ( value & RenderingFlagBits::eResuming )
|
||||
result += "Resuming | ";
|
||||
if ( value & RenderingFlagBits::eContentsInlineEXT )
|
||||
result += "ContentsInlineEXT | ";
|
||||
if ( value & RenderingFlagBits::eEnableLegacyDitheringEXT )
|
||||
result += "EnableLegacyDitheringEXT | ";
|
||||
if ( value & RenderingFlagBits::eContentsInlineKHR )
|
||||
result += "ContentsInlineKHR | ";
|
||||
|
||||
return "{ " + result.substr( 0, result.size() - 3 ) + " }";
|
||||
}
|
||||
|
@ -2039,6 +2063,8 @@ namespace VULKAN_HPP_NAMESPACE
|
|||
result += "DecodeH264 | ";
|
||||
if ( value & VideoCodecOperationFlagBitsKHR::eDecodeH265 )
|
||||
result += "DecodeH265 | ";
|
||||
if ( value & VideoCodecOperationFlagBitsKHR::eDecodeAv1 )
|
||||
result += "DecodeAv1 | ";
|
||||
|
||||
return "{ " + result.substr( 0, result.size() - 3 ) + " }";
|
||||
}
|
||||
|
@ -2804,9 +2830,16 @@ namespace VULKAN_HPP_NAMESPACE
|
|||
|
||||
//=== VK_KHR_map_memory2 ===
|
||||
|
||||
VULKAN_HPP_INLINE std::string to_string( MemoryUnmapFlagsKHR )
|
||||
VULKAN_HPP_INLINE std::string to_string( MemoryUnmapFlagsKHR value )
|
||||
{
|
||||
return "{}";
|
||||
if ( !value )
|
||||
return "{}";
|
||||
|
||||
std::string result;
|
||||
if ( value & MemoryUnmapFlagBitsKHR::eReserveEXT )
|
||||
result += "ReserveEXT | ";
|
||||
|
||||
return "{ " + result.substr( 0, result.size() - 3 ) + " }";
|
||||
}
|
||||
|
||||
//=== VK_EXT_surface_maintenance1 ===
|
||||
|
@ -2895,8 +2928,8 @@ namespace VULKAN_HPP_NAMESPACE
|
|||
std::string result;
|
||||
if ( value & VideoEncodeCapabilityFlagBitsKHR::ePrecedingExternallyEncodedBytes )
|
||||
result += "PrecedingExternallyEncodedBytes | ";
|
||||
if ( value & VideoEncodeCapabilityFlagBitsKHR::eInsufficientstreamBufferRangeDetectionBit )
|
||||
result += "InsufficientstreamBufferRangeDetectionBit | ";
|
||||
if ( value & VideoEncodeCapabilityFlagBitsKHR::eInsufficientBitstreamBufferRangeDetection )
|
||||
result += "InsufficientBitstreamBufferRangeDetection | ";
|
||||
|
||||
return "{ " + result.substr( 0, result.size() - 3 ) + " }";
|
||||
}
|
||||
|
@ -2907,12 +2940,12 @@ namespace VULKAN_HPP_NAMESPACE
|
|||
return "{}";
|
||||
|
||||
std::string result;
|
||||
if ( value & VideoEncodeFeedbackFlagBitsKHR::estreamBufferOffsetBit )
|
||||
result += "streamBufferOffsetBit | ";
|
||||
if ( value & VideoEncodeFeedbackFlagBitsKHR::estreamBytesWrittenBit )
|
||||
result += "streamBytesWrittenBit | ";
|
||||
if ( value & VideoEncodeFeedbackFlagBitsKHR::estreamHasOverridesBit )
|
||||
result += "streamHasOverridesBit | ";
|
||||
if ( value & VideoEncodeFeedbackFlagBitsKHR::eBitstreamBufferOffset )
|
||||
result += "BitstreamBufferOffset | ";
|
||||
if ( value & VideoEncodeFeedbackFlagBitsKHR::eBitstreamBytesWritten )
|
||||
result += "BitstreamBytesWritten | ";
|
||||
if ( value & VideoEncodeFeedbackFlagBitsKHR::eBitstreamHasOverrides )
|
||||
result += "BitstreamHasOverrides | ";
|
||||
|
||||
return "{ " + result.substr( 0, result.size() - 3 ) + " }";
|
||||
}
|
||||
|
@ -3352,6 +3385,8 @@ namespace VULKAN_HPP_NAMESPACE
|
|||
result += "AllowDerivatives | ";
|
||||
if ( value & PipelineCreateFlagBits2KHR::eDerivative )
|
||||
result += "Derivative | ";
|
||||
if ( value & PipelineCreateFlagBits2KHR::eEnableLegacyDitheringEXT )
|
||||
result += "EnableLegacyDitheringEXT | ";
|
||||
if ( value & PipelineCreateFlagBits2KHR::eViewIndexFromDeviceIndex )
|
||||
result += "ViewIndexFromDeviceIndex | ";
|
||||
if ( value & PipelineCreateFlagBits2KHR::eDispatchBase )
|
||||
|
@ -3408,6 +3443,10 @@ namespace VULKAN_HPP_NAMESPACE
|
|||
result += "RayTracingDisplacementMicromapNV | ";
|
||||
if ( value & PipelineCreateFlagBits2KHR::eDescriptorBufferEXT )
|
||||
result += "DescriptorBufferEXT | ";
|
||||
if ( value & PipelineCreateFlagBits2KHR::eCaptureData )
|
||||
result += "CaptureData | ";
|
||||
if ( value & PipelineCreateFlagBits2KHR::eIndirectBindableEXT )
|
||||
result += "IndirectBindableEXT | ";
|
||||
|
||||
return "{ " + result.substr( 0, result.size() - 3 ) + " }";
|
||||
}
|
||||
|
@ -3452,12 +3491,10 @@ namespace VULKAN_HPP_NAMESPACE
|
|||
result += "VideoDecodeSrc | ";
|
||||
if ( value & BufferUsageFlagBits2KHR::eVideoDecodeDst )
|
||||
result += "VideoDecodeDst | ";
|
||||
#if defined( VK_ENABLE_BETA_EXTENSIONS )
|
||||
if ( value & BufferUsageFlagBits2KHR::eVideoEncodeDst )
|
||||
result += "VideoEncodeDst | ";
|
||||
if ( value & BufferUsageFlagBits2KHR::eVideoEncodeSrc )
|
||||
result += "VideoEncodeSrc | ";
|
||||
#endif /*VK_ENABLE_BETA_EXTENSIONS*/
|
||||
if ( value & BufferUsageFlagBits2KHR::eShaderDeviceAddress )
|
||||
result += "ShaderDeviceAddress | ";
|
||||
if ( value & BufferUsageFlagBits2KHR::eAccelerationStructureBuildInputReadOnly )
|
||||
|
@ -3474,6 +3511,8 @@ namespace VULKAN_HPP_NAMESPACE
|
|||
result += "MicromapBuildInputReadOnlyEXT | ";
|
||||
if ( value & BufferUsageFlagBits2KHR::eMicromapStorageEXT )
|
||||
result += "MicromapStorageEXT | ";
|
||||
if ( value & BufferUsageFlagBits2KHR::ePreprocessBufferEXT )
|
||||
result += "PreprocessBufferEXT | ";
|
||||
|
||||
return "{ " + result.substr( 0, result.size() - 3 ) + " }";
|
||||
}
|
||||
|
@ -3500,6 +3539,38 @@ namespace VULKAN_HPP_NAMESPACE
|
|||
result += "FragmentShadingRateAttachment | ";
|
||||
if ( value & ShaderCreateFlagBitsEXT::eFragmentDensityMapAttachment )
|
||||
result += "FragmentDensityMapAttachment | ";
|
||||
if ( value & ShaderCreateFlagBitsEXT::eIndirectBindable )
|
||||
result += "IndirectBindable | ";
|
||||
|
||||
return "{ " + result.substr( 0, result.size() - 3 ) + " }";
|
||||
}
|
||||
|
||||
//=== VK_EXT_device_generated_commands ===
|
||||
|
||||
VULKAN_HPP_INLINE std::string to_string( IndirectCommandsLayoutUsageFlagsEXT value )
|
||||
{
|
||||
if ( !value )
|
||||
return "{}";
|
||||
|
||||
std::string result;
|
||||
if ( value & IndirectCommandsLayoutUsageFlagBitsEXT::eExplicitPreprocess )
|
||||
result += "ExplicitPreprocess | ";
|
||||
if ( value & IndirectCommandsLayoutUsageFlagBitsEXT::eUnorderedSequences )
|
||||
result += "UnorderedSequences | ";
|
||||
|
||||
return "{ " + result.substr( 0, result.size() - 3 ) + " }";
|
||||
}
|
||||
|
||||
VULKAN_HPP_INLINE std::string to_string( IndirectCommandsInputModeFlagsEXT value )
|
||||
{
|
||||
if ( !value )
|
||||
return "{}";
|
||||
|
||||
std::string result;
|
||||
if ( value & IndirectCommandsInputModeFlagBitsEXT::eVulkanIndexBuffer )
|
||||
result += "VulkanIndexBuffer | ";
|
||||
if ( value & IndirectCommandsInputModeFlagBitsEXT::eDxgiIndexBuffer )
|
||||
result += "DxgiIndexBuffer | ";
|
||||
|
||||
return "{ " + result.substr( 0, result.size() - 3 ) + " }";
|
||||
}
|
||||
|
@ -3573,7 +3644,9 @@ namespace VULKAN_HPP_NAMESPACE
|
|||
case Result::eOperationNotDeferredKHR: return "OperationNotDeferredKHR";
|
||||
case Result::eErrorInvalidVideoStdParametersKHR: return "ErrorInvalidVideoStdParametersKHR";
|
||||
case Result::eErrorCompressionExhaustedEXT: return "ErrorCompressionExhaustedEXT";
|
||||
case Result::eErrorIncompatibleShaderBinaryEXT: return "ErrorIncompatibleShaderBinaryEXT";
|
||||
case Result::eIncompatibleShaderBinaryEXT: return "IncompatibleShaderBinaryEXT";
|
||||
case Result::ePipelineBinaryMissingKHR: return "PipelineBinaryMissingKHR";
|
||||
case Result::eErrorNotEnoughSpaceKHR: return "ErrorNotEnoughSpaceKHR";
|
||||
default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )";
|
||||
}
|
||||
}
|
||||
|
@ -4093,7 +4166,6 @@ namespace VULKAN_HPP_NAMESPACE
|
|||
#if defined( VK_USE_PLATFORM_GGP )
|
||||
case StructureType::ePresentFrameTokenGGP: return "PresentFrameTokenGGP";
|
||||
#endif /*VK_USE_PLATFORM_GGP*/
|
||||
case StructureType::ePhysicalDeviceComputeShaderDerivativesFeaturesNV: return "PhysicalDeviceComputeShaderDerivativesFeaturesNV";
|
||||
case StructureType::ePhysicalDeviceMeshShaderFeaturesNV: return "PhysicalDeviceMeshShaderFeaturesNV";
|
||||
case StructureType::ePhysicalDeviceMeshShaderPropertiesNV: return "PhysicalDeviceMeshShaderPropertiesNV";
|
||||
case StructureType::ePhysicalDeviceShaderImageFootprintFeaturesNV: return "PhysicalDeviceShaderImageFootprintFeaturesNV";
|
||||
|
@ -4127,7 +4199,11 @@ namespace VULKAN_HPP_NAMESPACE
|
|||
case StructureType::ePhysicalDeviceFragmentShadingRateKHR: return "PhysicalDeviceFragmentShadingRateKHR";
|
||||
case StructureType::ePhysicalDeviceShaderCoreProperties2AMD: return "PhysicalDeviceShaderCoreProperties2AMD";
|
||||
case StructureType::ePhysicalDeviceCoherentMemoryFeaturesAMD: return "PhysicalDeviceCoherentMemoryFeaturesAMD";
|
||||
case StructureType::ePhysicalDeviceDynamicRenderingLocalReadFeaturesKHR: return "PhysicalDeviceDynamicRenderingLocalReadFeaturesKHR";
|
||||
case StructureType::eRenderingAttachmentLocationInfoKHR: return "RenderingAttachmentLocationInfoKHR";
|
||||
case StructureType::eRenderingInputAttachmentIndexInfoKHR: return "RenderingInputAttachmentIndexInfoKHR";
|
||||
case StructureType::ePhysicalDeviceShaderImageAtomicInt64FeaturesEXT: return "PhysicalDeviceShaderImageAtomicInt64FeaturesEXT";
|
||||
case StructureType::ePhysicalDeviceShaderQuadControlFeaturesKHR: return "PhysicalDeviceShaderQuadControlFeaturesKHR";
|
||||
case StructureType::ePhysicalDeviceMemoryBudgetPropertiesEXT: return "PhysicalDeviceMemoryBudgetPropertiesEXT";
|
||||
case StructureType::ePhysicalDeviceMemoryPriorityFeaturesEXT: return "PhysicalDeviceMemoryPriorityFeaturesEXT";
|
||||
case StructureType::eMemoryPriorityAllocateInfoEXT: return "MemoryPriorityAllocateInfoEXT";
|
||||
|
@ -4154,11 +4230,7 @@ namespace VULKAN_HPP_NAMESPACE
|
|||
case StructureType::eSurfaceFullScreenExclusiveWin32InfoEXT: return "SurfaceFullScreenExclusiveWin32InfoEXT";
|
||||
#endif /*VK_USE_PLATFORM_WIN32_KHR*/
|
||||
case StructureType::eHeadlessSurfaceCreateInfoEXT: return "HeadlessSurfaceCreateInfoEXT";
|
||||
case StructureType::ePhysicalDeviceLineRasterizationFeaturesEXT: return "PhysicalDeviceLineRasterizationFeaturesEXT";
|
||||
case StructureType::ePipelineRasterizationLineStateCreateInfoEXT: return "PipelineRasterizationLineStateCreateInfoEXT";
|
||||
case StructureType::ePhysicalDeviceLineRasterizationPropertiesEXT: return "PhysicalDeviceLineRasterizationPropertiesEXT";
|
||||
case StructureType::ePhysicalDeviceShaderAtomicFloatFeaturesEXT: return "PhysicalDeviceShaderAtomicFloatFeaturesEXT";
|
||||
case StructureType::ePhysicalDeviceIndexTypeUint8FeaturesEXT: return "PhysicalDeviceIndexTypeUint8FeaturesEXT";
|
||||
case StructureType::ePhysicalDeviceExtendedDynamicStateFeaturesEXT: return "PhysicalDeviceExtendedDynamicStateFeaturesEXT";
|
||||
case StructureType::ePhysicalDevicePipelineExecutablePropertiesFeaturesKHR: return "PhysicalDevicePipelineExecutablePropertiesFeaturesKHR";
|
||||
case StructureType::ePipelineInfoKHR: return "PipelineInfoKHR";
|
||||
|
@ -4178,6 +4250,9 @@ namespace VULKAN_HPP_NAMESPACE
|
|||
case StructureType::eHostImageCopyDevicePerformanceQueryEXT: return "HostImageCopyDevicePerformanceQueryEXT";
|
||||
case StructureType::eMemoryMapInfoKHR: return "MemoryMapInfoKHR";
|
||||
case StructureType::eMemoryUnmapInfoKHR: return "MemoryUnmapInfoKHR";
|
||||
case StructureType::ePhysicalDeviceMapMemoryPlacedFeaturesEXT: return "PhysicalDeviceMapMemoryPlacedFeaturesEXT";
|
||||
case StructureType::ePhysicalDeviceMapMemoryPlacedPropertiesEXT: return "PhysicalDeviceMapMemoryPlacedPropertiesEXT";
|
||||
case StructureType::eMemoryMapPlacedInfoEXT: return "MemoryMapPlacedInfoEXT";
|
||||
case StructureType::ePhysicalDeviceShaderAtomicFloat2FeaturesEXT: return "PhysicalDeviceShaderAtomicFloat2FeaturesEXT";
|
||||
case StructureType::eSurfacePresentModeEXT: return "SurfacePresentModeEXT";
|
||||
case StructureType::eSurfacePresentScalingCapabilitiesEXT: return "SurfacePresentScalingCapabilitiesEXT";
|
||||
|
@ -4376,6 +4451,7 @@ namespace VULKAN_HPP_NAMESPACE
|
|||
case StructureType::eSamplerBorderColorComponentMappingCreateInfoEXT: return "SamplerBorderColorComponentMappingCreateInfoEXT";
|
||||
case StructureType::ePhysicalDevicePageableDeviceLocalMemoryFeaturesEXT: return "PhysicalDevicePageableDeviceLocalMemoryFeaturesEXT";
|
||||
case StructureType::ePhysicalDeviceShaderCorePropertiesARM: return "PhysicalDeviceShaderCorePropertiesARM";
|
||||
case StructureType::ePhysicalDeviceShaderSubgroupRotateFeaturesKHR: return "PhysicalDeviceShaderSubgroupRotateFeaturesKHR";
|
||||
case StructureType::eDeviceQueueShaderCoreControlCreateInfoARM: return "DeviceQueueShaderCoreControlCreateInfoARM";
|
||||
case StructureType::ePhysicalDeviceSchedulingControlsFeaturesARM: return "PhysicalDeviceSchedulingControlsFeaturesARM";
|
||||
case StructureType::ePhysicalDeviceSchedulingControlsPropertiesARM: return "PhysicalDeviceSchedulingControlsPropertiesARM";
|
||||
|
@ -4402,6 +4478,7 @@ namespace VULKAN_HPP_NAMESPACE
|
|||
case StructureType::eComputePipelineIndirectBufferInfoNV: return "ComputePipelineIndirectBufferInfoNV";
|
||||
case StructureType::ePipelineIndirectDeviceAddressInfoNV: return "PipelineIndirectDeviceAddressInfoNV";
|
||||
case StructureType::ePhysicalDeviceLinearColorAttachmentFeaturesNV: return "PhysicalDeviceLinearColorAttachmentFeaturesNV";
|
||||
case StructureType::ePhysicalDeviceShaderMaximalReconvergenceFeaturesKHR: return "PhysicalDeviceShaderMaximalReconvergenceFeaturesKHR";
|
||||
case StructureType::ePhysicalDeviceImageCompressionControlSwapchainFeaturesEXT: return "PhysicalDeviceImageCompressionControlSwapchainFeaturesEXT";
|
||||
case StructureType::ePhysicalDeviceImageProcessingFeaturesQCOM: return "PhysicalDeviceImageProcessingFeaturesQCOM";
|
||||
case StructureType::ePhysicalDeviceImageProcessingPropertiesQCOM: return "PhysicalDeviceImageProcessingPropertiesQCOM";
|
||||
|
@ -4444,10 +4521,23 @@ namespace VULKAN_HPP_NAMESPACE
|
|||
case StructureType::eImageSubresource2KHR: return "ImageSubresource2KHR";
|
||||
case StructureType::ePipelineCreateFlags2CreateInfoKHR: return "PipelineCreateFlags2CreateInfoKHR";
|
||||
case StructureType::eBufferUsageFlags2CreateInfoKHR: return "BufferUsageFlags2CreateInfoKHR";
|
||||
case StructureType::ePhysicalDeviceAntiLagFeaturesAMD: return "PhysicalDeviceAntiLagFeaturesAMD";
|
||||
case StructureType::eAntiLagDataAMD: return "AntiLagDataAMD";
|
||||
case StructureType::eAntiLagPresentationInfoAMD: return "AntiLagPresentationInfoAMD";
|
||||
case StructureType::ePhysicalDeviceRayTracingPositionFetchFeaturesKHR: return "PhysicalDeviceRayTracingPositionFetchFeaturesKHR";
|
||||
case StructureType::ePhysicalDeviceShaderObjectFeaturesEXT: return "PhysicalDeviceShaderObjectFeaturesEXT";
|
||||
case StructureType::ePhysicalDeviceShaderObjectPropertiesEXT: return "PhysicalDeviceShaderObjectPropertiesEXT";
|
||||
case StructureType::eShaderCreateInfoEXT: return "ShaderCreateInfoEXT";
|
||||
case StructureType::ePhysicalDevicePipelineBinaryFeaturesKHR: return "PhysicalDevicePipelineBinaryFeaturesKHR";
|
||||
case StructureType::ePipelineBinaryCreateInfoKHR: return "PipelineBinaryCreateInfoKHR";
|
||||
case StructureType::ePipelineBinaryInfoKHR: return "PipelineBinaryInfoKHR";
|
||||
case StructureType::ePipelineBinaryKeyKHR: return "PipelineBinaryKeyKHR";
|
||||
case StructureType::ePhysicalDevicePipelineBinaryPropertiesKHR: return "PhysicalDevicePipelineBinaryPropertiesKHR";
|
||||
case StructureType::eReleaseCapturedPipelineDataInfoKHR: return "ReleaseCapturedPipelineDataInfoKHR";
|
||||
case StructureType::ePipelineBinaryDataInfoKHR: return "PipelineBinaryDataInfoKHR";
|
||||
case StructureType::ePipelineCreateInfoKHR: return "PipelineCreateInfoKHR";
|
||||
case StructureType::eDevicePipelineBinaryInternalCacheControlKHR: return "DevicePipelineBinaryInternalCacheControlKHR";
|
||||
case StructureType::ePipelineBinaryHandlesInfoKHR: return "PipelineBinaryHandlesInfoKHR";
|
||||
case StructureType::ePhysicalDeviceTilePropertiesFeaturesQCOM: return "PhysicalDeviceTilePropertiesFeaturesQCOM";
|
||||
case StructureType::eTilePropertiesQCOM: return "TilePropertiesQCOM";
|
||||
case StructureType::ePhysicalDeviceAmigoProfilingFeaturesSEC: return "PhysicalDeviceAmigoProfilingFeaturesSEC";
|
||||
|
@ -4459,6 +4549,8 @@ namespace VULKAN_HPP_NAMESPACE
|
|||
case StructureType::ePhysicalDeviceExtendedSparseAddressSpacePropertiesNV: return "PhysicalDeviceExtendedSparseAddressSpacePropertiesNV";
|
||||
case StructureType::ePhysicalDeviceMutableDescriptorTypeFeaturesEXT: return "PhysicalDeviceMutableDescriptorTypeFeaturesEXT";
|
||||
case StructureType::eMutableDescriptorTypeCreateInfoEXT: return "MutableDescriptorTypeCreateInfoEXT";
|
||||
case StructureType::ePhysicalDeviceLegacyVertexAttributesFeaturesEXT: return "PhysicalDeviceLegacyVertexAttributesFeaturesEXT";
|
||||
case StructureType::ePhysicalDeviceLegacyVertexAttributesPropertiesEXT: return "PhysicalDeviceLegacyVertexAttributesPropertiesEXT";
|
||||
case StructureType::eLayerSettingsCreateInfoEXT: return "LayerSettingsCreateInfoEXT";
|
||||
case StructureType::ePhysicalDeviceShaderCoreBuiltinsFeaturesARM: return "PhysicalDeviceShaderCoreBuiltinsFeaturesARM";
|
||||
case StructureType::ePhysicalDeviceShaderCoreBuiltinsPropertiesARM: return "PhysicalDeviceShaderCoreBuiltinsPropertiesARM";
|
||||
|
@ -4478,6 +4570,13 @@ namespace VULKAN_HPP_NAMESPACE
|
|||
case StructureType::ePhysicalDeviceCooperativeMatrixPropertiesKHR: return "PhysicalDeviceCooperativeMatrixPropertiesKHR";
|
||||
case StructureType::ePhysicalDeviceMultiviewPerViewRenderAreasFeaturesQCOM: return "PhysicalDeviceMultiviewPerViewRenderAreasFeaturesQCOM";
|
||||
case StructureType::eMultiviewPerViewRenderAreasRenderPassBeginInfoQCOM: return "MultiviewPerViewRenderAreasRenderPassBeginInfoQCOM";
|
||||
case StructureType::ePhysicalDeviceComputeShaderDerivativesFeaturesKHR: return "PhysicalDeviceComputeShaderDerivativesFeaturesKHR";
|
||||
case StructureType::ePhysicalDeviceComputeShaderDerivativesPropertiesKHR: return "PhysicalDeviceComputeShaderDerivativesPropertiesKHR";
|
||||
case StructureType::eVideoDecodeAv1CapabilitiesKHR: return "VideoDecodeAv1CapabilitiesKHR";
|
||||
case StructureType::eVideoDecodeAv1PictureInfoKHR: return "VideoDecodeAv1PictureInfoKHR";
|
||||
case StructureType::eVideoDecodeAv1ProfileInfoKHR: return "VideoDecodeAv1ProfileInfoKHR";
|
||||
case StructureType::eVideoDecodeAv1SessionParametersCreateInfoKHR: return "VideoDecodeAv1SessionParametersCreateInfoKHR";
|
||||
case StructureType::eVideoDecodeAv1DpbSlotInfoKHR: return "VideoDecodeAv1DpbSlotInfoKHR";
|
||||
case StructureType::ePhysicalDeviceVideoMaintenance1FeaturesKHR: return "PhysicalDeviceVideoMaintenance1FeaturesKHR";
|
||||
case StructureType::eVideoInlineQueryInfoKHR: return "VideoInlineQueryInfoKHR";
|
||||
case StructureType::ePhysicalDevicePerStageDescriptorSetFeaturesNV: return "PhysicalDevicePerStageDescriptorSetFeaturesNV";
|
||||
|
@ -4494,6 +4593,7 @@ namespace VULKAN_HPP_NAMESPACE
|
|||
case StructureType::ePhysicalDeviceVertexAttributeDivisorPropertiesKHR: return "PhysicalDeviceVertexAttributeDivisorPropertiesKHR";
|
||||
case StructureType::ePipelineVertexInputDivisorStateCreateInfoKHR: return "PipelineVertexInputDivisorStateCreateInfoKHR";
|
||||
case StructureType::ePhysicalDeviceVertexAttributeDivisorFeaturesKHR: return "PhysicalDeviceVertexAttributeDivisorFeaturesKHR";
|
||||
case StructureType::ePhysicalDeviceShaderFloatControls2FeaturesKHR: return "PhysicalDeviceShaderFloatControls2FeaturesKHR";
|
||||
#if defined( VK_USE_PLATFORM_SCREEN_QNX )
|
||||
case StructureType::eScreenBufferPropertiesQNX: return "ScreenBufferPropertiesQNX";
|
||||
case StructureType::eScreenBufferFormatPropertiesQNX: return "ScreenBufferFormatPropertiesQNX";
|
||||
|
@ -4502,7 +4602,12 @@ namespace VULKAN_HPP_NAMESPACE
|
|||
case StructureType::ePhysicalDeviceExternalMemoryScreenBufferFeaturesQNX: return "PhysicalDeviceExternalMemoryScreenBufferFeaturesQNX";
|
||||
#endif /*VK_USE_PLATFORM_SCREEN_QNX*/
|
||||
case StructureType::ePhysicalDeviceLayeredDriverPropertiesMSFT: return "PhysicalDeviceLayeredDriverPropertiesMSFT";
|
||||
case StructureType::ePhysicalDeviceIndexTypeUint8FeaturesKHR: return "PhysicalDeviceIndexTypeUint8FeaturesKHR";
|
||||
case StructureType::ePhysicalDeviceLineRasterizationFeaturesKHR: return "PhysicalDeviceLineRasterizationFeaturesKHR";
|
||||
case StructureType::ePipelineRasterizationLineStateCreateInfoKHR: return "PipelineRasterizationLineStateCreateInfoKHR";
|
||||
case StructureType::ePhysicalDeviceLineRasterizationPropertiesKHR: return "PhysicalDeviceLineRasterizationPropertiesKHR";
|
||||
case StructureType::eCalibratedTimestampInfoKHR: return "CalibratedTimestampInfoKHR";
|
||||
case StructureType::ePhysicalDeviceShaderExpectAssumeFeaturesKHR: return "PhysicalDeviceShaderExpectAssumeFeaturesKHR";
|
||||
case StructureType::ePhysicalDeviceMaintenance6FeaturesKHR: return "PhysicalDeviceMaintenance6FeaturesKHR";
|
||||
case StructureType::ePhysicalDeviceMaintenance6PropertiesKHR: return "PhysicalDeviceMaintenance6PropertiesKHR";
|
||||
case StructureType::eBindMemoryStatusKHR: return "BindMemoryStatusKHR";
|
||||
|
@ -4513,6 +4618,36 @@ namespace VULKAN_HPP_NAMESPACE
|
|||
case StructureType::eSetDescriptorBufferOffsetsInfoEXT: return "SetDescriptorBufferOffsetsInfoEXT";
|
||||
case StructureType::eBindDescriptorBufferEmbeddedSamplersInfoEXT: return "BindDescriptorBufferEmbeddedSamplersInfoEXT";
|
||||
case StructureType::ePhysicalDeviceDescriptorPoolOverallocationFeaturesNV: return "PhysicalDeviceDescriptorPoolOverallocationFeaturesNV";
|
||||
case StructureType::ePhysicalDeviceRawAccessChainsFeaturesNV: return "PhysicalDeviceRawAccessChainsFeaturesNV";
|
||||
case StructureType::ePhysicalDeviceShaderRelaxedExtendedInstructionFeaturesKHR: return "PhysicalDeviceShaderRelaxedExtendedInstructionFeaturesKHR";
|
||||
case StructureType::ePhysicalDeviceCommandBufferInheritanceFeaturesNV: return "PhysicalDeviceCommandBufferInheritanceFeaturesNV";
|
||||
case StructureType::ePhysicalDeviceMaintenance7FeaturesKHR: return "PhysicalDeviceMaintenance7FeaturesKHR";
|
||||
case StructureType::ePhysicalDeviceMaintenance7PropertiesKHR: return "PhysicalDeviceMaintenance7PropertiesKHR";
|
||||
case StructureType::ePhysicalDeviceLayeredApiPropertiesListKHR: return "PhysicalDeviceLayeredApiPropertiesListKHR";
|
||||
case StructureType::ePhysicalDeviceLayeredApiPropertiesKHR: return "PhysicalDeviceLayeredApiPropertiesKHR";
|
||||
case StructureType::ePhysicalDeviceLayeredApiVulkanPropertiesKHR: return "PhysicalDeviceLayeredApiVulkanPropertiesKHR";
|
||||
case StructureType::ePhysicalDeviceShaderAtomicFloat16VectorFeaturesNV: return "PhysicalDeviceShaderAtomicFloat16VectorFeaturesNV";
|
||||
case StructureType::ePhysicalDeviceShaderReplicatedCompositesFeaturesEXT: return "PhysicalDeviceShaderReplicatedCompositesFeaturesEXT";
|
||||
case StructureType::ePhysicalDeviceRayTracingValidationFeaturesNV: return "PhysicalDeviceRayTracingValidationFeaturesNV";
|
||||
case StructureType::ePhysicalDeviceDeviceGeneratedCommandsFeaturesEXT: return "PhysicalDeviceDeviceGeneratedCommandsFeaturesEXT";
|
||||
case StructureType::ePhysicalDeviceDeviceGeneratedCommandsPropertiesEXT: return "PhysicalDeviceDeviceGeneratedCommandsPropertiesEXT";
|
||||
case StructureType::eGeneratedCommandsMemoryRequirementsInfoEXT: return "GeneratedCommandsMemoryRequirementsInfoEXT";
|
||||
case StructureType::eIndirectExecutionSetCreateInfoEXT: return "IndirectExecutionSetCreateInfoEXT";
|
||||
case StructureType::eGeneratedCommandsInfoEXT: return "GeneratedCommandsInfoEXT";
|
||||
case StructureType::eIndirectCommandsLayoutCreateInfoEXT: return "IndirectCommandsLayoutCreateInfoEXT";
|
||||
case StructureType::eIndirectCommandsLayoutTokenEXT: return "IndirectCommandsLayoutTokenEXT";
|
||||
case StructureType::eWriteIndirectExecutionSetPipelineEXT: return "WriteIndirectExecutionSetPipelineEXT";
|
||||
case StructureType::eWriteIndirectExecutionSetShaderEXT: return "WriteIndirectExecutionSetShaderEXT";
|
||||
case StructureType::eIndirectExecutionSetPipelineInfoEXT: return "IndirectExecutionSetPipelineInfoEXT";
|
||||
case StructureType::eIndirectExecutionSetShaderInfoEXT: return "IndirectExecutionSetShaderInfoEXT";
|
||||
case StructureType::eIndirectExecutionSetShaderLayoutInfoEXT: return "IndirectExecutionSetShaderLayoutInfoEXT";
|
||||
case StructureType::eGeneratedCommandsPipelineInfoEXT: return "GeneratedCommandsPipelineInfoEXT";
|
||||
case StructureType::eGeneratedCommandsShaderInfoEXT: return "GeneratedCommandsShaderInfoEXT";
|
||||
case StructureType::ePhysicalDeviceImageAlignmentControlFeaturesMESA: return "PhysicalDeviceImageAlignmentControlFeaturesMESA";
|
||||
case StructureType::ePhysicalDeviceImageAlignmentControlPropertiesMESA: return "PhysicalDeviceImageAlignmentControlPropertiesMESA";
|
||||
case StructureType::eImageAlignmentControlCreateInfoMESA: return "ImageAlignmentControlCreateInfoMESA";
|
||||
case StructureType::ePhysicalDeviceDepthClampControlFeaturesEXT: return "PhysicalDeviceDepthClampControlFeaturesEXT";
|
||||
case StructureType::ePipelineViewportDepthClampControlCreateInfoEXT: return "PipelineViewportDepthClampControlCreateInfoEXT";
|
||||
default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )";
|
||||
}
|
||||
}
|
||||
|
@ -4585,6 +4720,9 @@ namespace VULKAN_HPP_NAMESPACE
|
|||
case ObjectType::eMicromapEXT: return "MicromapEXT";
|
||||
case ObjectType::eOpticalFlowSessionNV: return "OpticalFlowSessionNV";
|
||||
case ObjectType::eShaderEXT: return "ShaderEXT";
|
||||
case ObjectType::ePipelineBinaryKHR: return "PipelineBinaryKHR";
|
||||
case ObjectType::eIndirectCommandsLayoutEXT: return "IndirectCommandsLayoutEXT";
|
||||
case ObjectType::eIndirectExecutionSetEXT: return "IndirectExecutionSetEXT";
|
||||
default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )";
|
||||
}
|
||||
}
|
||||
|
@ -4593,6 +4731,7 @@ namespace VULKAN_HPP_NAMESPACE
|
|||
{
|
||||
switch ( value )
|
||||
{
|
||||
case VendorId::eKhronos: return "Khronos";
|
||||
case VendorId::eVIV: return "VIV";
|
||||
case VendorId::eVSI: return "VSI";
|
||||
case VendorId::eKazan: return "Kazan";
|
||||
|
@ -4855,7 +4994,7 @@ namespace VULKAN_HPP_NAMESPACE
|
|||
case Format::ePvrtc14BppSrgbBlockIMG: return "Pvrtc14BppSrgbBlockIMG";
|
||||
case Format::ePvrtc22BppSrgbBlockIMG: return "Pvrtc22BppSrgbBlockIMG";
|
||||
case Format::ePvrtc24BppSrgbBlockIMG: return "Pvrtc24BppSrgbBlockIMG";
|
||||
case Format::eR16G16S105NV: return "R16G16S105NV";
|
||||
case Format::eR16G16Sfixed5NV: return "R16G16Sfixed5NV";
|
||||
case Format::eA1B5G5R5UnormPack16KHR: return "A1B5G5R5UnormPack16KHR";
|
||||
case Format::eA8UnormKHR: return "A8UnormKHR";
|
||||
default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )";
|
||||
|
@ -5132,9 +5271,13 @@ namespace VULKAN_HPP_NAMESPACE
|
|||
}
|
||||
}
|
||||
|
||||
VULKAN_HPP_INLINE std::string to_string( MemoryMapFlagBits )
|
||||
VULKAN_HPP_INLINE std::string to_string( MemoryMapFlagBits value )
|
||||
{
|
||||
return "(void)";
|
||||
switch ( value )
|
||||
{
|
||||
case MemoryMapFlagBits::ePlacedEXT: return "PlacedEXT";
|
||||
default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )";
|
||||
}
|
||||
}
|
||||
|
||||
VULKAN_HPP_INLINE std::string to_string( ImageAspectFlagBits value )
|
||||
|
@ -5359,6 +5502,7 @@ namespace VULKAN_HPP_NAMESPACE
|
|||
case ImageLayout::eSharedPresentKHR: return "SharedPresentKHR";
|
||||
case ImageLayout::eFragmentDensityMapOptimalEXT: return "FragmentDensityMapOptimalEXT";
|
||||
case ImageLayout::eFragmentShadingRateAttachmentOptimalKHR: return "FragmentShadingRateAttachmentOptimalKHR";
|
||||
case ImageLayout::eRenderingLocalReadKHR: return "RenderingLocalReadKHR";
|
||||
case ImageLayout::eVideoEncodeDstKHR: return "VideoEncodeDstKHR";
|
||||
case ImageLayout::eVideoEncodeSrcKHR: return "VideoEncodeSrcKHR";
|
||||
case ImageLayout::eVideoEncodeDpbKHR: return "VideoEncodeDpbKHR";
|
||||
|
@ -5587,12 +5731,10 @@ namespace VULKAN_HPP_NAMESPACE
|
|||
case DynamicState::eExclusiveScissorEnableNV: return "ExclusiveScissorEnableNV";
|
||||
case DynamicState::eExclusiveScissorNV: return "ExclusiveScissorNV";
|
||||
case DynamicState::eFragmentShadingRateKHR: return "FragmentShadingRateKHR";
|
||||
case DynamicState::eLineStippleEXT: return "LineStippleEXT";
|
||||
case DynamicState::eVertexInputEXT: return "VertexInputEXT";
|
||||
case DynamicState::ePatchControlPointsEXT: return "PatchControlPointsEXT";
|
||||
case DynamicState::eLogicOpEXT: return "LogicOpEXT";
|
||||
case DynamicState::eColorWriteEnableEXT: return "ColorWriteEnableEXT";
|
||||
case DynamicState::eTessellationDomainOriginEXT: return "TessellationDomainOriginEXT";
|
||||
case DynamicState::eDepthClampEnableEXT: return "DepthClampEnableEXT";
|
||||
case DynamicState::ePolygonModeEXT: return "PolygonModeEXT";
|
||||
case DynamicState::eRasterizationSamplesEXT: return "RasterizationSamplesEXT";
|
||||
|
@ -5603,6 +5745,7 @@ namespace VULKAN_HPP_NAMESPACE
|
|||
case DynamicState::eColorBlendEnableEXT: return "ColorBlendEnableEXT";
|
||||
case DynamicState::eColorBlendEquationEXT: return "ColorBlendEquationEXT";
|
||||
case DynamicState::eColorWriteMaskEXT: return "ColorWriteMaskEXT";
|
||||
case DynamicState::eTessellationDomainOriginEXT: return "TessellationDomainOriginEXT";
|
||||
case DynamicState::eRasterizationStreamEXT: return "RasterizationStreamEXT";
|
||||
case DynamicState::eConservativeRasterizationModeEXT: return "ConservativeRasterizationModeEXT";
|
||||
case DynamicState::eExtraPrimitiveOverestimationSizeEXT: return "ExtraPrimitiveOverestimationSizeEXT";
|
||||
|
@ -5624,6 +5767,8 @@ namespace VULKAN_HPP_NAMESPACE
|
|||
case DynamicState::eRepresentativeFragmentTestEnableNV: return "RepresentativeFragmentTestEnableNV";
|
||||
case DynamicState::eCoverageReductionModeNV: return "CoverageReductionModeNV";
|
||||
case DynamicState::eAttachmentFeedbackLoopEnableEXT: return "AttachmentFeedbackLoopEnableEXT";
|
||||
case DynamicState::eLineStippleKHR: return "LineStippleKHR";
|
||||
case DynamicState::eDepthClampRangeEXT: return "DepthClampRangeEXT";
|
||||
default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )";
|
||||
}
|
||||
}
|
||||
|
@ -6033,7 +6178,7 @@ namespace VULKAN_HPP_NAMESPACE
|
|||
case AttachmentLoadOp::eLoad: return "Load";
|
||||
case AttachmentLoadOp::eClear: return "Clear";
|
||||
case AttachmentLoadOp::eDontCare: return "DontCare";
|
||||
case AttachmentLoadOp::eNoneEXT: return "NoneEXT";
|
||||
case AttachmentLoadOp::eNoneKHR: return "NoneKHR";
|
||||
default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )";
|
||||
}
|
||||
}
|
||||
|
@ -6176,7 +6321,7 @@ namespace VULKAN_HPP_NAMESPACE
|
|||
case IndexType::eUint16: return "Uint16";
|
||||
case IndexType::eUint32: return "Uint32";
|
||||
case IndexType::eNoneKHR: return "NoneKHR";
|
||||
case IndexType::eUint8EXT: return "Uint8EXT";
|
||||
case IndexType::eUint8KHR: return "Uint8KHR";
|
||||
default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )";
|
||||
}
|
||||
}
|
||||
|
@ -6198,7 +6343,7 @@ namespace VULKAN_HPP_NAMESPACE
|
|||
{
|
||||
case SubpassContents::eInline: return "Inline";
|
||||
case SubpassContents::eSecondaryCommandBuffers: return "SecondaryCommandBuffers";
|
||||
case SubpassContents::eInlineAndSecondaryCommandBuffersEXT: return "InlineAndSecondaryCommandBuffersEXT";
|
||||
case SubpassContents::eInlineAndSecondaryCommandBuffersKHR: return "InlineAndSecondaryCommandBuffersKHR";
|
||||
default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )";
|
||||
}
|
||||
}
|
||||
|
@ -6218,6 +6363,8 @@ namespace VULKAN_HPP_NAMESPACE
|
|||
case SubgroupFeatureFlagBits::eClustered: return "Clustered";
|
||||
case SubgroupFeatureFlagBits::eQuad: return "Quad";
|
||||
case SubgroupFeatureFlagBits::ePartitionedNV: return "PartitionedNV";
|
||||
case SubgroupFeatureFlagBits::eRotateKHR: return "RotateKHR";
|
||||
case SubgroupFeatureFlagBits::eRotateClusteredKHR: return "RotateClusteredKHR";
|
||||
default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )";
|
||||
}
|
||||
}
|
||||
|
@ -6454,7 +6601,8 @@ namespace VULKAN_HPP_NAMESPACE
|
|||
case DriverId::eMesaDozen: return "MesaDozen";
|
||||
case DriverId::eMesaNvk: return "MesaNvk";
|
||||
case DriverId::eImaginationOpenSourceMESA: return "ImaginationOpenSourceMESA";
|
||||
case DriverId::eMesaAgxv: return "MesaAgxv";
|
||||
case DriverId::eMesaHoneykrisp: return "MesaHoneykrisp";
|
||||
case DriverId::eReserved27: return "Reserved27";
|
||||
default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )";
|
||||
}
|
||||
}
|
||||
|
@ -6679,8 +6827,8 @@ namespace VULKAN_HPP_NAMESPACE
|
|||
case RenderingFlagBits::eContentsSecondaryCommandBuffers: return "ContentsSecondaryCommandBuffers";
|
||||
case RenderingFlagBits::eSuspending: return "Suspending";
|
||||
case RenderingFlagBits::eResuming: return "Resuming";
|
||||
case RenderingFlagBits::eContentsInlineEXT: return "ContentsInlineEXT";
|
||||
case RenderingFlagBits::eEnableLegacyDitheringEXT: return "EnableLegacyDitheringEXT";
|
||||
case RenderingFlagBits::eContentsInlineKHR: return "ContentsInlineKHR";
|
||||
default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )";
|
||||
}
|
||||
}
|
||||
|
@ -6992,6 +7140,7 @@ namespace VULKAN_HPP_NAMESPACE
|
|||
case VideoCodecOperationFlagBitsKHR::eEncodeH265: return "EncodeH265";
|
||||
case VideoCodecOperationFlagBitsKHR::eDecodeH264: return "DecodeH264";
|
||||
case VideoCodecOperationFlagBitsKHR::eDecodeH265: return "DecodeH265";
|
||||
case VideoCodecOperationFlagBitsKHR::eDecodeAv1: return "DecodeAv1";
|
||||
default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )";
|
||||
}
|
||||
}
|
||||
|
@ -8061,20 +8210,6 @@ namespace VULKAN_HPP_NAMESPACE
|
|||
return "(void)";
|
||||
}
|
||||
|
||||
//=== VK_EXT_line_rasterization ===
|
||||
|
||||
VULKAN_HPP_INLINE std::string to_string( LineRasterizationModeEXT value )
|
||||
{
|
||||
switch ( value )
|
||||
{
|
||||
case LineRasterizationModeEXT::eDefault: return "Default";
|
||||
case LineRasterizationModeEXT::eRectangular: return "Rectangular";
|
||||
case LineRasterizationModeEXT::eBresenham: return "Bresenham";
|
||||
case LineRasterizationModeEXT::eRectangularSmooth: return "RectangularSmooth";
|
||||
default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )";
|
||||
}
|
||||
}
|
||||
|
||||
//=== VK_KHR_pipeline_executable_properties ===
|
||||
|
||||
VULKAN_HPP_INLINE std::string to_string( PipelineExecutableStatisticFormatKHR value )
|
||||
|
@ -8102,9 +8237,13 @@ namespace VULKAN_HPP_NAMESPACE
|
|||
|
||||
//=== VK_KHR_map_memory2 ===
|
||||
|
||||
VULKAN_HPP_INLINE std::string to_string( MemoryUnmapFlagBitsKHR )
|
||||
VULKAN_HPP_INLINE std::string to_string( MemoryUnmapFlagBitsKHR value )
|
||||
{
|
||||
return "(void)";
|
||||
switch ( value )
|
||||
{
|
||||
case MemoryUnmapFlagBitsKHR::eReserveEXT: return "ReserveEXT";
|
||||
default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )";
|
||||
}
|
||||
}
|
||||
|
||||
//=== VK_EXT_surface_maintenance1 ===
|
||||
|
@ -8212,7 +8351,7 @@ namespace VULKAN_HPP_NAMESPACE
|
|||
switch ( value )
|
||||
{
|
||||
case VideoEncodeCapabilityFlagBitsKHR::ePrecedingExternallyEncodedBytes: return "PrecedingExternallyEncodedBytes";
|
||||
case VideoEncodeCapabilityFlagBitsKHR::eInsufficientstreamBufferRangeDetectionBit: return "InsufficientstreamBufferRangeDetectionBit";
|
||||
case VideoEncodeCapabilityFlagBitsKHR::eInsufficientBitstreamBufferRangeDetection: return "InsufficientBitstreamBufferRangeDetection";
|
||||
default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )";
|
||||
}
|
||||
}
|
||||
|
@ -8221,9 +8360,9 @@ namespace VULKAN_HPP_NAMESPACE
|
|||
{
|
||||
switch ( value )
|
||||
{
|
||||
case VideoEncodeFeedbackFlagBitsKHR::estreamBufferOffsetBit: return "streamBufferOffsetBit";
|
||||
case VideoEncodeFeedbackFlagBitsKHR::estreamBytesWrittenBit: return "streamBytesWrittenBit";
|
||||
case VideoEncodeFeedbackFlagBitsKHR::estreamHasOverridesBit: return "streamHasOverridesBit";
|
||||
case VideoEncodeFeedbackFlagBitsKHR::eBitstreamBufferOffset: return "BitstreamBufferOffset";
|
||||
case VideoEncodeFeedbackFlagBitsKHR::eBitstreamBytesWritten: return "BitstreamBytesWritten";
|
||||
case VideoEncodeFeedbackFlagBitsKHR::eBitstreamHasOverrides: return "BitstreamHasOverrides";
|
||||
default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )";
|
||||
}
|
||||
}
|
||||
|
@ -8778,6 +8917,7 @@ namespace VULKAN_HPP_NAMESPACE
|
|||
case PipelineCreateFlagBits2KHR::eDisableOptimization: return "DisableOptimization";
|
||||
case PipelineCreateFlagBits2KHR::eAllowDerivatives: return "AllowDerivatives";
|
||||
case PipelineCreateFlagBits2KHR::eDerivative: return "Derivative";
|
||||
case PipelineCreateFlagBits2KHR::eEnableLegacyDitheringEXT: return "EnableLegacyDitheringEXT";
|
||||
case PipelineCreateFlagBits2KHR::eViewIndexFromDeviceIndex: return "ViewIndexFromDeviceIndex";
|
||||
case PipelineCreateFlagBits2KHR::eDispatchBase: return "DispatchBase";
|
||||
case PipelineCreateFlagBits2KHR::eDeferCompileNV: return "DeferCompileNV";
|
||||
|
@ -8806,6 +8946,8 @@ namespace VULKAN_HPP_NAMESPACE
|
|||
case PipelineCreateFlagBits2KHR::eProtectedAccessOnlyEXT: return "ProtectedAccessOnlyEXT";
|
||||
case PipelineCreateFlagBits2KHR::eRayTracingDisplacementMicromapNV: return "RayTracingDisplacementMicromapNV";
|
||||
case PipelineCreateFlagBits2KHR::eDescriptorBufferEXT: return "DescriptorBufferEXT";
|
||||
case PipelineCreateFlagBits2KHR::eCaptureData: return "CaptureData";
|
||||
case PipelineCreateFlagBits2KHR::eIndirectBindableEXT: return "IndirectBindableEXT";
|
||||
default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )";
|
||||
}
|
||||
}
|
||||
|
@ -8832,10 +8974,8 @@ namespace VULKAN_HPP_NAMESPACE
|
|||
case BufferUsageFlagBits2KHR::eTransformFeedbackCounterBufferEXT: return "TransformFeedbackCounterBufferEXT";
|
||||
case BufferUsageFlagBits2KHR::eVideoDecodeSrc: return "VideoDecodeSrc";
|
||||
case BufferUsageFlagBits2KHR::eVideoDecodeDst: return "VideoDecodeDst";
|
||||
#if defined( VK_ENABLE_BETA_EXTENSIONS )
|
||||
case BufferUsageFlagBits2KHR::eVideoEncodeDst: return "VideoEncodeDst";
|
||||
case BufferUsageFlagBits2KHR::eVideoEncodeSrc: return "VideoEncodeSrc";
|
||||
#endif /*VK_ENABLE_BETA_EXTENSIONS*/
|
||||
case BufferUsageFlagBits2KHR::eShaderDeviceAddress: return "ShaderDeviceAddress";
|
||||
case BufferUsageFlagBits2KHR::eAccelerationStructureBuildInputReadOnly: return "AccelerationStructureBuildInputReadOnly";
|
||||
case BufferUsageFlagBits2KHR::eAccelerationStructureStorage: return "AccelerationStructureStorage";
|
||||
|
@ -8844,6 +8984,30 @@ namespace VULKAN_HPP_NAMESPACE
|
|||
case BufferUsageFlagBits2KHR::ePushDescriptorsDescriptorBufferEXT: return "PushDescriptorsDescriptorBufferEXT";
|
||||
case BufferUsageFlagBits2KHR::eMicromapBuildInputReadOnlyEXT: return "MicromapBuildInputReadOnlyEXT";
|
||||
case BufferUsageFlagBits2KHR::eMicromapStorageEXT: return "MicromapStorageEXT";
|
||||
case BufferUsageFlagBits2KHR::ePreprocessBufferEXT: return "PreprocessBufferEXT";
|
||||
default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )";
|
||||
}
|
||||
}
|
||||
|
||||
//=== VK_AMD_anti_lag ===
|
||||
|
||||
VULKAN_HPP_INLINE std::string to_string( AntiLagModeAMD value )
|
||||
{
|
||||
switch ( value )
|
||||
{
|
||||
case AntiLagModeAMD::eDriverControl: return "DriverControl";
|
||||
case AntiLagModeAMD::eOn: return "On";
|
||||
case AntiLagModeAMD::eOff: return "Off";
|
||||
default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )";
|
||||
}
|
||||
}
|
||||
|
||||
VULKAN_HPP_INLINE std::string to_string( AntiLagStageAMD value )
|
||||
{
|
||||
switch ( value )
|
||||
{
|
||||
case AntiLagStageAMD::eInput: return "Input";
|
||||
case AntiLagStageAMD::ePresent: return "Present";
|
||||
default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )";
|
||||
}
|
||||
}
|
||||
|
@ -8861,6 +9025,7 @@ namespace VULKAN_HPP_NAMESPACE
|
|||
case ShaderCreateFlagBitsEXT::eDispatchBase: return "DispatchBase";
|
||||
case ShaderCreateFlagBitsEXT::eFragmentShadingRateAttachment: return "FragmentShadingRateAttachment";
|
||||
case ShaderCreateFlagBitsEXT::eFragmentDensityMapAttachment: return "FragmentDensityMapAttachment";
|
||||
case ShaderCreateFlagBitsEXT::eIndirectBindable: return "IndirectBindable";
|
||||
default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )";
|
||||
}
|
||||
}
|
||||
|
@ -9008,6 +9173,20 @@ namespace VULKAN_HPP_NAMESPACE
|
|||
}
|
||||
}
|
||||
|
||||
//=== VK_KHR_line_rasterization ===
|
||||
|
||||
VULKAN_HPP_INLINE std::string to_string( LineRasterizationModeKHR value )
|
||||
{
|
||||
switch ( value )
|
||||
{
|
||||
case LineRasterizationModeKHR::eDefault: return "Default";
|
||||
case LineRasterizationModeKHR::eRectangular: return "Rectangular";
|
||||
case LineRasterizationModeKHR::eBresenham: return "Bresenham";
|
||||
case LineRasterizationModeKHR::eRectangularSmooth: return "RectangularSmooth";
|
||||
default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )";
|
||||
}
|
||||
}
|
||||
|
||||
//=== VK_KHR_calibrated_timestamps ===
|
||||
|
||||
VULKAN_HPP_INLINE std::string to_string( TimeDomainKHR value )
|
||||
|
@ -9022,5 +9201,94 @@ namespace VULKAN_HPP_NAMESPACE
|
|||
}
|
||||
}
|
||||
|
||||
//=== VK_KHR_maintenance7 ===
|
||||
|
||||
VULKAN_HPP_INLINE std::string to_string( PhysicalDeviceLayeredApiKHR value )
|
||||
{
|
||||
switch ( value )
|
||||
{
|
||||
case PhysicalDeviceLayeredApiKHR::eVulkan: return "Vulkan";
|
||||
case PhysicalDeviceLayeredApiKHR::eD3D12: return "D3D12";
|
||||
case PhysicalDeviceLayeredApiKHR::eMetal: return "Metal";
|
||||
case PhysicalDeviceLayeredApiKHR::eOpengl: return "Opengl";
|
||||
case PhysicalDeviceLayeredApiKHR::eOpengles: return "Opengles";
|
||||
default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )";
|
||||
}
|
||||
}
|
||||
|
||||
//=== VK_EXT_device_generated_commands ===
|
||||
|
||||
VULKAN_HPP_INLINE std::string to_string( IndirectCommandsTokenTypeEXT value )
|
||||
{
|
||||
switch ( value )
|
||||
{
|
||||
case IndirectCommandsTokenTypeEXT::eExecutionSet: return "ExecutionSet";
|
||||
case IndirectCommandsTokenTypeEXT::ePushConstant: return "PushConstant";
|
||||
case IndirectCommandsTokenTypeEXT::eSequenceIndex: return "SequenceIndex";
|
||||
case IndirectCommandsTokenTypeEXT::eIndexBuffer: return "IndexBuffer";
|
||||
case IndirectCommandsTokenTypeEXT::eVertexBuffer: return "VertexBuffer";
|
||||
case IndirectCommandsTokenTypeEXT::eDrawIndexed: return "DrawIndexed";
|
||||
case IndirectCommandsTokenTypeEXT::eDraw: return "Draw";
|
||||
case IndirectCommandsTokenTypeEXT::eDrawIndexedCount: return "DrawIndexedCount";
|
||||
case IndirectCommandsTokenTypeEXT::eDrawCount: return "DrawCount";
|
||||
case IndirectCommandsTokenTypeEXT::eDispatch: return "Dispatch";
|
||||
case IndirectCommandsTokenTypeEXT::eDrawMeshTasksNV: return "DrawMeshTasksNV";
|
||||
case IndirectCommandsTokenTypeEXT::eDrawMeshTasksCountNV: return "DrawMeshTasksCountNV";
|
||||
case IndirectCommandsTokenTypeEXT::eDrawMeshTasks: return "DrawMeshTasks";
|
||||
case IndirectCommandsTokenTypeEXT::eDrawMeshTasksCount: return "DrawMeshTasksCount";
|
||||
case IndirectCommandsTokenTypeEXT::eTraceRays2: return "TraceRays2";
|
||||
default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )";
|
||||
}
|
||||
}
|
||||
|
||||
VULKAN_HPP_INLINE std::string to_string( IndirectExecutionSetInfoTypeEXT value )
|
||||
{
|
||||
switch ( value )
|
||||
{
|
||||
case IndirectExecutionSetInfoTypeEXT::ePipelines: return "Pipelines";
|
||||
case IndirectExecutionSetInfoTypeEXT::eShaderObjects: return "ShaderObjects";
|
||||
default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )";
|
||||
}
|
||||
}
|
||||
|
||||
VULKAN_HPP_INLINE std::string to_string( IndirectCommandsLayoutUsageFlagBitsEXT value )
|
||||
{
|
||||
switch ( value )
|
||||
{
|
||||
case IndirectCommandsLayoutUsageFlagBitsEXT::eExplicitPreprocess: return "ExplicitPreprocess";
|
||||
case IndirectCommandsLayoutUsageFlagBitsEXT::eUnorderedSequences: return "UnorderedSequences";
|
||||
default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )";
|
||||
}
|
||||
}
|
||||
|
||||
VULKAN_HPP_INLINE std::string to_string( IndirectCommandsInputModeFlagBitsEXT value )
|
||||
{
|
||||
switch ( value )
|
||||
{
|
||||
case IndirectCommandsInputModeFlagBitsEXT::eVulkanIndexBuffer: return "VulkanIndexBuffer";
|
||||
case IndirectCommandsInputModeFlagBitsEXT::eDxgiIndexBuffer: return "DxgiIndexBuffer";
|
||||
default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )";
|
||||
}
|
||||
}
|
||||
|
||||
//=== VK_EXT_depth_clamp_control ===
|
||||
|
||||
VULKAN_HPP_INLINE std::string to_string( DepthClampModeEXT value )
|
||||
{
|
||||
switch ( value )
|
||||
{
|
||||
case DepthClampModeEXT::eViewportRange: return "ViewportRange";
|
||||
case DepthClampModeEXT::eUserDefinedRange: return "UserDefinedRange";
|
||||
default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )";
|
||||
}
|
||||
}
|
||||
|
||||
} // namespace VULKAN_HPP_NAMESPACE
|
||||
|
||||
#if defined( __clang__ ) || defined( __GNUC__ )
|
||||
# pragma GCC diagnostic pop
|
||||
#elif defined( _MSC_VER )
|
||||
# pragma warning( pop )
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
|
1016
deps/vulkan-headers/include/vulkan/vulkan_video.hpp
vendored
1016
deps/vulkan-headers/include/vulkan/vulkan_video.hpp
vendored
File diff suppressed because it is too large
Load diff
|
@ -9,19 +9,19 @@
|
|||
# The variable CVF_VERSION must be set before calling configure_file().
|
||||
|
||||
|
||||
set(PACKAGE_VERSION "1.3.275")
|
||||
set(PACKAGE_VERSION "1.3.296")
|
||||
|
||||
if(PACKAGE_VERSION VERSION_LESS PACKAGE_FIND_VERSION)
|
||||
set(PACKAGE_VERSION_COMPATIBLE FALSE)
|
||||
else()
|
||||
|
||||
if("1.3.275" MATCHES "^([0-9]+)\\.")
|
||||
if("1.3.296" MATCHES "^([0-9]+)\\.")
|
||||
set(CVF_VERSION_MAJOR "${CMAKE_MATCH_1}")
|
||||
if(NOT CVF_VERSION_MAJOR VERSION_EQUAL 0)
|
||||
string(REGEX REPLACE "^0+" "" CVF_VERSION_MAJOR "${CVF_VERSION_MAJOR}")
|
||||
endif()
|
||||
else()
|
||||
set(CVF_VERSION_MAJOR "1.3.275")
|
||||
set(CVF_VERSION_MAJOR "1.3.296")
|
||||
endif()
|
||||
|
||||
if(PACKAGE_FIND_VERSION_RANGE)
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/usr/bin/python3 -i
|
||||
#!/usr/bin/env python3 -i
|
||||
#
|
||||
# Copyright 2021-2024 The Khronos Group Inc.
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/usr/bin/python3 -i
|
||||
#!/usr/bin/env python3 -i
|
||||
#
|
||||
# Copyright 2013-2024 The Khronos Group Inc.
|
||||
#
|
||||
|
@ -243,7 +243,7 @@ class COutputGenerator(OutputGenerator):
|
|||
if self.genOpts.conventions is None:
|
||||
raise MissingGeneratorOptionsConventionsError()
|
||||
is_core = self.featureName and self.featureName.startswith(self.conventions.api_prefix + 'VERSION_')
|
||||
if self.genOpts.conventions.writeFeature(self.featureExtraProtect, self.genOpts.filename):
|
||||
if self.genOpts.conventions.writeFeature(self.featureName, self.featureExtraProtect, self.genOpts.filename):
|
||||
self.newline()
|
||||
if self.genOpts.protectFeature:
|
||||
write('#ifndef', self.featureName, file=self.outFile)
|
||||
|
@ -334,15 +334,18 @@ class COutputGenerator(OutputGenerator):
|
|||
else:
|
||||
if self.genOpts is None:
|
||||
raise MissingGeneratorOptionsError()
|
||||
|
||||
body = self.deprecationComment(typeElem)
|
||||
|
||||
# OpenXR: this section was not under 'else:' previously, just fell through
|
||||
if alias:
|
||||
# If the type is an alias, just emit a typedef declaration
|
||||
body = 'typedef ' + alias + ' ' + name + ';\n'
|
||||
body += 'typedef ' + alias + ' ' + name + ';\n'
|
||||
else:
|
||||
# Replace <apientry /> tags with an APIENTRY-style string
|
||||
# (from self.genOpts). Copy other text through unchanged.
|
||||
# If the resulting text is an empty string, do not emit it.
|
||||
body = noneStr(typeElem.text)
|
||||
body += noneStr(typeElem.text)
|
||||
for elem in typeElem:
|
||||
if elem.tag == 'apientry':
|
||||
body += self.genOpts.apientry + noneStr(elem.tail)
|
||||
|
@ -417,11 +420,11 @@ class COutputGenerator(OutputGenerator):
|
|||
raise MissingGeneratorOptionsError()
|
||||
|
||||
typeElem = typeinfo.elem
|
||||
body = self.deprecationComment(typeElem)
|
||||
|
||||
if alias:
|
||||
body = 'typedef ' + alias + ' ' + typeName + ';\n'
|
||||
body += 'typedef ' + alias + ' ' + typeName + ';\n'
|
||||
else:
|
||||
body = ''
|
||||
(protect_begin, protect_end) = self.genProtectString(typeElem.get('protect'))
|
||||
if protect_begin:
|
||||
body += protect_begin
|
||||
|
@ -442,6 +445,7 @@ class COutputGenerator(OutputGenerator):
|
|||
|
||||
targetLen = self.getMaxCParamTypeLength(typeinfo)
|
||||
for member in typeElem.findall('.//member'):
|
||||
body += self.deprecationComment(member, indent = 4)
|
||||
body += self.makeCParamDecl(member, targetLen + 4)
|
||||
body += ';\n'
|
||||
body += '} ' + typeName + ';\n'
|
||||
|
@ -486,7 +490,8 @@ class COutputGenerator(OutputGenerator):
|
|||
|
||||
OutputGenerator.genEnum(self, enuminfo, name, alias)
|
||||
|
||||
body = self.buildConstantCDecl(enuminfo, name, alias)
|
||||
body = self.deprecationComment(enuminfo.elem)
|
||||
body += self.buildConstantCDecl(enuminfo, name, alias)
|
||||
self.appendSection('enum', body)
|
||||
|
||||
def genCmd(self, cmdinfo, name, alias):
|
||||
|
@ -507,7 +512,7 @@ class COutputGenerator(OutputGenerator):
|
|||
self.appendSection('commandPointer', decls[1])
|
||||
|
||||
def misracstyle(self):
|
||||
return self.genOpts.misracstyle;
|
||||
return self.genOpts.misracstyle
|
||||
|
||||
def misracppstyle(self):
|
||||
return self.genOpts.misracppstyle;
|
||||
return self.genOpts.misracppstyle
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/usr/bin/python3 -i
|
||||
#!/usr/bin/env python3 -i
|
||||
#
|
||||
# Copyright 2013-2024 The Khronos Group Inc.
|
||||
#
|
||||
|
@ -65,7 +65,7 @@ def regSortCategoryKey(feature):
|
|||
else:
|
||||
return 0
|
||||
|
||||
if feature.category.upper() in ['ARB', 'KHR', 'OES']:
|
||||
if feature.category.upper() in ('ARB', 'KHR', 'OES'):
|
||||
return 1
|
||||
|
||||
return 2
|
||||
|
@ -562,6 +562,41 @@ class OutputGenerator:
|
|||
def misracppstyle(self):
|
||||
return False;
|
||||
|
||||
def deprecationComment(self, elem, indent = 0):
|
||||
"""If an API element is marked deprecated, return a brief comment
|
||||
describing why.
|
||||
Otherwise, return an empty string.
|
||||
|
||||
- elem - Element of the API.
|
||||
API name is determined depending on the element tag.
|
||||
- indent - number of spaces to indent the comment"""
|
||||
|
||||
reason = elem.get('deprecated')
|
||||
|
||||
# This is almost always the path taken.
|
||||
if reason == None:
|
||||
return ''
|
||||
|
||||
# There is actually a deprecated attribute.
|
||||
padding = indent * ' '
|
||||
|
||||
# Determine the API name.
|
||||
if elem.tag == 'member' or elem.tag == 'param':
|
||||
name = elem.find('.//name').text
|
||||
else:
|
||||
name = elem.get('name')
|
||||
|
||||
if reason == 'aliased':
|
||||
return f'{padding}// {name} is a deprecated alias\n'
|
||||
elif reason == 'ignored':
|
||||
return f'{padding}// {name} is deprecated and should not be used\n'
|
||||
elif reason == 'true':
|
||||
return f'{padding}// {name} is deprecated, but no reason was given in the API XML\n'
|
||||
else:
|
||||
# This can be caught by schema validation
|
||||
self.logMsg('error', f"{name} has an unknown deprecation attribute value '{reason}'")
|
||||
exit(1)
|
||||
|
||||
def buildEnumCDecl(self, expand, groupinfo, groupName):
|
||||
"""Generate the C declaration for an enum"""
|
||||
if self.genOpts is None:
|
||||
|
@ -664,6 +699,8 @@ class OutputGenerator:
|
|||
if protect is not None:
|
||||
body += '#ifdef {}\n'.format(protect)
|
||||
|
||||
body += self.deprecationComment(elem, indent = 0)
|
||||
|
||||
if usedefine:
|
||||
decl += "#define {} {}\n".format(name, strVal)
|
||||
elif self.misracppstyle():
|
||||
|
@ -757,11 +794,9 @@ class OutputGenerator:
|
|||
if protect is not None:
|
||||
decl += '#ifdef {}\n'.format(protect)
|
||||
|
||||
# Indent requirements comment, if there is one
|
||||
requirements = self.genRequirements(name, mustBeFound = False)
|
||||
if requirements != '':
|
||||
requirements = ' ' + requirements
|
||||
decl += requirements
|
||||
|
||||
decl += self.genRequirements(name, mustBeFound = False, indent = 2)
|
||||
decl += self.deprecationComment(elem, indent = 2)
|
||||
decl += ' {} = {},'.format(name, strVal)
|
||||
|
||||
if protect is not None:
|
||||
|
@ -860,7 +895,7 @@ class OutputGenerator:
|
|||
"""Create a directory, if not already done.
|
||||
|
||||
Generally called from derived generators creating hierarchies."""
|
||||
self.logMsg('diag', 'OutputGenerator::makeDir(' + path + ')')
|
||||
self.logMsg('diag', 'OutputGenerator::makeDir(', path, ')')
|
||||
if path not in self.madeDirs:
|
||||
# This can get race conditions with multiple writers, see
|
||||
# https://stackoverflow.com/questions/273192/
|
||||
|
@ -919,11 +954,11 @@ class OutputGenerator:
|
|||
# On successfully generating output, move the temporary file to the
|
||||
# target file.
|
||||
if self.genOpts.filename is not None:
|
||||
directory = Path(self.genOpts.directory)
|
||||
if sys.platform == 'win32':
|
||||
directory = Path(self.genOpts.directory)
|
||||
if not Path.exists(directory):
|
||||
os.makedirs(directory)
|
||||
shutil.copy(self.outFile.name, self.genOpts.directory + '/' + self.genOpts.filename)
|
||||
shutil.copy(self.outFile.name, directory / self.genOpts.filename)
|
||||
os.remove(self.outFile.name)
|
||||
self.genOpts = None
|
||||
|
||||
|
@ -944,7 +979,7 @@ class OutputGenerator:
|
|||
self.featureName = None
|
||||
self.featureExtraProtect = None
|
||||
|
||||
def genRequirements(self, name, mustBeFound = True):
|
||||
def genRequirements(self, name, mustBeFound = True, indent = 0):
|
||||
"""Generate text showing what core versions and extensions introduce
|
||||
an API. This exists in the base Generator class because it is used by
|
||||
the shared enumerant-generating interfaces (buildEnumCDecl, etc.).
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/usr/bin/python3
|
||||
#!/usr/bin/env python3
|
||||
|
||||
# Copyright 2022-2024 The Khronos Group Inc.
|
||||
# Copyright 2003-2019 Paul McGuire
|
||||
|
@ -31,7 +31,8 @@
|
|||
# - ',' as OR connector
|
||||
# - parenthesization for grouping
|
||||
|
||||
# Based on https://github.com/pyparsing/pyparsing/blob/master/examples/fourFn.py
|
||||
# Based on `examples/fourFn.py` from the
|
||||
# https://github.com/pyparsing/pyparsing/ repository.
|
||||
|
||||
from pyparsing import (
|
||||
Literal,
|
||||
|
@ -83,7 +84,7 @@ def leafMarkupC(name):
|
|||
opMarkupAsciidocMap = { '+' : 'and', ',' : 'or' }
|
||||
|
||||
def opMarkupAsciidoc(op):
|
||||
"""Markup a operator as an asciidoc spec markup equivalent
|
||||
"""Markup an operator as an asciidoc spec markup equivalent
|
||||
|
||||
- op - operator ('+' or ',')"""
|
||||
|
||||
|
@ -92,7 +93,7 @@ def opMarkupAsciidoc(op):
|
|||
opMarkupCMap = { '+' : '&&', ',' : '||' }
|
||||
|
||||
def opMarkupC(op):
|
||||
"""Markup a operator as an C language equivalent
|
||||
"""Markup an operator as a C language equivalent
|
||||
|
||||
- op - operator ('+' or ',')"""
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"$schema": "https://schema.khronos.org/vulkan/profiles-0.8.1-204.json#",
|
||||
"$schema": "https://schema.khronos.org/vulkan/profiles-0.8.2-276.json#",
|
||||
"capabilities": {
|
||||
"vulkan10requirements": {
|
||||
"features": {
|
||||
|
@ -8,6 +8,71 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
"vulkan11requirements": {
|
||||
"features": {
|
||||
"VkPhysicalDeviceVulkan11Features": {
|
||||
"multiview": true
|
||||
}
|
||||
},
|
||||
"properties": {
|
||||
"VkPhysicalDeviceVulkan11Properties": {
|
||||
"maxMultiviewViewCount": 6,
|
||||
"maxMultiviewInstanceIndex": 134217727
|
||||
}
|
||||
}
|
||||
},
|
||||
"vulkan12requirements": {
|
||||
"features": {
|
||||
"VkPhysicalDeviceVulkan12Features": {
|
||||
"uniformBufferStandardLayout": true,
|
||||
"subgroupBroadcastDynamicId": true,
|
||||
"imagelessFramebuffer": true,
|
||||
"separateDepthStencilLayouts": true,
|
||||
"hostQueryReset": true,
|
||||
"timelineSemaphore": true,
|
||||
"shaderSubgroupExtendedTypes": true
|
||||
}
|
||||
},
|
||||
"properties": {
|
||||
"VkPhysicalDeviceVulkan12Properties": {
|
||||
"maxTimelineSemaphoreValueDifference": 2147483647
|
||||
}
|
||||
}
|
||||
},
|
||||
"vulkan13requirements": {
|
||||
"features": {
|
||||
"VkPhysicalDeviceVulkan12Features": {
|
||||
"vulkanMemoryModel": true,
|
||||
"vulkanMemoryModelDeviceScope": true,
|
||||
"bufferDeviceAddress": true
|
||||
},
|
||||
"VkPhysicalDeviceVulkan13Features": {
|
||||
"robustImageAccess": true,
|
||||
"shaderTerminateInvocation": true,
|
||||
"shaderZeroInitializeWorkgroupMemory": true,
|
||||
"synchronization2": true,
|
||||
"shaderIntegerDotProduct": true,
|
||||
"maintenance4": true,
|
||||
"pipelineCreationCacheControl": true,
|
||||
"subgroupSizeControl": true,
|
||||
"computeFullSubgroups": true,
|
||||
"shaderDemoteToHelperInvocation": true,
|
||||
"inlineUniformBlock": true,
|
||||
"dynamicRendering": true
|
||||
}
|
||||
},
|
||||
"properties": {
|
||||
"VkPhysicalDeviceVulkan13Properties": {
|
||||
"maxBufferSize": 1073741824,
|
||||
"maxInlineUniformBlockSize": 256,
|
||||
"maxPerStageDescriptorInlineUniformBlocks": 4,
|
||||
"maxPerStageDescriptorUpdateAfterBindInlineUniformBlocks": 4,
|
||||
"maxDescriptorSetInlineUniformBlocks": 4,
|
||||
"maxDescriptorSetUpdateAfterBindInlineUniformBlocks": 4,
|
||||
"maxInlineUniformTotalSize": 256
|
||||
}
|
||||
}
|
||||
},
|
||||
"vulkan10requirements_roadmap2022": {
|
||||
"features": {
|
||||
"VkPhysicalDeviceFeatures": {
|
||||
|
@ -76,19 +141,6 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
"vulkan11requirements": {
|
||||
"features": {
|
||||
"VkPhysicalDeviceVulkan11Features": {
|
||||
"multiview": true
|
||||
}
|
||||
},
|
||||
"properties": {
|
||||
"VkPhysicalDeviceVulkan11Properties": {
|
||||
"maxMultiviewViewCount": 6,
|
||||
"maxMultiviewInstanceIndex": 134217727
|
||||
}
|
||||
}
|
||||
},
|
||||
"vulkan11requirements_roadmap2022": {
|
||||
"features": {
|
||||
"VkPhysicalDeviceVulkan11Features": {
|
||||
|
@ -103,24 +155,6 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
"vulkan12requirements": {
|
||||
"features": {
|
||||
"VkPhysicalDeviceVulkan12Features": {
|
||||
"uniformBufferStandardLayout": true,
|
||||
"subgroupBroadcastDynamicId": true,
|
||||
"imagelessFramebuffer": true,
|
||||
"separateDepthStencilLayouts": true,
|
||||
"hostQueryReset": true,
|
||||
"timelineSemaphore": true,
|
||||
"shaderSubgroupExtendedTypes": true
|
||||
}
|
||||
},
|
||||
"properties": {
|
||||
"VkPhysicalDeviceVulkan12Properties": {
|
||||
"maxTimelineSemaphoreValueDifference": 2147483647
|
||||
}
|
||||
}
|
||||
},
|
||||
"vulkan12requirements_roadmap2022": {
|
||||
"features": {
|
||||
"VkPhysicalDeviceVulkan12Features": {
|
||||
|
@ -168,40 +202,6 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
"vulkan13requirements": {
|
||||
"features": {
|
||||
"VkPhysicalDeviceVulkan12Features": {
|
||||
"vulkanMemoryModel": true,
|
||||
"vulkanMemoryModelDeviceScope": true,
|
||||
"bufferDeviceAddress": true
|
||||
},
|
||||
"VkPhysicalDeviceVulkan13Features": {
|
||||
"robustImageAccess": true,
|
||||
"shaderTerminateInvocation": true,
|
||||
"shaderZeroInitializeWorkgroupMemory": true,
|
||||
"synchronization2": true,
|
||||
"shaderIntegerDotProduct": true,
|
||||
"maintenance4": true,
|
||||
"pipelineCreationCacheControl": true,
|
||||
"subgroupSizeControl": true,
|
||||
"computeFullSubgroups": true,
|
||||
"shaderDemoteToHelperInvocation": true,
|
||||
"inlineUniformBlock": true,
|
||||
"dynamicRendering": true
|
||||
}
|
||||
},
|
||||
"properties": {
|
||||
"VkPhysicalDeviceVulkan13Properties": {
|
||||
"maxBufferSize": 1073741824,
|
||||
"maxInlineUniformBlockSize": 256,
|
||||
"maxPerStageDescriptorInlineUniformBlocks": 4,
|
||||
"maxPerStageDescriptorUpdateAfterBindInlineUniformBlocks": 4,
|
||||
"maxDescriptorSetInlineUniformBlocks": 4,
|
||||
"maxDescriptorSetUpdateAfterBindInlineUniformBlocks": 4,
|
||||
"maxInlineUniformTotalSize": 256
|
||||
}
|
||||
}
|
||||
},
|
||||
"vulkan13requirements_roadmap2022": {
|
||||
"extensions": {
|
||||
"VK_KHR_global_priority": 1
|
||||
|
@ -211,9 +211,94 @@
|
|||
"descriptorBindingInlineUniformBlockUpdateAfterBind": true
|
||||
}
|
||||
}
|
||||
},
|
||||
"vulkan10requirements_roadmap2024": {
|
||||
"features": {
|
||||
"VkPhysicalDeviceFeatures": {
|
||||
"multiDrawIndirect": true,
|
||||
"shaderInt16": true,
|
||||
"shaderImageGatherExtended": true
|
||||
}
|
||||
},
|
||||
"properties": {
|
||||
"VkPhysicalDeviceProperties": {
|
||||
"limits": {
|
||||
"timestampComputeAndGraphics": true,
|
||||
"maxColorAttachments": 8,
|
||||
"maxBoundDescriptorSets": 7
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"vulkan11requirements_roadmap2024": {
|
||||
"features": {
|
||||
"VkPhysicalDeviceVulkan11Features": {
|
||||
"shaderDrawParameters": true,
|
||||
"storageBuffer16BitAccess": true
|
||||
}
|
||||
}
|
||||
},
|
||||
"vulkan12requirements_roadmap2024": {
|
||||
"features": {
|
||||
"VkPhysicalDeviceVulkan12Features": {
|
||||
"shaderInt8": true,
|
||||
"shaderFloat16": true,
|
||||
"storageBuffer8BitAccess": true
|
||||
}
|
||||
},
|
||||
"properties": {
|
||||
"VkPhysicalDeviceVulkan12Properties": {
|
||||
"shaderRoundingModeRTEFloat16": true,
|
||||
"shaderRoundingModeRTEFloat32": true
|
||||
}
|
||||
}
|
||||
},
|
||||
"vulkan13requirements_roadmap2024": {
|
||||
"features": {
|
||||
"VkPhysicalDeviceVulkan13Features": {
|
||||
}
|
||||
},
|
||||
"properties": {
|
||||
"VkPhysicalDeviceVulkan13Properties": {
|
||||
}
|
||||
}
|
||||
},
|
||||
"vulkanextensionrequirements_roadmap2024": {
|
||||
"extensions": {
|
||||
"VK_KHR_dynamic_rendering_local_read": 1,
|
||||
"VK_KHR_load_store_op_none": 1,
|
||||
"VK_KHR_shader_quad_control": 1,
|
||||
"VK_KHR_shader_maximal_reconvergence": 1,
|
||||
"VK_KHR_shader_subgroup_uniform_control_flow": 1,
|
||||
"VK_KHR_shader_subgroup_rotate": 1,
|
||||
"VK_KHR_shader_float_controls2": 1,
|
||||
"VK_KHR_shader_expect_assume": 1,
|
||||
"VK_KHR_line_rasterization": 1,
|
||||
"VK_KHR_vertex_attribute_divisor": 1,
|
||||
"VK_KHR_index_type_uint8": 1,
|
||||
"VK_KHR_map_memory2": 1,
|
||||
"VK_KHR_maintenance5": 1,
|
||||
"VK_KHR_push_descriptor": 1
|
||||
}
|
||||
}
|
||||
},
|
||||
"profiles": {
|
||||
"VP_KHR_roadmap_2024": {
|
||||
"version": 1,
|
||||
"api-version": "1.3.276",
|
||||
"label": "Khronos Vulkan Roadmap 2024 profile",
|
||||
"description": "This roadmap profile is intended to be supported by newer devices shipping in 2024 across mainstream smartphone, tablet, laptops, console and desktop devices.",
|
||||
"profiles": [
|
||||
"VP_KHR_roadmap_2022"
|
||||
],
|
||||
"capabilities": [
|
||||
"vulkan10requirements_roadmap2024",
|
||||
"vulkan11requirements_roadmap2024",
|
||||
"vulkan12requirements_roadmap2024",
|
||||
"vulkan13requirements_roadmap2024",
|
||||
"vulkanextensionrequirements_roadmap2024"
|
||||
]
|
||||
},
|
||||
"VP_KHR_roadmap_2022": {
|
||||
"version": 1,
|
||||
"api-version": "1.3.204",
|
||||
|
@ -232,6 +317,12 @@
|
|||
}
|
||||
},
|
||||
"history": [
|
||||
{
|
||||
"revision": 9,
|
||||
"date": "2024-01-16",
|
||||
"author": "Tobias Hector",
|
||||
"comment": "Add Roadmap 2024 profile"
|
||||
},
|
||||
{
|
||||
"revision": 8,
|
||||
"date": "2023-11-02",
|
49
deps/vulkan-headers/share/vulkan/registry/reg.py
vendored
49
deps/vulkan-headers/share/vulkan/registry/reg.py
vendored
|
@ -1,4 +1,4 @@
|
|||
#!/usr/bin/python3 -i
|
||||
#!/usr/bin/env python3 -i
|
||||
#
|
||||
# Copyright 2013-2024 The Khronos Group Inc.
|
||||
#
|
||||
|
@ -436,6 +436,12 @@ class Registry:
|
|||
self.cmddict = {}
|
||||
"dictionary of CmdInfo objects keyed by command name"
|
||||
|
||||
self.aliasdict = {}
|
||||
"dictionary of type and command names mapped to their alias, such as VkFooKHR -> VkFoo"
|
||||
|
||||
self.enumvaluedict = {}
|
||||
"dictionary of enum values mapped to their type, such as VK_FOO_VALUE -> VkFoo"
|
||||
|
||||
self.apidict = {}
|
||||
"dictionary of FeatureInfo objects for `<feature>` elements keyed by API name"
|
||||
|
||||
|
@ -548,6 +554,22 @@ class Registry:
|
|||
"""Specify a feature name regexp to break on when generating features."""
|
||||
self.breakPat = re.compile(regexp)
|
||||
|
||||
def addEnumValue(self, enum, type_name):
|
||||
"""Track aliasing and map back from enum values to their type"""
|
||||
# Record alias, if any
|
||||
value = enum.get('name')
|
||||
alias = enum.get('alias')
|
||||
if alias:
|
||||
self.aliasdict[value] = alias
|
||||
# Map the value back to the type
|
||||
if type_name in self.aliasdict:
|
||||
type_name = self.aliasdict[type_name]
|
||||
if value in self.enumvaluedict:
|
||||
# Some times the same enum is defined by multiple extensions
|
||||
assert(type_name == self.enumvaluedict[value])
|
||||
else:
|
||||
self.enumvaluedict[value] = type_name
|
||||
|
||||
def parseTree(self):
|
||||
"""Parse the registry Element, once created"""
|
||||
# This must be the Element for the root <registry>
|
||||
|
@ -571,6 +593,9 @@ class Registry:
|
|||
else:
|
||||
stripNonmatchingAPIs(self.reg, self.genOpts.apiname, actuallyDelete = True)
|
||||
|
||||
self.aliasdict = {}
|
||||
self.enumvaluedict = {}
|
||||
|
||||
# Create dictionary of registry types from toplevel <types> tags
|
||||
# and add 'name' attribute to each <type> tag (where missing)
|
||||
# based on its <name> element.
|
||||
|
@ -581,13 +606,20 @@ class Registry:
|
|||
for type_elem in self.reg.findall('types/type'):
|
||||
# If the <type> does not already have a 'name' attribute, set
|
||||
# it from contents of its <name> tag.
|
||||
if type_elem.get('name') is None:
|
||||
name = type_elem.get('name')
|
||||
if name is None:
|
||||
name_elem = type_elem.find('name')
|
||||
if name_elem is None or not name_elem.text:
|
||||
raise RuntimeError("Type without a name!")
|
||||
type_elem.set('name', name_elem.text)
|
||||
name = name_elem.text
|
||||
type_elem.set('name', name)
|
||||
self.addElementInfo(type_elem, TypeInfo(type_elem), 'type', self.typedict)
|
||||
|
||||
# Record alias, if any
|
||||
alias = type_elem.get('alias')
|
||||
if alias:
|
||||
self.aliasdict[name] = alias
|
||||
|
||||
# Create dictionary of registry enum groups from <enums> tags.
|
||||
#
|
||||
# Required <enums> attributes: 'name'. If no name is given, one is
|
||||
|
@ -609,10 +641,14 @@ class Registry:
|
|||
self.enumdict = {}
|
||||
for enums in self.reg.findall('enums'):
|
||||
required = (enums.get('type') is not None)
|
||||
type_name = enums.get('name')
|
||||
# Enum values are defined only for the type that is not aliased to something else.
|
||||
assert(type_name not in self.aliasdict)
|
||||
for enum in enums.findall('enum'):
|
||||
enumInfo = EnumInfo(enum)
|
||||
enumInfo.required = required
|
||||
self.addElementInfo(enum, enumInfo, 'enum', self.enumdict)
|
||||
self.addEnumValue(enum, type_name)
|
||||
|
||||
# Create dictionary of registry commands from <command> tags
|
||||
# and add 'name' attribute to each <command> tag (where missing)
|
||||
|
@ -622,7 +658,7 @@ class Registry:
|
|||
# Required <command> attributes: 'name' or <proto><name> tag contents
|
||||
self.cmddict = {}
|
||||
# List of commands which alias others. Contains
|
||||
# [ aliasName, element ]
|
||||
# [ name, aliasName, element ]
|
||||
# for each alias
|
||||
cmdAlias = []
|
||||
for cmd in self.reg.findall('commands/command'):
|
||||
|
@ -639,6 +675,7 @@ class Registry:
|
|||
alias = cmd.get('alias')
|
||||
if alias:
|
||||
cmdAlias.append([name, alias, cmd])
|
||||
self.aliasdict[name] = alias
|
||||
|
||||
# Now loop over aliases, injecting a copy of the aliased command's
|
||||
# Element with the aliased prototype name replaced with the command
|
||||
|
@ -713,6 +750,7 @@ class Registry:
|
|||
if addEnumInfo:
|
||||
enumInfo = EnumInfo(enum)
|
||||
self.addElementInfo(enum, enumInfo, 'enum', self.enumdict)
|
||||
self.addEnumValue(enum, groupName)
|
||||
|
||||
sync_pipeline_stage_condition = dict()
|
||||
sync_access_condition = dict()
|
||||
|
@ -791,6 +829,7 @@ class Registry:
|
|||
if addEnumInfo:
|
||||
enumInfo = EnumInfo(enum)
|
||||
self.addElementInfo(enum, enumInfo, 'enum', self.enumdict)
|
||||
self.addEnumValue(enum, groupName)
|
||||
|
||||
# Parse out all spirv tags in dictionaries
|
||||
# Use addElementInfo to catch duplicates
|
||||
|
@ -1154,6 +1193,8 @@ class Registry:
|
|||
# Resolve the type info to the actual type, so we get an accurate read for 'structextends'
|
||||
while alias:
|
||||
typeinfo = self.lookupElementInfo(alias, self.typedict)
|
||||
if not typeinfo:
|
||||
raise RuntimeError(f"Missing alias {alias}")
|
||||
alias = typeinfo.elem.get('alias')
|
||||
|
||||
typecat = typeinfo.elem.get('category')
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/usr/bin/python3 -i
|
||||
#!/usr/bin/env python3 -i
|
||||
#
|
||||
# Copyright 2013-2024 The Khronos Group Inc.
|
||||
#
|
||||
|
@ -152,6 +152,11 @@ class ConventionsBase(abc.ABC):
|
|||
"""
|
||||
return 'code:'
|
||||
|
||||
@property
|
||||
def allows_x_number_suffix(self):
|
||||
"""Whether vendor tags can be suffixed with X and a number to mark experimental extensions."""
|
||||
return False
|
||||
|
||||
@property
|
||||
@abc.abstractmethod
|
||||
def structtype_member_name(self):
|
||||
|
@ -213,7 +218,7 @@ class ConventionsBase(abc.ABC):
|
|||
|
||||
Do not edit these defaults, override self.makeProseList().
|
||||
"""
|
||||
assert(serial_comma) # did not implement what we did not need
|
||||
assert serial_comma # did not implement what we did not need
|
||||
if isinstance(fmt, str):
|
||||
fmt = ProseListFormats.from_string(fmt)
|
||||
|
||||
|
@ -300,6 +305,20 @@ class ConventionsBase(abc.ABC):
|
|||
|
||||
return self.api_prefix
|
||||
|
||||
def extension_short_description(self, elem):
|
||||
"""Return a short description of an extension for use in refpages.
|
||||
|
||||
elem is an ElementTree for the <extension> tag in the XML.
|
||||
The default behavior is to use the 'type' field of this tag, but not
|
||||
all APIs support this field."""
|
||||
|
||||
ext_type = elem.get('type')
|
||||
|
||||
if ext_type is not None:
|
||||
return f'{ext_type} extension'
|
||||
else:
|
||||
return ''
|
||||
|
||||
@property
|
||||
def write_contacts(self):
|
||||
"""Return whether contact list should be written to extension appendices"""
|
||||
|
@ -352,7 +371,7 @@ class ConventionsBase(abc.ABC):
|
|||
May override."""
|
||||
return self.api_prefix + 'EXT_'
|
||||
|
||||
def writeFeature(self, featureExtraProtect, filename):
|
||||
def writeFeature(self, featureName, featureExtraProtect, filename):
|
||||
"""Return True if OutputGenerator.endFeature should write this feature.
|
||||
|
||||
Defaults to always True.
|
||||
|
@ -534,3 +553,11 @@ class ConventionsBase(abc.ABC):
|
|||
blocks."""
|
||||
|
||||
return 'c++'
|
||||
|
||||
@property
|
||||
def docgen_source_options(self):
|
||||
"""Return block options to be used in docgenerator [source] blocks,
|
||||
which are appended to the 'source' block type.
|
||||
Can be empty."""
|
||||
|
||||
return '%unbreakable'
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
"""Utility functions not closely tied to other spec_tools types."""
|
||||
# Copyright (c) 2018-2019 Collabora, Ltd.
|
||||
# Copyright 2013-2024 The Khronos Group Inc.
|
||||
#
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/usr/bin/python3
|
||||
#!/usr/bin/env python3
|
||||
#
|
||||
# Copyright 2023 The Khronos Group Inc.
|
||||
# Copyright 2023-2024 The Khronos Group Inc.
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import argparse
|
||||
|
|
16761
deps/vulkan-headers/share/vulkan/registry/validusage.json
vendored
16761
deps/vulkan-headers/share/vulkan/registry/validusage.json
vendored
File diff suppressed because one or more lines are too long
487
deps/vulkan-headers/share/vulkan/registry/video.xml
vendored
487
deps/vulkan-headers/share/vulkan/registry/video.xml
vendored
|
@ -23,11 +23,13 @@ The current public version of video.xml is maintained in the default branch
|
|||
<type name="uint16_t" requires="stdint"/>
|
||||
<type name="uint8_t" requires="stdint"/>
|
||||
<type name="int32_t" requires="stdint"/>
|
||||
<type name="int16_t" requires="stdint"/>
|
||||
<type name="int8_t" requires="stdint"/>
|
||||
|
||||
<type category="include" name="vk_video/vulkan_video_codecs_common.h">#include "vulkan_video_codecs_common.h"</type>
|
||||
<type category="include" name="vk_video/vulkan_video_codec_h264std.h">#include "vulkan_video_codec_h264std.h"</type>
|
||||
<type category="include" name="vk_video/vulkan_video_codec_h265std.h">#include "vulkan_video_codec_h265std.h"</type>
|
||||
<type category="include" name="vk_video/vulkan_video_codec_av1std.h">#include "vulkan_video_codec_av1std.h"</type>
|
||||
|
||||
<!-- vulkan_video_codecs_common macros -->
|
||||
<type category="define">#define <name>VK_MAKE_VIDEO_STD_VERSION</name>(major, minor, patch) \
|
||||
|
@ -49,6 +51,10 @@ The current public version of video.xml is maintained in the default branch
|
|||
<type category="define" requires="VK_MAKE_VIDEO_STD_VERSION">
|
||||
#define <name>VK_STD_VULKAN_VIDEO_CODEC_H265_ENCODE_API_VERSION_1_0_0</name> <type>VK_MAKE_VIDEO_STD_VERSION</type>(1, 0, 0)</type>
|
||||
|
||||
<!-- vulkan_video_codec_av1std_decode.h macros -->
|
||||
<type category="define" requires="VK_MAKE_VIDEO_STD_VERSION">
|
||||
#define <name>VK_STD_VULKAN_VIDEO_CODEC_AV1_DECODE_API_VERSION_1_0_0</name> <type>VK_MAKE_VIDEO_STD_VERSION</type>(1, 0, 0)</type>
|
||||
|
||||
<!-- vulkan_video_codec_h264std.h enumerated types -->
|
||||
<type name="StdVideoH264ChromaFormatIdc" category="enum"/>
|
||||
<type name="StdVideoH264ProfileIdc" category="enum"/>
|
||||
|
@ -71,7 +77,7 @@ The current public version of video.xml is maintained in the default branch
|
|||
<member><type>uint32_t</type> <name>overscan_appropriate_flag</name> : 1</member>
|
||||
<member><type>uint32_t</type> <name>video_signal_type_present_flag</name> : 1</member>
|
||||
<member><type>uint32_t</type> <name>video_full_range_flag</name> : 1</member>
|
||||
<member><type>uint32_t</type> <name>color_description_present_flag</name> : 1</member>
|
||||
<member><type>uint32_t</type> <name>color_description_present_flag</name> : 1</member><comment>colour_description_present_flag</comment>
|
||||
<member><type>uint32_t</type> <name>chroma_loc_info_present_flag</name> : 1</member>
|
||||
<member><type>uint32_t</type> <name>timing_info_present_flag</name> : 1</member>
|
||||
<member><type>uint32_t</type> <name>fixed_frame_rate_flag</name> : 1</member>
|
||||
|
@ -832,6 +838,277 @@ The current public version of video.xml is maintained in the default branch
|
|||
<member><type>int32_t</type> <name>PicOrderCntVal</name><comment>Picture order count derived as specified in 8.3.1</comment></member>
|
||||
<member><type>uint8_t</type> <name>TemporalId</name><comment>Temporal ID, as defined in 7.4.2.2</comment></member>
|
||||
</type>
|
||||
|
||||
<!-- vulkan_video_codec_av1std.h enumerated types -->
|
||||
<type name="StdVideoAV1Profile" category="enum"/>
|
||||
<type name="StdVideoAV1Level" category="enum"/>
|
||||
<type name="StdVideoAV1FrameType" category="enum"/>
|
||||
<type name="StdVideoAV1ReferenceName" category="enum"/>
|
||||
<type name="StdVideoAV1InterpolationFilter" category="enum"/>
|
||||
<type name="StdVideoAV1TxMode" category="enum"/>
|
||||
<type name="StdVideoAV1FrameRestorationType" category="enum"/>
|
||||
<type name="StdVideoAV1ColorPrimaries" category="enum"/>
|
||||
<type name="StdVideoAV1TransferCharacteristics" category="enum"/>
|
||||
<type name="StdVideoAV1MatrixCoefficients" category="enum"/>
|
||||
<type name="StdVideoAV1ChromaSamplePosition" category="enum"/>
|
||||
|
||||
<type category="struct" name="StdVideoAV1ColorConfigFlags">
|
||||
<comment>Syntax defined in section 5.5.2, semantics defined in section 6.4.2</comment>
|
||||
<member><type>uint32_t</type> <name>mono_chrome</name> : 1</member>
|
||||
<member><type>uint32_t</type> <name>color_range</name> : 1</member>
|
||||
<member><type>uint32_t</type> <name>separate_uv_delta_q</name> : 1</member>
|
||||
<member><type>uint32_t</type> <name>color_description_present_flag</name> : 1</member>
|
||||
<member><type>uint32_t</type> <name>reserved</name> : 28</member>
|
||||
</type>
|
||||
<type category="struct" name="StdVideoAV1ColorConfig">
|
||||
<comment>Syntax defined in section 5.5.2, semantics defined in section 6.4.2</comment>
|
||||
<member><type>StdVideoAV1ColorConfigFlags</type> <name>flags</name></member>
|
||||
<member><type>uint8_t</type> <name>BitDepth</name></member>
|
||||
<member><type>uint8_t</type> <name>subsampling_x</name></member>
|
||||
<member><type>uint8_t</type> <name>subsampling_y</name></member>
|
||||
<member><type>uint8_t</type> <name>reserved1</name><comment>Reserved for future use and must be initialized with 0.</comment></member>
|
||||
<member><type>StdVideoAV1ColorPrimaries</type> <name>color_primaries</name></member>
|
||||
<member><type>StdVideoAV1TransferCharacteristics</type> <name>transfer_characteristics</name></member>
|
||||
<member><type>StdVideoAV1MatrixCoefficients</type> <name>matrix_coefficients</name></member>
|
||||
<member><type>StdVideoAV1ChromaSamplePosition</type> <name>chroma_sample_position</name></member>
|
||||
</type>
|
||||
<type category="struct" name="StdVideoAV1TimingInfoFlags">
|
||||
<comment>Syntax defined in section 5.5.3, semantics defined in section 6.4.3</comment>
|
||||
<member><type>uint32_t</type> <name>equal_picture_interval</name> : 1</member>
|
||||
<member><type>uint32_t</type> <name>reserved</name> : 31</member>
|
||||
</type>
|
||||
<type category="struct" name="StdVideoAV1TimingInfo">
|
||||
<comment>Syntax defined in section 5.5.3, semantics defined in section 6.4.3</comment>
|
||||
<member><type>StdVideoAV1TimingInfoFlags</type> <name>flags</name></member>
|
||||
<member><type>uint32_t</type> <name>num_units_in_display_tick</name></member>
|
||||
<member><type>uint32_t</type> <name>time_scale</name></member>
|
||||
<member><type>uint32_t</type> <name>num_ticks_per_picture_minus_1</name></member>
|
||||
</type>
|
||||
<type category="struct" name="StdVideoAV1SequenceHeaderFlags">
|
||||
<comment>Syntax defined in section 5.5, semantics defined in section 6.4</comment>
|
||||
<member><type>uint32_t</type> <name>still_picture</name> : 1</member>
|
||||
<member><type>uint32_t</type> <name>reduced_still_picture_header</name> : 1</member>
|
||||
<member><type>uint32_t</type> <name>use_128x128_superblock</name> : 1</member>
|
||||
<member><type>uint32_t</type> <name>enable_filter_intra</name> : 1</member>
|
||||
<member><type>uint32_t</type> <name>enable_intra_edge_filter</name> : 1</member>
|
||||
<member><type>uint32_t</type> <name>enable_interintra_compound</name> : 1</member>
|
||||
<member><type>uint32_t</type> <name>enable_masked_compound</name> : 1</member>
|
||||
<member><type>uint32_t</type> <name>enable_warped_motion</name> : 1</member>
|
||||
<member><type>uint32_t</type> <name>enable_dual_filter</name> : 1</member>
|
||||
<member><type>uint32_t</type> <name>enable_order_hint</name> : 1</member>
|
||||
<member><type>uint32_t</type> <name>enable_jnt_comp</name> : 1</member>
|
||||
<member><type>uint32_t</type> <name>enable_ref_frame_mvs</name> : 1</member>
|
||||
<member><type>uint32_t</type> <name>frame_id_numbers_present_flag</name> : 1</member>
|
||||
<member><type>uint32_t</type> <name>enable_superres</name> : 1</member>
|
||||
<member><type>uint32_t</type> <name>enable_cdef</name> : 1</member>
|
||||
<member><type>uint32_t</type> <name>enable_restoration</name> : 1</member>
|
||||
<member><type>uint32_t</type> <name>film_grain_params_present</name> : 1</member>
|
||||
<member><type>uint32_t</type> <name>timing_info_present_flag</name> : 1</member>
|
||||
<member><type>uint32_t</type> <name>initial_display_delay_present_flag</name> : 1</member>
|
||||
<member><type>uint32_t</type> <name>reserved</name> : 13</member>
|
||||
</type>
|
||||
<type category="struct" name="StdVideoAV1SequenceHeader">
|
||||
<comment>Syntax defined in section 5.5, semantics defined in section 6.4</comment>
|
||||
<member><type>StdVideoAV1SequenceHeaderFlags</type> <name>flags</name></member>
|
||||
<member><type>StdVideoAV1Profile</type> <name>seq_profile</name></member>
|
||||
<member><type>uint8_t</type> <name>frame_width_bits_minus_1</name></member>
|
||||
<member><type>uint8_t</type> <name>frame_height_bits_minus_1</name></member>
|
||||
<member><type>uint16_t</type> <name>max_frame_width_minus_1</name></member>
|
||||
<member><type>uint16_t</type> <name>max_frame_height_minus_1</name></member>
|
||||
<member><type>uint8_t</type> <name>delta_frame_id_length_minus_2</name></member>
|
||||
<member><type>uint8_t</type> <name>additional_frame_id_length_minus_1</name></member>
|
||||
<member><type>uint8_t</type> <name>order_hint_bits_minus_1</name></member>
|
||||
<member><type>uint8_t</type> <name>seq_force_integer_mv</name><comment>The final value of of seq_force_integer_mv per the value of seq_choose_integer_mv.</comment></member>
|
||||
<member><type>uint8_t</type> <name>seq_force_screen_content_tools</name><comment>The final value of of seq_force_screen_content_tools per the value of seq_choose_screen_content_tools.</comment></member>
|
||||
<member><type>uint8_t</type> <name>reserved1</name>[5]<comment>Reserved for future use and must be initialized with 0.</comment></member>
|
||||
<member>const <type>StdVideoAV1ColorConfig</type>* <name>pColorConfig</name></member>
|
||||
<member>const <type>StdVideoAV1TimingInfo</type>* <name>pTimingInfo</name></member>
|
||||
</type>
|
||||
<type category="struct" name="StdVideoAV1LoopFilterFlags">
|
||||
<comment>Syntax defined in section 5.9.11, semantics defined in section 6.8.10</comment>
|
||||
<member><type>uint32_t</type> <name>loop_filter_delta_enabled</name> : 1</member>
|
||||
<member><type>uint32_t</type> <name>loop_filter_delta_update</name> : 1</member>
|
||||
<member><type>uint32_t</type> <name>reserved</name> : 30</member>
|
||||
</type>
|
||||
<type category="struct" name="StdVideoAV1LoopFilter">
|
||||
<comment>Syntax defined in section 5.9.11, semantics defined in section 6.8.10</comment>
|
||||
<member><type>StdVideoAV1LoopFilterFlags</type> <name>flags</name></member>
|
||||
<member><type>uint8_t</type> <name>loop_filter_level</name>[<enum>STD_VIDEO_AV1_MAX_LOOP_FILTER_STRENGTHS</enum>]</member>
|
||||
<member><type>uint8_t</type> <name>loop_filter_sharpness</name></member>
|
||||
<member><type>uint8_t</type> <name>update_ref_delta</name></member>
|
||||
<member><type>int8_t</type> <name>loop_filter_ref_deltas</name>[<enum>STD_VIDEO_AV1_TOTAL_REFS_PER_FRAME</enum>]</member>
|
||||
<member><type>uint8_t</type> <name>update_mode_delta</name></member>
|
||||
<member><type>int8_t</type> <name>loop_filter_mode_deltas</name>[<enum>STD_VIDEO_AV1_LOOP_FILTER_ADJUSTMENTS</enum>]</member>
|
||||
</type>
|
||||
<type category="struct" name="StdVideoAV1QuantizationFlags">
|
||||
<comment>Syntax defined in section 5.9.12, semantics defined in section 6.8.11</comment>
|
||||
<member><type>uint32_t</type> <name>using_qmatrix</name> : 1</member>
|
||||
<member><type>uint32_t</type> <name>diff_uv_delta</name> : 1</member>
|
||||
<member><type>uint32_t</type> <name>reserved</name> : 30</member>
|
||||
</type>
|
||||
<type category="struct" name="StdVideoAV1Quantization">
|
||||
<comment>Syntax defined in section 5.9.12, semantics defined in section 6.8.11</comment>
|
||||
<member><type>StdVideoAV1QuantizationFlags</type> <name>flags</name></member>
|
||||
<member><type>uint8_t</type> <name>base_q_idx</name></member>
|
||||
<member><type>int8_t</type> <name>DeltaQYDc</name></member>
|
||||
<member><type>int8_t</type> <name>DeltaQUDc</name></member>
|
||||
<member><type>int8_t</type> <name>DeltaQUAc</name></member>
|
||||
<member><type>int8_t</type> <name>DeltaQVDc</name></member>
|
||||
<member><type>int8_t</type> <name>DeltaQVAc</name></member>
|
||||
<member><type>uint8_t</type> <name>qm_y</name></member>
|
||||
<member><type>uint8_t</type> <name>qm_u</name></member>
|
||||
<member><type>uint8_t</type> <name>qm_v</name></member>
|
||||
</type>
|
||||
<type category="struct" name="StdVideoAV1Segmentation">
|
||||
<comment>Syntax defined in section 5.9.14, semantics defined in section 6.8.13</comment>
|
||||
<member><type>uint8_t</type> <name>FeatureEnabled</name>[<enum>STD_VIDEO_AV1_MAX_SEGMENTS</enum>]<comment>Each element contains 8 (SEG_LVL_MAX) bits, one bit for each feature within the segment</comment></member>
|
||||
<member><type>int16_t</type> <name>FeatureData</name>[<enum>STD_VIDEO_AV1_MAX_SEGMENTS</enum>][<enum>STD_VIDEO_AV1_SEG_LVL_MAX</enum>]</member>
|
||||
</type>
|
||||
<type category="struct" name="StdVideoAV1TileInfoFlags">
|
||||
<comment>Syntax defined in section 5.9.15, semantics defined in section 6.8.14</comment>
|
||||
<member><type>uint32_t</type> <name>uniform_tile_spacing_flag</name> : 1</member>
|
||||
<member><type>uint32_t</type> <name>reserved</name> : 31</member>
|
||||
</type>
|
||||
<type category="struct" name="StdVideoAV1TileInfo">
|
||||
<comment>Syntax defined in section 5.9.15, semantics defined in section 6.8.14</comment>
|
||||
<member><type>StdVideoAV1TileInfoFlags</type> <name>flags</name></member>
|
||||
<member><type>uint8_t</type> <name>TileCols</name></member>
|
||||
<member><type>uint8_t</type> <name>TileRows</name></member>
|
||||
<member><type>uint16_t</type> <name>context_update_tile_id</name></member>
|
||||
<member><type>uint8_t</type> <name>tile_size_bytes_minus_1</name></member>
|
||||
<member><type>uint8_t</type> <name>reserved1</name>[7]<comment>Reserved for future use and must be initialized with 0.</comment></member>
|
||||
<member>const <type>uint16_t</type>* <name>pMiColStarts</name><comment>TileCols number of elements</comment></member>
|
||||
<member>const <type>uint16_t</type>* <name>pMiRowStarts</name><comment>TileRows number of elements</comment></member>
|
||||
<member>const <type>uint16_t</type>* <name>pWidthInSbsMinus1</name><comment>TileCols number of elements</comment></member>
|
||||
<member>const <type>uint16_t</type>* <name>pHeightInSbsMinus1</name><comment>TileRows number of elements</comment></member>
|
||||
</type>
|
||||
<type category="struct" name="StdVideoAV1CDEF">
|
||||
<comment>Syntax defined in section 5.9.19, semantics defined in section 6.10.14</comment>
|
||||
<member><type>uint8_t</type> <name>cdef_damping_minus_3</name></member>
|
||||
<member><type>uint8_t</type> <name>cdef_bits</name></member>
|
||||
<member><type>uint8_t</type> <name>cdef_y_pri_strength</name>[<enum>STD_VIDEO_AV1_MAX_CDEF_FILTER_STRENGTHS</enum>]</member>
|
||||
<member><type>uint8_t</type> <name>cdef_y_sec_strength</name>[<enum>STD_VIDEO_AV1_MAX_CDEF_FILTER_STRENGTHS</enum>]</member>
|
||||
<member><type>uint8_t</type> <name>cdef_uv_pri_strength</name>[<enum>STD_VIDEO_AV1_MAX_CDEF_FILTER_STRENGTHS</enum>]</member>
|
||||
<member><type>uint8_t</type> <name>cdef_uv_sec_strength</name>[<enum>STD_VIDEO_AV1_MAX_CDEF_FILTER_STRENGTHS</enum>]</member>
|
||||
</type>
|
||||
<type category="struct" name="StdVideoAV1LoopRestoration">
|
||||
<comment>Syntax defined in section 5.9.20, semantics defined in section 6.10.15</comment>
|
||||
<member><type>StdVideoAV1FrameRestorationType</type> <name>FrameRestorationType</name>[<enum>STD_VIDEO_AV1_MAX_NUM_PLANES</enum>]</member>
|
||||
<member><type>uint16_t</type> <name>LoopRestorationSize</name>[<enum>STD_VIDEO_AV1_MAX_NUM_PLANES</enum>]</member>
|
||||
</type>
|
||||
<type category="struct" name="StdVideoAV1GlobalMotion">
|
||||
<comment>Syntax defined in section 5.9.24, semantics defined in section 7.10</comment>
|
||||
<member><type>uint8_t</type> <name>GmType</name>[<enum>STD_VIDEO_AV1_NUM_REF_FRAMES</enum>]</member>
|
||||
<member><type>int32_t</type> <name>gm_params</name>[<enum>STD_VIDEO_AV1_NUM_REF_FRAMES</enum>][<enum>STD_VIDEO_AV1_GLOBAL_MOTION_PARAMS</enum>]</member>
|
||||
</type>
|
||||
<type category="struct" name="StdVideoAV1FilmGrainFlags">
|
||||
<comment>Syntax defined in section 5.9.30, semantics defined in section 6.8.20</comment>
|
||||
<member><type>uint32_t</type> <name>chroma_scaling_from_luma</name> : 1</member>
|
||||
<member><type>uint32_t</type> <name>overlap_flag</name> : 1</member>
|
||||
<member><type>uint32_t</type> <name>clip_to_restricted_range</name> : 1</member>
|
||||
<member><type>uint32_t</type> <name>update_grain</name> : 1</member>
|
||||
<member><type>uint32_t</type> <name>reserved</name> : 28</member>
|
||||
</type>
|
||||
<type category="struct" name="StdVideoAV1FilmGrain">
|
||||
<comment>Syntax defined in section 5.9.30, semantics defined in section 6.8.20</comment>
|
||||
<member><type>StdVideoAV1FilmGrainFlags</type> <name>flags</name></member>
|
||||
<member><type>uint8_t</type> <name>grain_scaling_minus_8</name></member>
|
||||
<member><type>uint8_t</type> <name>ar_coeff_lag</name></member>
|
||||
<member><type>uint8_t</type> <name>ar_coeff_shift_minus_6</name></member>
|
||||
<member><type>uint8_t</type> <name>grain_scale_shift</name></member>
|
||||
<member><type>uint16_t</type> <name>grain_seed</name></member>
|
||||
<member><type>uint8_t</type> <name>film_grain_params_ref_idx</name></member>
|
||||
<member><type>uint8_t</type> <name>num_y_points</name></member>
|
||||
<member><type>uint8_t</type> <name>point_y_value</name>[<enum>STD_VIDEO_AV1_MAX_NUM_Y_POINTS</enum>]</member>
|
||||
<member><type>uint8_t</type> <name>point_y_scaling</name>[<enum>STD_VIDEO_AV1_MAX_NUM_Y_POINTS</enum>]</member>
|
||||
<member><type>uint8_t</type> <name>num_cb_points</name></member>
|
||||
<member><type>uint8_t</type> <name>point_cb_value</name>[<enum>STD_VIDEO_AV1_MAX_NUM_CB_POINTS</enum>]</member>
|
||||
<member><type>uint8_t</type> <name>point_cb_scaling</name>[<enum>STD_VIDEO_AV1_MAX_NUM_CB_POINTS</enum>]</member>
|
||||
<member><type>uint8_t</type> <name>num_cr_points</name></member>
|
||||
<member><type>uint8_t</type> <name>point_cr_value</name>[<enum>STD_VIDEO_AV1_MAX_NUM_CR_POINTS</enum>]</member>
|
||||
<member><type>uint8_t</type> <name>point_cr_scaling</name>[<enum>STD_VIDEO_AV1_MAX_NUM_CR_POINTS</enum>]</member>
|
||||
<member><type>int8_t</type> <name>ar_coeffs_y_plus_128</name>[<enum>STD_VIDEO_AV1_MAX_NUM_POS_LUMA</enum>]</member>
|
||||
<member><type>int8_t</type> <name>ar_coeffs_cb_plus_128</name>[<enum>STD_VIDEO_AV1_MAX_NUM_POS_CHROMA</enum>]</member>
|
||||
<member><type>int8_t</type> <name>ar_coeffs_cr_plus_128</name>[<enum>STD_VIDEO_AV1_MAX_NUM_POS_CHROMA</enum>]</member>
|
||||
<member><type>uint8_t</type> <name>cb_mult</name></member>
|
||||
<member><type>uint8_t</type> <name>cb_luma_mult</name></member>
|
||||
<member><type>uint16_t</type> <name>cb_offset</name></member>
|
||||
<member><type>uint8_t</type> <name>cr_mult</name></member>
|
||||
<member><type>uint8_t</type> <name>cr_luma_mult</name></member>
|
||||
<member><type>uint16_t</type> <name>cr_offset</name></member>
|
||||
</type>
|
||||
<type category="struct" name="StdVideoDecodeAV1PictureInfoFlags">
|
||||
<comment>Syntax defined in section 5.9, semantics defined in section 6.8</comment>
|
||||
<member><type>uint32_t</type> <name>error_resilient_mode</name> : 1</member>
|
||||
<member><type>uint32_t</type> <name>disable_cdf_update</name> : 1</member>
|
||||
<member><type>uint32_t</type> <name>use_superres</name> : 1</member>
|
||||
<member><type>uint32_t</type> <name>render_and_frame_size_different</name> : 1</member>
|
||||
<member><type>uint32_t</type> <name>allow_screen_content_tools</name> : 1</member>
|
||||
<member><type>uint32_t</type> <name>is_filter_switchable</name> : 1</member>
|
||||
<member><type>uint32_t</type> <name>force_integer_mv</name> : 1</member>
|
||||
<member><type>uint32_t</type> <name>frame_size_override_flag</name> : 1</member>
|
||||
<member><type>uint32_t</type> <name>buffer_removal_time_present_flag</name> : 1</member>
|
||||
<member><type>uint32_t</type> <name>allow_intrabc</name> : 1</member>
|
||||
<member><type>uint32_t</type> <name>frame_refs_short_signaling</name> : 1</member>
|
||||
<member><type>uint32_t</type> <name>allow_high_precision_mv</name> : 1</member>
|
||||
<member><type>uint32_t</type> <name>is_motion_mode_switchable</name> : 1</member>
|
||||
<member><type>uint32_t</type> <name>use_ref_frame_mvs</name> : 1</member>
|
||||
<member><type>uint32_t</type> <name>disable_frame_end_update_cdf</name> : 1</member>
|
||||
<member><type>uint32_t</type> <name>allow_warped_motion</name> : 1</member>
|
||||
<member><type>uint32_t</type> <name>reduced_tx_set</name> : 1</member>
|
||||
<member><type>uint32_t</type> <name>reference_select</name> : 1</member>
|
||||
<member><type>uint32_t</type> <name>skip_mode_present</name> : 1</member>
|
||||
<member><type>uint32_t</type> <name>delta_q_present</name> : 1</member>
|
||||
<member><type>uint32_t</type> <name>delta_lf_present</name> : 1</member>
|
||||
<member><type>uint32_t</type> <name>delta_lf_multi</name> : 1</member>
|
||||
<member><type>uint32_t</type> <name>segmentation_enabled</name> : 1</member>
|
||||
<member><type>uint32_t</type> <name>segmentation_update_map</name> : 1</member>
|
||||
<member><type>uint32_t</type> <name>segmentation_temporal_update</name> : 1</member>
|
||||
<member><type>uint32_t</type> <name>segmentation_update_data</name> : 1</member>
|
||||
<member><type>uint32_t</type> <name>UsesLr</name> : 1</member>
|
||||
<member><type>uint32_t</type> <name>usesChromaLr</name> : 1</member>
|
||||
<member><type>uint32_t</type> <name>apply_grain</name> : 1</member>
|
||||
<member><type>uint32_t</type> <name>reserved</name> : 3</member>
|
||||
</type>
|
||||
<type category="struct" name="StdVideoDecodeAV1PictureInfo">
|
||||
<comment>Syntax defined in sections 5.9 and 5.11.1, semantics defined in sections 6.8 and 6.10.1</comment>
|
||||
<member><type>StdVideoDecodeAV1PictureInfoFlags</type> <name>flags</name></member>
|
||||
<member><type>StdVideoAV1FrameType</type> <name>frame_type</name></member>
|
||||
<member><type>uint32_t</type> <name>current_frame_id</name></member>
|
||||
<member><type>uint8_t</type> <name>OrderHint</name></member>
|
||||
<member><type>uint8_t</type> <name>primary_ref_frame</name></member>
|
||||
<member><type>uint8_t</type> <name>refresh_frame_flags</name></member>
|
||||
<member><type>uint8_t</type> <name>reserved1</name><comment>Reserved for future use and must be initialized with 0.</comment></member>
|
||||
<member><type>StdVideoAV1InterpolationFilter</type> <name>interpolation_filter</name></member>
|
||||
<member><type>StdVideoAV1TxMode</type> <name>TxMode</name></member>
|
||||
<member><type>uint8_t</type> <name>delta_q_res</name></member>
|
||||
<member><type>uint8_t</type> <name>delta_lf_res</name></member>
|
||||
<member><type>uint8_t</type> <name>SkipModeFrame</name>[<enum>STD_VIDEO_AV1_SKIP_MODE_FRAMES</enum>]</member>
|
||||
<member><type>uint8_t</type> <name>coded_denom</name></member>
|
||||
<member><type>uint8_t</type> <name>reserved2</name>[3]<comment>Reserved for future use and must be initialized with 0.</comment></member>
|
||||
<member><type>uint8_t</type> <name>OrderHints</name>[<enum>STD_VIDEO_AV1_NUM_REF_FRAMES</enum>]</member>
|
||||
<member><type>uint32_t</type> <name>expectedFrameId</name>[<enum>STD_VIDEO_AV1_NUM_REF_FRAMES</enum>]</member>
|
||||
<member>const <type>StdVideoAV1TileInfo</type>* <name>pTileInfo</name></member>
|
||||
<member>const <type>StdVideoAV1Quantization</type>* <name>pQuantization</name></member>
|
||||
<member>const <type>StdVideoAV1Segmentation</type>* <name>pSegmentation</name></member>
|
||||
<member>const <type>StdVideoAV1LoopFilter</type>* <name>pLoopFilter</name></member>
|
||||
<member>const <type>StdVideoAV1CDEF</type>* <name>pCDEF</name></member>
|
||||
<member>const <type>StdVideoAV1LoopRestoration</type>* <name>pLoopRestoration</name></member>
|
||||
<member>const <type>StdVideoAV1GlobalMotion</type>* <name>pGlobalMotion</name></member>
|
||||
<member>const <type>StdVideoAV1FilmGrain</type>* <name>pFilmGrain</name></member>
|
||||
</type>
|
||||
<type category="struct" name="StdVideoDecodeAV1ReferenceInfoFlags">
|
||||
<member><type>uint32_t</type> <name>disable_frame_end_update_cdf</name> : 1</member>
|
||||
<member><type>uint32_t</type> <name>segmentation_enabled</name> : 1</member>
|
||||
<member><type>uint32_t</type> <name>reserved</name> : 30</member>
|
||||
</type>
|
||||
<type category="struct" name="StdVideoDecodeAV1ReferenceInfo">
|
||||
<member><type>StdVideoDecodeAV1ReferenceInfoFlags</type> <name>flags</name></member>
|
||||
<member><type>uint8_t</type> <name>frame_type</name></member>
|
||||
<member><type>uint8_t</type> <name>RefFrameSignBias</name></member>
|
||||
<member><type>uint8_t</type> <name>OrderHint</name></member>
|
||||
<member><type>uint8_t</type> <name>SavedOrderHints</name>[<enum>STD_VIDEO_AV1_NUM_REF_FRAMES</enum>]</member>
|
||||
</type>
|
||||
</types>
|
||||
|
||||
<!-- vulkan_video_codec_h264std.h enums -->
|
||||
|
@ -1039,6 +1316,142 @@ The current public version of video.xml is maintained in the default branch
|
|||
<enum name="STD_VIDEO_H265_ASPECT_RATIO_IDC_INVALID" value="0x7FFFFFFF"/>
|
||||
</enums>
|
||||
|
||||
<!-- vulkan_video_codec_av1std.h enums -->
|
||||
<enums name="StdVideoAV1Profile" type="enum">
|
||||
<enum name="STD_VIDEO_AV1_PROFILE_MAIN" value="0"/>
|
||||
<enum name="STD_VIDEO_AV1_PROFILE_HIGH" value="1"/>
|
||||
<enum name="STD_VIDEO_AV1_PROFILE_PROFESSIONAL" value="2"/>
|
||||
<enum name="STD_VIDEO_AV1_PROFILE_INVALID" value="0x7FFFFFFF"/>
|
||||
</enums>
|
||||
<enums name="StdVideoAV1Level" type="enum">
|
||||
<enum name="STD_VIDEO_AV1_LEVEL_2_0" value="0"/>
|
||||
<enum name="STD_VIDEO_AV1_LEVEL_2_1" value="1"/>
|
||||
<enum name="STD_VIDEO_AV1_LEVEL_2_2" value="2"/>
|
||||
<enum name="STD_VIDEO_AV1_LEVEL_2_3" value="3"/>
|
||||
<enum name="STD_VIDEO_AV1_LEVEL_3_0" value="4"/>
|
||||
<enum name="STD_VIDEO_AV1_LEVEL_3_1" value="5"/>
|
||||
<enum name="STD_VIDEO_AV1_LEVEL_3_2" value="6"/>
|
||||
<enum name="STD_VIDEO_AV1_LEVEL_3_3" value="7"/>
|
||||
<enum name="STD_VIDEO_AV1_LEVEL_4_0" value="8"/>
|
||||
<enum name="STD_VIDEO_AV1_LEVEL_4_1" value="9"/>
|
||||
<enum name="STD_VIDEO_AV1_LEVEL_4_2" value="10"/>
|
||||
<enum name="STD_VIDEO_AV1_LEVEL_4_3" value="11"/>
|
||||
<enum name="STD_VIDEO_AV1_LEVEL_5_0" value="12"/>
|
||||
<enum name="STD_VIDEO_AV1_LEVEL_5_1" value="13"/>
|
||||
<enum name="STD_VIDEO_AV1_LEVEL_5_2" value="14"/>
|
||||
<enum name="STD_VIDEO_AV1_LEVEL_5_3" value="15"/>
|
||||
<enum name="STD_VIDEO_AV1_LEVEL_6_0" value="16"/>
|
||||
<enum name="STD_VIDEO_AV1_LEVEL_6_1" value="17"/>
|
||||
<enum name="STD_VIDEO_AV1_LEVEL_6_2" value="18"/>
|
||||
<enum name="STD_VIDEO_AV1_LEVEL_6_3" value="19"/>
|
||||
<enum name="STD_VIDEO_AV1_LEVEL_7_0" value="20"/>
|
||||
<enum name="STD_VIDEO_AV1_LEVEL_7_1" value="21"/>
|
||||
<enum name="STD_VIDEO_AV1_LEVEL_7_2" value="22"/>
|
||||
<enum name="STD_VIDEO_AV1_LEVEL_7_3" value="23"/>
|
||||
<enum name="STD_VIDEO_AV1_LEVEL_INVALID" value="0x7FFFFFFF"/>
|
||||
</enums>
|
||||
<enums name="StdVideoAV1FrameType" type="enum">
|
||||
<enum name="STD_VIDEO_AV1_FRAME_TYPE_KEY" value="0"/>
|
||||
<enum name="STD_VIDEO_AV1_FRAME_TYPE_INTER" value="1"/>
|
||||
<enum name="STD_VIDEO_AV1_FRAME_TYPE_INTRA_ONLY" value="2"/>
|
||||
<enum name="STD_VIDEO_AV1_FRAME_TYPE_SWITCH" value="3"/>
|
||||
<enum name="STD_VIDEO_AV1_FRAME_TYPE_INVALID" value="0x7FFFFFFF"/>
|
||||
</enums>
|
||||
<enums name="StdVideoAV1ReferenceName" type="enum">
|
||||
<enum name="STD_VIDEO_AV1_REFERENCE_NAME_INTRA_FRAME" value="0"/>
|
||||
<enum name="STD_VIDEO_AV1_REFERENCE_NAME_LAST_FRAME" value="1"/>
|
||||
<enum name="STD_VIDEO_AV1_REFERENCE_NAME_LAST2_FRAME" value="2"/>
|
||||
<enum name="STD_VIDEO_AV1_REFERENCE_NAME_LAST3_FRAME" value="3"/>
|
||||
<enum name="STD_VIDEO_AV1_REFERENCE_NAME_GOLDEN_FRAME" value="4"/>
|
||||
<enum name="STD_VIDEO_AV1_REFERENCE_NAME_BWDREF_FRAME" value="5"/>
|
||||
<enum name="STD_VIDEO_AV1_REFERENCE_NAME_ALTREF2_FRAME" value="6"/>
|
||||
<enum name="STD_VIDEO_AV1_REFERENCE_NAME_ALTREF_FRAME" value="7"/>
|
||||
<enum name="STD_VIDEO_AV1_REFERENCE_NAME_INVALID" value="0x7FFFFFFF"/>
|
||||
</enums>
|
||||
<enums name="StdVideoAV1InterpolationFilter" type="enum">
|
||||
<enum name="STD_VIDEO_AV1_INTERPOLATION_FILTER_EIGHTTAP" value="0"/>
|
||||
<enum name="STD_VIDEO_AV1_INTERPOLATION_FILTER_EIGHTTAP_SMOOTH" value="1"/>
|
||||
<enum name="STD_VIDEO_AV1_INTERPOLATION_FILTER_EIGHTTAP_SHARP" value="2"/>
|
||||
<enum name="STD_VIDEO_AV1_INTERPOLATION_FILTER_BILINEAR" value="3"/>
|
||||
<enum name="STD_VIDEO_AV1_INTERPOLATION_FILTER_SWITCHABLE" value="4"/>
|
||||
<enum name="STD_VIDEO_AV1_INTERPOLATION_FILTER_INVALID" value="0x7FFFFFFF"/>
|
||||
</enums>
|
||||
<enums name="StdVideoAV1TxMode" type="enum">
|
||||
<enum name="STD_VIDEO_AV1_TX_MODE_ONLY_4X4" value="0"/>
|
||||
<enum name="STD_VIDEO_AV1_TX_MODE_LARGEST" value="1"/>
|
||||
<enum name="STD_VIDEO_AV1_TX_MODE_SELECT" value="2"/>
|
||||
<enum name="STD_VIDEO_AV1_TX_MODE_INVALID" value="0x7FFFFFFF"/>
|
||||
</enums>
|
||||
<enums name="StdVideoAV1FrameRestorationType" type="enum">
|
||||
<enum name="STD_VIDEO_AV1_FRAME_RESTORATION_TYPE_NONE" value="0"/>
|
||||
<enum name="STD_VIDEO_AV1_FRAME_RESTORATION_TYPE_WIENER" value="1"/>
|
||||
<enum name="STD_VIDEO_AV1_FRAME_RESTORATION_TYPE_SGRPROJ" value="2"/>
|
||||
<enum name="STD_VIDEO_AV1_FRAME_RESTORATION_TYPE_SWITCHABLE" value="3"/>
|
||||
<enum name="STD_VIDEO_AV1_FRAME_RESTORATION_TYPE_INVALID" value="0x7FFFFFFF"/>
|
||||
</enums>
|
||||
<enums name="StdVideoAV1ColorPrimaries" type="enum">
|
||||
<enum name="STD_VIDEO_AV1_COLOR_PRIMARIES_BT_709" value="1"/>
|
||||
<enum name="STD_VIDEO_AV1_COLOR_PRIMARIES_BT_UNSPECIFIED" value="2"/>
|
||||
<enum name="STD_VIDEO_AV1_COLOR_PRIMARIES_BT_470_M" value="4"/>
|
||||
<enum name="STD_VIDEO_AV1_COLOR_PRIMARIES_BT_470_B_G" value="5"/>
|
||||
<enum name="STD_VIDEO_AV1_COLOR_PRIMARIES_BT_601" value="6"/>
|
||||
<enum name="STD_VIDEO_AV1_COLOR_PRIMARIES_SMPTE_240" value="7"/>
|
||||
<enum name="STD_VIDEO_AV1_COLOR_PRIMARIES_GENERIC_FILM" value="8"/>
|
||||
<enum name="STD_VIDEO_AV1_COLOR_PRIMARIES_BT_2020" value="9"/>
|
||||
<enum name="STD_VIDEO_AV1_COLOR_PRIMARIES_XYZ" value="10"/>
|
||||
<enum name="STD_VIDEO_AV1_COLOR_PRIMARIES_SMPTE_431" value="11"/>
|
||||
<enum name="STD_VIDEO_AV1_COLOR_PRIMARIES_SMPTE_432" value="12"/>
|
||||
<enum name="STD_VIDEO_AV1_COLOR_PRIMARIES_EBU_3213" value="22"/>
|
||||
<enum name="STD_VIDEO_AV1_COLOR_PRIMARIES_INVALID" value="0x7FFFFFFF"/>
|
||||
</enums>
|
||||
<enums name="StdVideoAV1TransferCharacteristics" type="enum">
|
||||
<enum name="STD_VIDEO_AV1_TRANSFER_CHARACTERISTICS_RESERVED_0" value="0"/>
|
||||
<enum name="STD_VIDEO_AV1_TRANSFER_CHARACTERISTICS_BT_709" value="1"/>
|
||||
<enum name="STD_VIDEO_AV1_TRANSFER_CHARACTERISTICS_UNSPECIFIED" value="2"/>
|
||||
<enum name="STD_VIDEO_AV1_TRANSFER_CHARACTERISTICS_RESERVED_3" value="3"/>
|
||||
<enum name="STD_VIDEO_AV1_TRANSFER_CHARACTERISTICS_BT_470_M" value="4"/>
|
||||
<enum name="STD_VIDEO_AV1_TRANSFER_CHARACTERISTICS_BT_470_B_G" value="5"/>
|
||||
<enum name="STD_VIDEO_AV1_TRANSFER_CHARACTERISTICS_BT_601" value="6"/>
|
||||
<enum name="STD_VIDEO_AV1_TRANSFER_CHARACTERISTICS_SMPTE_240" value="7"/>
|
||||
<enum name="STD_VIDEO_AV1_TRANSFER_CHARACTERISTICS_LINEAR" value="8"/>
|
||||
<enum name="STD_VIDEO_AV1_TRANSFER_CHARACTERISTICS_LOG_100" value="9"/>
|
||||
<enum name="STD_VIDEO_AV1_TRANSFER_CHARACTERISTICS_LOG_100_SQRT10" value="10"/>
|
||||
<enum name="STD_VIDEO_AV1_TRANSFER_CHARACTERISTICS_IEC_61966" value="11"/>
|
||||
<enum name="STD_VIDEO_AV1_TRANSFER_CHARACTERISTICS_BT_1361" value="12"/>
|
||||
<enum name="STD_VIDEO_AV1_TRANSFER_CHARACTERISTICS_SRGB" value="13"/>
|
||||
<enum name="STD_VIDEO_AV1_TRANSFER_CHARACTERISTICS_BT_2020_10_BIT" value="14"/>
|
||||
<enum name="STD_VIDEO_AV1_TRANSFER_CHARACTERISTICS_BT_2020_12_BIT" value="15"/>
|
||||
<enum name="STD_VIDEO_AV1_TRANSFER_CHARACTERISTICS_SMPTE_2084" value="16"/>
|
||||
<enum name="STD_VIDEO_AV1_TRANSFER_CHARACTERISTICS_SMPTE_428" value="17"/>
|
||||
<enum name="STD_VIDEO_AV1_TRANSFER_CHARACTERISTICS_HLG" value="18"/>
|
||||
<enum name="STD_VIDEO_AV1_TRANSFER_CHARACTERISTICS_INVALID" value="0x7FFFFFFF"/>
|
||||
</enums>
|
||||
<enums name="StdVideoAV1MatrixCoefficients" type="enum">
|
||||
<enum name="STD_VIDEO_AV1_MATRIX_COEFFICIENTS_IDENTITY" value="0"/>
|
||||
<enum name="STD_VIDEO_AV1_MATRIX_COEFFICIENTS_BT_709" value="1"/>
|
||||
<enum name="STD_VIDEO_AV1_MATRIX_COEFFICIENTS_UNSPECIFIED" value="2"/>
|
||||
<enum name="STD_VIDEO_AV1_MATRIX_COEFFICIENTS_RESERVED_3" value="3"/>
|
||||
<enum name="STD_VIDEO_AV1_MATRIX_COEFFICIENTS_FCC" value="4"/>
|
||||
<enum name="STD_VIDEO_AV1_MATRIX_COEFFICIENTS_BT_470_B_G" value="5"/>
|
||||
<enum name="STD_VIDEO_AV1_MATRIX_COEFFICIENTS_BT_601" value="6"/>
|
||||
<enum name="STD_VIDEO_AV1_MATRIX_COEFFICIENTS_SMPTE_240" value="7"/>
|
||||
<enum name="STD_VIDEO_AV1_MATRIX_COEFFICIENTS_SMPTE_YCGCO" value="8"/>
|
||||
<enum name="STD_VIDEO_AV1_MATRIX_COEFFICIENTS_BT_2020_NCL" value="9"/>
|
||||
<enum name="STD_VIDEO_AV1_MATRIX_COEFFICIENTS_BT_2020_CL" value="10"/>
|
||||
<enum name="STD_VIDEO_AV1_MATRIX_COEFFICIENTS_SMPTE_2085" value="11"/>
|
||||
<enum name="STD_VIDEO_AV1_MATRIX_COEFFICIENTS_CHROMAT_NCL" value="12"/>
|
||||
<enum name="STD_VIDEO_AV1_MATRIX_COEFFICIENTS_CHROMAT_CL" value="13"/>
|
||||
<enum name="STD_VIDEO_AV1_MATRIX_COEFFICIENTS_ICTCP" value="14"/>
|
||||
<enum name="STD_VIDEO_AV1_MATRIX_COEFFICIENTS_INVALID" value="0x7FFFFFFF"/>
|
||||
</enums>
|
||||
<enums name="StdVideoAV1ChromaSamplePosition" type="enum">
|
||||
<enum name="STD_VIDEO_AV1_CHROMA_SAMPLE_POSITION_UNKNOWN" value="0"/>
|
||||
<enum name="STD_VIDEO_AV1_CHROMA_SAMPLE_POSITION_VERTICAL" value="1"/>
|
||||
<enum name="STD_VIDEO_AV1_CHROMA_SAMPLE_POSITION_COLOCATED" value="2"/>
|
||||
<enum name="STD_VIDEO_AV1_CHROMA_SAMPLE_POSITION_RESERVED" value="3"/>
|
||||
<enum name="STD_VIDEO_AV1_CHROMA_SAMPLE_POSITION_INVALID" value="0x7FFFFFFF"/>
|
||||
</enums>
|
||||
|
||||
<extensions>
|
||||
<extension name="vulkan_video_codecs_common" comment="protect with VULKAN_VIDEO_CODEC_COMMON_H_" supported="vulkan">
|
||||
<require>
|
||||
|
@ -1214,5 +1627,77 @@ The current public version of video.xml is maintained in the default branch
|
|||
<type name="StdVideoEncodeH265ReferenceInfo"/>
|
||||
</require>
|
||||
</extension>
|
||||
<extension name="vulkan_video_codec_av1std" comment="protect with VULKAN_VIDEO_CODEC_AV1STD_H_" supported="vulkan">
|
||||
<require>
|
||||
<type name="vk_video/vulkan_video_codecs_common.h"/>
|
||||
|
||||
<enum name="STD_VIDEO_AV1_NUM_REF_FRAMES" value="8"/>
|
||||
<enum name="STD_VIDEO_AV1_REFS_PER_FRAME" value="7"/>
|
||||
<enum name="STD_VIDEO_AV1_TOTAL_REFS_PER_FRAME" value="8"/>
|
||||
<enum name="STD_VIDEO_AV1_MAX_TILE_COLS" value="64"/>
|
||||
<enum name="STD_VIDEO_AV1_MAX_TILE_ROWS" value="64"/>
|
||||
<enum name="STD_VIDEO_AV1_MAX_SEGMENTS" value="8"/>
|
||||
<enum name="STD_VIDEO_AV1_SEG_LVL_MAX" value="8"/>
|
||||
<enum name="STD_VIDEO_AV1_PRIMARY_REF_NONE" value="7"/>
|
||||
<enum name="STD_VIDEO_AV1_SELECT_INTEGER_MV" value="2"/>
|
||||
<enum name="STD_VIDEO_AV1_SELECT_SCREEN_CONTENT_TOOLS" value="2"/>
|
||||
<enum name="STD_VIDEO_AV1_SKIP_MODE_FRAMES" value="2"/>
|
||||
<enum name="STD_VIDEO_AV1_MAX_LOOP_FILTER_STRENGTHS" value="4"/>
|
||||
<enum name="STD_VIDEO_AV1_LOOP_FILTER_ADJUSTMENTS" value="2"/>
|
||||
<enum name="STD_VIDEO_AV1_MAX_CDEF_FILTER_STRENGTHS" value="8"/>
|
||||
<enum name="STD_VIDEO_AV1_MAX_NUM_PLANES" value="3"/>
|
||||
<enum name="STD_VIDEO_AV1_GLOBAL_MOTION_PARAMS" value="6"/>
|
||||
<enum name="STD_VIDEO_AV1_MAX_NUM_Y_POINTS" value="14"/>
|
||||
<enum name="STD_VIDEO_AV1_MAX_NUM_CB_POINTS" value="10"/>
|
||||
<enum name="STD_VIDEO_AV1_MAX_NUM_CR_POINTS" value="10"/>
|
||||
<enum name="STD_VIDEO_AV1_MAX_NUM_POS_LUMA" value="24"/>
|
||||
<enum name="STD_VIDEO_AV1_MAX_NUM_POS_CHROMA" value="25"/>
|
||||
|
||||
<type name="StdVideoAV1Profile"/>
|
||||
<type name="StdVideoAV1Level"/>
|
||||
<type name="StdVideoAV1FrameType"/>
|
||||
<type name="StdVideoAV1ReferenceName"/>
|
||||
<type name="StdVideoAV1InterpolationFilter"/>
|
||||
<type name="StdVideoAV1TxMode"/>
|
||||
<type name="StdVideoAV1FrameRestorationType"/>
|
||||
<type name="StdVideoAV1ColorPrimaries"/>
|
||||
<type name="StdVideoAV1TransferCharacteristics"/>
|
||||
<type name="StdVideoAV1MatrixCoefficients"/>
|
||||
<type name="StdVideoAV1ChromaSamplePosition"/>
|
||||
|
||||
<type name="StdVideoAV1ColorConfigFlags"/>
|
||||
<type name="StdVideoAV1ColorConfig"/>
|
||||
<type name="StdVideoAV1TimingInfoFlags"/>
|
||||
<type name="StdVideoAV1TimingInfo"/>
|
||||
<type name="StdVideoAV1LoopFilterFlags"/>
|
||||
<type name="StdVideoAV1LoopFilter"/>
|
||||
<type name="StdVideoAV1QuantizationFlags"/>
|
||||
<type name="StdVideoAV1Quantization"/>
|
||||
<type name="StdVideoAV1Segmentation"/>
|
||||
<type name="StdVideoAV1TileInfoFlags"/>
|
||||
<type name="StdVideoAV1TileInfo"/>
|
||||
<type name="StdVideoAV1CDEF"/>
|
||||
<type name="StdVideoAV1LoopRestoration"/>
|
||||
<type name="StdVideoAV1GlobalMotion"/>
|
||||
<type name="StdVideoAV1FilmGrainFlags"/>
|
||||
<type name="StdVideoAV1FilmGrain"/>
|
||||
<type name="StdVideoAV1SequenceHeaderFlags"/>
|
||||
<type name="StdVideoAV1SequenceHeader"/>
|
||||
</require>
|
||||
</extension>
|
||||
<extension name="vulkan_video_codec_av1std_decode" comment="protect with VULKAN_VIDEO_CODEC_AV1STD_DECODE_H_" supported="vulkan">
|
||||
<require>
|
||||
<type name="vk_video/vulkan_video_codec_av1std.h"/>
|
||||
|
||||
<type name="VK_STD_VULKAN_VIDEO_CODEC_AV1_DECODE_API_VERSION_1_0_0"/>
|
||||
<enum name="VK_STD_VULKAN_VIDEO_CODEC_AV1_DECODE_SPEC_VERSION" value="VK_STD_VULKAN_VIDEO_CODEC_AV1_DECODE_API_VERSION_1_0_0"/>
|
||||
<enum name="VK_STD_VULKAN_VIDEO_CODEC_AV1_DECODE_EXTENSION_NAME" value=""VK_STD_vulkan_video_codec_av1_decode""/>
|
||||
|
||||
<type name="StdVideoDecodeAV1PictureInfoFlags"/>
|
||||
<type name="StdVideoDecodeAV1PictureInfo"/>
|
||||
<type name="StdVideoDecodeAV1ReferenceInfoFlags"/>
|
||||
<type name="StdVideoDecodeAV1ReferenceInfo"/>
|
||||
</require>
|
||||
</extension>
|
||||
</extensions>
|
||||
</registry>
|
||||
|
|
2769
deps/vulkan-headers/share/vulkan/registry/vk.xml
vendored
2769
deps/vulkan-headers/share/vulkan/registry/vk.xml
vendored
File diff suppressed because it is too large
Load diff
|
@ -1,4 +1,4 @@
|
|||
#!/usr/bin/python3 -i
|
||||
#!/usr/bin/env python3 -i
|
||||
#
|
||||
# Copyright 2013-2024 The Khronos Group Inc.
|
||||
#
|
||||
|
@ -58,9 +58,9 @@ class VulkanConventions(ConventionsBase):
|
|||
if version == '1.0':
|
||||
return 'Vulkan SC 1.0'
|
||||
else:
|
||||
return f'<<versions-sc-{version}, Version SC {version}>>'
|
||||
return f'<<versions-sc-{version}, Vulkan SC Version {version}>>'
|
||||
else:
|
||||
return f'<<versions-{version}, Version {version}>>'
|
||||
return f'<<versions-{version}, Vulkan Version {version}>>'
|
||||
|
||||
def formatExtension(self, name):
|
||||
"""Mark up an extension name as a link in the spec."""
|
||||
|
@ -119,6 +119,7 @@ class VulkanConventions(ConventionsBase):
|
|||
# The simple-minded rules need modification for some structure names
|
||||
subpats = [
|
||||
[ r'_H_(26[45])_', r'_H\1_' ],
|
||||
[ r'_AV_1_', r'_AV1_' ],
|
||||
[ r'_VULKAN_([0-9])([0-9])_', r'_VULKAN_\1_\2_' ],
|
||||
[ r'_VULKAN_SC_([0-9])([0-9])_',r'_VULKAN_SC_\1_\2_' ],
|
||||
[ r'_DIRECT_FB_', r'_DIRECTFB_' ],
|
||||
|
|
BIN
deps/vulkan-loader/lib/libvulkan.a
vendored
BIN
deps/vulkan-loader/lib/libvulkan.a
vendored
Binary file not shown.
2
deps/vulkan-loader/lib/pkgconfig/vulkan.pc
vendored
2
deps/vulkan-loader/lib/pkgconfig/vulkan.pc
vendored
|
@ -5,7 +5,7 @@ includedir=${prefix}/include
|
|||
|
||||
Name: Vulkan-Loader
|
||||
Description: Vulkan Loader
|
||||
Version: 1.3.275
|
||||
Version: 1.3.296
|
||||
Requires:
|
||||
Requires.private:
|
||||
Libs: -L${libdir} -lvulkan
|
||||
|
|
114
deps/webp/include/webp/decode.h
vendored
114
deps/webp/include/webp/decode.h
vendored
|
@ -48,34 +48,33 @@ WEBP_EXTERN int WebPGetDecoderVersion(void);
|
|||
// RIFF + VP8X + (optional chunks) + VP8(L)
|
||||
// ALPH + VP8 <-- Not a valid WebP format: only allowed for internal purpose.
|
||||
// VP8(L) <-- Not a valid WebP format: only allowed for internal purpose.
|
||||
WEBP_EXTERN int WebPGetInfo(const uint8_t* data, size_t data_size,
|
||||
int* width, int* height);
|
||||
WEBP_NODISCARD WEBP_EXTERN int WebPGetInfo(
|
||||
const uint8_t* data, size_t data_size, int* width, int* height);
|
||||
|
||||
// Decodes WebP images pointed to by 'data' and returns RGBA samples, along
|
||||
// with the dimensions in *width and *height. The ordering of samples in
|
||||
// memory is R, G, B, A, R, G, B, A... in scan order (endian-independent).
|
||||
// The returned pointer should be deleted calling WebPFree().
|
||||
// Returns NULL in case of error.
|
||||
WEBP_EXTERN uint8_t* WebPDecodeRGBA(const uint8_t* data, size_t data_size,
|
||||
int* width, int* height);
|
||||
WEBP_NODISCARD WEBP_EXTERN uint8_t* WebPDecodeRGBA(
|
||||
const uint8_t* data, size_t data_size, int* width, int* height);
|
||||
|
||||
// Same as WebPDecodeRGBA, but returning A, R, G, B, A, R, G, B... ordered data.
|
||||
WEBP_EXTERN uint8_t* WebPDecodeARGB(const uint8_t* data, size_t data_size,
|
||||
int* width, int* height);
|
||||
WEBP_NODISCARD WEBP_EXTERN uint8_t* WebPDecodeARGB(
|
||||
const uint8_t* data, size_t data_size, int* width, int* height);
|
||||
|
||||
// Same as WebPDecodeRGBA, but returning B, G, R, A, B, G, R, A... ordered data.
|
||||
WEBP_EXTERN uint8_t* WebPDecodeBGRA(const uint8_t* data, size_t data_size,
|
||||
int* width, int* height);
|
||||
WEBP_NODISCARD WEBP_EXTERN uint8_t* WebPDecodeBGRA(
|
||||
const uint8_t* data, size_t data_size, int* width, int* height);
|
||||
|
||||
// Same as WebPDecodeRGBA, but returning R, G, B, R, G, B... ordered data.
|
||||
// If the bitstream contains transparency, it is ignored.
|
||||
WEBP_EXTERN uint8_t* WebPDecodeRGB(const uint8_t* data, size_t data_size,
|
||||
int* width, int* height);
|
||||
WEBP_NODISCARD WEBP_EXTERN uint8_t* WebPDecodeRGB(
|
||||
const uint8_t* data, size_t data_size, int* width, int* height);
|
||||
|
||||
// Same as WebPDecodeRGB, but returning B, G, R, B, G, R... ordered data.
|
||||
WEBP_EXTERN uint8_t* WebPDecodeBGR(const uint8_t* data, size_t data_size,
|
||||
int* width, int* height);
|
||||
|
||||
WEBP_NODISCARD WEBP_EXTERN uint8_t* WebPDecodeBGR(
|
||||
const uint8_t* data, size_t data_size, int* width, int* height);
|
||||
|
||||
// Decode WebP images pointed to by 'data' to Y'UV format(*). The pointer
|
||||
// returned is the Y samples buffer. Upon return, *u and *v will point to
|
||||
|
@ -87,10 +86,9 @@ WEBP_EXTERN uint8_t* WebPDecodeBGR(const uint8_t* data, size_t data_size,
|
|||
// 'width' and 'height' may be NULL, the other pointers must not be.
|
||||
// Returns NULL in case of error.
|
||||
// (*) Also named Y'CbCr. See: https://en.wikipedia.org/wiki/YCbCr
|
||||
WEBP_EXTERN uint8_t* WebPDecodeYUV(const uint8_t* data, size_t data_size,
|
||||
int* width, int* height,
|
||||
uint8_t** u, uint8_t** v,
|
||||
int* stride, int* uv_stride);
|
||||
WEBP_NODISCARD WEBP_EXTERN uint8_t* WebPDecodeYUV(
|
||||
const uint8_t* data, size_t data_size, int* width, int* height,
|
||||
uint8_t** u, uint8_t** v, int* stride, int* uv_stride);
|
||||
|
||||
// These five functions are variants of the above ones, that decode the image
|
||||
// directly into a pre-allocated buffer 'output_buffer'. The maximum storage
|
||||
|
@ -100,22 +98,22 @@ WEBP_EXTERN uint8_t* WebPDecodeYUV(const uint8_t* data, size_t data_size,
|
|||
// The parameter 'output_stride' specifies the distance (in bytes)
|
||||
// between scanlines. Hence, output_buffer_size is expected to be at least
|
||||
// output_stride x picture-height.
|
||||
WEBP_EXTERN uint8_t* WebPDecodeRGBAInto(
|
||||
WEBP_NODISCARD WEBP_EXTERN uint8_t* WebPDecodeRGBAInto(
|
||||
const uint8_t* data, size_t data_size,
|
||||
uint8_t* output_buffer, size_t output_buffer_size, int output_stride);
|
||||
WEBP_EXTERN uint8_t* WebPDecodeARGBInto(
|
||||
WEBP_NODISCARD WEBP_EXTERN uint8_t* WebPDecodeARGBInto(
|
||||
const uint8_t* data, size_t data_size,
|
||||
uint8_t* output_buffer, size_t output_buffer_size, int output_stride);
|
||||
WEBP_EXTERN uint8_t* WebPDecodeBGRAInto(
|
||||
WEBP_NODISCARD WEBP_EXTERN uint8_t* WebPDecodeBGRAInto(
|
||||
const uint8_t* data, size_t data_size,
|
||||
uint8_t* output_buffer, size_t output_buffer_size, int output_stride);
|
||||
|
||||
// RGB and BGR variants. Here too the transparency information, if present,
|
||||
// will be dropped and ignored.
|
||||
WEBP_EXTERN uint8_t* WebPDecodeRGBInto(
|
||||
WEBP_NODISCARD WEBP_EXTERN uint8_t* WebPDecodeRGBInto(
|
||||
const uint8_t* data, size_t data_size,
|
||||
uint8_t* output_buffer, size_t output_buffer_size, int output_stride);
|
||||
WEBP_EXTERN uint8_t* WebPDecodeBGRInto(
|
||||
WEBP_NODISCARD WEBP_EXTERN uint8_t* WebPDecodeBGRInto(
|
||||
const uint8_t* data, size_t data_size,
|
||||
uint8_t* output_buffer, size_t output_buffer_size, int output_stride);
|
||||
|
||||
|
@ -126,7 +124,7 @@ WEBP_EXTERN uint8_t* WebPDecodeBGRInto(
|
|||
// 'u_size' and 'v_size' respectively.
|
||||
// Pointer to the luma plane ('*luma') is returned or NULL if an error occurred
|
||||
// during decoding (or because some buffers were found to be too small).
|
||||
WEBP_EXTERN uint8_t* WebPDecodeYUVInto(
|
||||
WEBP_NODISCARD WEBP_EXTERN uint8_t* WebPDecodeYUVInto(
|
||||
const uint8_t* data, size_t data_size,
|
||||
uint8_t* luma, size_t luma_size, int luma_stride,
|
||||
uint8_t* u, size_t u_size, int u_stride,
|
||||
|
@ -217,11 +215,11 @@ struct WebPDecBuffer {
|
|||
};
|
||||
|
||||
// Internal, version-checked, entry point
|
||||
WEBP_EXTERN int WebPInitDecBufferInternal(WebPDecBuffer*, int);
|
||||
WEBP_NODISCARD WEBP_EXTERN int WebPInitDecBufferInternal(WebPDecBuffer*, int);
|
||||
|
||||
// Initialize the structure as empty. Must be called before any other use.
|
||||
// Returns false in case of version mismatch
|
||||
static WEBP_INLINE int WebPInitDecBuffer(WebPDecBuffer* buffer) {
|
||||
WEBP_NODISCARD static WEBP_INLINE int WebPInitDecBuffer(WebPDecBuffer* buffer) {
|
||||
return WebPInitDecBufferInternal(buffer, WEBP_DECODER_ABI_VERSION);
|
||||
}
|
||||
|
||||
|
@ -232,7 +230,7 @@ WEBP_EXTERN void WebPFreeDecBuffer(WebPDecBuffer* buffer);
|
|||
//------------------------------------------------------------------------------
|
||||
// Enumeration of the status codes
|
||||
|
||||
typedef enum VP8StatusCode {
|
||||
typedef enum WEBP_NODISCARD VP8StatusCode {
|
||||
VP8_STATUS_OK = 0,
|
||||
VP8_STATUS_OUT_OF_MEMORY,
|
||||
VP8_STATUS_INVALID_PARAM,
|
||||
|
@ -251,23 +249,24 @@ typedef enum VP8StatusCode {
|
|||
// WebPIDecoder object. This object can be left in a SUSPENDED state if the
|
||||
// picture is only partially decoded, pending additional input.
|
||||
// Code example:
|
||||
//
|
||||
// WebPInitDecBuffer(&output_buffer);
|
||||
// output_buffer.colorspace = mode;
|
||||
// ...
|
||||
// WebPIDecoder* idec = WebPINewDecoder(&output_buffer);
|
||||
// while (additional_data_is_available) {
|
||||
// // ... (get additional data in some new_data[] buffer)
|
||||
// status = WebPIAppend(idec, new_data, new_data_size);
|
||||
// if (status != VP8_STATUS_OK && status != VP8_STATUS_SUSPENDED) {
|
||||
// break; // an error occurred.
|
||||
// }
|
||||
//
|
||||
// // The above call decodes the current available buffer.
|
||||
// // Part of the image can now be refreshed by calling
|
||||
// // WebPIDecGetRGB()/WebPIDecGetYUVA() etc.
|
||||
// }
|
||||
// WebPIDelete(idec);
|
||||
/*
|
||||
WebPInitDecBuffer(&output_buffer);
|
||||
output_buffer.colorspace = mode;
|
||||
...
|
||||
WebPIDecoder* idec = WebPINewDecoder(&output_buffer);
|
||||
while (additional_data_is_available) {
|
||||
// ... (get additional data in some new_data[] buffer)
|
||||
status = WebPIAppend(idec, new_data, new_data_size);
|
||||
if (status != VP8_STATUS_OK && status != VP8_STATUS_SUSPENDED) {
|
||||
break; // an error occurred.
|
||||
}
|
||||
|
||||
// The above call decodes the current available buffer.
|
||||
// Part of the image can now be refreshed by calling
|
||||
// WebPIDecGetRGB()/WebPIDecGetYUVA() etc.
|
||||
}
|
||||
WebPIDelete(idec);
|
||||
*/
|
||||
|
||||
// Creates a new incremental decoder with the supplied buffer parameter.
|
||||
// This output_buffer can be passed NULL, in which case a default output buffer
|
||||
|
@ -281,7 +280,8 @@ typedef enum VP8StatusCode {
|
|||
// within valid bounds.
|
||||
// All other fields of WebPDecBuffer MUST remain constant between calls.
|
||||
// Returns NULL if the allocation failed.
|
||||
WEBP_EXTERN WebPIDecoder* WebPINewDecoder(WebPDecBuffer* output_buffer);
|
||||
WEBP_NODISCARD WEBP_EXTERN WebPIDecoder* WebPINewDecoder(
|
||||
WebPDecBuffer* output_buffer);
|
||||
|
||||
// This function allocates and initializes an incremental-decoder object, which
|
||||
// will output the RGB/A samples specified by 'csp' into a preallocated
|
||||
|
@ -293,7 +293,7 @@ WEBP_EXTERN WebPIDecoder* WebPINewDecoder(WebPDecBuffer* output_buffer);
|
|||
// colorspace 'csp' is taken into account for allocating this buffer. All other
|
||||
// parameters are ignored.
|
||||
// Returns NULL if the allocation failed, or if some parameters are invalid.
|
||||
WEBP_EXTERN WebPIDecoder* WebPINewRGB(
|
||||
WEBP_NODISCARD WEBP_EXTERN WebPIDecoder* WebPINewRGB(
|
||||
WEBP_CSP_MODE csp,
|
||||
uint8_t* output_buffer, size_t output_buffer_size, int output_stride);
|
||||
|
||||
|
@ -308,7 +308,7 @@ WEBP_EXTERN WebPIDecoder* WebPINewRGB(
|
|||
// In this case, the output buffer will be automatically allocated (using
|
||||
// MODE_YUVA) when decoding starts. All parameters are then ignored.
|
||||
// Returns NULL if the allocation failed or if a parameter is invalid.
|
||||
WEBP_EXTERN WebPIDecoder* WebPINewYUVA(
|
||||
WEBP_NODISCARD WEBP_EXTERN WebPIDecoder* WebPINewYUVA(
|
||||
uint8_t* luma, size_t luma_size, int luma_stride,
|
||||
uint8_t* u, size_t u_size, int u_stride,
|
||||
uint8_t* v, size_t v_size, int v_stride,
|
||||
|
@ -316,7 +316,7 @@ WEBP_EXTERN WebPIDecoder* WebPINewYUVA(
|
|||
|
||||
// Deprecated version of the above, without the alpha plane.
|
||||
// Kept for backward compatibility.
|
||||
WEBP_EXTERN WebPIDecoder* WebPINewYUV(
|
||||
WEBP_NODISCARD WEBP_EXTERN WebPIDecoder* WebPINewYUV(
|
||||
uint8_t* luma, size_t luma_size, int luma_stride,
|
||||
uint8_t* u, size_t u_size, int u_stride,
|
||||
uint8_t* v, size_t v_size, int v_stride);
|
||||
|
@ -346,21 +346,21 @@ WEBP_EXTERN VP8StatusCode WebPIUpdate(
|
|||
// (*last_y, *width etc.) can be NULL if corresponding information is not
|
||||
// needed. The values in these pointers are only valid on successful (non-NULL)
|
||||
// return.
|
||||
WEBP_EXTERN uint8_t* WebPIDecGetRGB(
|
||||
WEBP_NODISCARD WEBP_EXTERN uint8_t* WebPIDecGetRGB(
|
||||
const WebPIDecoder* idec, int* last_y,
|
||||
int* width, int* height, int* stride);
|
||||
|
||||
// Same as above function to get a YUVA image. Returns pointer to the luma
|
||||
// plane or NULL in case of error. If there is no alpha information
|
||||
// the alpha pointer '*a' will be returned NULL.
|
||||
WEBP_EXTERN uint8_t* WebPIDecGetYUVA(
|
||||
WEBP_NODISCARD WEBP_EXTERN uint8_t* WebPIDecGetYUVA(
|
||||
const WebPIDecoder* idec, int* last_y,
|
||||
uint8_t** u, uint8_t** v, uint8_t** a,
|
||||
int* width, int* height, int* stride, int* uv_stride, int* a_stride);
|
||||
|
||||
// Deprecated alpha-less version of WebPIDecGetYUVA(): it will ignore the
|
||||
// alpha information (if present). Kept for backward compatibility.
|
||||
static WEBP_INLINE uint8_t* WebPIDecGetYUV(
|
||||
WEBP_NODISCARD static WEBP_INLINE uint8_t* WebPIDecGetYUV(
|
||||
const WebPIDecoder* idec, int* last_y, uint8_t** u, uint8_t** v,
|
||||
int* width, int* height, int* stride, int* uv_stride) {
|
||||
return WebPIDecGetYUVA(idec, last_y, u, v, NULL, width, height,
|
||||
|
@ -373,7 +373,7 @@ static WEBP_INLINE uint8_t* WebPIDecGetYUV(
|
|||
// Returns NULL in case the incremental decoder object is in an invalid state.
|
||||
// Otherwise returns the pointer to the internal representation. This structure
|
||||
// is read-only, tied to WebPIDecoder's lifespan and should not be modified.
|
||||
WEBP_EXTERN const WebPDecBuffer* WebPIDecodedArea(
|
||||
WEBP_NODISCARD WEBP_EXTERN const WebPDecBuffer* WebPIDecodedArea(
|
||||
const WebPIDecoder* idec, int* left, int* top, int* width, int* height);
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
|
@ -389,7 +389,7 @@ WEBP_EXTERN const WebPDecBuffer* WebPIDecodedArea(
|
|||
CHECK(WebPGetFeatures(data, data_size, &config.input) == VP8_STATUS_OK);
|
||||
|
||||
// C) Adjust 'config', if needed
|
||||
config.no_fancy_upsampling = 1;
|
||||
config.options.no_fancy_upsampling = 1;
|
||||
config.output.colorspace = MODE_BGRA;
|
||||
// etc.
|
||||
|
||||
|
@ -468,12 +468,14 @@ struct WebPDecoderConfig {
|
|||
};
|
||||
|
||||
// Internal, version-checked, entry point
|
||||
WEBP_EXTERN int WebPInitDecoderConfigInternal(WebPDecoderConfig*, int);
|
||||
WEBP_NODISCARD WEBP_EXTERN int WebPInitDecoderConfigInternal(WebPDecoderConfig*,
|
||||
int);
|
||||
|
||||
// Initialize the configuration as empty. This function must always be
|
||||
// called first, unless WebPGetFeatures() is to be called.
|
||||
// Returns false in case of mismatched version.
|
||||
static WEBP_INLINE int WebPInitDecoderConfig(WebPDecoderConfig* config) {
|
||||
WEBP_NODISCARD static WEBP_INLINE int WebPInitDecoderConfig(
|
||||
WebPDecoderConfig* config) {
|
||||
return WebPInitDecoderConfigInternal(config, WEBP_DECODER_ABI_VERSION);
|
||||
}
|
||||
|
||||
|
@ -488,8 +490,8 @@ static WEBP_INLINE int WebPInitDecoderConfig(WebPDecoderConfig* config) {
|
|||
// The return WebPIDecoder object must always be deleted calling WebPIDelete().
|
||||
// Returns NULL in case of error (and config->status will then reflect
|
||||
// the error condition, if available).
|
||||
WEBP_EXTERN WebPIDecoder* WebPIDecode(const uint8_t* data, size_t data_size,
|
||||
WebPDecoderConfig* config);
|
||||
WEBP_NODISCARD WEBP_EXTERN WebPIDecoder* WebPIDecode(
|
||||
const uint8_t* data, size_t data_size, WebPDecoderConfig* config);
|
||||
|
||||
// Non-incremental version. This version decodes the full data at once, taking
|
||||
// 'config' into account. Returns decoding status (which should be VP8_STATUS_OK
|
||||
|
|
46
deps/webp/include/webp/demux.h
vendored
46
deps/webp/include/webp/demux.h
vendored
|
@ -50,6 +50,7 @@
|
|||
|
||||
#include "./decode.h" // for WEBP_CSP_MODE
|
||||
#include "./mux_types.h"
|
||||
#include "./types.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
|
@ -85,13 +86,13 @@ typedef enum WebPDemuxState {
|
|||
} WebPDemuxState;
|
||||
|
||||
// Internal, version-checked, entry point
|
||||
WEBP_EXTERN WebPDemuxer* WebPDemuxInternal(
|
||||
WEBP_NODISCARD WEBP_EXTERN WebPDemuxer* WebPDemuxInternal(
|
||||
const WebPData*, int, WebPDemuxState*, int);
|
||||
|
||||
// Parses the full WebP file given by 'data'. For single images the WebP file
|
||||
// header alone or the file header and the chunk header may be absent.
|
||||
// Returns a WebPDemuxer object on successful parse, NULL otherwise.
|
||||
static WEBP_INLINE WebPDemuxer* WebPDemux(const WebPData* data) {
|
||||
WEBP_NODISCARD static WEBP_INLINE WebPDemuxer* WebPDemux(const WebPData* data) {
|
||||
return WebPDemuxInternal(data, 0, NULL, WEBP_DEMUX_ABI_VERSION);
|
||||
}
|
||||
|
||||
|
@ -103,7 +104,7 @@ static WEBP_INLINE WebPDemuxer* WebPDemux(const WebPData* data) {
|
|||
// If this data is volatile, the demuxer object should be deleted (by calling
|
||||
// WebPDemuxDelete()) and WebPDemuxPartial() called again on the new data.
|
||||
// This is usually an inexpensive operation.
|
||||
static WEBP_INLINE WebPDemuxer* WebPDemuxPartial(
|
||||
WEBP_NODISCARD static WEBP_INLINE WebPDemuxer* WebPDemuxPartial(
|
||||
const WebPData* data, WebPDemuxState* state) {
|
||||
return WebPDemuxInternal(data, 1, state, WEBP_DEMUX_ABI_VERSION);
|
||||
}
|
||||
|
@ -164,14 +165,14 @@ struct WebPIterator {
|
|||
// Returns false if 'dmux' is NULL or frame 'frame_number' is not present.
|
||||
// Call WebPDemuxReleaseIterator() when use of the iterator is complete.
|
||||
// NOTE: 'dmux' must persist for the lifetime of 'iter'.
|
||||
WEBP_EXTERN int WebPDemuxGetFrame(
|
||||
WEBP_NODISCARD WEBP_EXTERN int WebPDemuxGetFrame(
|
||||
const WebPDemuxer* dmux, int frame_number, WebPIterator* iter);
|
||||
|
||||
// Sets 'iter->fragment' to point to the next ('iter->frame_num' + 1) or
|
||||
// previous ('iter->frame_num' - 1) frame. These functions do not loop.
|
||||
// Returns true on success, false otherwise.
|
||||
WEBP_EXTERN int WebPDemuxNextFrame(WebPIterator* iter);
|
||||
WEBP_EXTERN int WebPDemuxPrevFrame(WebPIterator* iter);
|
||||
WEBP_NODISCARD WEBP_EXTERN int WebPDemuxNextFrame(WebPIterator* iter);
|
||||
WEBP_NODISCARD WEBP_EXTERN int WebPDemuxPrevFrame(WebPIterator* iter);
|
||||
|
||||
// Releases any memory associated with 'iter'.
|
||||
// Must be called before any subsequent calls to WebPDemuxGetChunk() on the same
|
||||
|
@ -202,15 +203,16 @@ struct WebPChunkIterator {
|
|||
// payloads are accessed through WebPDemuxGetFrame() and related functions.
|
||||
// Call WebPDemuxReleaseChunkIterator() when use of the iterator is complete.
|
||||
// NOTE: 'dmux' must persist for the lifetime of the iterator.
|
||||
WEBP_EXTERN int WebPDemuxGetChunk(const WebPDemuxer* dmux,
|
||||
const char fourcc[4], int chunk_number,
|
||||
WebPChunkIterator* iter);
|
||||
WEBP_NODISCARD WEBP_EXTERN int WebPDemuxGetChunk(const WebPDemuxer* dmux,
|
||||
const char fourcc[4],
|
||||
int chunk_number,
|
||||
WebPChunkIterator* iter);
|
||||
|
||||
// Sets 'iter->chunk' to point to the next ('iter->chunk_num' + 1) or previous
|
||||
// ('iter->chunk_num' - 1) chunk. These functions do not loop.
|
||||
// Returns true on success, false otherwise.
|
||||
WEBP_EXTERN int WebPDemuxNextChunk(WebPChunkIterator* iter);
|
||||
WEBP_EXTERN int WebPDemuxPrevChunk(WebPChunkIterator* iter);
|
||||
WEBP_NODISCARD WEBP_EXTERN int WebPDemuxNextChunk(WebPChunkIterator* iter);
|
||||
WEBP_NODISCARD WEBP_EXTERN int WebPDemuxPrevChunk(WebPChunkIterator* iter);
|
||||
|
||||
// Releases any memory associated with 'iter'.
|
||||
// Must be called before destroying the associated WebPDemuxer with
|
||||
|
@ -257,21 +259,21 @@ struct WebPAnimDecoderOptions {
|
|||
};
|
||||
|
||||
// Internal, version-checked, entry point.
|
||||
WEBP_EXTERN int WebPAnimDecoderOptionsInitInternal(
|
||||
WEBP_NODISCARD WEBP_EXTERN int WebPAnimDecoderOptionsInitInternal(
|
||||
WebPAnimDecoderOptions*, int);
|
||||
|
||||
// Should always be called, to initialize a fresh WebPAnimDecoderOptions
|
||||
// structure before modification. Returns false in case of version mismatch.
|
||||
// WebPAnimDecoderOptionsInit() must have succeeded before using the
|
||||
// 'dec_options' object.
|
||||
static WEBP_INLINE int WebPAnimDecoderOptionsInit(
|
||||
WEBP_NODISCARD static WEBP_INLINE int WebPAnimDecoderOptionsInit(
|
||||
WebPAnimDecoderOptions* dec_options) {
|
||||
return WebPAnimDecoderOptionsInitInternal(dec_options,
|
||||
WEBP_DEMUX_ABI_VERSION);
|
||||
}
|
||||
|
||||
// Internal, version-checked, entry point.
|
||||
WEBP_EXTERN WebPAnimDecoder* WebPAnimDecoderNewInternal(
|
||||
WEBP_NODISCARD WEBP_EXTERN WebPAnimDecoder* WebPAnimDecoderNewInternal(
|
||||
const WebPData*, const WebPAnimDecoderOptions*, int);
|
||||
|
||||
// Creates and initializes a WebPAnimDecoder object.
|
||||
|
@ -284,7 +286,7 @@ WEBP_EXTERN WebPAnimDecoder* WebPAnimDecoderNewInternal(
|
|||
// Returns:
|
||||
// A pointer to the newly created WebPAnimDecoder object, or NULL in case of
|
||||
// parsing error, invalid option or memory error.
|
||||
static WEBP_INLINE WebPAnimDecoder* WebPAnimDecoderNew(
|
||||
WEBP_NODISCARD static WEBP_INLINE WebPAnimDecoder* WebPAnimDecoderNew(
|
||||
const WebPData* webp_data, const WebPAnimDecoderOptions* dec_options) {
|
||||
return WebPAnimDecoderNewInternal(webp_data, dec_options,
|
||||
WEBP_DEMUX_ABI_VERSION);
|
||||
|
@ -306,8 +308,8 @@ struct WebPAnimInfo {
|
|||
// info - (out) global information fetched from the animation.
|
||||
// Returns:
|
||||
// True on success.
|
||||
WEBP_EXTERN int WebPAnimDecoderGetInfo(const WebPAnimDecoder* dec,
|
||||
WebPAnimInfo* info);
|
||||
WEBP_NODISCARD WEBP_EXTERN int WebPAnimDecoderGetInfo(
|
||||
const WebPAnimDecoder* dec, WebPAnimInfo* info);
|
||||
|
||||
// Fetch the next frame from 'dec' based on options supplied to
|
||||
// WebPAnimDecoderNew(). This will be a fully reconstructed canvas of size
|
||||
|
@ -321,8 +323,9 @@ WEBP_EXTERN int WebPAnimDecoderGetInfo(const WebPAnimDecoder* dec,
|
|||
// Returns:
|
||||
// False if any of the arguments are NULL, or if there is a parsing or
|
||||
// decoding error, or if there are no more frames. Otherwise, returns true.
|
||||
WEBP_EXTERN int WebPAnimDecoderGetNext(WebPAnimDecoder* dec,
|
||||
uint8_t** buf, int* timestamp);
|
||||
WEBP_NODISCARD WEBP_EXTERN int WebPAnimDecoderGetNext(WebPAnimDecoder* dec,
|
||||
uint8_t** buf,
|
||||
int* timestamp);
|
||||
|
||||
// Check if there are more frames left to decode.
|
||||
// Parameters:
|
||||
|
@ -330,7 +333,8 @@ WEBP_EXTERN int WebPAnimDecoderGetNext(WebPAnimDecoder* dec,
|
|||
// Returns:
|
||||
// True if 'dec' is not NULL and some frames are yet to be decoded.
|
||||
// Otherwise, returns false.
|
||||
WEBP_EXTERN int WebPAnimDecoderHasMoreFrames(const WebPAnimDecoder* dec);
|
||||
WEBP_NODISCARD WEBP_EXTERN int WebPAnimDecoderHasMoreFrames(
|
||||
const WebPAnimDecoder* dec);
|
||||
|
||||
// Resets the WebPAnimDecoder object, so that next call to
|
||||
// WebPAnimDecoderGetNext() will restart decoding from 1st frame. This would be
|
||||
|
@ -348,7 +352,7 @@ WEBP_EXTERN void WebPAnimDecoderReset(WebPAnimDecoder* dec);
|
|||
//
|
||||
// Parameters:
|
||||
// dec - (in) decoder instance from which the demuxer object is to be fetched.
|
||||
WEBP_EXTERN const WebPDemuxer* WebPAnimDecoderGetDemuxer(
|
||||
WEBP_NODISCARD WEBP_EXTERN const WebPDemuxer* WebPAnimDecoderGetDemuxer(
|
||||
const WebPAnimDecoder* dec);
|
||||
|
||||
// Deletes the WebPAnimDecoder object.
|
||||
|
|
83
deps/webp/include/webp/encode.h
vendored
83
deps/webp/include/webp/encode.h
vendored
|
@ -164,13 +164,14 @@ typedef enum WebPPreset {
|
|||
} WebPPreset;
|
||||
|
||||
// Internal, version-checked, entry point
|
||||
WEBP_EXTERN int WebPConfigInitInternal(WebPConfig*, WebPPreset, float, int);
|
||||
WEBP_NODISCARD WEBP_EXTERN int WebPConfigInitInternal(WebPConfig*, WebPPreset,
|
||||
float, int);
|
||||
|
||||
// Should always be called, to initialize a fresh WebPConfig structure before
|
||||
// modification. Returns false in case of version mismatch. WebPConfigInit()
|
||||
// must have succeeded before using the 'config' object.
|
||||
// Note that the default values are lossless=0 and quality=75.
|
||||
static WEBP_INLINE int WebPConfigInit(WebPConfig* config) {
|
||||
WEBP_NODISCARD static WEBP_INLINE int WebPConfigInit(WebPConfig* config) {
|
||||
return WebPConfigInitInternal(config, WEBP_PRESET_DEFAULT, 75.f,
|
||||
WEBP_ENCODER_ABI_VERSION);
|
||||
}
|
||||
|
@ -179,8 +180,9 @@ static WEBP_INLINE int WebPConfigInit(WebPConfig* config) {
|
|||
// set of parameters (referred to by 'preset') and a given quality factor.
|
||||
// This function can be called as a replacement to WebPConfigInit(). Will
|
||||
// return false in case of error.
|
||||
static WEBP_INLINE int WebPConfigPreset(WebPConfig* config,
|
||||
WebPPreset preset, float quality) {
|
||||
WEBP_NODISCARD static WEBP_INLINE int WebPConfigPreset(WebPConfig* config,
|
||||
WebPPreset preset,
|
||||
float quality) {
|
||||
return WebPConfigInitInternal(config, preset, quality,
|
||||
WEBP_ENCODER_ABI_VERSION);
|
||||
}
|
||||
|
@ -191,11 +193,12 @@ static WEBP_INLINE int WebPConfigPreset(WebPConfig* config,
|
|||
// speed and final compressed size.
|
||||
// This function will overwrite several fields from config: 'method', 'quality'
|
||||
// and 'lossless'. Returns false in case of parameter error.
|
||||
WEBP_EXTERN int WebPConfigLosslessPreset(WebPConfig* config, int level);
|
||||
WEBP_NODISCARD WEBP_EXTERN int WebPConfigLosslessPreset(WebPConfig* config,
|
||||
int level);
|
||||
|
||||
// Returns true if 'config' is non-NULL and all configuration parameters are
|
||||
// within their valid ranges.
|
||||
WEBP_EXTERN int WebPValidateConfig(const WebPConfig* config);
|
||||
WEBP_NODISCARD WEBP_EXTERN int WebPValidateConfig(const WebPConfig* config);
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
// Input / Output
|
||||
|
@ -255,8 +258,8 @@ WEBP_EXTERN void WebPMemoryWriterClear(WebPMemoryWriter* writer);
|
|||
// The custom writer to be used with WebPMemoryWriter as custom_ptr. Upon
|
||||
// completion, writer.mem and writer.size will hold the coded data.
|
||||
// writer.mem must be freed by calling WebPMemoryWriterClear.
|
||||
WEBP_EXTERN int WebPMemoryWrite(const uint8_t* data, size_t data_size,
|
||||
const WebPPicture* picture);
|
||||
WEBP_NODISCARD WEBP_EXTERN int WebPMemoryWrite(
|
||||
const uint8_t* data, size_t data_size, const WebPPicture* picture);
|
||||
|
||||
// Progress hook, called from time to time to report progress. It can return
|
||||
// false to request an abort of the encoding process, or true otherwise if
|
||||
|
@ -364,13 +367,13 @@ struct WebPPicture {
|
|||
};
|
||||
|
||||
// Internal, version-checked, entry point
|
||||
WEBP_EXTERN int WebPPictureInitInternal(WebPPicture*, int);
|
||||
WEBP_NODISCARD WEBP_EXTERN int WebPPictureInitInternal(WebPPicture*, int);
|
||||
|
||||
// Should always be called, to initialize the structure. Returns false in case
|
||||
// of version mismatch. WebPPictureInit() must have succeeded before using the
|
||||
// 'picture' object.
|
||||
// Note that, by default, use_argb is false and colorspace is WEBP_YUV420.
|
||||
static WEBP_INLINE int WebPPictureInit(WebPPicture* picture) {
|
||||
WEBP_NODISCARD static WEBP_INLINE int WebPPictureInit(WebPPicture* picture) {
|
||||
return WebPPictureInitInternal(picture, WEBP_ENCODER_ABI_VERSION);
|
||||
}
|
||||
|
||||
|
@ -381,7 +384,7 @@ static WEBP_INLINE int WebPPictureInit(WebPPicture* picture) {
|
|||
// Allocate y/u/v buffers as per colorspace/width/height specification.
|
||||
// Note! This function will free the previous buffer if needed.
|
||||
// Returns false in case of memory error.
|
||||
WEBP_EXTERN int WebPPictureAlloc(WebPPicture* picture);
|
||||
WEBP_NODISCARD WEBP_EXTERN int WebPPictureAlloc(WebPPicture* picture);
|
||||
|
||||
// Release the memory allocated by WebPPictureAlloc() or WebPPictureImport*().
|
||||
// Note that this function does _not_ free the memory used by the 'picture'
|
||||
|
@ -394,7 +397,8 @@ WEBP_EXTERN void WebPPictureFree(WebPPicture* picture);
|
|||
// will fully own the copied pixels (this is not a view). The 'dst' picture need
|
||||
// not be initialized as its content is overwritten.
|
||||
// Returns false in case of memory allocation error.
|
||||
WEBP_EXTERN int WebPPictureCopy(const WebPPicture* src, WebPPicture* dst);
|
||||
WEBP_NODISCARD WEBP_EXTERN int WebPPictureCopy(const WebPPicture* src,
|
||||
WebPPicture* dst);
|
||||
|
||||
// Compute the single distortion for packed planes of samples.
|
||||
// 'src' will be compared to 'ref', and the raw distortion stored into
|
||||
|
@ -403,19 +407,18 @@ WEBP_EXTERN int WebPPictureCopy(const WebPPicture* src, WebPPicture* dst);
|
|||
// 'x_step' is the horizontal stride (in bytes) between samples.
|
||||
// 'src/ref_stride' is the byte distance between rows.
|
||||
// Returns false in case of error (bad parameter, memory allocation error, ...).
|
||||
WEBP_EXTERN int WebPPlaneDistortion(const uint8_t* src, size_t src_stride,
|
||||
const uint8_t* ref, size_t ref_stride,
|
||||
int width, int height,
|
||||
size_t x_step,
|
||||
int type, // 0 = PSNR, 1 = SSIM, 2 = LSIM
|
||||
float* distortion, float* result);
|
||||
WEBP_NODISCARD WEBP_EXTERN int WebPPlaneDistortion(
|
||||
const uint8_t* src, size_t src_stride,
|
||||
const uint8_t* ref, size_t ref_stride, int width, int height, size_t x_step,
|
||||
int type, // 0 = PSNR, 1 = SSIM, 2 = LSIM
|
||||
float* distortion, float* result);
|
||||
|
||||
// Compute PSNR, SSIM or LSIM distortion metric between two pictures. Results
|
||||
// are in dB, stored in result[] in the B/G/R/A/All order. The distortion is
|
||||
// always performed using ARGB samples. Hence if the input is YUV(A), the
|
||||
// picture will be internally converted to ARGB (just for the measurement).
|
||||
// Warning: this function is rather CPU-intensive.
|
||||
WEBP_EXTERN int WebPPictureDistortion(
|
||||
WEBP_NODISCARD WEBP_EXTERN int WebPPictureDistortion(
|
||||
const WebPPicture* src, const WebPPicture* ref,
|
||||
int metric_type, // 0 = PSNR, 1 = SSIM, 2 = LSIM
|
||||
float result[5]);
|
||||
|
@ -428,8 +431,8 @@ WEBP_EXTERN int WebPPictureDistortion(
|
|||
// must be fully be comprised inside the 'src' source picture. If the source
|
||||
// picture uses the YUV420 colorspace, the top and left coordinates will be
|
||||
// snapped to even values.
|
||||
WEBP_EXTERN int WebPPictureCrop(WebPPicture* picture,
|
||||
int left, int top, int width, int height);
|
||||
WEBP_NODISCARD WEBP_EXTERN int WebPPictureCrop(
|
||||
WebPPicture* picture, int left, int top, int width, int height);
|
||||
|
||||
// Extracts a view from 'src' picture into 'dst'. The rectangle for the view
|
||||
// is defined by the top-left corner pixel coordinates (left, top) as well
|
||||
|
@ -442,9 +445,9 @@ WEBP_EXTERN int WebPPictureCrop(WebPPicture* picture,
|
|||
// with WebPPictureInit() if it is different from 'src', since its content will
|
||||
// be overwritten.
|
||||
// Returns false in case of invalid parameters.
|
||||
WEBP_EXTERN int WebPPictureView(const WebPPicture* src,
|
||||
int left, int top, int width, int height,
|
||||
WebPPicture* dst);
|
||||
WEBP_NODISCARD WEBP_EXTERN int WebPPictureView(
|
||||
const WebPPicture* src, int left, int top, int width, int height,
|
||||
WebPPicture* dst);
|
||||
|
||||
// Returns true if the 'picture' is actually a view and therefore does
|
||||
// not own the memory for pixels.
|
||||
|
@ -455,29 +458,30 @@ WEBP_EXTERN int WebPPictureIsView(const WebPPicture* picture);
|
|||
// dimension will be calculated preserving the aspect ratio.
|
||||
// No gamma correction is applied.
|
||||
// Returns false in case of error (invalid parameter or insufficient memory).
|
||||
WEBP_EXTERN int WebPPictureRescale(WebPPicture* picture, int width, int height);
|
||||
WEBP_NODISCARD WEBP_EXTERN int WebPPictureRescale(WebPPicture* picture,
|
||||
int width, int height);
|
||||
|
||||
// Colorspace conversion function to import RGB samples.
|
||||
// Previous buffer will be free'd, if any.
|
||||
// *rgb buffer should have a size of at least height * rgb_stride.
|
||||
// Returns false in case of memory error.
|
||||
WEBP_EXTERN int WebPPictureImportRGB(
|
||||
WEBP_NODISCARD WEBP_EXTERN int WebPPictureImportRGB(
|
||||
WebPPicture* picture, const uint8_t* rgb, int rgb_stride);
|
||||
// Same, but for RGBA buffer.
|
||||
WEBP_EXTERN int WebPPictureImportRGBA(
|
||||
WEBP_NODISCARD WEBP_EXTERN int WebPPictureImportRGBA(
|
||||
WebPPicture* picture, const uint8_t* rgba, int rgba_stride);
|
||||
// Same, but for RGBA buffer. Imports the RGB direct from the 32-bit format
|
||||
// input buffer ignoring the alpha channel. Avoids needing to copy the data
|
||||
// to a temporary 24-bit RGB buffer to import the RGB only.
|
||||
WEBP_EXTERN int WebPPictureImportRGBX(
|
||||
WEBP_NODISCARD WEBP_EXTERN int WebPPictureImportRGBX(
|
||||
WebPPicture* picture, const uint8_t* rgbx, int rgbx_stride);
|
||||
|
||||
// Variants of the above, but taking BGR(A|X) input.
|
||||
WEBP_EXTERN int WebPPictureImportBGR(
|
||||
WEBP_NODISCARD WEBP_EXTERN int WebPPictureImportBGR(
|
||||
WebPPicture* picture, const uint8_t* bgr, int bgr_stride);
|
||||
WEBP_EXTERN int WebPPictureImportBGRA(
|
||||
WEBP_NODISCARD WEBP_EXTERN int WebPPictureImportBGRA(
|
||||
WebPPicture* picture, const uint8_t* bgra, int bgra_stride);
|
||||
WEBP_EXTERN int WebPPictureImportBGRX(
|
||||
WEBP_NODISCARD WEBP_EXTERN int WebPPictureImportBGRX(
|
||||
WebPPicture* picture, const uint8_t* bgrx, int bgrx_stride);
|
||||
|
||||
// Converts picture->argb data to the YUV420A format. The 'colorspace'
|
||||
|
@ -486,24 +490,24 @@ WEBP_EXTERN int WebPPictureImportBGRX(
|
|||
// non-opaque transparent values is detected, and 'colorspace' will be
|
||||
// adjusted accordingly. Note that this method is lossy.
|
||||
// Returns false in case of error.
|
||||
WEBP_EXTERN int WebPPictureARGBToYUVA(WebPPicture* picture,
|
||||
WebPEncCSP /*colorspace = WEBP_YUV420*/);
|
||||
WEBP_NODISCARD WEBP_EXTERN int WebPPictureARGBToYUVA(
|
||||
WebPPicture* picture, WebPEncCSP /*colorspace = WEBP_YUV420*/);
|
||||
|
||||
// Same as WebPPictureARGBToYUVA(), but the conversion is done using
|
||||
// pseudo-random dithering with a strength 'dithering' between
|
||||
// 0.0 (no dithering) and 1.0 (maximum dithering). This is useful
|
||||
// for photographic picture.
|
||||
WEBP_EXTERN int WebPPictureARGBToYUVADithered(
|
||||
WEBP_NODISCARD WEBP_EXTERN int WebPPictureARGBToYUVADithered(
|
||||
WebPPicture* picture, WebPEncCSP colorspace, float dithering);
|
||||
|
||||
// Performs 'sharp' RGBA->YUVA420 downsampling and colorspace conversion.
|
||||
// Performs 'sharp' RGBA->YUVA420 downsampling and colorspace conversion
|
||||
// Downsampling is handled with extra care in case of color clipping. This
|
||||
// method is roughly 2x slower than WebPPictureARGBToYUVA() but produces better
|
||||
// and sharper YUV representation.
|
||||
// Returns false in case of error.
|
||||
WEBP_EXTERN int WebPPictureSharpARGBToYUVA(WebPPicture* picture);
|
||||
WEBP_NODISCARD WEBP_EXTERN int WebPPictureSharpARGBToYUVA(WebPPicture* picture);
|
||||
// kept for backward compatibility:
|
||||
WEBP_EXTERN int WebPPictureSmartARGBToYUVA(WebPPicture* picture);
|
||||
WEBP_NODISCARD WEBP_EXTERN int WebPPictureSmartARGBToYUVA(WebPPicture* picture);
|
||||
|
||||
// Converts picture->yuv to picture->argb and sets picture->use_argb to true.
|
||||
// The input format must be YUV_420 or YUV_420A. The conversion from YUV420 to
|
||||
|
@ -511,7 +515,7 @@ WEBP_EXTERN int WebPPictureSmartARGBToYUVA(WebPPicture* picture);
|
|||
// Note that the use of this colorspace is discouraged if one has access to the
|
||||
// raw ARGB samples, since using YUV420 is comparatively lossy.
|
||||
// Returns false in case of error.
|
||||
WEBP_EXTERN int WebPPictureYUVAToARGB(WebPPicture* picture);
|
||||
WEBP_NODISCARD WEBP_EXTERN int WebPPictureYUVAToARGB(WebPPicture* picture);
|
||||
|
||||
// Helper function: given a width x height plane of RGBA or YUV(A) samples
|
||||
// clean-up or smoothen the YUV or RGB samples under fully transparent area,
|
||||
|
@ -541,7 +545,8 @@ WEBP_EXTERN void WebPBlendAlpha(WebPPicture* picture, uint32_t background_rgb);
|
|||
// the former for lossy encoding, and the latter for lossless encoding
|
||||
// (when config.lossless is true). Automatic conversion from one format to
|
||||
// another is provided but they both incur some loss.
|
||||
WEBP_EXTERN int WebPEncode(const WebPConfig* config, WebPPicture* picture);
|
||||
WEBP_NODISCARD WEBP_EXTERN int WebPEncode(const WebPConfig* config,
|
||||
WebPPicture* picture);
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
|
|
91
deps/webp/include/webp/mux.h
vendored
91
deps/webp/include/webp/mux.h
vendored
|
@ -16,12 +16,13 @@
|
|||
#define WEBP_WEBP_MUX_H_
|
||||
|
||||
#include "./mux_types.h"
|
||||
#include "./types.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#define WEBP_MUX_ABI_VERSION 0x0108 // MAJOR(8b) + MINOR(8b)
|
||||
#define WEBP_MUX_ABI_VERSION 0x0109 // MAJOR(8b) + MINOR(8b)
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
// Mux API
|
||||
|
@ -70,7 +71,7 @@ typedef struct WebPMuxAnimParams WebPMuxAnimParams;
|
|||
typedef struct WebPAnimEncoderOptions WebPAnimEncoderOptions;
|
||||
|
||||
// Error codes
|
||||
typedef enum WebPMuxError {
|
||||
typedef enum WEBP_NODISCARD WebPMuxError {
|
||||
WEBP_MUX_OK = 1,
|
||||
WEBP_MUX_NOT_FOUND = 0,
|
||||
WEBP_MUX_INVALID_ARGUMENT = -1,
|
||||
|
@ -104,13 +105,13 @@ WEBP_EXTERN int WebPGetMuxVersion(void);
|
|||
// Life of a Mux object
|
||||
|
||||
// Internal, version-checked, entry point
|
||||
WEBP_EXTERN WebPMux* WebPNewInternal(int);
|
||||
WEBP_NODISCARD WEBP_EXTERN WebPMux* WebPNewInternal(int);
|
||||
|
||||
// Creates an empty mux object.
|
||||
// Returns:
|
||||
// A pointer to the newly created empty mux object.
|
||||
// Or NULL in case of memory error.
|
||||
static WEBP_INLINE WebPMux* WebPMuxNew(void) {
|
||||
WEBP_NODISCARD static WEBP_INLINE WebPMux* WebPMuxNew(void) {
|
||||
return WebPNewInternal(WEBP_MUX_ABI_VERSION);
|
||||
}
|
||||
|
||||
|
@ -123,18 +124,21 @@ WEBP_EXTERN void WebPMuxDelete(WebPMux* mux);
|
|||
// Mux creation.
|
||||
|
||||
// Internal, version-checked, entry point
|
||||
WEBP_EXTERN WebPMux* WebPMuxCreateInternal(const WebPData*, int, int);
|
||||
WEBP_NODISCARD WEBP_EXTERN WebPMux* WebPMuxCreateInternal(const WebPData*, int,
|
||||
int);
|
||||
|
||||
// Creates a mux object from raw data given in WebP RIFF format.
|
||||
// Parameters:
|
||||
// bitstream - (in) the bitstream data in WebP RIFF format
|
||||
// copy_data - (in) value 1 indicates given data WILL be copied to the mux
|
||||
// object and value 0 indicates data will NOT be copied.
|
||||
// object and value 0 indicates data will NOT be copied. If the
|
||||
// data is not copied, it must exist for the lifetime of the
|
||||
// mux object.
|
||||
// Returns:
|
||||
// A pointer to the mux object created from given data - on success.
|
||||
// NULL - In case of invalid data or memory error.
|
||||
static WEBP_INLINE WebPMux* WebPMuxCreate(const WebPData* bitstream,
|
||||
int copy_data) {
|
||||
WEBP_NODISCARD static WEBP_INLINE WebPMux* WebPMuxCreate(
|
||||
const WebPData* bitstream, int copy_data) {
|
||||
return WebPMuxCreateInternal(bitstream, copy_data, WEBP_MUX_ABI_VERSION);
|
||||
}
|
||||
|
||||
|
@ -154,7 +158,9 @@ static WEBP_INLINE WebPMux* WebPMuxCreate(const WebPData* bitstream,
|
|||
// e.g., "ICCP", "XMP ", "EXIF" etc.
|
||||
// chunk_data - (in) the chunk data to be added
|
||||
// copy_data - (in) value 1 indicates given data WILL be copied to the mux
|
||||
// object and value 0 indicates data will NOT be copied.
|
||||
// object and value 0 indicates data will NOT be copied. If the
|
||||
// data is not copied, it must exist until a call to
|
||||
// WebPMuxAssemble() is made.
|
||||
// Returns:
|
||||
// WEBP_MUX_INVALID_ARGUMENT - if mux, fourcc or chunk_data is NULL
|
||||
// or if fourcc corresponds to an image chunk.
|
||||
|
@ -217,7 +223,9 @@ struct WebPMuxFrameInfo {
|
|||
// bitstream - (in) can be a raw VP8/VP8L bitstream or a single-image
|
||||
// WebP file (non-animated)
|
||||
// copy_data - (in) value 1 indicates given data WILL be copied to the mux
|
||||
// object and value 0 indicates data will NOT be copied.
|
||||
// object and value 0 indicates data will NOT be copied. If the
|
||||
// data is not copied, it must exist until a call to
|
||||
// WebPMuxAssemble() is made.
|
||||
// Returns:
|
||||
// WEBP_MUX_INVALID_ARGUMENT - if mux is NULL or bitstream is NULL.
|
||||
// WEBP_MUX_MEMORY_ERROR - on memory allocation error.
|
||||
|
@ -235,7 +243,9 @@ WEBP_EXTERN WebPMuxError WebPMuxSetImage(
|
|||
// mux - (in/out) object to which the frame is to be added
|
||||
// frame - (in) frame data.
|
||||
// copy_data - (in) value 1 indicates given data WILL be copied to the mux
|
||||
// object and value 0 indicates data will NOT be copied.
|
||||
// object and value 0 indicates data will NOT be copied. If the
|
||||
// data is not copied, it must exist until a call to
|
||||
// WebPMuxAssemble() is made.
|
||||
// Returns:
|
||||
// WEBP_MUX_INVALID_ARGUMENT - if mux or frame is NULL
|
||||
// or if content of 'frame' is invalid.
|
||||
|
@ -449,7 +459,7 @@ WEBP_EXTERN int WebPAnimEncoderOptionsInitInternal(
|
|||
// structure before modification. Returns false in case of version mismatch.
|
||||
// WebPAnimEncoderOptionsInit() must have succeeded before using the
|
||||
// 'enc_options' object.
|
||||
static WEBP_INLINE int WebPAnimEncoderOptionsInit(
|
||||
WEBP_NODISCARD static WEBP_INLINE int WebPAnimEncoderOptionsInit(
|
||||
WebPAnimEncoderOptions* enc_options) {
|
||||
return WebPAnimEncoderOptionsInitInternal(enc_options, WEBP_MUX_ABI_VERSION);
|
||||
}
|
||||
|
@ -490,7 +500,7 @@ static WEBP_INLINE WebPAnimEncoder* WebPAnimEncoderNew(
|
|||
// Returns:
|
||||
// On error, returns false and frame->error_code is set appropriately.
|
||||
// Otherwise, returns true.
|
||||
WEBP_EXTERN int WebPAnimEncoderAdd(
|
||||
WEBP_NODISCARD WEBP_EXTERN int WebPAnimEncoderAdd(
|
||||
WebPAnimEncoder* enc, struct WebPPicture* frame, int timestamp_ms,
|
||||
const struct WebPConfig* config);
|
||||
|
||||
|
@ -503,8 +513,8 @@ WEBP_EXTERN int WebPAnimEncoderAdd(
|
|||
// webp_data - (out) generated WebP bitstream.
|
||||
// Returns:
|
||||
// True on success.
|
||||
WEBP_EXTERN int WebPAnimEncoderAssemble(WebPAnimEncoder* enc,
|
||||
WebPData* webp_data);
|
||||
WEBP_NODISCARD WEBP_EXTERN int WebPAnimEncoderAssemble(WebPAnimEncoder* enc,
|
||||
WebPData* webp_data);
|
||||
|
||||
// Get error string corresponding to the most recent call using 'enc'. The
|
||||
// returned string is owned by 'enc' and is valid only until the next call to
|
||||
|
@ -521,6 +531,57 @@ WEBP_EXTERN const char* WebPAnimEncoderGetError(WebPAnimEncoder* enc);
|
|||
// enc - (in/out) object to be deleted
|
||||
WEBP_EXTERN void WebPAnimEncoderDelete(WebPAnimEncoder* enc);
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
// Non-image chunks.
|
||||
|
||||
// Note: Only non-image related chunks should be managed through chunk APIs.
|
||||
// (Image related chunks are: "ANMF", "VP8 ", "VP8L" and "ALPH").
|
||||
|
||||
// Adds a chunk with id 'fourcc' and data 'chunk_data' in the enc object.
|
||||
// Any existing chunk(s) with the same id will be removed.
|
||||
// Parameters:
|
||||
// enc - (in/out) object to which the chunk is to be added
|
||||
// fourcc - (in) a character array containing the fourcc of the given chunk;
|
||||
// e.g., "ICCP", "XMP ", "EXIF", etc.
|
||||
// chunk_data - (in) the chunk data to be added
|
||||
// copy_data - (in) value 1 indicates given data WILL be copied to the enc
|
||||
// object and value 0 indicates data will NOT be copied. If the
|
||||
// data is not copied, it must exist until a call to
|
||||
// WebPAnimEncoderAssemble() is made.
|
||||
// Returns:
|
||||
// WEBP_MUX_INVALID_ARGUMENT - if enc, fourcc or chunk_data is NULL.
|
||||
// WEBP_MUX_MEMORY_ERROR - on memory allocation error.
|
||||
// WEBP_MUX_OK - on success.
|
||||
WEBP_EXTERN WebPMuxError WebPAnimEncoderSetChunk(
|
||||
WebPAnimEncoder* enc, const char fourcc[4], const WebPData* chunk_data,
|
||||
int copy_data);
|
||||
|
||||
// Gets a reference to the data of the chunk with id 'fourcc' in the enc object.
|
||||
// The caller should NOT free the returned data.
|
||||
// Parameters:
|
||||
// enc - (in) object from which the chunk data is to be fetched
|
||||
// fourcc - (in) a character array containing the fourcc of the chunk;
|
||||
// e.g., "ICCP", "XMP ", "EXIF", etc.
|
||||
// chunk_data - (out) returned chunk data
|
||||
// Returns:
|
||||
// WEBP_MUX_INVALID_ARGUMENT - if enc, fourcc or chunk_data is NULL.
|
||||
// WEBP_MUX_NOT_FOUND - If enc does not contain a chunk with the given id.
|
||||
// WEBP_MUX_OK - on success.
|
||||
WEBP_EXTERN WebPMuxError WebPAnimEncoderGetChunk(
|
||||
const WebPAnimEncoder* enc, const char fourcc[4], WebPData* chunk_data);
|
||||
|
||||
// Deletes the chunk with the given 'fourcc' from the enc object.
|
||||
// Parameters:
|
||||
// enc - (in/out) object from which the chunk is to be deleted
|
||||
// fourcc - (in) a character array containing the fourcc of the chunk;
|
||||
// e.g., "ICCP", "XMP ", "EXIF", etc.
|
||||
// Returns:
|
||||
// WEBP_MUX_INVALID_ARGUMENT - if enc or fourcc is NULL.
|
||||
// WEBP_MUX_NOT_FOUND - If enc does not contain a chunk with the given fourcc.
|
||||
// WEBP_MUX_OK - on success.
|
||||
WEBP_EXTERN WebPMuxError WebPAnimEncoderDeleteChunk(
|
||||
WebPAnimEncoder* enc, const char fourcc[4]);
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
|
3
deps/webp/include/webp/mux_types.h
vendored
3
deps/webp/include/webp/mux_types.h
vendored
|
@ -79,7 +79,8 @@ static WEBP_INLINE void WebPDataClear(WebPData* webp_data) {
|
|||
|
||||
// Allocates necessary storage for 'dst' and copies the contents of 'src'.
|
||||
// Returns true on success.
|
||||
static WEBP_INLINE int WebPDataCopy(const WebPData* src, WebPData* dst) {
|
||||
WEBP_NODISCARD static WEBP_INLINE int WebPDataCopy(const WebPData* src,
|
||||
WebPData* dst) {
|
||||
if (src == NULL || dst == NULL) return 0;
|
||||
WebPDataInit(dst);
|
||||
if (src->bytes != NULL && src->size != 0) {
|
||||
|
|
85
deps/webp/include/webp/sharpyuv/sharpyuv.h
vendored
85
deps/webp/include/webp/sharpyuv/sharpyuv.h
vendored
|
@ -22,22 +22,37 @@ extern "C" {
|
|||
#else
|
||||
// This explicitly marks library functions and allows for changing the
|
||||
// signature for e.g., Windows DLL builds.
|
||||
#if defined(__GNUC__) && __GNUC__ >= 4
|
||||
#if defined(_WIN32) && defined(WEBP_DLL)
|
||||
#define SHARPYUV_EXTERN __declspec(dllexport)
|
||||
#elif defined(__GNUC__) && __GNUC__ >= 4
|
||||
#define SHARPYUV_EXTERN extern __attribute__((visibility("default")))
|
||||
#else
|
||||
#if defined(_MSC_VER) && defined(WEBP_DLL)
|
||||
#define SHARPYUV_EXTERN __declspec(dllexport)
|
||||
#else
|
||||
#define SHARPYUV_EXTERN extern
|
||||
#endif /* _MSC_VER && WEBP_DLL */
|
||||
#endif /* __GNUC__ >= 4 */
|
||||
#endif /* defined(_WIN32) && defined(WEBP_DLL) */
|
||||
#endif /* WEBP_EXTERN */
|
||||
#endif /* SHARPYUV_EXTERN */
|
||||
|
||||
#ifndef SHARPYUV_INLINE
|
||||
#ifdef WEBP_INLINE
|
||||
#define SHARPYUV_INLINE WEBP_INLINE
|
||||
#else
|
||||
#ifndef _MSC_VER
|
||||
#if defined(__cplusplus) || !defined(__STRICT_ANSI__) || \
|
||||
(defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L)
|
||||
#define SHARPYUV_INLINE inline
|
||||
#else
|
||||
#define SHARPYUV_INLINE
|
||||
#endif
|
||||
#else
|
||||
#define SHARPYUV_INLINE __forceinline
|
||||
#endif /* _MSC_VER */
|
||||
#endif /* WEBP_INLINE */
|
||||
#endif /* SHARPYUV_INLINE */
|
||||
|
||||
// SharpYUV API version following the convention from semver.org
|
||||
#define SHARPYUV_VERSION_MAJOR 0
|
||||
#define SHARPYUV_VERSION_MINOR 2
|
||||
#define SHARPYUV_VERSION_PATCH 1
|
||||
#define SHARPYUV_VERSION_MINOR 4
|
||||
#define SHARPYUV_VERSION_PATCH 0
|
||||
// Version as a uint32_t. The major number is the high 8 bits.
|
||||
// The minor number is the middle 8 bits. The patch number is the low 16 bits.
|
||||
#define SHARPYUV_MAKE_VERSION(MAJOR, MINOR, PATCH) \
|
||||
|
@ -61,6 +76,33 @@ typedef struct {
|
|||
int rgb_to_v[4];
|
||||
} SharpYuvConversionMatrix;
|
||||
|
||||
typedef struct SharpYuvOptions SharpYuvOptions;
|
||||
|
||||
// Enums for transfer functions, as defined in H.273,
|
||||
// https://www.itu.int/rec/T-REC-H.273-202107-I/en
|
||||
typedef enum SharpYuvTransferFunctionType {
|
||||
// 0 is reserved
|
||||
kSharpYuvTransferFunctionBt709 = 1,
|
||||
// 2 is unspecified
|
||||
// 3 is reserved
|
||||
kSharpYuvTransferFunctionBt470M = 4,
|
||||
kSharpYuvTransferFunctionBt470Bg = 5,
|
||||
kSharpYuvTransferFunctionBt601 = 6,
|
||||
kSharpYuvTransferFunctionSmpte240 = 7,
|
||||
kSharpYuvTransferFunctionLinear = 8,
|
||||
kSharpYuvTransferFunctionLog100 = 9,
|
||||
kSharpYuvTransferFunctionLog100_Sqrt10 = 10,
|
||||
kSharpYuvTransferFunctionIec61966 = 11,
|
||||
kSharpYuvTransferFunctionBt1361 = 12,
|
||||
kSharpYuvTransferFunctionSrgb = 13,
|
||||
kSharpYuvTransferFunctionBt2020_10Bit = 14,
|
||||
kSharpYuvTransferFunctionBt2020_12Bit = 15,
|
||||
kSharpYuvTransferFunctionSmpte2084 = 16, // PQ
|
||||
kSharpYuvTransferFunctionSmpte428 = 17,
|
||||
kSharpYuvTransferFunctionHlg = 18,
|
||||
kSharpYuvTransferFunctionNum
|
||||
} SharpYuvTransferFunctionType;
|
||||
|
||||
// Converts RGB to YUV420 using a downsampling algorithm that minimizes
|
||||
// artefacts caused by chroma subsampling.
|
||||
// This is slower than standard downsampling (averaging of 4 UV values).
|
||||
|
@ -85,6 +127,8 @@ typedef struct {
|
|||
// adjacent pixels on the y, u and v channels. If yuv_bit_depth > 8, they
|
||||
// should be multiples of 2.
|
||||
// width, height: width and height of the image in pixels
|
||||
// This function calls SharpYuvConvertWithOptions with a default transfer
|
||||
// function of kSharpYuvTransferFunctionSrgb.
|
||||
SHARPYUV_EXTERN int SharpYuvConvert(const void* r_ptr, const void* g_ptr,
|
||||
const void* b_ptr, int rgb_step,
|
||||
int rgb_stride, int rgb_bit_depth,
|
||||
|
@ -93,6 +137,31 @@ SHARPYUV_EXTERN int SharpYuvConvert(const void* r_ptr, const void* g_ptr,
|
|||
int yuv_bit_depth, int width, int height,
|
||||
const SharpYuvConversionMatrix* yuv_matrix);
|
||||
|
||||
struct SharpYuvOptions {
|
||||
// This matrix cannot be NULL and can be initialized by
|
||||
// SharpYuvComputeConversionMatrix.
|
||||
const SharpYuvConversionMatrix* yuv_matrix;
|
||||
SharpYuvTransferFunctionType transfer_type;
|
||||
};
|
||||
|
||||
// Internal, version-checked, entry point
|
||||
SHARPYUV_EXTERN int SharpYuvOptionsInitInternal(const SharpYuvConversionMatrix*,
|
||||
SharpYuvOptions*, int);
|
||||
|
||||
// Should always be called, to initialize a fresh SharpYuvOptions
|
||||
// structure before modification. SharpYuvOptionsInit() must have succeeded
|
||||
// before using the 'options' object.
|
||||
static SHARPYUV_INLINE int SharpYuvOptionsInit(
|
||||
const SharpYuvConversionMatrix* yuv_matrix, SharpYuvOptions* options) {
|
||||
return SharpYuvOptionsInitInternal(yuv_matrix, options, SHARPYUV_VERSION);
|
||||
}
|
||||
|
||||
SHARPYUV_EXTERN int SharpYuvConvertWithOptions(
|
||||
const void* r_ptr, const void* g_ptr, const void* b_ptr, int rgb_step,
|
||||
int rgb_stride, int rgb_bit_depth, void* y_ptr, int y_stride, void* u_ptr,
|
||||
int u_stride, void* v_ptr, int v_stride, int yuv_bit_depth, int width,
|
||||
int height, const SharpYuvOptions* options);
|
||||
|
||||
// TODO(b/194336375): Add YUV444 to YUV420 conversion. Maybe also add 422
|
||||
// support (it's rarely used in practice, especially for images).
|
||||
|
||||
|
|
37
deps/webp/include/webp/types.h
vendored
37
deps/webp/include/webp/types.h
vendored
|
@ -36,18 +36,39 @@ typedef long long int int64_t;
|
|||
#define WEBP_INLINE __forceinline
|
||||
#endif /* _MSC_VER */
|
||||
|
||||
#ifndef WEBP_NODISCARD
|
||||
#if defined(WEBP_ENABLE_NODISCARD) && WEBP_ENABLE_NODISCARD
|
||||
#if (defined(__cplusplus) && __cplusplus >= 201700L) || \
|
||||
(defined(__STDC_VERSION__) && __STDC_VERSION__ >= 202311L)
|
||||
#define WEBP_NODISCARD [[nodiscard]]
|
||||
#else
|
||||
// gcc's __has_attribute does not work for enums.
|
||||
#if defined(__clang__) && defined(__has_attribute)
|
||||
#if __has_attribute(warn_unused_result)
|
||||
#define WEBP_NODISCARD __attribute__((warn_unused_result))
|
||||
#else
|
||||
#define WEBP_NODISCARD
|
||||
#endif /* __has_attribute(warn_unused_result) */
|
||||
#else
|
||||
#define WEBP_NODISCARD
|
||||
#endif /* defined(__clang__) && defined(__has_attribute) */
|
||||
#endif /* (defined(__cplusplus) && __cplusplus >= 201700L) ||
|
||||
(defined(__STDC_VERSION__) && __STDC_VERSION__ >= 202311L) */
|
||||
#else
|
||||
#define WEBP_NODISCARD
|
||||
#endif /* defined(WEBP_ENABLE_NODISCARD) && WEBP_ENABLE_NODISCARD */
|
||||
#endif /* WEBP_NODISCARD */
|
||||
|
||||
#ifndef WEBP_EXTERN
|
||||
// This explicitly marks library functions and allows for changing the
|
||||
// signature for e.g., Windows DLL builds.
|
||||
# if defined(__GNUC__) && __GNUC__ >= 4
|
||||
# if defined(_WIN32) && defined(WEBP_DLL)
|
||||
# define WEBP_EXTERN __declspec(dllexport)
|
||||
# elif defined(__GNUC__) && __GNUC__ >= 4
|
||||
# define WEBP_EXTERN extern __attribute__ ((visibility ("default")))
|
||||
# else
|
||||
# if defined(_MSC_VER) && defined(WEBP_DLL)
|
||||
# define WEBP_EXTERN __declspec(dllexport)
|
||||
# else
|
||||
# define WEBP_EXTERN extern
|
||||
# endif
|
||||
# endif /* __GNUC__ >= 4 */
|
||||
# define WEBP_EXTERN extern
|
||||
# endif /* defined(_WIN32) && defined(WEBP_DLL) */
|
||||
#endif /* WEBP_EXTERN */
|
||||
|
||||
// Macro to check ABI compatibility (same major revision number)
|
||||
|
@ -60,7 +81,7 @@ extern "C" {
|
|||
// Allocates 'size' bytes of memory. Returns NULL upon error. Memory
|
||||
// must be deallocated by calling WebPFree(). This function is made available
|
||||
// by the core 'libwebp' library.
|
||||
WEBP_EXTERN void* WebPMalloc(size_t size);
|
||||
WEBP_NODISCARD WEBP_EXTERN void* WebPMalloc(size_t size);
|
||||
|
||||
// Releases memory returned by the WebPDecode*() functions (from decode.h).
|
||||
WEBP_EXTERN void WebPFree(void* ptr);
|
||||
|
|
5
deps/webp/lib/cmake/WebP/WebPConfig.cmake
vendored
5
deps/webp/lib/cmake/WebP/WebPConfig.cmake
vendored
|
@ -1,4 +1,4 @@
|
|||
set(WebP_VERSION 1.3.2)
|
||||
set(WebP_VERSION 1.4.0)
|
||||
set(WEBP_VERSION ${WebP_VERSION})
|
||||
|
||||
|
||||
|
@ -35,7 +35,8 @@ endif()
|
|||
include("${CMAKE_CURRENT_LIST_DIR}/WebPTargets.cmake")
|
||||
|
||||
set_and_check(WebP_INCLUDE_DIR "${PACKAGE_PREFIX_DIR}/include")
|
||||
set(WEBP_INCLUDE_DIRS ${WebP_INCLUDE_DIRS})
|
||||
set(WebP_INCLUDE_DIRS ${WebP_INCLUDE_DIR})
|
||||
set(WEBP_INCLUDE_DIRS ${WebP_INCLUDE_DIR})
|
||||
set(WebP_LIBRARIES "webpdecoder;webp;webpdemux;webpmux")
|
||||
set(WEBP_LIBRARIES "${WebP_LIBRARIES}")
|
||||
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
# PACKAGE_VERSION_COMPATIBLE if the current version is >= requested version.
|
||||
# The variable CVF_VERSION must be set before calling configure_file().
|
||||
|
||||
set(PACKAGE_VERSION "1.3.2")
|
||||
set(PACKAGE_VERSION "1.4.0")
|
||||
|
||||
if (PACKAGE_FIND_VERSION_RANGE)
|
||||
# Package version must be in the requested version range
|
||||
|
|
BIN
deps/webp/lib/libsharpyuv.a
vendored
BIN
deps/webp/lib/libsharpyuv.a
vendored
Binary file not shown.
BIN
deps/webp/lib/libwebp.a
vendored
BIN
deps/webp/lib/libwebp.a
vendored
Binary file not shown.
BIN
deps/webp/lib/libwebpdecoder.a
vendored
BIN
deps/webp/lib/libwebpdecoder.a
vendored
Binary file not shown.
BIN
deps/webp/lib/libwebpdemux.a
vendored
BIN
deps/webp/lib/libwebpdemux.a
vendored
Binary file not shown.
BIN
deps/webp/lib/libwebpmux.a
vendored
BIN
deps/webp/lib/libwebpmux.a
vendored
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue