internal/shaderir: fix a wrong comment

This commit is contained in:
Hajime Hoshi 2022-08-17 17:43:59 +09:00
parent cf92158e33
commit bf4648eb35

View File

@ -51,7 +51,7 @@ type VertexFunc struct {
// FragmentFunc takes pseudo params, and the number is len(varyings) + 2.
// If index == 0, the param represents the coordinate of the fragment (gl_FragCoord in GLSL).
// If index == len(varyings), the param represents (index-1)th verying variable.
// If 0 < index <= len(varyings), the param represents (index-1)th verying variable.
// If index == len(varyings)+1, the param is an out-param representing the color of the pixel (gl_FragColor in GLSL).
type FragmentFunc struct {
Block *Block