*/}}
Sfoglia il codice sorgente

Do not declare out gl_FragDepth for intel

YimingWu 1 anno fa
parent
commit
84a2b64384
1 ha cambiato i file con 0 aggiunte e 2 eliminazioni
  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;