Searched refs:dstate (Results 1 – 2 of 2) sorted by relevance
86 dd_num_active_viewports(struct dd_draw_state *dstate) in dd_num_active_viewports() argument91 if (dstate->shaders[PIPE_SHADER_GEOMETRY]) in dd_num_active_viewports()92 tokens = dstate->shaders[PIPE_SHADER_GEOMETRY]->state.shader.tokens; in dd_num_active_viewports()93 else if (dstate->shaders[PIPE_SHADER_TESS_EVAL]) in dd_num_active_viewports()94 tokens = dstate->shaders[PIPE_SHADER_TESS_EVAL]->state.shader.tokens; in dd_num_active_viewports()95 else if (dstate->shaders[PIPE_SHADER_VERTEX]) in dd_num_active_viewports()96 tokens = dstate->shaders[PIPE_SHADER_VERTEX]->state.shader.tokens; in dd_num_active_viewports()183 dd_dump_render_condition(struct dd_draw_state *dstate, FILE *f) in dd_dump_render_condition() argument185 if (dstate->render_cond.query) { in dd_dump_render_condition()187 DUMP_M(query_type, &dstate->render_cond, query->type); in dd_dump_render_condition()[all …]
152 struct dd_draw_state *dstate = &dctx->draw_state; in dd_context_render_condition() local155 dstate->render_cond.query = dd_query(query); in dd_context_render_condition()156 dstate->render_cond.condition = condition; in dd_context_render_condition()157 dstate->render_cond.mode = mode; in dd_context_render_condition()559 struct dd_draw_state *dstate = &dctx->draw_state; in dd_context_set_stream_output_targets() local561 dstate->num_so_targets = num_targets; in dd_context_set_stream_output_targets()562 safe_memcpy(dstate->so_targets, tgs, sizeof(*tgs) * num_targets); in dd_context_set_stream_output_targets()563 safe_memcpy(dstate->so_offsets, offsets, sizeof(*offsets) * num_targets); in dd_context_set_stream_output_targets()