From 77f1f13663d3dc2207803e08482fef92d92f44c2 Mon Sep 17 00:00:00 2001 From: mano-wii Date: Wed, 18 Sep 2019 12:33:00 -0300 Subject: GPU: AMD: Remove workaround that doesn't work --- source/blender/draw/modes/shaders/common_view_lib.glsl | 4 ---- 1 file changed, 4 deletions(-) (limited to 'source/blender/draw/modes/shaders') diff --git a/source/blender/draw/modes/shaders/common_view_lib.glsl b/source/blender/draw/modes/shaders/common_view_lib.glsl index a554db7d4a4..e669eb9d39a 100644 --- a/source/blender/draw/modes/shaders/common_view_lib.glsl +++ b/source/blender/draw/modes/shaders/common_view_lib.glsl @@ -36,10 +36,6 @@ uniform int baseInstance; # ifdef IN_PLACE_INSTANCES /* When drawing instances of an object at the same position. */ # define instanceId 0 -# elif defined(GPU_CRAPPY_AMD_DRIVER) -/* NOTE: This does contain the baseInstance ofset */ -in int _instanceId; -# define instanceId (_instanceId - baseInstance) # else # define instanceId gl_InstanceID # endif -- cgit v1.2.3