Lines Matching full:curr
69 (void *) rb_pipe->curr.shader[PIPE_SHADER_FRAGMENT],
71 (void *) rb_pipe->curr.shader[PIPE_SHADER_VERTEX],
76 rb_pipe->draw_rule.shader[sh] == rb_pipe->curr.shader[sh])
81 rb_pipe->draw_rule.surf == rb_pipe->curr.zsbuf)
84 for (k = 0; k < rb_pipe->curr.nr_cbufs; k++)
85 if (rb_pipe->draw_rule.surf == rb_pipe->curr.cbufs[k])
88 for (sh = 0; sh < Elements(rb_pipe->curr.num_views); sh++) {
89 for (k = 0; k < rb_pipe->curr.num_views[sh]; k++) {
90 if (rb_pipe->draw_rule.texture == rb_pipe->curr.texs[sh][k]) {
125 if (!(rb_pipe->curr.shader[PIPE_SHADER_FRAGMENT] && rb_pipe->curr.shader[PIPE_SHADER_FRAGMENT]->disabled) &&
126 !(rb_pipe->curr.shader[PIPE_SHADER_GEOMETRY] && rb_pipe->curr.shader[PIPE_SHADER_GEOMETRY]->disabled) &&
127 !(rb_pipe->curr.shader[PIPE_SHADER_VERTEX] && rb_pipe->curr.shader[PIPE_SHADER_VERTEX]->disabled))
421 rb_pipe->curr.shader[PIPE_SHADER_FRAGMENT] = rbug_shader(_fs);
469 rb_pipe->curr.shader[PIPE_SHADER_VERTEX] = rbug_shader(_vs);
517 rb_pipe->curr.shader[PIPE_SHADER_GEOMETRY] = rbug_shader(_gs);
653 /* must protect curr status */
656 rb_pipe->curr.nr_cbufs = 0;
657 memset(rb_pipe->curr.cbufs, 0, sizeof(rb_pipe->curr.cbufs));
658 rb_pipe->curr.zsbuf = NULL;
664 rb_pipe->curr.nr_cbufs = _state->nr_cbufs;
668 rb_pipe->curr.cbufs[i] = rbug_resource(_state->cbufs[i]->texture);
672 rb_pipe->curr.zsbuf = rbug_resource(_state->zsbuf->texture);
736 /* must protect curr status */
739 rb_pipe->curr.num_views[shader] = 0;
740 memset(rb_pipe->curr.views[shader], 0, sizeof(rb_pipe->curr.views[shader]));
741 memset(rb_pipe->curr.texs[shader], 0, sizeof(rb_pipe->curr.texs[shader]));
745 rb_pipe->curr.num_views[shader] = num;
747 rb_pipe->curr.views[shader][i] = rbug_sampler_view(_views[i]);
748 rb_pipe->curr.texs[shader][i] = rbug_resource(_views[i] ? _views[i]->texture : NULL);