aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/ilo/ilo_state.c
diff options
context:
space:
mode:
authorChia-I Wu <[email protected]>2015-06-12 14:47:02 +0800
committerChia-I Wu <[email protected]>2015-06-15 01:07:10 +0800
commit30fcb31c9b095451ce5ac5a10c3c6b177dc03e20 (patch)
tree9e34d182e3848674f1ac85d9f97b3b3fe23a4b13 /src/gallium/drivers/ilo/ilo_state.c
parentda6e45fcbc4570df0ec4b8c8885f33a206da3552 (diff)
ilo: add ilo_state_{vs,hs,ds,gs} to ilo_shader_cso
Diffstat (limited to 'src/gallium/drivers/ilo/ilo_state.c')
-rw-r--r--src/gallium/drivers/ilo/ilo_state.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gallium/drivers/ilo/ilo_state.c b/src/gallium/drivers/ilo/ilo_state.c
index 82fd0e7df19..902b6d3d1de 100644
--- a/src/gallium/drivers/ilo/ilo_state.c
+++ b/src/gallium/drivers/ilo/ilo_state.c
@@ -2146,6 +2146,10 @@ ilo_state_vector_init(const struct ilo_dev *dev,
vec->viewport.params.matrices = vec->viewport.matrices;
vec->viewport.params.scissors = vec->viewport.scissors;
+ ilo_state_hs_init_disabled(&vec->disabled_hs, dev);
+ ilo_state_ds_init_disabled(&vec->disabled_ds, dev);
+ ilo_state_gs_init_disabled(&vec->disabled_gs, dev);
+
ilo_state_surface_init_for_null(&vec->fb.null_rt, dev);
ilo_state_zs_init_for_null(&vec->fb.null_zs, dev);