| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
Yet another thing that should've been always present.
|
|
|
|
|
| |
Reviewed-by: Lynne <dev@lynne.ee>
Signed-off-by: James Almer <jamrial@gmail.com>
|
|
|
|
|
|
| |
This commit adds support for compiler hints.
While on AMD these are not used/needed, Nvidia benefits from them, and gives
a sizeable 10% speedup on 4k.
|
|
|
|
| |
This was broken.
|
|
|
|
| |
This fixes compilation with less recent Vulkan headers.
|
|
|
|
| |
Required to let users know whether debugging is active.
|
| |
|
|
|
|
|
|
|
|
| |
Push descriptors are in theory slightly faster, but come with
limitations for which we have to check.
Either way, they're not difficult to implement, so even though
no one should be using peasant-tier descriptors, do it anyway.
|
|
|
|
| |
We require it for encoding.
|
| |
|
|
|
|
|
| |
We'd like to use it eventually, and its already covered by
the minimum version of the headers we require.
|
|
|
|
| |
Lets us implement FPS conversion.
|
|
|
|
| |
Co-Authored-by: Dave Airlie <airlied@redhat.com>
|
|
|
|
|
|
|
|
|
|
| |
To do so, concatenate all the names together to one big string
name1\0name2\0....lastname\0\0. This avoids the pointer in
the FunctionLoadInfo structure and thereby moves vk_load_info
into .rodata (and makes it smaller by 888B).
Reviewed-by: Lynne <dev@lynne.ee>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
|
|
|
|
|
|
|
|
|
| |
Saves 16B per entry here (four of these 16 bytes are padding);
leads to 1776 B of savings in each file that uses
ff_vk_load_functions().
Reviewed-by: Lynne <dev@lynne.ee>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
There are three possible names for the functions requested;
they only differ in an extension: "", "EXT" or "KHR".
Yet vk_load_info contained pointers to all these strings.
This is wasteful and this commit changes it to avoid
the latter two strings. This saves 6353B of strings,
1776 B of .data.rel.ro as well as 5328 B due to the removed
relocations (corresponding to 2 * 111 removed pointers)
in lavc/vulkan_decode.o alone (ff_vk_load_functions()
is inlined in lavfi/vulkan_filter.c, lavu/hwcontext_vulkan.c
and lavc_vulkan_decode.c, so the savings are three times
this for shared builds; for static builds, the number may
be smaller depending upon whether strings are deduplicated).
Reviewed-by: Lynne <dev@lynne.ee>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
|
|
|
|
|
| |
It's of interest to API users, and of interest to us,
as a DCT/DST can be implemented via matrix multiplies.
|
| |
|
| |
|
| |
|
|
|
|
| |
Finally, a way to directly identify a Vulkan device from a DRM device!
|
| |
|
| |
|
| |
|
|
This allows for the loader to be shared with libavcodec and libavfilter.
|