1
0
mirror of https://github.com/hajimehoshi/ebiten.git synced 2025-01-18 23:12:02 +01:00
ebiten/internal/shader/testdata/issue1238.go

16 lines
211 B
Go

package main
func Vertex(position vec2) vec4 {
if true {
return vec4(position, 0, 1)
}
return vec4(position, 0, 1)
}
func Fragment(position vec4) vec4 {
if true {
return position
}
return position
}