vkshaderspv: fix example

Use the correct element names.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4594>
This commit is contained in:
Víctor Manuel Jáquez Leal 2023-05-10 19:14:58 +02:00
parent ebcebe548d
commit ad2d1ce393

View file

@ -26,7 +26,7 @@
* *
* ## Examples * ## Examples
* ``` * ```
* gst-launch-1.0 videotestsrc ! vulkanupload ! vulkanshader fragment-location="myshader.f.spv" ! vulkanimagesink * gst-launch-1.0 videotestsrc ! vulkanupload ! vulkanshaderspv fragment-location="myshader.f.spv" ! vulkansink
* ``` * ```
* The following is a simple Vulkan passthrough shader with the required inputs. * The following is a simple Vulkan passthrough shader with the required inputs.
* Compile it with `glslc --target-env=vulkan1.0 myshader.frag -o myshader.f.spv`. * Compile it with `glslc --target-env=vulkan1.0 myshader.frag -o myshader.f.spv`.