shader: Remove the comments

This commit is contained in:
Hajime Hoshi 2020-07-20 11:14:47 +09:00
parent 1217db3b1e
commit bb1d08a681

View File

@ -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 {