unsigned format, num_format, format_comp, endian;
uint32_t *bytecode;
int i, j, r, fs_size;
+ uint32_t buffer_mask = 0;
struct r600_fetch_shader *shader;
unsigned strides[PIPE_MAX_ATTRIBS];
}
}
strides[elements[i].vertex_buffer_index] = elements[i].src_stride;
+ buffer_mask |= BITFIELD_BIT(elements[i].vertex_buffer_index);
}
for (i = 0; i < count; i++) {
return NULL;
}
memcpy(shader->strides, strides, sizeof(strides));
+ shader->buffer_mask = buffer_mask;
u_suballocator_alloc(&rctx->allocator_fetch_shader, fs_size, 256,
&shader->offset,