Searched defs:unitNdx (Results 1 - 9 of 9) sorted by relevance

/external/deqp/framework/opengl/
H A DgluStrUtil.cpp53 int unitNdx = unitStr.texUnit - GL_TEXTURE0; local
54 if (unitNdx >= 0)
55 return str << "GL_TEXTURE" << unitNdx;
/external/deqp/modules/gles31/functional/
H A Des31fFboTestUtil.hpp61 void setUnit (int samplerNdx, int unitNdx);
73 int unitNdx; member in struct:deqp::gles31::Functional::FboTestUtil::Texture2DShader::Input
H A Des31fFboTestUtil.cpp161 m_inputs[ndx].unitNdx = ndx;
167 void Texture2DShader::setUnit (int inputNdx, int unitNdx) argument
169 m_inputs[inputNdx].unitNdx = unitNdx;
194 gl.uniform1i(gl.getUniformLocation(program, samplerName.c_str()), m_inputs[texNdx].unitNdx);
/external/deqp/modules/gles3/functional/
H A Des3fFboTestUtil.hpp91 void setUnit (int samplerNdx, int unitNdx);
103 int unitNdx; member in struct:deqp::gles3::Functional::FboTestUtil::Texture2DShader::Input
H A Des3fFboTestUtil.cpp318 m_inputs[ndx].unitNdx = ndx;
324 void Texture2DShader::setUnit (int inputNdx, int unitNdx) argument
326 m_inputs[inputNdx].unitNdx = unitNdx;
351 gl.uniform1i(gl.getUniformLocation(program, samplerName.c_str()), m_inputs[texNdx].unitNdx);
/external/deqp/modules/glshared/
H A DglsRandomShaderCase.cpp221 int unitNdx = uniformIter->getValue().asInt(0); local
224 m_texManager.bindTexture(unitNdx, getTex2D());
226 m_texManager.bindTexture(unitNdx, getTexCube());
460 int unitNdx = i->first; local
463 glActiveTexture(GL_TEXTURE0 + unitNdx);
466 executor.setTexture(unitNdx, &texture->getRefTexture(), glu::mapGLSampler(TEXTURE_WRAP_S, TEXTURE_WRAP_T, TEXTURE_MIN_FILTER, TEXTURE_MAG_FILTER));
472 int unitNdx = i->first; local
475 glActiveTexture(GL_TEXTURE0 + unitNdx);
478 executor.setTexture(unitNdx, &texture->getRefTexture(), glu::mapGLSampler(TEXTURE_WRAP_S, TEXTURE_WRAP_T, TEXTURE_MIN_FILTER, TEXTURE_MAG_FILTER));
H A DglsShaderRenderCase.cpp330 tcu::Vec4 ShaderEvalContext::texture2D (int unitNdx, const tcu::Vec2& texCoords) argument
332 if (textures[unitNdx].tex2D)
333 return textures[unitNdx].tex2D->sample(textures[unitNdx].sampler, texCoords.x(), texCoords.y(), 0.0f);
/external/deqp/framework/opengl/simplereference/
H A DsglrReferenceContext.cpp502 void ReferenceContext::setTex1DBinding (int unitNdx, Texture1D* texture) argument
504 if (m_textureUnits[unitNdx].tex1DBinding)
506 m_textures.releaseReference(m_textureUnits[unitNdx].tex1DBinding);
507 m_textureUnits[unitNdx].tex1DBinding = DE_NULL;
513 m_textureUnits[unitNdx].tex1DBinding = texture;
517 void ReferenceContext::setTex2DBinding (int unitNdx, Texture2D* texture) argument
519 if (m_textureUnits[unitNdx].tex2DBinding)
521 m_textures.releaseReference(m_textureUnits[unitNdx].tex2DBinding);
522 m_textureUnits[unitNdx].tex2DBinding = DE_NULL;
528 m_textureUnits[unitNdx]
532 setTexCubeBinding(int unitNdx, TextureCube* texture) argument
547 setTex2DArrayBinding(int unitNdx, Texture2DArray* texture) argument
562 setTex3DBinding(int unitNdx, Texture3D* texture) argument
577 setTexCubeArrayBinding(int unitNdx, TextureCubeArray* texture) argument
594 int unitNdx = m_activeTexture; local
[all...]
/external/deqp/modules/gles2/functional/
H A Des2fFboRenderTest.cpp140 void setUnit (sglr::Context& gl, deUint32 program, int unitNdx) argument
143 gl.uniform1i(gl.getUniformLocation(program, "u_sampler0"), unitNdx);

Completed in 5702 milliseconds