소스 검색

Add precision for sampler2DArray (#1046)

rcstuber 3 년 전
부모
커밋
1a6a1253d1
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      hxsl/GlslOut.hx

+ 2 - 0
hxsl/GlslOut.hx

@@ -659,8 +659,10 @@ class GlslOut {
 		
 		if (isVertex) {
 			decl("precision highp float;");
+			decl("precision highp sampler2DArray;");
 		} else {
 			decl("precision mediump float;");
+			decl("precision mediump sampler2DArray;");
 		}
 
 		initVars(s);