Browse Source

DirectX: Fix VertexID usage

TOTH Benoit 2 tuần trước cách đây
mục cha
commit
0c9b63f979
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      hxsl/HlslOut.hx

+ 1 - 1
hxsl/HlslOut.hx

@@ -832,7 +832,7 @@ class HlslOut {
 			if( sv == null ) continue;
 			add("\t");
 			switch( g ) {
-			case InstanceID:
+			case InstanceID, VertexID:
 				add("uint");
 			default:
 				addType(foundGlobals.get(g));