/external/mesa3d/src/gallium/drivers/vc4/ |
D | vc4_reorder_uniforms.c | 42 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/ |
D | brw_nir_uniforms.cpp | 37 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/ |
D | es31cShaderAtomicCountersTests.cpp | 449 …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, ¶m); in CheckUniform() 515 glGetActiveUniformsiv(prog, 1, &uniform_index, GL_UNIFORM_SIZE, ¶m); in CheckUniform() 523 glGetActiveUniformsiv(prog, 1, &uniform_index, GL_UNIFORM_NAME_LENGTH, ¶m); in CheckUniform() 531 glGetActiveUniformsiv(prog, 1, &uniform_index, GL_UNIFORM_BLOCK_INDEX, ¶m); in CheckUniform() 538 glGetActiveUniformsiv(prog, 1, &uniform_index, GL_UNIFORM_OFFSET, ¶m); in CheckUniform() 546 glGetActiveUniformsiv(prog, 1, &uniform_index, GL_UNIFORM_ARRAY_STRIDE, ¶m); in CheckUniform() [all …]
|
/external/deqp/external/openglcts/modules/gl/ |
D | gl4cShaderAtomicCountersTests.cpp | 544 …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, ¶m); in CheckUniform() 618 glGetActiveUniformsiv(prog, 1, &uniform_index, GL_UNIFORM_SIZE, ¶m); in CheckUniform() 626 glGetActiveUniformsiv(prog, 1, &uniform_index, GL_UNIFORM_NAME_LENGTH, ¶m); in CheckUniform() 634 glGetActiveUniformsiv(prog, 1, &uniform_index, GL_UNIFORM_BLOCK_INDEX, ¶m); in CheckUniform() 641 glGetActiveUniformsiv(prog, 1, &uniform_index, GL_UNIFORM_OFFSET, ¶m); in CheckUniform() 649 glGetActiveUniformsiv(prog, 1, &uniform_index, GL_UNIFORM_ARRAY_STRIDE, ¶m); in CheckUniform() [all …]
|
D | gl3cTransformFeedbackTests.cpp | 5876 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()
|
D | gl4cShadingLanguage420PackTests.cpp | 8860 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()
|