You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
#version 460
|
|
|
|
#extension GL_NV_mesh_shader: require
|
|
|
|
layout(location=0)
|
|
in B {
|
|
perprimitiveNV float f;
|
|
};
|
|
|
|
layout(location=4)
|
|
in C {
|
|
flat centroid float h;
|
|
};
|
|
|
|
layout(location=8)
|
|
out float g;
|
|
|
|
void main()
|
|
{
|
|
g = f + h;
|
|
}
|