From 6003d85f7542ddb513a95d9951f9d08732d18ca0 Mon Sep 17 00:00:00 2001 From: Hajime Hoshi Date: Wed, 5 Aug 2020 02:06:26 +0900 Subject: [PATCH] shaderir: Remove some builtin functions 'degrees' and 'radians' are not defined in Metal. --- internal/shaderir/program.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/internal/shaderir/program.go b/internal/shaderir/program.go index b93ce0771..f010aea3d 100644 --- a/internal/shaderir/program.go +++ b/internal/shaderir/program.go @@ -251,8 +251,6 @@ func ParseBuiltinFunc(str string) (BuiltinFunc, bool) { Mat2F, Mat3F, Mat4F, - Radians, - Degrees, Sin, Cos, Tan,