summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorMark Thompson <sw@jkqxz.net>2020-02-09 19:15:53 +0000
committerMark Thompson <sw@jkqxz.net>2020-02-09 20:36:45 +0000
commit48b102c5a60642687574413bf149273e43224b57 (patch)
tree4f45ef31c9e71a3d7ebd6a1c6a5e4f5238ed48b3 /doc
parent593106ff475e77a6d630a4fec1bc974fa145b9fd (diff)
downloadffmpeg-48b102c5a60642687574413bf149273e43224b57.tar.gz
doc/ffmpeg: Document device selection for Vulkan
Diffstat (limited to 'doc')
-rw-r--r--doc/ffmpeg.texi14
1 files changed, 14 insertions, 0 deletions
diff --git a/doc/ffmpeg.texi b/doc/ffmpeg.texi
index dd461c02fc..29753f06ca 100644
--- a/doc/ffmpeg.texi
+++ b/doc/ffmpeg.texi
@@ -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}