vs_1_1 also has decls on D3D9
authorAras Pranckevicius <aras@unity3d.com>
Tue, 29 Dec 2009 22:36:27 +0200
changeset 803 cfd14c5f187a
parent 802 6d1674f192d2
child 804 b5dca9b2a6e8
vs_1_1 also has decls on D3D9
mojoshader.c
--- a/mojoshader.c	Tue Dec 29 22:35:51 2009 +0200
+++ b/mojoshader.c	Tue Dec 29 22:36:27 2009 +0200
@@ -5803,7 +5803,7 @@
         } // else
     } // else if
 
-    else if ( (shader_is_vertex(ctx)) && (shader_version_atleast(ctx, 2, 0)) )
+    else if ( (shader_is_vertex(ctx)) && (shader_version_atleast(ctx, 1, 1)) )
     {
         if (regtype == REG_TYPE_INPUT)
         {