yum-mirror/glslang
git clone https://git.yummers.dev/yum-mirror/glslang
c799e7be
main
1#version 320 es 2#extension GL_NV_fragment_shader_barycentric : require 3 4precision highp float ; 5 6layout (location = 0 ) pervertexNV in float vertexIDs[ 3 ]; 7layout (location = 1 ) pervertexNV in float vertexIDs2[ 3 ]; 8 910 layout (location = 1 ) out float value; 1112 void main () { 13value = (gl_BaryCoordNoPerspNV. x * vertexIDs[ 0 ] + 14gl_BaryCoordNoPerspNV. y * vertexIDs[ 1 ] + 15gl_BaryCoordNoPerspNV. z * vertexIDs[ 2 ]); 16 17value += (gl_BaryCoordNoPerspNV. x * vertexIDs2[ 0 ] + 18gl_BaryCoordNoPerspNV. y * vertexIDs2[ 1 ] + 19gl_BaryCoordNoPerspNV. z * vertexIDs2[ 2 ]); 20 21}