Home
last modified time | relevance | path

Searched refs:uniform_index (Results 1 – 6 of 6) sorted by relevance

/external/mesa3d/src/gallium/drivers/vc4/
Dvc4_reorder_uniforms.c42 uint32_t *uniform_index = NULL; in qir_reorder_uniforms() local
58 uniform_index = in qir_reorder_uniforms()
59 realloc(uniform_index, in qir_reorder_uniforms()
68 assert(inst->src[i].index == uniform_index[new]); in qir_reorder_uniforms()
71 uniform_index[new] = inst->src[i].index; in qir_reorder_uniforms()
81 uniform_data[i] = c->uniform_data[uniform_index[i]]; in qir_reorder_uniforms()
82 uniform_contents[i] = c->uniform_contents[uniform_index[i]]; in qir_reorder_uniforms()
91 free(uniform_index); in qir_reorder_uniforms()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_nir_uniforms.cpp37 unsigned uniform_index = var->data.driver_location / 4; in brw_nir_setup_glsl_builtin_uniform() local
63 stage_prog_data->param[uniform_index++] = in brw_nir_setup_glsl_builtin_uniform()
135 unsigned uniform_index = var->data.driver_location / 4; in brw_nir_setup_glsl_uniform() local
152 uniform_index, storage); in brw_nir_setup_glsl_uniform()
153 uniform_index += in brw_nir_setup_glsl_uniform()
173 stage_prog_data->param[uniform_index++] = BRW_PARAM_UNIFORM(idx); in brw_nir_setup_glsl_uniform()
180 stage_prog_data->param[uniform_index++] = in brw_nir_setup_glsl_uniform()
/external/deqp/external/openglcts/modules/gles31/
Des31cShaderAtomicCountersTests.cpp449 …bool CheckUniform(GLuint prog, const GLchar* uniform_name, GLuint uniform_index, GLint uniform_typ… in CheckUniform() argument
456 if (index != uniform_index) in CheckUniform()
471 glGetProgramResourceName(prog, GL_UNIFORM, uniform_index, sizeof(name), &length, name); in CheckUniform()
479 glGetActiveUniform(prog, uniform_index, sizeof(name), &length, &size, &type, name); in CheckUniform()
508 glGetActiveUniformsiv(prog, 1, &uniform_index, GL_UNIFORM_TYPE, &param); in CheckUniform()
515 glGetActiveUniformsiv(prog, 1, &uniform_index, GL_UNIFORM_SIZE, &param); in CheckUniform()
523 glGetActiveUniformsiv(prog, 1, &uniform_index, GL_UNIFORM_NAME_LENGTH, &param); in CheckUniform()
531 glGetActiveUniformsiv(prog, 1, &uniform_index, GL_UNIFORM_BLOCK_INDEX, &param); in CheckUniform()
538 glGetActiveUniformsiv(prog, 1, &uniform_index, GL_UNIFORM_OFFSET, &param); in CheckUniform()
546 glGetActiveUniformsiv(prog, 1, &uniform_index, GL_UNIFORM_ARRAY_STRIDE, &param); in CheckUniform()
[all …]
/external/deqp/external/openglcts/modules/gl/
Dgl4cShaderAtomicCountersTests.cpp544 …bool CheckUniform(GLuint prog, const GLchar* uniform_name, GLuint uniform_index, GLint uniform_typ… in CheckUniform() argument
551 if (index != uniform_index) in CheckUniform()
566 glGetActiveUniformName(prog, uniform_index, sizeof(name), &length, name); in CheckUniform()
582 glGetActiveUniform(prog, uniform_index, sizeof(name), &length, &size, &type, name); in CheckUniform()
611 glGetActiveUniformsiv(prog, 1, &uniform_index, GL_UNIFORM_TYPE, &param); in CheckUniform()
618 glGetActiveUniformsiv(prog, 1, &uniform_index, GL_UNIFORM_SIZE, &param); in CheckUniform()
626 glGetActiveUniformsiv(prog, 1, &uniform_index, GL_UNIFORM_NAME_LENGTH, &param); in CheckUniform()
634 glGetActiveUniformsiv(prog, 1, &uniform_index, GL_UNIFORM_BLOCK_INDEX, &param); in CheckUniform()
641 glGetActiveUniformsiv(prog, 1, &uniform_index, GL_UNIFORM_OFFSET, &param); in CheckUniform()
649 glGetActiveUniformsiv(prog, 1, &uniform_index, GL_UNIFORM_ARRAY_STRIDE, &param); in CheckUniform()
[all …]
Dgl3cTransformFeedbackTests.cpp5876 glw::GLuint uniform_index = m_glGetUniformBlockIndex(m_program_id_draw, s_uniform); in prepareObjects() local
5879 if (GL_INVALID_INDEX == uniform_index) in prepareObjects()
5884 m_glUniformBlockBinding(m_program_id_draw, uniform_index, 0); in prepareObjects()
6330 glw::GLuint uniform_index = m_glGetUniformBlockIndex(m_program_id_draw, s_uniform); in prepareObjects() local
6333 if (GL_INVALID_INDEX == uniform_index) in prepareObjects()
6338 m_glUniformBlockBinding(m_program_id_draw, uniform_index, 0); in prepareObjects()
Dgl4cShadingLanguage420PackTests.cpp8860 const GLuint uniform_index = gl.getUniformBlockIndex(program.m_program_object_id, buffer); in checkBinding() local
8862 if (GL_INVALID_INDEX == uniform_index) in checkBinding()
8869 …gl.getActiveUniformBlockiv(program.m_program_object_id, uniform_index, GL_UNIFORM_BLOCK_BINDING, &… in checkBinding()