HomeSort by relevance Sort by last modified time
    Searched refs:shProg (Results 1 - 17 of 17) sorted by null

  /external/mesa3d/src/mesa/main/
shaderobj.c 189 * Set ptr to point to shProg.
192 * Then set ptr to point to shProg, incrementing its refcount.
197 struct gl_shader_program *shProg)
200 if (*ptr == shProg) {
227 if (shProg) {
228 shProg->RefCount++;
231 (void *) shProg, shProg->Name, shProg->RefCount);
233 *ptr = shProg;
    [all...]
shader_query.cpp 48 struct gl_shader_program *const shProg =
50 if (!shProg)
71 shProg->AttributeBindings->put(index + VERT_ATTRIB_GENERIC0, name);
85 struct gl_shader_program *shProg;
87 shProg = _mesa_lookup_shader_program_err(ctx, program, "glGetActiveAttrib");
88 if (!shProg)
91 if (!shProg->LinkStatus) {
97 if (shProg->_LinkedShaders[MESA_SHADER_VERTEX] == NULL) {
102 exec_list *const ir = shProg->_LinkedShaders[MESA_SHADER_VERTEX]->ir;
138 struct gl_shader_program *const shProg
    [all...]
shaderapi.c 192 struct gl_shader_program *shProg = _mesa_lookup_shader_program(ctx, name);
193 return shProg ? GL_TRUE : GL_FALSE;
211 struct gl_shader_program *shProg;
215 shProg = _mesa_lookup_shader_program_err(ctx, program, "glAttachShader");
216 if (!shProg)
224 n = shProg->NumShaders;
226 if (shProg->Shaders[i] == sh) {
239 shProg->Shaders = (struct gl_shader **)
240 _mesa_realloc(shProg->Shaders,
243 if (!shProg->Shaders)
    [all...]
uniform_query.cpp 46 struct gl_shader_program *shProg =
51 if (!shProg)
54 if (index >= shProg->NumUserUniformStorage) {
59 const struct gl_uniform_storage *const uni = &shProg->UniformStorage[index];
85 struct gl_shader_program *shProg;
88 shProg = _mesa_lookup_shader_program_err(ctx, program, "glGetActiveUniform");
89 if (!shProg)
101 if (index >= shProg->NumUserUniformStorage) {
109 const struct gl_uniform_storage *uni = &shProg->UniformStorage[index];
156 struct gl_shader_program *shProg,
    [all...]
uniforms.c 64 _mesa_update_shader_textures_used(struct gl_shader_program *shProg,
69 memcpy(prog->SamplerUnits, shProg->SamplerUnits, sizeof(prog->SamplerUnits));
74 GLuint unit = shProg->SamplerUnits[s];
75 GLuint tgt = shProg->SamplerTargets[s];
500 struct gl_shader_program *shProg;
505 shProg = _mesa_lookup_shader_program_err(ctx, programObj,
507 if (!shProg)
515 if (shProg->LinkStatus == GL_FALSE) {
521 index = _mesa_get_uniform_location(ctx, shProg, name, &offset);
532 if (shProg->UniformStorage[index].block_index != -1
    [all...]
shaderobj.h 67 struct gl_shader_program *shProg);
86 struct gl_shader_program *shProg);
90 struct gl_shader_program *shProg);
shaderapi.h 47 _mesa_use_program(struct gl_context *ctx, struct gl_shader_program *shProg);
50 _mesa_active_program(struct gl_context *ctx, struct gl_shader_program *shProg,
58 _mesa_count_active_attribs(struct gl_shader_program *shProg);
61 _mesa_longest_attribute_name_length(struct gl_shader_program *shProg);
197 struct gl_shader_program *shProg);
transformfeedback.c 576 struct gl_shader_program *shProg;
599 shProg = _mesa_lookup_shader_program(ctx, program);
600 if (!shProg) {
639 for (i = 0; i < shProg->TransformFeedback.NumVarying; i++) {
640 free(shProg->TransformFeedback.VaryingNames[i]);
642 free(shProg->TransformFeedback.VaryingNames);
645 shProg->TransformFeedback.VaryingNames =
648 if (!shProg->TransformFeedback.VaryingNames) {
655 shProg->TransformFeedback.VaryingNames[i] = _mesa_strdup(varyings[i]);
657 shProg->TransformFeedback.NumVarying = count
    [all...]
uniforms.h 187 _mesa_get_uniform_location(struct gl_context *ctx, struct gl_shader_program *shProg,
196 _mesa_uniform_matrix(struct gl_context *ctx, struct gl_shader_program *shProg,
222 _mesa_update_shader_textures_used(struct gl_shader_program *shProg,
226 _mesa_sampler_uniforms_are_valid(const struct gl_shader_program *shProg,
234 get_uniform_parameter(struct gl_shader_program *shProg, GLint index);
shared.c 219 struct gl_shader_program *shProg = (struct gl_shader_program *) data;
221 if (shProg->Type == GL_SHADER_PROGRAM_MESA) {
222 _mesa_free_shader_program_data(ctx, shProg);
240 struct gl_shader_program *shProg = (struct gl_shader_program *) data;
241 ASSERT(shProg->Type == GL_SHADER_PROGRAM_MESA);
242 ctx->Driver.DeleteShaderProgram(ctx, shProg);
context.c     [all...]
dd.h 652 struct gl_shader_program *shProg);
653 void (*UseProgram)(struct gl_context *ctx, struct gl_shader_program *shProg);
    [all...]
  /external/mesa3d/src/mesa/drivers/dri/i965/
brw_shader.cpp 80 brw_link_shader(struct gl_context *ctx, struct gl_shader_program *shProg)
86 for (stage = 0; stage < ARRAY_SIZE(shProg->_LinkedShaders); stage++) {
88 (struct brw_shader *)shProg->_LinkedShaders[stage];
104 _mesa_generate_parameters_list_for_uniforms(shProg, &shader->base,
109 vp->UsesClipDistance = shProg->Vert.UsesClipDistance;
203 _mesa_update_shader_textures_used(shProg, prog);
211 _mesa_associate_uniform_storage(ctx, shProg, prog->Parameters);
216 if (!brw_shader_precompile(ctx, shProg))
  /external/mesa3d/src/mesa/state_tracker/
st_draw.c 133 struct gl_shader_program *shProg[3] = {
143 if (shProg[j] == NULL || !shProg[j]->LinkStatus)
146 for (i = 0; i < shProg[j]->NumUserUniformStorage; i++) {
147 const struct gl_uniform_storage *u = &shProg[j]->UniformStorage[i];
st_program.c     [all...]
st_cb_program.c 79 st_use_program(struct gl_context *ctx, struct gl_shader_program *shProg)
st_glsl_to_tgsi.cpp     [all...]

Completed in 342 milliseconds