From 940e9c2a43efafa6d3a41f64f6b2efaeef344dfc Mon Sep 17 00:00:00 2001 From: clayjohn Date: Fri, 18 Oct 2024 16:04:21 -0700 Subject: 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. --- drivers/gles3/storage/config.h | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'drivers/gles3/storage/config.h') 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; -- cgit v1.2.3