1#version 450 2 3layout (push_constant) uniform Block2 4{ 5 mat4 uWorld; 6 mat4 uProj; 7 vec4 color1; 8 vec4 color2; 9} a; 10 11in vec4 P; 12 13vec4 getColor2() 14{ 15 return a.color2; 16} 17 18vec4 getWorld() 19{ 20 return a.uWorld * P; 21} 22 23