diff options
-rw-r--r-- | src/gallium/drivers/iris/iris_state.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/iris/iris_state.c b/src/gallium/drivers/iris/iris_state.c index 4511a075ffc..3fca191937d 100644 --- a/src/gallium/drivers/iris/iris_state.c +++ b/src/gallium/drivers/iris/iris_state.c @@ -6974,6 +6974,7 @@ genX(init_state)(struct iris_context *ice) ice->state.sample_mask = 0xffff; ice->state.num_viewports = 1; + ice->state.prim_mode = PIPE_PRIM_MAX; ice->state.genx = calloc(1, sizeof(struct iris_genx_state)); /* Make a 1x1x1 null surface for unbound textures */ |