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");
}