Jelajahi Sumber

[DX12] Update error message in root signature.

TothBenoit 1 tahun lalu
induk
melakukan
76b55f4655
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      h3d/impl/DX12Driver.hx

+ 1 - 1
h3d/impl/DX12Driver.hx

@@ -1240,7 +1240,7 @@ class DX12Driver extends h3d.impl.Driver {
 				globalsParamsCBV = true;
 				var withoutGlobal = total - (shader.vertex.globalsSize << 2) - (shader.fragment.globalsSize << 2) + 2;
 				if ( withoutGlobal > 64 )
-					throw "Too many params. Use less textures or improve descriptor table packing";
+					throw "Too many params. Should not be possible if every params fall into descriptor table.";
 			}
 		}