diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2018-03-03 14:49:55 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-03-03 14:49:55 +0100 |
commit | 973d4753a287306706dc2535958771074941bb7e (patch) | |
tree | bc81569303c3ed816a95d5b14ff2f43fc32f2e3b | |
parent | 26d42cd9a4fb533a1682fcda6ca57a3943a7ce0e (diff) | |
parent | c6b6af7bb579ea52c6d0dd40069c280a6c7ae69f (diff) |
Merge pull request #17225 from Chaosus/fixshaderfunc
Fix floatBitsToUint shader builtin function
-rw-r--r-- | servers/visual/shader_language.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/servers/visual/shader_language.cpp b/servers/visual/shader_language.cpp index d9f2c949e9..1f66b0ba9d 100644 --- a/servers/visual/shader_language.cpp +++ b/servers/visual/shader_language.cpp @@ -1641,10 +1641,10 @@ const ShaderLanguage::BuiltinFuncDef ShaderLanguage::builtin_func_defs[] = { { "floatBitsToInt", TYPE_IVEC3, { TYPE_VEC3, TYPE_VOID } }, { "floatBitsToInt", TYPE_IVEC4, { TYPE_VEC4, TYPE_VOID } }, - { "floatBitsToUInt", TYPE_UINT, { TYPE_FLOAT, TYPE_VOID } }, - { "floatBitsToUInt", TYPE_UVEC2, { TYPE_VEC2, TYPE_VOID } }, - { "floatBitsToUInt", TYPE_UVEC3, { TYPE_VEC3, TYPE_VOID } }, - { "floatBitsToUInt", TYPE_UVEC4, { TYPE_VEC4, TYPE_VOID } }, + { "floatBitsToUint", TYPE_UINT, { TYPE_FLOAT, TYPE_VOID } }, + { "floatBitsToUint", TYPE_UVEC2, { TYPE_VEC2, TYPE_VOID } }, + { "floatBitsToUint", TYPE_UVEC3, { TYPE_VEC3, TYPE_VOID } }, + { "floatBitsToUint", TYPE_UVEC4, { TYPE_VEC4, TYPE_VOID } }, { "intBitsToFloat", TYPE_FLOAT, { TYPE_INT, TYPE_VOID } }, { "intBitsToFloat", TYPE_VEC2, { TYPE_IVEC2, TYPE_VOID } }, |