On 21/03/07, Vitaly Budovski vbudovski@gmail.com wrote:
Move the checks for float texture formats into the correct location. This allows some Direct3D sample applications to start up which check for any of the float formats together with D3DUSAGE_RENDERTARGET.
That's better, but now those formats can only be used with render targets. I don't think that's correct, since they were probably added in the other place to make some application work.
Am Mittwoch 21 März 2007 08:34 schrieb H. Verbeet:
On 21/03/07, Vitaly Budovski vbudovski@gmail.com wrote:
Move the checks for float texture formats into the correct location. This allows some Direct3D sample applications to start up which check for any of the float formats together with D3DUSAGE_RENDERTARGET.
That's better, but now those formats can only be used with render targets. I don't think that's correct, since they were probably added in the other place to make some application work.
Especially since its pointless to render to a texture if you can't use it otherwise :-) Although I guess that apps assume that if its ok as a rt you can use it as a texture too
On 21/03/07, Stefan Dösinger stefandoesinger@gmx.at wrote:
Am Mittwoch 21 März 2007 08:34 schrieb H. Verbeet:
On 21/03/07, Vitaly Budovski vbudovski@gmail.com wrote:
Move the checks for float texture formats into the correct location. This allows some Direct3D sample applications to start up which check for any of the float formats together with D3DUSAGE_RENDERTARGET.
That's better, but now those formats can only be used with render targets. I don't think that's correct, since they were probably added in the other place to make some application work.
Especially since its pointless to render to a texture if you can't use it otherwise :-) Although I guess that apps assume that if its ok as a rt you can use it as a texture too
Seems to have been comitted :-/