yum-mirror/glslang
git clone https://git.yummers.dev/yum-mirror/glslang
5942c015
main
1#version 450 2#extension GL_NV_fragment_shader_barycentric : require 3 4layout (location = 0 )pervertexNV in vertices { 5float attrib ; 6 }v []; 7 8layout (location = 1 )out float value ; 9 10void main () { 11value = (gl_BaryCoordNV .x * v [0 ].attrib + 12gl_BaryCoordNV .y * v [1 ].attrib + 13gl_BaryCoordNV .z * v [2 ].attrib ); 14 15}