Lines Matching refs:index

1134 		for (GLuint index = 0; index < 8; ++index)
1136 if (!CheckBinding(index, 0, 0, GL_FALSE, 0, GL_READ_ONLY, GL_R8))
1138 m_context.getTestContext().getLog() << tcu::TestLog::Message << "Binding point " << index
1172 for (GLuint index = 0; index < 8; ++index)
1175 glGetIntegeri_v(GL_IMAGE_BINDING_NAME, index, &name);
1179 << tcu::TestLog::Message << "Binding point " << index
3031 for (GLuint index = 0; index < static_cast<GLuint>(uniforms); ++index)
3034 glGetActiveUniformName(program, index, sizeof(name), NULL, name);
3035 name_index_map.insert(std::make_pair(std::string(name), index));
3127 for (GLuint index = 0; index < static_cast<GLuint>(uniforms); ++index)
3130 glGetActiveUniformName(program, index, sizeof(name), NULL, name);
3131 name_index_map.insert(std::make_pair(std::string(name), index));
3364 for (GLuint index = 0; index < static_cast<GLuint>(uniforms); ++index)
3367 glGetActiveUniformName(program, index, sizeof(name), NULL, name);
3368 name_index_map.insert(std::make_pair(std::string(name), index));
5634 << tcu::TestLog::Message << "Bad buffer value found at index " << i << tcu::TestLog::EndMessage;
6131 " const uint index = atomicCounterIncrement(g_counter);" NL
6132 " imageStore(g_buffer, int(index), gl_Position);" NL "}";
8947 /** Provide image format details for given index
8949 * @param index Index
8952 static void getImageUniformDeclarationDetails(GLuint index, imageFormatDetails& out_details)
8987 if (n_imageUniformFormatDetails <= index)
8993 out_details = format_details[index];
8997 /** Write name of image uniform at given index to output stream
9000 * @param index Index
9002 static void writeImageUniformNameToStream(std::ostream& stream, GLuint index)
9005 stream << "u_image_" << index;
9008 /** Write name of variable used to store value loaded from image at given index to output stream
9011 * @param index Index
9013 static void writeLoadedValueVariableNameToStream(std::ostream& stream, GLuint index)
9016 stream << "loaded_value_" << index;
9022 * @param index Index of image uniform
9025 static void writeCoordinatesVariableNameToStream(std::ostream& stream, GLuint index, GLuint row)
9028 stream << "row_" << row << "_coordinates_" << index;
9033 imageUniformDeclaration(GLuint index) : m_index(index)
9040 /** Write declaration of image uniform at given index to output stream
9064 imageLoadCall(GLuint index) : m_index(index)
9072 /** Write code that execute imageLoad routine for image at given index to output stream
9104 imageStoreCall(GLuint index, GLuint row) : m_index(index), m_row(row)
9112 /** Write code that execute imageStore to image at given index to output stream
9147 coordinatesVariableDeclaration(GLuint index, GLuint row) : m_index(index), m_row(row)
9349 /** Get value of texel for image at given index
9351 * @param index Index of image uniform
9355 GLint getExpectedValue(GLint index)
9359 return 0x40104200 + index;
9362 /** Get name of uniform at given index
9364 * @param index Index of uniform
9367 void getImageUniformName(GLuint index, std::string& out_name)
9371 writeImageUniformNameToStream(stream, index);
9452 * For each index <0, GL_MAX_*_IMAGE_UNIFORMS>