[Mesa-dev] [PATCH] u_vbuf: fix src_offset alignment in u_vbuf_create_vertex_elements()
maraeo at gmail.com
Wed Jun 24 07:05:47 PDT 2015
The cherry-picking to 1.6 is okay with me.
On Wed, Jun 24, 2015 at 3:52 PM, Brian Paul <brianp at vmware.com> wrote:
> On 06/24/2015 06:49 AM, Emil Velikov wrote:
>> Hello gents,
>> On 19 June 2015 at 15:39, Brian Paul <brianp at vmware.com> wrote:
>>> If the driver says
>>> the driver should never receive a pipe_vertex_element::src_offset value
>>> that's not a multiple of four. But the vbuf code wasn't actually
>>> the src_offset value when creating the vertex element state object.
>>> We just need to align the src_offset values put in the driver_attribs
>>> See the piglit gl-1.5-vertex-buffer-offsets test.
>> Is this something we want in the 10.6 stable branch ? According to the
>> comment in the piglit test, the spec does not explicitly state what
>> should happen in the particular case, but I'd assume that we want to
>> provide some safe behaviour ?
> I think the patch fixes a pretty rare situation so I wasn't too concerned
> about porting to the 10.6 branch. But I don't think there'd be any harm in
> cherry-picking it to 10.6.
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
More information about the mesa-dev