Lines Matching defs:attrib
244 const struct wined3d_stream_info_element *attrib, DWORD *stride_this_run)
249 DWORD offset = This->resource.device->stateBlock->streamOffset[attrib->stream_idx];
257 if (!attrib->stride)
260 debug_d3dformat(attrib->format_desc->format));
262 else if(attrib->stride != *stride_this_run && *stride_this_run)
264 FIXME("Got two concurrent strides, %d and %d\n", attrib->stride, *stride_this_run);
268 *stride_this_run = attrib->stride;
283 data = (((DWORD_PTR)attrib->data) + offset) % This->stride;
284 attrib_size = attrib->format_desc->component_count * attrib->format_desc->component_size;
304 const struct wined3d_stream_info_element *attrib = &si->elements[attrib_idx];
314 || attrib->buffer_object != This->buffer_object)
317 format = attrib->format_desc->format;
322 ret = buffer_process_converted_attribute(This, CONV_FLOAT16_2, attrib, stride_this_run);
330 ret = buffer_process_converted_attribute(This, CONV_D3DCOLOR, attrib, stride_this_run);
336 ret = buffer_process_converted_attribute(This, CONV_POSITIONT, attrib, stride_this_run);
340 ret = buffer_process_converted_attribute(This, CONV_NONE, attrib, stride_this_run);