--debug-gpu-shader: Dump GLSL shaders to disk
authorDalai Felinto <dfelinto@gmail.com>
Wed, 27 Sep 2017 16:03:00 +0000 (18:03 +0200)
committerDalai Felinto <dfelinto@gmail.com>
Wed, 27 Sep 2017 16:03:00 +0000 (18:03 +0200)
commit16edfc516e97042afdc3e35d46ebafcca8cd1bd9
tree15075f3904c400971c87fb2a51c3e6abf48ea701
parent32e453b4956e30c812f5ea60d902f3655da97def
--debug-gpu-shader: Dump GLSL shaders to disk

This is really convenient for development. Either for profiling the
generated shaders or to check if the generated code is correct.

It writes the shaders to the temporary blender session folder.
source/blender/blenkernel/BKE_global.h
source/blender/gpu/intern/gpu_shader.c
source/creator/creator_args.c