On 9 March 2017 at 10:03, Józef Kucia jkucia@codeweavers.com wrote:
Signed-off-by: Józef Kucia jkucia@codeweavers.com
The WINED3D_LEGACY_TEXTURE_BINDING flag should prevent from generating the "No resource view bound at index" warnings in D3D9-, allows to safely unbind resources in context_bind_shader_resources(), and make it easier easier to add support for more samplers in D3D10+.
The issue is texture bindings set through wined3d_device_set_texture(), right? Could we get rid of wined3d_device_set_texture() and create shader resource views for those textures instead, similar to how we create rendertarget views in d3d9, etc.? IIRC one of the issues was interactions with sampler and texture stage states. Tangentially, how does this work with "Aon9" shaders?