aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers/nine/nine_state.h
diff options
context:
space:
mode:
authorAxel Davy <[email protected]>2015-03-24 10:16:59 +0100
committerAxel Davy <[email protected]>2015-08-21 22:21:47 +0200
commit5a2302b5ece2edf944b474eeb19ad7fc17906e7d (patch)
tree1d5173d2ec27e9a7b7568fc72bf90d6e9e74f25a /src/gallium/state_trackers/nine/nine_state.h
parent71616d0c501077a04deb4f2a3cc115b50634763d (diff)
st/nine: Rework rasterizer states
Separate state preparation and state commit 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.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/state_trackers/nine/nine_state.h b/src/gallium/state_trackers/nine/nine_state.h
index e833225d35e..bd2ad380d7a 100644
--- a/src/gallium/state_trackers/nine/nine_state.h
+++ b/src/gallium/state_trackers/nine/nine_state.h
@@ -79,6 +79,7 @@
#define NINE_STATE_UNHANDLED (1 << 24)
#define NINE_STATE_COMMIT_DSA (1 << 0)
+#define NINE_STATE_COMMIT_RASTERIZER (1 << 1)
#define NINE_MAX_SIMULTANEOUS_RENDERTARGETS 4
@@ -214,6 +215,7 @@ struct nine_state
uint32_t commit;
struct {
struct pipe_depth_stencil_alpha_state dsa;
+ struct pipe_rasterizer_state rast;
} pipe;
};