Open RodenLuo opened 3 years ago
I know we can pass the layout (location = 2) in vec2 circle_radii_; from the vertex shader to fragment shader using an intermediate variable. But I have not succeeded in passing the layout variable directly to fragment shader.
layout (location = 2) in vec2 circle_radii_;
layout
I know we can pass the
layout (location = 2) in vec2 circle_radii_;
from the vertex shader to fragment shader using an intermediate variable. But I have not succeeded in passing thelayout
variable directly to fragment shader.