[Beignet] Beignet compile problems
John Wilson
john.wilson at pathintel.com
Thu Aug 7 16:37:08 PDT 2014
Hi guys,
What's the correct git hash of the mesa source to use to compile against the beignet source? At the moment I'm using master on mesa:
commit b7679639bcc8ac72cb08c48f9cda8eecd6a9c1e5
Author: Kenneth Graunke <kenneth at whitecape.org>
Date: Tue Aug 5 23:57:17 2014 -0700
And stable on beignet:
commit 39c8a4331dcf6319664d657bb8b3584bf7f934ad
Author: Zhigang Gong <zhigang.gong at intel.com>
Date: Thu Jul 17 10:37:09 2014 +0800
But I'm getting the following errors when I'm trying to compile:
[ 9%] [ 10%] Building C object src/CMakeFiles/cl.dir/kernels/cl_internal_built_in_kernel_str.c.o
Building C object src/CMakeFiles/cl.dir/intel/intel_dri_resource_sharing.c.o
/home/john/git/beignet/src/intel/intel_dri_resource_sharing.c: In function 'intel_setup_cl_region_from_mipmap_tree':
/home/john/git/beignet/src/intel/intel_dri_resource_sharing.c:64:35: error: 'struct intel_mipmap_tree' has no member named 'region'
_intel_region_get_tile_masks(mt->region, &mask_x, &mask_y, false);
^
/home/john/git/beignet/src/intel/intel_dri_resource_sharing.c:67:32: error: 'struct intel_mipmap_level' has no member named 'width'
region->w = mt->level[level].width;
^
/home/john/git/beignet/src/intel/intel_dri_resource_sharing.c:68:32: error: 'struct intel_mipmap_level' has no member named 'height'
region->h = mt->level[level].height;
^
/home/john/git/beignet/src/intel/intel_dri_resource_sharing.c:71:23: error: 'struct intel_mipmap_tree' has no member named 'region'
region->tiling = mt->region->tiling;
^
/home/john/git/beignet/src/intel/intel_dri_resource_sharing.c:74:26: error: 'struct intel_mipmap_tree' has no member named 'region'
region->row_pitch = mt->region->pitch;
^
/home/john/git/beignet/src/intel/intel_dri_resource_sharing.c:76:56: error: 'struct intel_mipmap_tree' has no member named 'region'
region->offset = _intel_region_get_aligned_offset(mt->region,
^
/home/john/git/beignet/src/intel/intel_dri_resource_sharing.c:80:31: error: 'struct intel_mipmap_tree' has no member named 'region'
if (!_intel_region_flink(mt->region, ®ion->name))
^
/home/john/git/beignet/src/intel/intel_dri_resource_sharing.c:82:44: error: 'struct intel_mipmap_tree' has no member named 'region'
_intel_region_reference(&null_region, mt->region);
^
/home/john/git/beignet/src/intel/intel_dri_resource_sharing.c: In function 'intelReleaseTexture':
/home/john/git/beignet/src/intel/intel_dri_resource_sharing.c:168:35: error: 'struct intel_mipmap_tree' has no member named 'region'
_intel_region_release(&iobj->mt->region);
^
Can anyone help?
Cheers,
John
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/beignet/attachments/20140807/d1dec2b4/attachment.html>
More information about the Beignet
mailing list