How to render displacement of cycles material output into normal map? I'm using blender to render sprites to 2d game. I'm using render layers to separate output into different layers my game engine requires, including normal map:



However, when using a texture with displacement:



...it just doesn't show up on the normal output:

 

I suppose normal output has only geometry in it? How would I go about adding this texture to normal map?

Please note that I'm not baking sprites, I'm using full render output separated into layers. This is to enable animated normal map output.

EDIT:

This actually seems to work as expected in Blender 2.78a:



This seems to be a bug in Blender 2.79.
It is a bug in a version 2.79 (build 2017-09-11, 5bd8ac9). Same scene rendered fine in both 2.78a and latest build of 2.79 (build 2017-11-05, 8a72be7).