ebiten/internal/shader/testdata/assign.go

9 lines
103 B
Go
Raw Normal View History

2020-06-11 15:52:18 +02:00
package main
func Foo(foo vec2) vec4 {
var r1 float
r1 = 0.0
r1 += 1.0
return vec4(foo, r1, r1)
}