[Bf-blender-cvs] [0542442] master: Cycles: Add a UI warning, in case the experimental GPU kernel is used.

Thomas Dinges noreply at git.blender.org
Fri Sep 19 22:26:00 CEST 2014


Commit: 054244231026cdcc913df268101cfd06488ecde9
Author: Thomas Dinges
Date:   Fri Sep 19 17:51:28 2014 +0200
Branches: master
https://developer.blender.org/rB054244231026cdcc913df268101cfd06488ecde9

Cycles: Add a UI warning, in case the experimental GPU kernel is used.

The experimental kernel is slower and can cause issues on some cards still, so better communicate it well.

===================================================================

M	intern/cycles/blender/addon/ui.py

===================================================================

diff --git a/intern/cycles/blender/addon/ui.py b/intern/cycles/blender/addon/ui.py
index 9632b12..d81343c 100644
--- a/intern/cycles/blender/addon/ui.py
+++ b/intern/cycles/blender/addon/ui.py
@@ -1357,6 +1357,9 @@ def draw_device(self, context):
 
         if engine.with_osl() and use_cpu(context):
             layout.prop(cscene, "shading_system")
+            
+        if device_type == 'CUDA' and cscene.feature_set == 'EXPERIMENTAL':
+            layout.label(text="Using experimental GPU kernel", icon='ERROR')
 
 
 def draw_pause(self, context):




More information about the Bf-blender-cvs mailing list