mesa/src
Brian Paul 6ec4e9c28d u_vbuf: fix src_offset alignment in u_vbuf_create_vertex_elements()
If the driver says PIPE_CAP_VERTEX_ELEMENT_SRC_OFFSET_4BYTE_ALIGNED_ONLY=1,
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 adjusting
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[]
array.

See the piglit gl-1.5-vertex-buffer-offsets test.

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
2015-06-19 10:54:24 -06:00
..
egl egl/x11: Set version of swrastLoader to 2 2015-06-18 12:57:59 +01:00
gallium u_vbuf: fix src_offset alignment in u_vbuf_create_vertex_elements() 2015-06-19 10:54:24 -06:00
gbm gbm: Add GBM_BO_USE_LINEAR flag 2015-04-16 15:49:15 +09:00
getopt
glsl glsl: Fail linkage when UBO exceeds GL_MAX_UNIFORM_BLOCK_SIZE. 2015-06-19 07:21:05 +01:00
glx glx: fix Scons build 2015-05-22 14:38:33 -06:00
gtest Fix a few typos 2015-04-27 17:28:29 +03:00
hgl glapi/hgl: Drop extern "C" as it was added to glapi 2015-05-13 15:26:29 -04:00
loader mesa: build xmlconfig to a separate static library 2015-06-12 15:32:18 +01:00
mapi mesa: Constants and functions for ARB_framebuffer_no_attachments 2015-06-17 14:39:02 +03:00
mesa i965: Add missing braces around if-statement. 2015-06-18 16:45:55 -07:00
util util/list: Add a list validation function 2015-05-08 17:16:13 -07:00
Makefile.am mesa; add a dummy _mesa_error_no_memory() symbol to libglsl_util 2015-06-12 15:32:18 +01:00
SConscript scons: Don't build loader on Windows. 2015-03-25 10:42:35 +00:00