What is the meaning of the pFileName argument in the D3DX10CompileShaderFromMemory function?
The shader is not supposed to be in the pSrcData string?
It?? used to add a filename to the error messages if necessary.