Lines Matching refs:shader_type
53 * \param shader_type either PIPE_SHADER_VERTEX or PIPE_SHADER_FRAGMENT
57 unsigned shader_type)
59 assert(shader_type == PIPE_SHADER_VERTEX ||
60 shader_type == PIPE_SHADER_FRAGMENT ||
61 shader_type == PIPE_SHADER_GEOMETRY);
94 __FUNCTION__, shader_type, params->NumParameters,
99 st->pipe->set_constant_buffer(st->pipe, shader_type, 0, &cb);
102 st->state.constants[shader_type].ptr = params->ParameterValues;
103 st->state.constants[shader_type].size = paramBytes;
105 else if (st->state.constants[shader_type].ptr) {
106 st->state.constants[shader_type].ptr = NULL;
107 st->state.constants[shader_type].size = 0;
108 st->pipe->set_constant_buffer(st->pipe, shader_type, 0, NULL);