There was no bug, it's vim. Added README after having lost half day.
authorEleni Maria Stea <estea@igalia.com>
Sat, 27 Apr 2019 14:47:23 +0000 (17:47 +0300)
committerEleni Maria Stea <estea@igalia.com>
Sat, 27 Apr 2019 14:47:23 +0000 (17:47 +0300)
README.md [new file with mode: 0644]

diff --git a/README.md b/README.md
new file mode 100644 (file)
index 0000000..944fcc0
--- /dev/null
+++ b/README.md
@@ -0,0 +1,26 @@
+Simple pixel shader viewer
+==========================
+
+Build:
+------
+make
+
+Usage:
+------
+./sdrviewer <shader filename>
+
+NOTE: if you are editing files using Vim you need to do:
+:set nowritebackup
+
+otherwise vim will temporarily save the file and then mv the
+tmp file to the old => we aren't watching the correct file
+
+
+License
+-------
+Copyright (C) 2019 Eleni Maria Stea <elene.mst@gmail.com>
+
+This program is free software. You are free to use, modify, and/or re-distribute
+it, under the terms of the GNU General Public License version 3, or at your
+option any later version published by the Free Software Foundation. See COPYING
+for details.