*/}}
Browse Source

Do not declare out gl_FragDepth for intel

YimingWu 1 year ago
parent
commit
84a2b64384
1 changed files with 0 additions and 2 deletions
  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;