diff options
author | Marc-André Lureau <marcandre.lureau@redhat.com> | 2023-02-14 14:33:47 +0400 |
---|---|---|
committer | Marc-André Lureau <marcandre.lureau@redhat.com> | 2023-03-13 23:48:45 +0400 |
commit | aa34554a99971b2b95d48e8144c5bfc70927c09f (patch) | |
tree | 577cc453a4cba373cff2218112103ea63a4c7c0b | |
parent | 6f2688f776ea2500fa2b5055b3de5df1c8473ef5 (diff) | |
download | qemu-aa34554a99971b2b95d48e8144c5bfc70927c09f.zip qemu-aa34554a99971b2b95d48e8144c5bfc70927c09f.tar.gz qemu-aa34554a99971b2b95d48e8144c5bfc70927c09f.tar.bz2 |
ui/shader: fix #version directive must occur on first line
ANGLE fails to compile shaders otherwise.
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
-rw-r--r-- | ui/shader/texture-blit-flip.vert | 1 | ||||
-rw-r--r-- | ui/shader/texture-blit.frag | 1 | ||||
-rw-r--r-- | ui/shader/texture-blit.vert | 1 |
3 files changed, 0 insertions, 3 deletions
diff --git a/ui/shader/texture-blit-flip.vert b/ui/shader/texture-blit-flip.vert index ba081fa..f7a448d 100644 --- a/ui/shader/texture-blit-flip.vert +++ b/ui/shader/texture-blit-flip.vert @@ -1,4 +1,3 @@ - #version 300 es in vec2 in_position; diff --git a/ui/shader/texture-blit.frag b/ui/shader/texture-blit.frag index bfa202c..8ed95a4 100644 --- a/ui/shader/texture-blit.frag +++ b/ui/shader/texture-blit.frag @@ -1,4 +1,3 @@ - #version 300 es uniform sampler2D image; diff --git a/ui/shader/texture-blit.vert b/ui/shader/texture-blit.vert index 6fe2744..fb48d70 100644 --- a/ui/shader/texture-blit.vert +++ b/ui/shader/texture-blit.vert @@ -1,4 +1,3 @@ - #version 300 es in vec2 in_position; |