diff options
author | Jason Ekstrand <[email protected]> | 2016-09-09 16:30:24 -0700 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2017-05-26 07:58:01 -0700 |
commit | 752d7af77a52898cebf5597def4fdd38b1d6303e (patch) | |
tree | 9871b8f26e331a376772435f77584cf53b5f0a61 /src/intel/blorp/blorp.c | |
parent | 23125b710278d357da98d0542bf76df6026e931a (diff) |
i965: Add blorp support for gen4-5
Due to complications with things such as URB setup on gen4-5, it's
easier to keep gen4 support in blorp completely internal to i965. This
makes things a bit awkward because that means there's a file in i965
that includes blorp_priv.h but it's either that or have a file in blorp
that includes brw_context.h.
Reviewed-by: Topi Pohjolainen <[email protected]>
Diffstat (limited to 'src/intel/blorp/blorp.c')
-rw-r--r-- | src/intel/blorp/blorp.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/intel/blorp/blorp.c b/src/intel/blorp/blorp.c index 7f1566f00a4..ea3b8252a2a 100644 --- a/src/intel/blorp/blorp.c +++ b/src/intel/blorp/blorp.c @@ -124,10 +124,10 @@ brw_blorp_surface_info_init(struct blorp_context *blorp, info->z_offset = 0; } - /* Sandy Bridge has a limit of a maximum of 512 layers for layered - * rendering. + /* Sandy Bridge and earlier have a limit of a maximum of 512 layers for + * layered rendering. */ - if (is_render_target && blorp->isl_dev->info->gen == 6) + if (is_render_target && blorp->isl_dev->info->gen <= 6) info->view.array_len = MIN2(info->view.array_len, 512); } |