Explorar o código

Add precision for sampler2DArray (#1046)

rcstuber %!s(int64=3) %!d(string=hai) anos
pai
achega
1a6a1253d1
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  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);