Re: [Mesa-dev] [PATCH V4 5/6] intel: implement create image from texture

2013-01-16 Thread Abdiel Janulgue
On Tuesday, January 15, 2013 02:05:00 PM Eric Anholt wrote: > > +static void > > +intel_image_set_level_info(__DRIimage *image, struct intel_mipmap_tree > > *mt, + int level, int slice, > > + uint32_t mask_x, uint32_t mask_y) > > +{ > > + image

Re: [Mesa-dev] [PATCH V4 5/6] intel: implement create image from texture

2013-01-15 Thread Eric Anholt
Abdiel Janulgue writes: > Save miptree level info to DRIImage, taking offsets into consideration. > In non-tile-aligned surface cases where resolving back to the original image > located in mip-levels higher than the base level proves problematic due to > offset alignment issues, report INVALID_O

[Mesa-dev] [PATCH V4 5/6] intel: implement create image from texture

2013-01-14 Thread Abdiel Janulgue
Save miptree level info to DRIImage, taking offsets into consideration. In non-tile-aligned surface cases where resolving back to the original image located in mip-levels higher than the base level proves problematic due to offset alignment issues, report INVALID_OPERATION as per spec wording. Sig