title: This "Single - pass wire frame shader "opengl shader worked on my old machine with amd integrated graphics but it dose not my new nvidea pc
body: <p>I created this shader from following this tutorial on single pass wireframe rendering: <a href="http://codeflow.org/entries/2012/aug/02/easy-wireframe-display-with-barycentric-coordinates/" rel="nofollow noreferrer">http://codeflow.org/entries/2012/aug/02/easy-wireframe-display-with-barycentric-coordinates/</a></p>
  
  <p>Fragment: </p>
  
  <pre><code>#version 450
  layout (location = 0) out vec4 outColor;
  in vec3 vBC;
  const float lineWidth = 0.5;
  const vec3 color = vec3(0.7, 0.7, 0.7);
  float edgeFactor(){
      vec3 d = fwidth(vBC);
      vec3 a3 = smoothstep(vec3(0.0), d*1.5, vBC);
      return min(min(a3.x, a3.y), a3.z);
  }
  void main(){
      outColor = vec4(min(vec3(edgeFactor()), color), 1.0);
  }
  </code></pre>
  
  <p>Vertex: </p>
  
  <pre><code>#version 450
  layout (location = 0) in vec3 position;
  layout (location = 1) in vec3 baryCentric;
  out vec3 vBC;
  uniform mat4 T_MVP;
  void main() {
    //texCoord0 = texCoord;    
    gl_Position = T_MVP * vec4(position, 1.0);
    vBC = baryCentric;
  }
  </code></pre>
  
  <p>And here is the gl prep before rendering:</p>
  
  <pre><code>wir.bind();
  wir.updateUniforms(super.getTransform(), mat, engine);
  GL45.glEnable(GL45.GL_SAMPLE_ALPHA_TO_COVERAGE);
  GL45.glEnable(GL45.GL_BLEND);
  GL45.glBlendFunc(GL45.GL_SRC_ALPHA, GL45.GL_ONE_MINUS_SRC_ALPHA);
  mesh.draw("baryCentric", GL15.GL_TRIANGLES);
  </code></pre>
  
  <p>And here is how i bind the vertex atrribs;
  <img src="https://cdn.discordapp.com/attachments/616069441771274257/705219775650856990/unknown.png" alt="java">
  <img src="https://cdn.discordapp.com/attachments/616069441771274257/705220398723104839/unknown.png" alt="show"></p>
  
  <p>The shader worked perfectly fine on my old amd integrated graphics card. But it dosnt on my rtx 2060 super.
  Shader and Gl version
  on old: OpenGL version: 4.5.13399 Compatibility Profile Context 15.200.1062.1004
  on new: 4.6.0 NVIDIA 445.87</p>