Răsfoiți Sursa

[DX12] Update error message in root signature.

TothBenoit 1 an în urmă
părinte
comite
76b55f4655
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  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.";
 			}
 		}