shader: Fix comments

This commit is contained in:
Hajime Hoshi 2020-05-09 05:13:43 +09:00
parent fc0604805a
commit c8045210ac

View File

@ -91,11 +91,11 @@ func NewShader(src []byte) (*Shader, error) {
}
func (s *Shader) addError(str string) {
// TODO: Add token positions.
s.errs = append(s.errs, str)
}
func (s *Shader) parse(f *ast.File) {
// TODO: Accumulate errors
for name, obj := range f.Scope.Objects {
switch name {
case varyingStructName: