summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAxel Davy <[email protected]>2016-10-27 23:36:39 +0200
committerAxel Davy <[email protected]>2016-12-20 23:44:22 +0100
commit4a4eba8c059022b1bff7a389e72f66e513a3dc06 (patch)
tree89994dcd3f9d47a6ddeca10deef2ff40e56a5bc6
parent6a7541a5aa5ce496cbef4d1b15dc3caeb512606c (diff)
st/nine: Remove NineDevice9_GetCSO
Was useless. Remove useless usage in swapchain9. Signed-off-by: Axel Davy <[email protected]>
-rw-r--r--src/gallium/state_trackers/nine/device9.c6
-rw-r--r--src/gallium/state_trackers/nine/device9.h3
-rw-r--r--src/gallium/state_trackers/nine/swapchain9.c1
-rw-r--r--src/gallium/state_trackers/nine/swapchain9.h1
4 files changed, 0 insertions, 11 deletions
diff --git a/src/gallium/state_trackers/nine/device9.c b/src/gallium/state_trackers/nine/device9.c
index 764ebdb5e68..92df2152880 100644
--- a/src/gallium/state_trackers/nine/device9.c
+++ b/src/gallium/state_trackers/nine/device9.c
@@ -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 )
{
diff --git a/src/gallium/state_trackers/nine/device9.h b/src/gallium/state_trackers/nine/device9.h
index 26cc186a0c1..a1f3e45838d 100644
--- a/src/gallium/state_trackers/nine/device9.h
+++ b/src/gallium/state_trackers/nine/device9.h
@@ -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 );
diff --git a/src/gallium/state_trackers/nine/swapchain9.c b/src/gallium/state_trackers/nine/swapchain9.c
index b45e60b97ec..ea822768e70 100644
--- a/src/gallium/state_trackers/nine/swapchain9.c
+++ b/src/gallium/state_trackers/nine/swapchain9.c
@@ -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;
diff --git a/src/gallium/state_trackers/nine/swapchain9.h b/src/gallium/state_trackers/nine/swapchain9.h
index 9f33d17b47d..a784a48290d 100644
--- a/src/gallium/state_trackers/nine/swapchain9.h
+++ b/src/gallium/state_trackers/nine/swapchain9.h
@@ -45,7 +45,6 @@ struct NineSwapChain9
/* G3D stuff */
struct pipe_screen *screen;
struct pipe_context *pipe;
- struct cso_context *cso;
/* presentation backend */
ID3DPresent *present;