184
184
cell_set_constant_buffer(struct pipe_context *pipe,
188
188
struct cell_context *cell = cell_context(pipe);
190
192
assert(shader < PIPE_SHADER_TYPES);
195
200
/* note: reference counting */
204
draw_set_mapped_constant_buffer(cell->draw, PIPE_SHADER_VERTEX, 0,
198
210
if (shader == PIPE_SHADER_VERTEX)
199
211
cell->dirty |= CELL_NEW_VS_CONSTANTS;