You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
Optimize Mobile renderer by using FP16 explicitly.
This commit is contained in:
@@ -41,7 +41,7 @@ FSR::FSR() {
|
||||
fsr_shader.initialize(fsr_upscale_modes);
|
||||
|
||||
FSRShaderVariant variant;
|
||||
if (RD::get_singleton()->has_feature(RD::SUPPORTS_FSR_HALF_FLOAT)) {
|
||||
if (RD::get_singleton()->has_feature(RD::SUPPORTS_HALF_FLOAT)) {
|
||||
variant = FSR_SHADER_VARIANT_NORMAL;
|
||||
} else {
|
||||
variant = FSR_SHADER_VARIANT_FALLBACK;
|
||||
|
||||
Reference in New Issue
Block a user