Bindless texture handles can be passed via vertex attribs using this type.
They use the double codepath, so don't use st_pipe_vertex_format.
Cc: 18.0 18.1 <mesa-stable@lists.freedesktop.org>
Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
int src_offset, int instance_divisor,
int vbo_index, int idx)
{
- const unsigned format = st_pipe_vertex_format(attrib);
const GLubyte nr_components = attrib->Size;
if (attrib->Doubles) {
}
}
} else {
+ const unsigned format = st_pipe_vertex_format(attrib);
+
init_velement(&velements[idx], src_offset,
format, instance_divisor, vbo_index);
}