mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-11-10 04:57:26 +01:00
shader: Remove the comments
This commit is contained in:
parent
1217db3b1e
commit
bb1d08a681
@ -95,9 +95,6 @@ type block struct {
|
|||||||
ir shaderir.Block
|
ir shaderir.Block
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO: Consider variable/attrbutes!
|
|
||||||
// Probably creating a local variable for them automatically would be nice!
|
|
||||||
// However, what if the name is shadowing arguments? -> cause the error!
|
|
||||||
func (b *block) findLocalVariable(name string) (int, shaderir.Type, bool) {
|
func (b *block) findLocalVariable(name string) (int, shaderir.Type, bool) {
|
||||||
idx := 0
|
idx := 0
|
||||||
for outer := b.outer; outer != nil; outer = outer.outer {
|
for outer := b.outer; outer != nil; outer = outer.outer {
|
||||||
|
Loading…
Reference in New Issue
Block a user