Commit 48b102c5 authored by Mark Thompson's avatar Mark Thompson

doc/ffmpeg: Document device selection for Vulkan

parent 593106ff
......@@ -1029,6 +1029,20 @@ Choose the GPU device on the second platform supporting the @emph{cl_khr_fp16}
extension.
@end table
@item vulkan
If @var{device} is an integer, it selects the device by its index in a
system-dependent list of devices. If @var{device} is any other string, it
selects the first device with a name containing that string as a substring.
Examples:
@table @emph
@item -init_hw_device vulkan:1
Choose the second device on the system.
@item -init_hw_device vulkan:RADV
Choose the first device with a name containing the string @emph{RADV}.
@end table
@end table
@item -init_hw_device @var{type}[=@var{name}]@@@var{source}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment