diff options
author | Lionel Landwerlin <[email protected]> | 2017-08-30 09:12:49 +0100 |
---|---|---|
committer | Lionel Landwerlin <[email protected]> | 2017-08-30 17:59:17 +0100 |
commit | d324197de9e9c4c3c18a2ee8c0508462dc8bcdf5 (patch) | |
tree | ab50b068bc214340188888d77cfb7eed53ecfd20 /src/mesa/drivers/dri/i965/brw_draw_upload.c | |
parent | 990c24ad8571e2c5f64dd2013b6dc7b2ac2b12d3 (diff) |
i965: drop brw->is_baytrail in favor of devinfo->is_baytrail
Signed-off-by: Lionel Landwerlin <[email protected]>
Reviewed-by: Samuel Iglesias Gonsálvez <[email protected]>
Reviewed-by: Emil Velikov <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_draw_upload.c')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_draw_upload.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_draw_upload.c b/src/mesa/drivers/dri/i965/brw_draw_upload.c index 92a9be11f6b..1363c5591a5 100644 --- a/src/mesa/drivers/dri/i965/brw_draw_upload.c +++ b/src/mesa/drivers/dri/i965/brw_draw_upload.c @@ -254,7 +254,7 @@ brw_get_vertex_surface_type(struct brw_context *brw, int size = glarray->Size; const struct gen_device_info *devinfo = &brw->screen->devinfo; const bool is_ivybridge_or_older = - devinfo->gen <= 7 && !brw->is_baytrail && !brw->is_haswell; + devinfo->gen <= 7 && !devinfo->is_baytrail && !brw->is_haswell; if (unlikely(INTEL_DEBUG & DEBUG_VERTS)) fprintf(stderr, "type %s size %d normalized %d\n", |