*/}}
瀏覽代碼

Do not declare out gl_FragDepth for intel

YimingWu 1 年之前
父節點
當前提交
84a2b64384
共有 1 個文件被更改,包括 0 次插入2 次删除
  1. 0 2
      resources/la_tns_shaders.cpp

+ 0 - 2
resources/la_tns_shaders.cpp

@@ -676,7 +676,6 @@ in vec2 fUV;
 flat in vec3 fNormal;
 in vec3 fGPos;
 
-out float gl_FragDepth;
 layout(location = 0) out vec4 outColor;
 layout(location = 1) out vec3 outNormal;
 layout(location = 2) out vec3 outGPos;
@@ -765,7 +764,6 @@ in vec2 fUV;
 flat in vec3 fNormal;
 in vec3 fGPos;
 
-out float gl_FragDepth;
 layout(location = 0) out vec4 outColor;
 layout(location = 1) out vec3 outNormal;
 layout(location = 2) out vec3 outGPos;