--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>
Sat, 2 Jun 2018 18:29:27 +0000 (20:29 +0200)
commitfec317de8d57ab45408a017c0781f4cbbf13b2bf
tree5636a04f2581d27dea0900d222ebe1a5d67b65db
parentc140f11946fd920230096950e4a1f18269f1b22e
--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.

(ported over from blender2.8)
source/blender/blenkernel/BKE_global.h
source/blender/gpu/intern/gpu_shader.c
source/creator/creator_args.c