diff options
author | Chia-I Wu <[email protected]> | 2013-06-04 18:37:23 +0800 |
---|---|---|
committer | Chia-I Wu <[email protected]> | 2013-06-07 11:13:16 +0800 |
commit | 3c2fea206fa279f40ecca6a1dba00251857e1029 (patch) | |
tree | e403a021bfda117ffaeb44a33cbe4b2674d28f8c /src/gallium/drivers/ilo/ilo_state.c | |
parent | 4006f4ce265199b1ad8dfc9e8ca7fb5176a44527 (diff) |
ilo: construct 3DSTATE_CLIP in create_rasterizer_state()
Add ilo_rasterizer_clip and initialize it in create_rasterizer_state().
Diffstat (limited to 'src/gallium/drivers/ilo/ilo_state.c')
-rw-r--r-- | src/gallium/drivers/ilo/ilo_state.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/ilo/ilo_state.c b/src/gallium/drivers/ilo/ilo_state.c index 15eb1228ace..a2ec664c304 100644 --- a/src/gallium/drivers/ilo/ilo_state.c +++ b/src/gallium/drivers/ilo/ilo_state.c @@ -303,12 +303,14 @@ static void * ilo_create_rasterizer_state(struct pipe_context *pipe, const struct pipe_rasterizer_state *state) { + struct ilo_context *ilo = ilo_context(pipe); struct ilo_rasterizer_state *rast; rast = MALLOC_STRUCT(ilo_rasterizer_state); assert(rast); rast->state = *state; + ilo_gpe_init_rasterizer(ilo->dev, state, rast); return rast; } |