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_program.c | |
parent | 81f899c148d181b2594222167388d0f8b6e4849c (diff) |
iris: actually init num_viewports
fixes regressions
Diffstat (limited to 'src/gallium/drivers/iris/iris_program.c')
-rw-r--r-- | src/gallium/drivers/iris/iris_program.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gallium/drivers/iris/iris_program.c b/src/gallium/drivers/iris/iris_program.c index 136b1c388df..b4bfb45ec4c 100644 --- a/src/gallium/drivers/iris/iris_program.c +++ b/src/gallium/drivers/iris/iris_program.c @@ -452,7 +452,9 @@ update_last_vue_map(struct iris_context *ice) // XXX: could use ctx->Const.MaxViewports for old API efficiency ice->state.num_viewports = (vue_map->slots_valid & VARYING_BIT_VIEWPORT) ? IRIS_MAX_VIEWPORTS : 1; - ice->state.dirty |= IRIS_DIRTY_CLIP | IRIS_DIRTY_SF_CL_VIEWPORT; + ice->state.dirty |= IRIS_DIRTY_CLIP | + IRIS_DIRTY_SF_CL_VIEWPORT | + IRIS_DIRTY_SCISSOR_RECT; // XXX: CC_VIEWPORT? } |