/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 | 38 unsigned uniform_index = var->data.driver_location / 4; in brw_nir_setup_glsl_builtin_uniform() local 64 stage_prog_data->param[uniform_index++] = in brw_nir_setup_glsl_builtin_uniform() 167 unsigned uniform_index = var->data.driver_location / 4; in brw_nir_setup_glsl_uniform() local 200 stage_prog_data->param[uniform_index++] = BRW_PARAM_UNIFORM(idx); in brw_nir_setup_glsl_uniform() 207 stage_prog_data->param[uniform_index++] = in brw_nir_setup_glsl_uniform()
|
/external/mesa3d/src/broadcom/compiler/ |
D | vir_register_allocate.c | 251 int uniform_index = ~0; in v3d_spill_reg() local 254 uniform_index = orig_unif->uniform; in v3d_spill_reg() 293 c->uniform_contents[uniform_index], in v3d_spill_reg() 294 c->uniform_data[uniform_index]); in v3d_spill_reg()
|
/external/skia/resources/sksl/runtime_errors/ |
D | IllegalIndexing.rts | 25 void uniform_index() { int a[2]; a[u] = 0; }
|
/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 | 5898 glw::GLuint uniform_index = m_glGetUniformBlockIndex(m_program_id_draw, s_uniform); in prepareObjects() local 5901 if (GL_INVALID_INDEX == uniform_index) in prepareObjects() 5906 m_glUniformBlockBinding(m_program_id_draw, uniform_index, 0); in prepareObjects() 6352 glw::GLuint uniform_index = m_glGetUniformBlockIndex(m_program_id_draw, s_uniform); in prepareObjects() local 6355 if (GL_INVALID_INDEX == uniform_index) in prepareObjects() 6360 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()
|