Lines Matching refs:m_spec
260 const TestSpec m_spec; member in deqp::gles31::Functional::__anone9d2da4c0111::SingleBindingCase
266 , m_spec (genTestSpec(flags)) in SingleBindingCase()
287 << " bufferOffset: " << m_spec.bufferOffset << "\n" in init()
288 << " bufferStride: " << m_spec.bufferStride << "\n" in init()
291 << " offset: " << m_spec.positionAttrOffset << "\n" in init()
292 << " total offset: " << m_spec.bufferOffset + m_spec.positionAttrOffset << "\n" in init()
295 if (m_spec.hasColorAttr) in init()
299 << " offset: " << m_spec.colorAttrOffset << "\n" in init()
300 << " total offset: " << m_spec.bufferOffset + m_spec.colorAttrOffset << "\n" in init()
336 if (m_spec.hasColorAttr) in renderTo()
338 gl.glBindVertexBuffer(3, m_buf, m_spec.bufferOffset, m_spec.bufferStride); in renderTo()
341 gl.glVertexAttribFormat(positionLoc, 4, GL_FLOAT, GL_FALSE, m_spec.positionAttrOffset); in renderTo()
345 gl.glVertexAttribFormat(colorLoc, 4, GL_FLOAT, GL_FALSE, m_spec.colorAttrOffset); in renderTo()
355 gl.glBindVertexBuffer(3, m_buf, m_spec.bufferOffset, m_spec.bufferStride); in renderTo()
357 gl.glVertexAttribFormat(positionLoc, 4, GL_FLOAT, GL_FALSE, m_spec.positionAttrOffset); in renderTo()
447 …std::vector<deUint8> dataBuf (m_spec.bufferOffset + m_spec.bufferStride * GRID_SIZE * GRID_SIZE * … in createBuffers()
469 …memcpy(&dataBuf[m_spec.bufferOffset + m_spec.positionAttrOffset + m_spec.bufferStride * ((y * GRID… in createBuffers()
472 if (m_spec.hasColorAttr) in createBuffers()
474 …memcpy(&dataBuf[m_spec.bufferOffset + m_spec.colorAttrOffset + m_spec.bufferStride * ((y * GRID_SI… in createBuffers()
497 const bool useUniformColor = !m_spec.hasColorAttr; in genVertexSource()
555 const TestSpec m_spec; member in deqp::gles31::Functional::__anone9d2da4c0111::MultipleBindingCase
562 , m_spec (genTestSpec(flags)) in MultipleBindingCase()
566 DE_ASSERT(!(m_spec.instanced && m_spec.zeroStride)); in MultipleBindingCase()
591 …<< " buffer object: " << ((m_spec.aliasingBuffers) ? (m_primitiveBuf) : (m_colorOffsetBuf)) << "\n" in init()
592 << " instance divisor: " << ((m_spec.instanced) ? (1) : (0)) << "\n" in init()
593 << " stride: " << ((m_spec.zeroStride) ? (0) : (4*4*2)) << "\n" in init()
657 const int stride = (m_spec.zeroStride) ? (0) : (2 * (int)sizeof(tcu::Vec4)); in renderTo()
658 …const int offset = (!m_spec.aliasingBuffers) ? (0) : (m_spec.instanced) ? (6 * (int)sizeof(tcu::… in renderTo()
659 const glw::GLuint buffer = (m_spec.aliasingBuffers) ? (m_primitiveBuf) : (m_colorOffsetBuf); in renderTo()
660 const int divisor = (m_spec.instanced) ? (1) : (0); in renderTo()
668 if (m_spec.instanced) in renderTo()
714 const int vertexDataSize = (m_spec.instanced) ? (6) : (6 * GRID_SIZE * GRID_SIZE); in createBuffers()
715 …const int offsetColorSize = (m_spec.zeroStride) ? (2) : (m_spec.instanced) ? (2 * GRID_SIZE * … in createBuffers()
716 …const int primitiveBufSize = (m_spec.aliasingBuffers) ? (vertexDataSize + offsetColorSize) : (v… in createBuffers()
717 const int colorOffsetBufSize = (m_spec.aliasingBuffers) ? (0) : (offsetColorSize); in createBuffers()
723 if (m_spec.aliasingBuffers) in createBuffers()
725 if (m_spec.instanced) in createBuffers()
735 if (m_spec.instanced) in createBuffers()
762 if (m_spec.zeroStride) in createBuffers()
767 else if (m_spec.instanced) in createBuffers()
798 if (!m_spec.aliasingBuffers) in createBuffers()