mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-11-10 04:57:26 +01:00
shaderir: Remove bultin functions for bvec
This commit is contained in:
parent
fb59901609
commit
c22ec580bc
@ -65,16 +65,6 @@ func basicTypeString(t shaderir.BasicType) string {
|
||||
|
||||
func builtinFuncString(f shaderir.BuiltinFunc) string {
|
||||
switch f {
|
||||
case shaderir.LessThan:
|
||||
return "lessThan"
|
||||
case shaderir.LessThanEqual:
|
||||
return "lessThanEqual"
|
||||
case shaderir.GreaterThan:
|
||||
return "greaterThan"
|
||||
case shaderir.GreaterThanEqual:
|
||||
return "greaterThanEqual"
|
||||
case shaderir.NotEqual:
|
||||
return "notEqual"
|
||||
case shaderir.Dfdx:
|
||||
return "dFdx"
|
||||
case shaderir.Dfdy:
|
||||
|
@ -237,15 +237,6 @@ const (
|
||||
Faceforward BuiltinFunc = "faceforward"
|
||||
Reflect BuiltinFunc = "reflect"
|
||||
Transpose BuiltinFunc = "transpose"
|
||||
LessThan BuiltinFunc = "lessthan"
|
||||
LessThanEqual BuiltinFunc = "lessthanequal"
|
||||
GreaterThan BuiltinFunc = "greaterthan"
|
||||
GreaterThanEqual BuiltinFunc = "greaterthanequal"
|
||||
Equal BuiltinFunc = "equal"
|
||||
NotEqual BuiltinFunc = "notequal"
|
||||
Any BuiltinFunc = "any"
|
||||
All BuiltinFunc = "all"
|
||||
Not BuiltinFunc = "not"
|
||||
Texture2DF BuiltinFunc = "texture2D"
|
||||
Dfdx BuiltinFunc = "dfdx"
|
||||
Dfdy BuiltinFunc = "dfdy"
|
||||
@ -295,15 +286,6 @@ func ParseBuiltinFunc(str string) (BuiltinFunc, bool) {
|
||||
Faceforward,
|
||||
Reflect,
|
||||
Transpose,
|
||||
LessThan,
|
||||
LessThanEqual,
|
||||
GreaterThan,
|
||||
GreaterThanEqual,
|
||||
Equal,
|
||||
NotEqual,
|
||||
Any,
|
||||
All,
|
||||
Not,
|
||||
Texture2DF,
|
||||
Dfdx,
|
||||
Dfdy,
|
||||
|
Loading…
Reference in New Issue
Block a user