diff options
author | Kenneth Graunke <[email protected]> | 2018-06-20 16:11:08 -0700 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2019-02-21 10:26:07 -0800 |
commit | f12b079c0ed5d02413f43abe39380e47d6874b74 (patch) | |
tree | 4a7d99e3de1a040057b4fb3ba855de2d83290d2a /src/gallium/drivers/iris/iris_state.c | |
parent | 81f899c148d181b2594222167388d0f8b6e4849c (diff) |
iris: actually init num_viewports
fixes regressions
Diffstat (limited to 'src/gallium/drivers/iris/iris_state.c')
-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 8fd0ad83b94..d35bcd4eb28 100644 --- a/src/gallium/drivers/iris/iris_state.c +++ b/src/gallium/drivers/iris/iris_state.c @@ -3343,6 +3343,7 @@ genX(init_state)(struct iris_context *ice) ice->state.dirty = ~0ull; + ice->state.num_viewports = 1; ice->state.cso_vp = calloc(1, sizeof(struct iris_viewport_state)); ice->state.cso_vertex_buffers = calloc(1, sizeof(struct iris_vertex_buffer_state)); |