summaryrefslogtreecommitdiff
path: root/ext/vulkan/shaders/ayuv_to_rgb.frag
diff options
context:
space:
mode:
authorMatthew Waters <matthew@centricular.com>2019-11-26 18:11:25 +1100
committerGStreamer Merge Bot <gitlab-merge-bot@gstreamer-foundation.org>2019-11-28 23:27:21 +0000
commit615022ad93e454d53811889df57cbf0342aec1c6 (patch)
tree2236361937f4ca5c1724e7028d3a2652b7664723 /ext/vulkan/shaders/ayuv_to_rgb.frag
parent756d52ef1582d03c9bba5571ddd4aa911749862a (diff)
downloadgstreamer-plugins-bad-615022ad93e454d53811889df57cbf0342aec1c6.tar.gz
vulkan: split vkfullscreenrender into two
Part 1 is a base class (vkvideofilter) that handles instance, device, queue retrieval and holding that has been moved to the library Part 2 is a fullscreenrenderquad that is still in the plugin that performs all of the previous vulkan-specific functionality.
Diffstat (limited to 'ext/vulkan/shaders/ayuv_to_rgb.frag')
-rw-r--r--ext/vulkan/shaders/ayuv_to_rgb.frag4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/vulkan/shaders/ayuv_to_rgb.frag b/ext/vulkan/shaders/ayuv_to_rgb.frag
index c876bd3f9..41640ee5a 100644
--- a/ext/vulkan/shaders/ayuv_to_rgb.frag
+++ b/ext/vulkan/shaders/ayuv_to_rgb.frag
@@ -6,13 +6,13 @@
layout(location = 0) in vec2 inTexCoord;
-layout(set = 0, binding = 0) uniform sampler2D inTexture0;
-layout(set = 0, binding = 1) uniform reorder {
+layout(set = 0, binding = 0) uniform reorder {
ivec4 in_reorder_idx;
ivec4 out_reorder_idx;
ivec2 texSize;
ColorMatrices matrices;
};
+layout(set = 0, binding = 1) uniform sampler2D inTexture0;
layout(location = 0) out vec4 outColor0;