Lines Matching refs:index
69 * @param index <index> parameter
73 void Utils::buffer::bindRange(glw::GLenum target, glw::GLuint index, glw::GLintptr offset, glw::GLsizeiptr size)
77 gl.bindBufferRange(target, index, m_id, offset, size);
436 /** Get subroutine index
445 GLuint index = -1;
447 index = gl.getSubroutineIndex(m_program_object_id, shader_stage, subroutine_name);
450 if (GL_INVALID_INDEX == index)
458 return index;
2008 gl.getActiveSubroutineName(m_po_id, GL_VERTEX_SHADER, 0, /* index */
2060 gl.getActiveSubroutineUniformName(m_po_id, GL_VERTEX_SHADER, 0, /* index */
2066 gl.getActiveSubroutineUniformName(m_po_id, GL_VERTEX_SHADER, 0, /* index */
2259 gl.bindBufferRange(GL_TRANSFORM_FEEDBACK_BUFFER, 0, /* index */
2527 gl.bindBufferBase(GL_TRANSFORM_FEEDBACK_BUFFER, 0 /* index */, m_xfb_bo_id);
3079 GLuint index = gl.getProgramResourceIndex(program_id, program_interface, resource_name);
3082 if (GL_INVALID_INDEX == index)
3087 gl.getProgramResourceiv(program_id, program_interface, index, 1, &pname, 1, 0, &value);
3146 * @param index <index> parameter for getActiveSubroutineUniformiv
3152 bool FunctionalTest3_4::checkActiveSubroutineUniformiv(GLuint program_id, GLuint index, GLenum pname,
3158 gl.getActiveSubroutineUniformiv(program_id, GL_VERTEX_SHADER, index, pname, &value);
3165 << "idnex: " << index << ". "
3178 /** Returns index of program resource
3190 GLuint index = gl.getProgramResourceIndex(program_id, program_interface, resource_name);
3194 if (GL_INVALID_INDEX == index)
3202 return index;
3205 /** Get subroutine index
3217 GLuint index = -1;
3221 index = gl.getSubroutineIndex(program_id, GL_VERTEX_SHADER, subroutine_name);
3226 index = gl.getProgramResourceIndex(program_id, GL_VERTEX_SUBROUTINE, subroutine_name);
3230 if (GL_INVALID_INDEX == index)
3235 return index;
3384 GLuint index = getProgramResourceIndex(program_id, GL_VERTEX_SUBROUTINE_UNIFORM, uniform_name);
3386 if (GL_INVALID_INDEX != index)
3394 gl.getProgramResourceiv(program_id, GL_VERTEX_SUBROUTINE_UNIFORM, index, 1, &prop, m_n_active_subroutines,
3658 << ", name: " << subroutine_names[routine] << ", index: " << routine_index
4610 * @param combination Function combination, first applied function is at index [0]
4826 * @param combination Function combination, first applied function is at index [0]
5041 gl.bindBufferBase(GL_TRANSFORM_FEEDBACK_BUFFER, 0 /* index */, m_xfb_bo_id);
6058 atomic_buffer.bindRange(GL_ATOMIC_COUNTER_BUFFER, 0 /* index */, 0 /* offset */, sizeof(atomic_buffer_data));
6470 buffer.bindRange(GL_SHADER_STORAGE_BUFFER, 0 /* index */, 0 /* offset */, sizeof(buffer_data));
6697 * index of the shader, as specified by the caller.
6752 * index of the shader, as specified by the caller.
6829 * index of the shader, as specified by the caller.
6896 * index of the shader, as specified by the caller.
6956 * index of the shader, as specified by the caller.
7687 << " index: " << m_subroutine_indices[type][i]
7688 << " initial index: " << m_initial_subroutine_indices[type][i] << tcu::TestLog::EndMessage;
8059 * This function returns slightly different implementations, depending on index of
8224 m_testCtx.getLog() << tcu::TestLog::Message << "Failed to build test program object, index:"
9633 gl.bindBufferBase(GL_TRANSFORM_FEEDBACK_BUFFER, 0 /* index */, m_xfb_bo_id);
9819 m_testCtx.getLog() << tcu::TestLog::Message << "XFBed data was found to be invalid at index [" << n_vertex
10002 TCU_FAIL("Invalid subroutine index returned");
10011 TCU_FAIL("Invalid subroutine uniform index returned");
10052 * GetActiveSubroutineUniformName if <index> is greater than or equal to the
10074 "when passed <index> argument that is greater than or equal to "
10098 "when passed <index> argument that is greater than or equal to "
10105 /* The error INVALID_VALUE is generated by GetActiveSubroutineName if <index>
10124 "when passed <index> argument that is greater than or equal to "
10135 glw::GLuint index = 0;
10140 gl.uniformSubroutinesuiv(GL_VERTEX_SHADER, m_po_active_subroutine_uniform_locations - 1, &index);
10145 gl.uniformSubroutinesuiv(GL_VERTEX_SHADER, m_po_active_subroutine_uniform_locations + 1, &index);
10191 * subroutine index in <indices> identifies a subroutine not associated with
10204 "when the subroutine index passed via <indices> argument identifies"
12293 GLuint index = 0;
12300 index = program.getSubroutineIndex(name_of_recursive_routine, GL_VERTEX_SHADER);
12317 << name_of_recursive_routine << ", which is active, index: " << index << ", has been built successfully.\n"