Lines Matching defs:index
73 /** Check binding of uniform array element at <index>
77 * @param index Index
82 bool Utils::checkUniformArrayBinding(Utils::program& program, const glw::GLchar* name, glw::GLuint index,
86 sprintf(buffer, "%s[%d]", name, index);
1508 * @return true if index is -1 or 0, false otherwise
1994 << " at index: " << i << tcu::TestLog::EndMessage;
8221 m_goku_buffer.bindRange(0 /* index */, 0 /* offset */, sizeof(goku_data));
8222 m_vegeta_buffer.bindRange(1 /* index */, 0 /* offset */, sizeof(vegeta_data));
8223 m_children_buffer.bindRange(3 /* index */, 0 /* offset */, sizeof(children_data));
8514 m_goku_buffer.bindRange(0 /* index */, 0 /* offset */, sizeof(goku_data));
8806 buffers[i]->bindRange(i + 2 /* index */, 0 /* offset */, sizeof(GLfloat) * 8);
8830 * @param index Index of array element
8833 void BindingUniformBlockArrayTest::checkBinding(Utils::program& program, glw::GLuint index, glw::GLint expected_binding)
8838 sprintf(buffer, "GOKU[%d]", index);
8876 const GLuint index = gl.getUniformBlockIndex(program.m_program_object_id, "GOKU");
8878 if (GL_INVALID_INDEX == index)
8886 gl.getActiveUniformBlockiv(program.m_program_object_id, index, GL_UNIFORM_BLOCK_BINDING, &binding);
9326 const GLuint index = gl.getUniformBlockIndex(program.m_program_object_id, "GOKU");
9328 if (GL_INVALID_INDEX == index)
9334 gl.uniformBlockBinding(program.m_program_object_id, index, new_binding);
9339 gl.getActiveUniformBlockiv(program.m_program_object_id, index, GL_UNIFORM_BLOCK_BINDING, &binding);
9350 m_goku_buffer.bindRange(new_binding /* index */, 0 /* offset */, sizeof(GLfloat) * 8);
10826 * @param index Index of array element
10829 void BindingSamplerArrayTest::checkBinding(Utils::program& program, GLuint index, GLint expected_binding)
10831 if (false == Utils::checkUniformArrayBinding(program, "goku", index, expected_binding))
12620 * @param index Index of array element
12623 void BindingImageArrayTest::checkBinding(Utils::program& program, GLuint index, GLint expected_binding)
12625 if (false == Utils::checkUniformArrayBinding(program, "goku", index, expected_binding))
14635 /** Get string representing sum of vector array. Token INDEX in name will be replaced with element index.
15484 const GLuint index = variable_loc + col;
15488 gl.vertexAttribPointer(index, size, GL_FLOAT /* type */, GL_FALSE /* normalized*/, 0, offset);
17677 * @param index <index> parameter
17681 void Utils::buffer::bindRange(glw::GLuint index, glw::GLintptr offset, glw::GLsizeiptr size)
17685 gl.bindBufferRange(m_target, index, m_id, offset, size);
18167 /** Get subroutine index
18176 GLuint index = -1;
18178 index = gl.getSubroutineIndex(m_program_object_id, shader_stage, subroutine_name);
18181 if (GL_INVALID_INDEX == index)
18189 return index;