diff options
author | mano-wii <germano.costa@ig.com.br> | 2019-09-18 18:33:00 +0300 |
---|---|---|
committer | mano-wii <germano.costa@ig.com.br> | 2019-09-18 18:33:23 +0300 |
commit | 77f1f13663d3dc2207803e08482fef92d92f44c2 (patch) | |
tree | e37d0e4153853ad1c8f361bf0dd9b9625090b118 /source/blender/draw/modes | |
parent | f9beb1bef1787166aafd35d326244f3e3f83487e (diff) |
GPU: AMD: Remove workaround that doesn't work
Diffstat (limited to 'source/blender/draw/modes')
-rw-r--r-- | source/blender/draw/modes/shaders/common_view_lib.glsl | 4 |
1 files changed, 0 insertions, 4 deletions
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 |