st/nine: Remove NineDevice9_GetCSO
authorAxel Davy <axel.davy@ens.fr>
Thu, 27 Oct 2016 21:36:39 +0000 (23:36 +0200)
committerAxel Davy <axel.davy@ens.fr>
Tue, 20 Dec 2016 22:44:22 +0000 (23:44 +0100)
Was useless. Remove useless usage in
swapchain9.

Signed-off-by: Axel Davy <axel.davy@ens.fr>
src/gallium/state_trackers/nine/device9.c
src/gallium/state_trackers/nine/device9.h
src/gallium/state_trackers/nine/swapchain9.c
src/gallium/state_trackers/nine/swapchain9.h

index 764ebdb5e680ade38f5143ced5dd32293a3e3081..92df215288026a04235e1a38b300b1bc4d3384c4 100644 (file)
@@ -568,12 +568,6 @@ NineDevice9_GetPipe( struct NineDevice9 *This )
     return This->pipe;
 }
 
-struct cso_context *
-NineDevice9_GetCSO( struct NineDevice9 *This )
-{
-    return This->cso;
-}
-
 const D3DCAPS9 *
 NineDevice9_GetCaps( struct NineDevice9 *This )
 {
index 26cc186a0c15ebeed8796d0e14392ba25a649b85..a1f3e45838d871fc9a88e357370482bef434bfb9 100644 (file)
@@ -201,9 +201,6 @@ NineDevice9_GetScreen( struct NineDevice9 *This );
 struct pipe_context *
 NineDevice9_GetPipe( struct NineDevice9 *This );
 
-struct cso_context *
-NineDevice9_GetCSO( struct NineDevice9 *This );
-
 const D3DCAPS9 *
 NineDevice9_GetCaps( struct NineDevice9 *This );
 
index b45e60b97ec178d53a8775bd5025dba5b0d1b7f8..ea822768e7030209e9b1f1e9e01e056511113f8b 100644 (file)
@@ -60,7 +60,6 @@ NineSwapChain9_ctor( struct NineSwapChain9 *This,
 
     This->screen = NineDevice9_GetScreen(This->base.device);
     This->pipe = NineDevice9_GetPipe(This->base.device);
-    This->cso = NineDevice9_GetCSO(This->base.device);
     This->implicit = implicit;
     This->actx = pCTX;
     This->present = pPresent;
index 9f33d17b47dba794896208b003e59e78ab0dc21b..a784a48290dac536fbf4e855e6826d6adb1aadc9 100644 (file)
@@ -45,7 +45,6 @@ struct NineSwapChain9
     /* G3D stuff */
     struct pipe_screen *screen;
     struct pipe_context *pipe;
-    struct cso_context *cso;
 
     /* presentation backend */
     ID3DPresent *present;