Is there any possibility of doing the following:
Create a Shader in HLSL
Define a variable in the shader that I would like to read back after processing
Load the Shader for drawing
Call DX11 functions to draw my stuff
After all GPU processing, read back the value of the variable to the program in CPU
Any hints if this is possible?