Hi all
In DX10/11 the sampler and texture objects have been separated, whereas in DX9 there was only one object for both.
Meaning, the Sample() and Gather() functions in HLSL require an object of type Texture which I do not have with a "classic" DX9 sampler2D object.
So is there a way to access the Texture object of a DX9 sampler2D object when compiling against DX10 / ps_4_0 or ps_5_0?
I'm talking pure HLSL here, so please no hints in C++ or C#.
Thanks in advance.
Edited by Meltac, 28 February 2013 - 08:26 AM.






