Home
last modified time | relevance | path

Searched refs:uniform_index (Results 1 – 8 of 8) 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.cpp38 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/
Dvir_register_allocate.c251 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/
DIllegalIndexing.rts25 void uniform_index() { int a[2]; a[u] = 0; }
/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.cpp5898 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()
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()