OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:unitNdx
(Results
1 - 13
of
13
) sorted by null
/external/deqp/modules/gles2/functional/
es2fTextureUnitTests.cpp
302
for (int
unitNdx
= 0;
unitNdx
< m_numUnits;
unitNdx
++)
304
if (m_unitTypes[
unitNdx
] == GL_TEXTURE_2D)
367
DE_ASSERT(m_unitTypes[
unitNdx
] == GL_TEXTURE_CUBE_MAP);
425
for (int
unitNdx
= 0;
unitNdx
< m_numUnits;
unitNdx
++)
433
const float lodMax = calculateLodMax(m_lodDerivateParts[
unitNdx
], textureSizes[
unitNdx
], screenDerivate)
[
all
...]
es2fFboRenderTest.cpp
140
void setUnit (sglr::Context& gl, deUint32 program, int
unitNdx
)
143
gl.uniform1i(gl.getUniformLocation(program, "u_sampler0"),
unitNdx
);
[
all
...]
/external/deqp/framework/opengl/
gluStrUtil.cpp
53
int
unitNdx
= unitStr.texUnit - GL_TEXTURE0;
54
if (
unitNdx
>= 0)
55
return str << "GL_TEXTURE" <<
unitNdx
;
/external/deqp/modules/gles3/functional/
es3fTextureUnitTests.cpp
410
for (int
unitNdx
= 0;
unitNdx
< m_numUnits;
unitNdx
++)
412
if (m_unitTypes[
unitNdx
] == GL_TEXTURE_2D)
470
else if (m_unitTypes[
unitNdx
] == GL_TEXTURE_CUBE_MAP)
498
DE_ASSERT(m_unitTypes[
unitNdx
] == GL_TEXTURE_3D || m_unitTypes[
unitNdx
] == GL_TEXTURE_2D_ARRAY);
510
if (m_unitTypes[
unitNdx
] == GL_TEXTURE_2D_ARRAY)
581
for (int
unitNdx
= 0;
unitNdx
< m_numUnits; unitNdx++
[
all
...]
es3fFboTestUtil.hpp
91
void setUnit (int samplerNdx, int
unitNdx
);
103
int
unitNdx
;
es3fFboTestUtil.cpp
318
m_inputs[ndx].
unitNdx
= ndx;
324
void Texture2DShader::setUnit (int inputNdx, int
unitNdx
)
326
m_inputs[inputNdx].
unitNdx
=
unitNdx
;
351
gl.uniform1i(gl.getUniformLocation(program, samplerName.c_str()), m_inputs[texNdx].
unitNdx
);
[
all
...]
/external/deqp/modules/glshared/
glsRandomShaderCase.cpp
221
int
unitNdx
= uniformIter->getValue().asInt(0);
224
m_texManager.bindTexture(
unitNdx
, getTex2D());
226
m_texManager.bindTexture(
unitNdx
, getTexCube());
460
int
unitNdx
= i->first;
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;
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));
glsShaderRenderCase.cpp
330
tcu::Vec4 ShaderEvalContext::texture2D (int
unitNdx
, const tcu::Vec2& texCoords)
332
if (textures[
unitNdx
].tex2D)
333
return textures[
unitNdx
].tex2D->sample(textures[
unitNdx
].sampler, texCoords.x(), texCoords.y(), 0.0f);
glsShaderRenderCase.hpp
167
tcu::Vec4 texture2D (int
unitNdx
, const tcu::Vec2& coords);
/external/deqp/modules/gles31/functional/
es31fFboTestUtil.hpp
61
void setUnit (int samplerNdx, int
unitNdx
);
73
int
unitNdx
;
es31fFboTestUtil.cpp
161
m_inputs[ndx].
unitNdx
= ndx;
167
void Texture2DShader::setUnit (int inputNdx, int
unitNdx
)
169
m_inputs[inputNdx].
unitNdx
=
unitNdx
;
194
gl.uniform1i(gl.getUniformLocation(program, samplerName.c_str()), m_inputs[texNdx].
unitNdx
);
/external/deqp/framework/opengl/simplereference/
sglrReferenceContext.cpp
502
void ReferenceContext::setTex1DBinding (int
unitNdx
, Texture1D* texture)
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)
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
].tex2DBinding = texture
[
all
...]
sglrReferenceContext.hpp
790
const rc::Texture2D& getTexture2D (int
unitNdx
) const;
791
const rc::TextureCube& getTextureCube (int
unitNdx
) const;
[
all
...]
Completed in 502 milliseconds