diff options
author | Axel Davy <[email protected]> | 2016-10-19 21:38:47 +0200 |
---|---|---|
committer | Axel Davy <[email protected]> | 2016-12-20 23:44:22 +0100 |
commit | 7f6e01052b77ee825ec681ee5d9b65f5d182ca4f (patch) | |
tree | 4ab349c4de4ffbeb243bc9cc1f68710387b26f32 /src/gallium/state_trackers/nine/nine_state.h | |
parent | aafbd62955f279172b0b57c3fd2b82da54f8035f (diff) |
st/nine: Back RT to nine_context
Part of the refactor to move all gallium calls to
nine_state.c, and have all internal states required
for those calls in nine_context.
Signed-off-by: Axel Davy <[email protected]>
Diffstat (limited to 'src/gallium/state_trackers/nine/nine_state.h')
-rw-r--r-- | src/gallium/state_trackers/nine/nine_state.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/gallium/state_trackers/nine/nine_state.h b/src/gallium/state_trackers/nine/nine_state.h index 70a9f102b03..50fecd0f0e2 100644 --- a/src/gallium/state_trackers/nine/nine_state.h +++ b/src/gallium/state_trackers/nine/nine_state.h @@ -229,6 +229,8 @@ struct nine_context { uint32_t bumpmap_vars[6 * NINE_MAX_TEXTURE_STAGES]; + struct NineSurface9 *rt[NINE_MAX_SIMULTANEOUS_RENDERTARGETS]; + struct { void *vs; void *ps; @@ -381,6 +383,11 @@ nine_context_set_pixel_shader_constant_b(struct NineDevice9 *device, UINT BoolCount); void +nine_context_set_render_target(struct NineDevice9 *device, + DWORD RenderTargetIndex, + struct NineSurface9 *rt); + +void nine_context_apply_stateblock(struct NineDevice9 *device, const struct nine_state *src); |