diff options
author | Kenneth Graunke <[email protected]> | 2018-12-14 15:38:29 -0800 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2018-12-17 14:03:45 -0800 |
commit | 3c71ba3baab53176bd8f24e8d5b2bce856b5d44f (patch) | |
tree | 66f2d73ced3b793724e8c716d7eeceebc1fb8457 /src/mesa | |
parent | af07141b33d0a58ed2cfe915b95f146481a4ffef (diff) |
i965: Don't override subslice count to 4 on Gen11.
Gen9-10 have fewer than 4 subslices per slice, so they need this to be
rounded up. Gen11 isn't documented as needing this hack, and it can
also have more than 4 subslices, so the hack actually can break things.
Reviewed-by: Anuj Phogat <[email protected]>
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_program.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_program.c b/src/mesa/drivers/dri/i965/brw_program.c index 96247f32f0f..730d6dc0d5a 100644 --- a/src/mesa/drivers/dri/i965/brw_program.c +++ b/src/mesa/drivers/dri/i965/brw_program.c @@ -407,7 +407,7 @@ brw_alloc_stage_scratch(struct brw_context *brw, * and we wish to view that there are 4 subslices per slice * instead of the actual number of subslices per slice. */ - if (devinfo->gen >= 9) + if (devinfo->gen >= 9 && devinfo->gen < 11) subslices = 4 * brw->screen->devinfo.num_slices; unsigned scratch_ids_per_subslice; |