Re: [PATCH 2/5] d3d9: Check for support before creating textures

2013-09-03 Thread Stefan Dösinger
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Am 2013-09-03 17:54, schrieb Henri Verbeet: > If that's the main issue, I could tell you that it will most > likely end up being renamed WINED3D_BIND_SHADER_RESOURCE at some > point, equivalent to the d3d10+ bind flags. That works for the name. The oth

Re: [PATCH 2/5] d3d9: Check for support before creating textures

2013-09-03 Thread Henri Verbeet
On 3 September 2013 14:07, Stefan Dösinger wrote: > I'm checking this in d3d9/d3d8/ddraw because we create textures for > everything nowadays, even stand-alone surfaces. For ddraw that's not true yet, but I think my preferred way to handle this would be to introduce a WINED3DUSAGE_TEXTURE usage fl

Re: [PATCH 2/5] d3d9: Check for support before creating textures

2013-09-03 Thread Henri Verbeet
On 3 September 2013 17:45, Stefan Dösinger wrote: > My main issue with a WINED3DUSAGE_TEXTURE flag is that > create_texture(USAGE_TEXTURE) seems a bit weird - we might as well > call it create_texture(USAGE_I_REALLY_MEAN_IT). > If that's the main issue, I could tell you that it will most likely en

Re: [PATCH 2/5] d3d9: Check for support before creating textures

2013-09-03 Thread Stefan Dösinger
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Am 2013-09-03 17:33, schrieb Henri Verbeet: > On 3 September 2013 14:07, Stefan Dösinger > wrote: >> I'm checking this in d3d9/d3d8/ddraw because we create textures >> for everything nowadays, even stand-alone surfaces. > For ddraw that's not true yet