1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-04 12:00:25 +00:00

Add textureQueryLod/Levels functions to the shader language

This commit is contained in:
Yuri Rubinsky
2022-08-12 12:51:03 +03:00
parent 67d4015520
commit e21aad968d
2 changed files with 28 additions and 0 deletions

View File

@@ -1436,6 +1436,8 @@ void ShaderCompiler::initialize(DefaultIdentifierActions p_actions) {
texture_functions.insert("textureGrad");
texture_functions.insert("textureGather");
texture_functions.insert("textureSize");
texture_functions.insert("textureQueryLod");
texture_functions.insert("textureQueryLevels");
texture_functions.insert("texelFetch");
}