소스 검색

[DX12] Update error message in root signature.

TothBenoit 1 년 전
부모
커밋
76b55f4655
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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.";
 			}
 		}