Merge pull request #42962 from Chaosus/fix_shader_texture_funcs
Fix textureSize & texelFetch shader compilation errors
This commit is contained in:
commit
c97dea47b5
@ -1295,6 +1295,8 @@ void ShaderCompilerRD::initialize(DefaultIdentifierActions p_actions) {
|
|||||||
texture_functions.insert("textureLod");
|
texture_functions.insert("textureLod");
|
||||||
texture_functions.insert("textureProjLod");
|
texture_functions.insert("textureProjLod");
|
||||||
texture_functions.insert("textureGrad");
|
texture_functions.insert("textureGrad");
|
||||||
|
texture_functions.insert("textureSize");
|
||||||
|
texture_functions.insert("texelFetch");
|
||||||
}
|
}
|
||||||
|
|
||||||
ShaderCompilerRD::ShaderCompilerRD() {
|
ShaderCompilerRD::ShaderCompilerRD() {
|
||||||
|
Loading…
Reference in New Issue
Block a user