Home
last modified time | relevance | path

Searched refs:bufNdx (Results 1 – 7 of 7) sorted by relevance

/third_party/vk-gl-cts/modules/gles31/functional/
Des31fLayoutBindingTests.cpp1705 for (int bufNdx = 0; bufNdx < (int)m_buffers.size(); ++bufNdx) in init() local
1711 for (int bufNdx = 0; bufNdx < (int)m_buffers.size(); ++bufNdx) in init() local
1713 gl.bindBuffer(GL_UNIFORM_BUFFER, m_buffers[bufNdx]); in init()
1714 gl.bufferData(GL_UNIFORM_BUFFER, 2*sizeof(Vec4), &(m_expectedColors[2*bufNdx]), GL_STATIC_DRAW); in init()
1715 gl.bindBufferBase(GL_UNIFORM_BUFFER, m_bindings[bufNdx], m_buffers[bufNdx]); in init()
1726 for (int bufNdx = 0; bufNdx < (int)m_buffers.size(); ++bufNdx) in deinit() local
1728 if (m_buffers[bufNdx]) in deinit()
1730 m_context.getRenderContext().getFunctions().deleteBuffers(1, &m_buffers[bufNdx]); in deinit()
1974 for (int bufNdx = 0; bufNdx < (int)m_buffers.size(); ++bufNdx) in init() local
1980 for (int bufNdx = 0; bufNdx < (int)m_buffers.size(); ++bufNdx) in init() local
[all …]
Des31fDrawBuffersIndexedTests.cpp1022 for (int bufNdx = 0; bufNdx < (int)bufs.size(); bufNdx++) in renderQuad() local
1023 bufs[bufNdx] = (drawBuffers[bufNdx].getRender() ? GL_COLOR_ATTACHMENT0 + bufNdx : GL_NONE); in renderQuad()
Des31fSSBOLayoutCase.cpp2215 for (int bufNdx = 0; bufNdx < (int)buffers.size(); bufNdx++) in iterate() local
2217 const int bufferSize = buffers[bufNdx].size; in iterate()
2224 buffers[bufNdx].buffer = buffer; in iterate()
/third_party/vk-gl-cts/modules/gles3/functional/
Des3fTransformFeedbackTests.cpp473 int bufNdx = (bufferMode == GL_SEPARATE_ATTRIBS ? varNdx : 0); in computeTransformFeedbackOutputs() local
478 output.bufferNdx = bufNdx; in computeTransformFeedbackOutputs()
1100 for (int bufNdx = 0; bufNdx < (int)m_outputBuffers.size(); bufNdx++) in runTest() local
1102 deUint32 buffer = m_outputBuffers[bufNdx]; in runTest()
1103 int stride = m_bufferStrides[bufNdx]; in runTest()
1104 int target = bufNdx; in runTest()
1276 for (int bufNdx = 0; bufNdx < (int)m_outputBuffers.size(); bufNdx++) in runTest() local
1279 gl.bindBufferBase (GL_TRANSFORM_FEEDBACK_BUFFER, bufNdx, 0); in runTest()
Des3fFragmentOutputTests.cpp278 for (int bufNdx = 0; bufNdx < (int)m_renderbuffers.size(); bufNdx++) in init() local
280 deUint32 rbo = m_renderbuffers[bufNdx]; in init()
281 const BufferSpec& bufSpec = m_fboSpec[bufNdx]; in init()
282 deUint32 attachment = GL_COLOR_ATTACHMENT0+bufNdx; in init()
Des3fDrawBuffersIndexedTests.cpp1034 for (int bufNdx = 0; bufNdx < (int)bufs.size(); bufNdx++) in renderQuad() local
1035 bufs[bufNdx] = (drawBuffers[bufNdx].getRender() ? GL_COLOR_ATTACHMENT0 + bufNdx : GL_NONE); in renderQuad()
/third_party/vk-gl-cts/modules/egl/
DteglRobustnessTests.cpp1070 for (int bufNdx = 0; bufNdx < (int)m_buffers.size(); ++bufNdx) in setup() local
1072 const glw::GLenum resType = m_isUBO && (m_shaderType != SHADERTYPE_COMPUTE || bufNdx != 0) in setup()
1076 GLU_CHECK_GLW_CALL(m_gl, bindBuffer(resType, m_buffers[bufNdx])); in setup()
1077 …GLU_CHECK_GLW_CALL(m_gl, bufferData(resType, sizeof(tcu::Vec4), &(refValues[bufNdx]), GL_STATIC_DR… in setup()
1078 GLU_CHECK_GLW_CALL(m_gl, bindBufferBase(resType, bufNdx, m_buffers[bufNdx])); in setup()