We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 99a4e85 commit 9b99a7eCopy full SHA for 9b99a7e
servers/rendering/renderer_rd/effects/fsr.cpp
@@ -36,18 +36,11 @@ using namespace RendererRD;
36
37
FSR::FSR() {
38
Vector<String> FSR_upscale_modes;
39
-
40
-#if defined(MACOS_ENABLED) || defined(IOS_ENABLED)
41
- // MoltenVK does not support some of the operations used by the normal mode of FSR. Fallback works just fine though.
42
- FSR_upscale_modes.push_back("\n#define MODE_FSR_UPSCALE_FALLBACK\n");
43
-#else
44
- // Everyone else can use normal mode when available.
45
if (RD::get_singleton()->has_feature(RD::SUPPORTS_FSR_HALF_FLOAT)) {
46
FSR_upscale_modes.push_back("\n#define MODE_FSR_UPSCALE_NORMAL\n");
47
} else {
48
FSR_upscale_modes.push_back("\n#define MODE_FSR_UPSCALE_FALLBACK\n");
49
}
50
-#endif
51
52
fsr_shader.initialize(FSR_upscale_modes);
53
0 commit comments