You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-13 13:31:48 +00:00
Fix textureSize & texelFetch shader compilation errors
This commit is contained in:
@@ -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() {
|
||||||
|
|||||||
Reference in New Issue
Block a user