From 0f617cd67ecdd5826a35c219f77f1481a63665a7 Mon Sep 17 00:00:00 2001 From: Jeroen Bakker Date: Mon, 6 Jul 2020 07:45:10 +0200 Subject: GPU: Remove local shaders workaround for Intel/Windows It has been tested that local shaders workaround isn't needed for the latest Windows/Intel 6xx GPU's. Currently the local shaders workaround doesn't work anymore during the investigation it was detected that the intel drivers didn't need it anymore. Local shaders should still be fixed as it is also used for some legacy iGPU's. The current work around crashes when doing preview renders in EEVEE as the default materials aren't available but for the work around they should. (See T77346 for more information) --- source/blender/gpu/intern/gpu_extensions.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'source/blender/gpu') diff --git a/source/blender/gpu/intern/gpu_extensions.c b/source/blender/gpu/intern/gpu_extensions.c index fbeb2edc266..4e4e9c526d0 100644 --- a/source/blender/gpu/intern/gpu_extensions.c +++ b/source/blender/gpu/intern/gpu_extensions.c @@ -339,7 +339,6 @@ void gpu_extensions_init(void) GG.depth_blitting_workaround = true; GG.unused_fb_slot_workaround = true; GG.texture_copy_workaround = true; - GG.context_local_shaders_workaround = GLEW_ARB_get_program_binary; } /* Special fix for theses specific GPUs. @@ -347,7 +346,6 @@ void gpu_extensions_init(void) if (GPU_type_matches(GPU_DEVICE_INTEL, GPU_OS_WIN, GPU_DRIVER_OFFICIAL) && (strstr(renderer, "HD Graphics 620") || strstr(renderer, "HD Graphics 630"))) { GG.mip_render_workaround = true; - GG.context_local_shaders_workaround = GLEW_ARB_get_program_binary; } /* df/dy calculation factors, those are dependent on driver */ -- cgit v1.2.3