Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormano-wii <germano.costa@ig.com.br>2019-09-18 18:33:00 +0300
committermano-wii <germano.costa@ig.com.br>2019-09-18 18:33:23 +0300
commit77f1f13663d3dc2207803e08482fef92d92f44c2 (patch)
treee37d0e4153853ad1c8f361bf0dd9b9625090b118 /source/blender/draw/modes
parentf9beb1bef1787166aafd35d326244f3e3f83487e (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.glsl4
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