Siavash Eliasi <siavashser...@gmail.com> writes: > Hello, this is V2 series of patches to accomplish *Enable > ARB_map_buffer_alignment in all drivers* newbie project suggested by > Ian Romanick.
I think there's a piece missing to this, which is this bit of spec text: "If no error occurs, the pointer value returned by MapBufferRange must reflect an allocation aligned to the value of MIN_MAP_BUFFER_ALIGNMENT basic machine units. Subtracting <offset> basic machine units from the returned pointer will always produce a multiple of the value of MIN_MAP_BUFFER_ALIGNMENT." In i965's intel_bufferobj_map_range, range_map_bo or range_map_buffer mappings won't have that alignment.
pgp1KgtzGANxM.pgp
Description: PGP signature
_______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev