Update tri and cube with stage

These changes were cherry-picked from nvidia-dev-20150218 and
KhronosGroup/GDC-stable.
diff --git a/demos/zlib/example-static-res.rc b/demos/zlib/example-static-res.rc
new file mode 100644
index 0000000..20963b3
--- /dev/null
+++ b/demos/zlib/example-static-res.rc
@@ -0,0 +1,127 @@
+#define WIN32_LEAN_AND_MEAN
+#include <windows.h>
+#include <winver.h>
+  
+#define VER_FILEVERSION 1,2,1,1429
+#define VER_FILEVERSION_STR "1.2.1.1429"
+#define VER_FILELTVERSION_STR ""
+#define VER_LEGALCOPYRIGHT_STR "© 2003 Jean-loup Gailly <jloup@gzip.org >, Mark Adler <madler@alumni.caltech.edu>"
+//#define VER_COMMENT_STR  ""	 
+
+#define VER_FILEDESCRIPTION_STR "Zlib: general purpose data compression / decompression library"
+#define VER_INTERNALNAME_STR "example-static"
+#define VER_ORIGINALFILENAME_STR "example-static.exe"
+#define VER_WWW_STR "http://www.gzip.org/zlib"
+#define VER_COMPANYNAME_STR "Zlib"
+#define VER_LICENSE_STR " (C) 1995-2002 Jean-loup Gailly and Mark Adler This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and redistribute it freely, subject to the following restrictions: 1. The origin of this software must not be misrepresented; you must not claim that you wrote the original software. If you use this software in a product, an acknowledgment in the product documentation would be appreciated but is not required. 2. Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software. 3. This notice may not be removed or altered from any source distribution. Jean-loup Gailly Mark Adler jloup@gzip.org madler@alumni.caltech.edu"
+#define VER_LEGALTRADEMARKS_STR "Zlib®, example-static®"
+
+#define VER_PRODUCTNAME_STR "Zlib"
+#define VER_PRODUCTVERSION 1,2,1,1429
+#define VER_PRODUCTVERSION_STR "1.2.1.1429"
+
+#undef OFFICIAL
+#define FINAL            1
+
+#define GNUWIN32_SPECIALBUILD_STR	"GNU for Win32 <gnuwin32.sourceforge.net>"
+
+#define VER_FILETYPE			VFT_APP
+#ifndef VER_FILETYPE
+#define VER_FILETYPE                VFT_APP
+#endif
+
+#define VER_FILESUBTYPE             VFT2_UNKNOWN
+
+#ifndef DEBUG
+#define VER_DEBUG                   0
+#else /* DEBUG */
+#define VER_DEBUG                   VS_FF_DEBUG
+#endif
+
+#ifndef PATCHED
+#define VER_PATCHED                   0
+#else /* PATCHED */
+#define VER_PATCHED                   VS_FF_PATCHED
+#endif
+
+#ifndef OFFICIAL
+#define VER_SPECIALBUILD            VS_FF_SPECIALBUILD
+#ifndef VER_SPECIALBUILD_STR
+#define VER_SPECIALBUILD_STR		GNUWIN32_SPECIALBUILD_STR
+#endif
+#else /* OFFICIAL */
+#define VER_SPECIALBUILD            0
+#endif /* OFFICIAL */
+
+#ifndef FINAL
+#define VER_PRIVATEBUILD            VS_FF_PRIVATEBUILD
+#ifndef VER_PRIVATEBUILD_STR
+#define VER_PRIVATEBUILD_STR		"Pre-release"
+#endif /* VER_PRIVATEBUILD_STR */
+#define VER_PRERELEASE              VS_FF_PRERELEASE
+#else /* FINAL */
+#define VER_PRIVATEBUILD            0
+#define VER_PRERELEASE              0
+#endif /* FINAL */
+
+#define VER_FILEFLAGSMASK           VS_FFI_FILEFLAGSMASK
+#define VER_FILEFLAGS               (VER_PRIVATEBUILD|VER_SPECIALBUILD|VER_PRERELEASE|VER_DEBUG|VER_PATCHED)
+
+#define VER_FILEOS                  VOS__WINDOWS32
+
+#ifdef RC_INVOKED
+
+VS_VERSION_INFO         VERSIONINFO
+FILEVERSION     	VER_FILEVERSION
+PRODUCTVERSION  	VER_PRODUCTVERSION
+FILEFLAGSMASK   	VER_FILEFLAGSMASK
+FILEFLAGS       	VER_FILEFLAGS
+FILEOS          	VER_FILEOS
+FILETYPE        	VER_FILETYPE
+FILESUBTYPE     	VER_FILESUBTYPE
+
+BEGIN
+    BLOCK "StringFileInfo"
+    BEGIN
+	BLOCK "040904E4"
+    /* language ID = U.S. English, char set = Windows, Multilingual */
+	BEGIN
+#ifdef VER_COMMENT_STR
+	    VALUE "Comments",          VER_COMMENT_STR
+#endif
+	    VALUE "CompanyName",      VER_COMPANYNAME_STR
+	    VALUE "License",		  VER_LICENSE_STR
+	    VALUE "FileDescription",  VER_FILEDESCRIPTION_STR
+	    VALUE "FileVersion",      VER_FILEVERSION_STR
+#if !(VER_FILETYPE-VFT_DLL)
+	    VALUE "LibToolFileVersion",VER_FILELTVERSION_STR
+#endif
+		VALUE "InternalName",     VER_INTERNALNAME_STR
+#ifdef VER_LEGALCOPYRIGHT_STR
+		VALUE "LegalCopyright",   VER_LEGALCOPYRIGHT_STR
+#endif
+#ifdef VER_LEGALTRADEMARKS_STR
+	    VALUE "LegalTrademarks",  VER_LEGALTRADEMARKS_STR
+#endif
+	    VALUE "OriginalFilename", VER_ORIGINALFILENAME_STR
+	    VALUE "ProductName",      VER_PRODUCTNAME_STR
+	    VALUE "ProductVersion",   VER_PRODUCTVERSION_STR
+#ifdef VER_PATCHLEVEL_STR
+	    VALUE "Patch level",  VER_PATCHLEVEL_STR
+#endif
+#ifdef VER_PRIVATEBUILD_STR
+	    VALUE "PrivateBuild",  VER_PRIVATEBUILD_STR
+#endif
+#ifdef VER_SPECIALBUILD_STR
+	    VALUE "SpecialBuild",  VER_SPECIALBUILD_STR
+#endif
+END
+    END
+    BLOCK "VarFileInfo"
+    BEGIN
+	VALUE "Translation", 0x409, 1252
+    END
+END
+
+#endif /*  RC_INVOKED */
+500 ICON MOVEABLE PURE LOADONCALL DISCARDABLE "zlib.ico"