gallium: remove pipe_surface::usage
[mesa.git] / src / gallium / state_trackers / d3d1x / gd3d11 / d3d11_screen.h
index 31e59bf38b116695c9130645d320bc320ace74fb..2c06185594fec5d9a8de0197e625d8ee4b7b2c2f 100644 (file)
@@ -1226,7 +1226,6 @@ struct GalliumD3D11ScreenImpl : public GalliumD3D11Screen
                templat.format = (desc->Format == DXGI_FORMAT_UNKNOWN) ? resource->format : dxgi_to_pipe_format[desc->Format];
                if(!templat.format)
                        return E_NOTIMPL;
-               templat.usage = PIPE_BIND_RENDER_TARGET;
                templat.texture = ((GalliumD3D11Resource<>*)iresource)->resource;
 
                switch(desc->ViewDimension)
@@ -1316,7 +1315,6 @@ struct GalliumD3D11ScreenImpl : public GalliumD3D11Screen
                templat.format = (desc->Format == DXGI_FORMAT_UNKNOWN) ? resource->format : dxgi_to_pipe_format[desc->Format];
                if(!templat.format)
                        return E_NOTIMPL;
-               templat.usage = PIPE_BIND_DEPTH_STENCIL;
                templat.texture = ((GalliumD3D11Resource<>*)iresource)->resource;
 
                switch(desc->ViewDimension)