summaryrefslogtreecommitdiffstats
path: root/drivers/gles3/storage/config.h
diff options
context:
space:
mode:
authorclayjohn <claynjohn@gmail.com>2024-10-18 16:04:21 -0700
committerclayjohn <claynjohn@gmail.com>2024-10-29 22:17:16 -0700
commit940e9c2a43efafa6d3a41f64f6b2efaeef344dfc (patch)
tree653f7d6d0e631f52d852e99e1936a896d64108e2 /drivers/gles3/storage/config.h
parent8004c7524fb9f43425c4d6f614410a76678e0f7c (diff)
downloadredot-engine-940e9c2a43efafa6d3a41f64f6b2efaeef344dfc.tar.gz
Revert "Fix GPUParticles are not rendered for older AMD GPUs with OpenGL+Angle"
This reverts commit 9cc9df52eb6ef32b80bd3bd725807fea70b00a89. This also adds a fallback to avoid using the Godot versions of the half 2 float functions when using ANGLE.
Diffstat (limited to 'drivers/gles3/storage/config.h')
-rw-r--r--drivers/gles3/storage/config.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/drivers/gles3/storage/config.h b/drivers/gles3/storage/config.h
index 06d88429be..51f6714320 100644
--- a/drivers/gles3/storage/config.h
+++ b/drivers/gles3/storage/config.h
@@ -95,13 +95,16 @@ public:
bool multiview_supported = false;
bool external_texture_supported = false;
- // Adreno 3XX compatibility
- bool disable_particles_workaround = false; // set to 'true' to disable 'GPUParticles'
+ // Adreno 3XX compatibility.
+ bool disable_particles_workaround = false; // Set to 'true' to disable 'GPUParticles'.
bool flip_xy_workaround = false;
- // PowerVR GE 8320 workaround
+ // PowerVR GE 8320 workaround.
bool disable_transform_feedback_shader_cache = false;
+ // ANGLE shader workaround.
+ bool polyfill_half2float = true;
+
#ifdef ANDROID_ENABLED
PFNGLFRAMEBUFFERTEXTUREMULTIVIEWOVRPROC eglFramebufferTextureMultiviewOVR = nullptr;
PFNGLTEXSTORAGE3DMULTISAMPLEPROC eglTexStorage3DMultisample = nullptr;