mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2025-01-26 10:42:42 +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 {
|
func builtinFuncString(f shaderir.BuiltinFunc) string {
|
||||||
switch f {
|
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:
|
case shaderir.Dfdx:
|
||||||
return "dFdx"
|
return "dFdx"
|
||||||
case shaderir.Dfdy:
|
case shaderir.Dfdy:
|
||||||
|
@ -237,15 +237,6 @@ const (
|
|||||||
Faceforward BuiltinFunc = "faceforward"
|
Faceforward BuiltinFunc = "faceforward"
|
||||||
Reflect BuiltinFunc = "reflect"
|
Reflect BuiltinFunc = "reflect"
|
||||||
Transpose BuiltinFunc = "transpose"
|
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"
|
Texture2DF BuiltinFunc = "texture2D"
|
||||||
Dfdx BuiltinFunc = "dfdx"
|
Dfdx BuiltinFunc = "dfdx"
|
||||||
Dfdy BuiltinFunc = "dfdy"
|
Dfdy BuiltinFunc = "dfdy"
|
||||||
@ -295,15 +286,6 @@ func ParseBuiltinFunc(str string) (BuiltinFunc, bool) {
|
|||||||
Faceforward,
|
Faceforward,
|
||||||
Reflect,
|
Reflect,
|
||||||
Transpose,
|
Transpose,
|
||||||
LessThan,
|
|
||||||
LessThanEqual,
|
|
||||||
GreaterThan,
|
|
||||||
GreaterThanEqual,
|
|
||||||
Equal,
|
|
||||||
NotEqual,
|
|
||||||
Any,
|
|
||||||
All,
|
|
||||||
Not,
|
|
||||||
Texture2DF,
|
Texture2DF,
|
||||||
Dfdx,
|
Dfdx,
|
||||||
Dfdy,
|
Dfdy,
|
||||||
|
Loading…
Reference in New Issue
Block a user