Support shadow sampling in non ps
The DirectX opcode SampleCmp is only supported in pixel shaders, for other shaders we must call SampleCmpLevelZero
The same must be done for Sample.
Edited by Gert Wollny
Due to an influx of spam, we have had to impose restrictions on new accounts. Please see this wiki page for instructions on how to get full permissions. Sorry for the inconvenience.
The DirectX opcode SampleCmp is only supported in pixel shaders, for other shaders we must call SampleCmpLevelZero
The same must be done for Sample.