Home
last modified time | relevance | path

Searched refs:samplerType (Results 1 – 25 of 36) sorted by relevance

12

/external/deqp/modules/gles31/functional/
Des31fOpaqueTypeIndexingTests.cpp118 static TextureType getTextureType (glu::DataType samplerType) in getTextureType() argument
120 switch (samplerType) in getTextureType()
156 static bool isShadowSampler (glu::DataType samplerType) in isShadowSampler() argument
158 return samplerType == glu::TYPE_SAMPLER_1D_SHADOW || in isShadowSampler()
159 samplerType == glu::TYPE_SAMPLER_2D_SHADOW || in isShadowSampler()
160 samplerType == glu::TYPE_SAMPLER_2D_ARRAY_SHADOW || in isShadowSampler()
161 samplerType == glu::TYPE_SAMPLER_CUBE_SHADOW; in isShadowSampler()
164 static glu::DataType getSamplerOutputType (glu::DataType samplerType) in getSamplerOutputType() argument
166 switch (samplerType) in getSamplerOutputType()
200 static tcu::TextureFormat getSamplerTextureFormat (glu::DataType samplerType) in getSamplerTextureFormat() argument
[all …]
Des31fLayoutBindingTests.cpp822 …onst char* desc, ShaderType shaderType, TestType testType, glw::GLenum samplerType, glw::GLenum te…
847 glw::GLenum samplerType, in SamplerBindingRenderCase() argument
850 , m_samplerType (samplerType) in SamplerBindingRenderCase()
940 const std::string samplerType = glu::getDataTypeName(glu::getDataTypeFromGLType(m_samplerType)); in generateShaders() local
947 …iformDecl << "layout(binding = " << m_bindings[declNdx] << ") uniform highp " << samplerType << " " in generateShaders()
1029 glw::GLenum samplerType);
1045 glw::GLenum samplerType) in SamplerBindingNegativeCase() argument
1047 , m_samplerType (samplerType) in SamplerBindingNegativeCase()
1063 const std::string samplerType = glu::getDataTypeName(glu::getDataTypeFromGLType(m_samplerType)); in generateShaders() local
1070 …mDecl << "layout(binding = " << m_vertexShaderBinding[declNdx] << ") uniform highp " << samplerType in generateShaders()
[all …]
Des31fFboTestUtil.hpp88 TextureCubeArrayShader (glu::DataType samplerType, glu::DataType outputType);
Des31fUniformLocationTests.cpp115 …de::MovePtr<glu::Texture2D> createTexture (glu::DataType samplerType, float redChannelValue, int…
458 deUint32 getTextureFormat (glu::DataType samplerType) in getTextureFormat() argument
462 switch (samplerType) in getTextureFormat()
492 de::MovePtr<glu::Texture2D> UniformLocationCase::createTexture (glu::DataType samplerType, float re… in createTexture() argument
498 const deUint32 format = getTextureFormat(samplerType); in createTexture()
Des31fFboTestUtil.cpp265 TextureCubeArrayShader::TextureCubeArrayShader (glu::DataType samplerType, glu::DataType outputType) in TextureCubeArrayShader() argument
272 << sglr::pdec::Uniform("u_sampler0", samplerType) in TextureCubeArrayShader()
292 "uniform highp " + glu::getDataTypeName(samplerType) + " u_sampler0;\n" in TextureCubeArrayShader()
Des31fTextureGatherTests.cpp861 static inline glu::DataType getSamplerGatherResultType (glu::DataType samplerType) in getSamplerGatherResultType() argument
863 switch (samplerType) in getSamplerGatherResultType()
1003 …rce (bool requireGpuShader5, int numTexCoordComponents, glu::DataType samplerType, const string& …
1114 glu::DataType samplerType, in genFragmentShaderSource() argument
1119 DE_ASSERT(glu::isDataTypeSampler(samplerType)); in genFragmentShaderSource()
1128 …n = 0) out mediump " + glu::getDataTypeName(getSamplerGatherResultType(samplerType)) + " o_color;\… in genFragmentShaderSource()
1133 "uniform highp " + string(glu::getDataTypeName(samplerType)) + " u_sampler;\n" in genFragmentShaderSource()
1223 const glu::DataType samplerType = getSamplerType(textureType, textureFormat); in genProgramSources() local
1228 …<< genFragmentShaderSource(requireGpuShader5(gatherType), numDims, samplerType, funcCall, useNorma… in genProgramSources()
Des31fTextureFormatTests.cpp186 renderParams.samplerType = getSamplerType(m_texture->getRefTexture().getFormat()); in testLayerFace()
323 renderParams.samplerType = getFetchSamplerType(m_texture->getRefTexture().getFormat()); in iterate()
/external/deqp/modules/gles3/scripts/
Dgen-invalid-texture-funcs.py41 samplerType = self.args[0]
48 params = { "NAME": self.name, "SAMPLERTYPE": samplerType, "LOOKUP": lookup }
/external/deqp/modules/gles3/performance/
Des3pTextureCases.cpp101 const glu::DataType samplerType = glu::getSampler2DType(texFormat); in init() local
102 …const bool isIntUint = samplerType == glu::TYPE_INT_SAMPLER_2D || samplerType == glu::TYPE_UI… in init()
158 …" << glu::getPrecisionName(samplerPrec) << " " << glu::getDataTypeName(samplerType) << " u_sampler… in init()
/external/deqp/modules/gles3/functional/
Des3fFboTestUtil.hpp118 TextureCubeShader (glu::DataType samplerType, glu::DataType outputType);
140 Texture2DArrayShader (glu::DataType samplerType, glu::DataType outputType);
162 Texture3DShader (glu::DataType samplerType, glu::DataType outputType);
Des3fFboTestUtil.cpp422 TextureCubeShader::TextureCubeShader (glu::DataType samplerType, glu::DataType outputType) in TextureCubeShader() argument
429 << sglr::pdec::Uniform("u_sampler0", samplerType) in TextureCubeShader()
446 "uniform highp " + glu::getDataTypeName(samplerType) + " u_sampler0;\n" in TextureCubeShader()
560 Texture2DArrayShader::Texture2DArrayShader (glu::DataType samplerType, glu::DataType outputType) in Texture2DArrayShader() argument
566 << sglr::pdec::Uniform("u_sampler0", samplerType) in Texture2DArrayShader()
583 "uniform highp " + glu::getDataTypeName(samplerType) + " u_sampler0;\n" in Texture2DArrayShader()
668 Texture3DShader::Texture3DShader (glu::DataType samplerType, glu::DataType outputType) in Texture3DShader() argument
674 << sglr::pdec::Uniform("u_sampler0", samplerType) in Texture3DShader()
691 "uniform highp " + glu::getDataTypeName(samplerType) + " u_sampler0;\n" in Texture3DShader()
Des3fTextureFormatTests.cpp170 renderParams.samplerType = getSamplerType(m_texture->getRefTexture().getFormat()); in iterate()
355 renderParams.samplerType = getSamplerType(m_texture->getRefTexture().getFormat()); in testFace()
517 renderParams.samplerType = getSamplerType(m_texture->getRefTexture().getFormat()); in testLayer()
670 renderParams.samplerType = getSamplerType(m_texture->getRefTexture().getFormat()); in testSlice()
816 renderParams.samplerType = getSamplerType(m_texture->getRefTexture().getFormat()); in iterate()
966 renderParams.samplerType = getSamplerType(m_texture->getRefTexture().getFormat()); in testFace()
Des3fTextureShadowTests.cpp339 sampleParams.samplerType = SAMPLERTYPE_SHADOW; in iterate()
623 sampleParams.samplerType = SAMPLERTYPE_SHADOW; in iterate()
905 sampleParams.samplerType = SAMPLERTYPE_SHADOW; in iterate()
Des3fShaderTextureFunctionTests.cpp823 glu::DataType samplerType = glu::TYPE_LAST; in initShaderSources() local
832 …case TEXTURETYPE_2D: samplerType = isShadow ? glu::TYPE_SAMPLER_2D_SHADOW : glu::getSampler2DTyp… in initShaderSources()
833 …case TEXTURETYPE_CUBE_MAP: samplerType = isShadow ? glu::TYPE_SAMPLER_CUBE_SHADOW : glu::getSampl… in initShaderSources()
834 …case TEXTURETYPE_2D_ARRAY: samplerType = isShadow ? glu::TYPE_SAMPLER_2D_ARRAY_SHADOW : glu::getSa… in initShaderSources()
835 …case TEXTURETYPE_3D: DE_ASSERT(!isShadow); samplerType = glu::getSampler3DType(texFmt); b… in initShaderSources()
901 op << "uniform highp " << glu::getDataTypeName(samplerType) << " u_sampler;\n" in initShaderSources()
1020 …se (Context& context, const char* name, const char* desc, const char* samplerType, const TextureS…
1050 …ase (Context& context, const char* name, const char* desc, const char* samplerType, const TextureS… in TextureSizeCase() argument
1052 , m_samplerTypeStr (samplerType) in TextureSizeCase()
Des3fTextureSwizzleTests.cpp156 renderParams.samplerType = getSamplerType(m_texture->getRefTexture().getFormat()); in iterate()
/external/chromium_org/third_party/angle/src/compiler/translator/
DCompiler.cpp326 for (int samplerType = EbtGuardSamplerBegin + 1; in InitBuiltInSymbolTable() local
327 samplerType < EbtGuardSamplerEnd; ++samplerType) in InitBuiltInSymbolTable()
329 sampler.type = static_cast<TBasicType>(samplerType); in InitBuiltInSymbolTable()
/external/deqp/framework/randomshaders/
DrsgExpression.cpp1393 static int countSamplers (const VariableManager& varManager, VariableType::Type samplerType) in countSamplers() argument
1397 IsSamplerEntry::Iterator i = varManager.getBegin(IsSamplerEntry(samplerType)); in countSamplers()
1398 IsSamplerEntry::Iterator end = varManager.getEnd(IsSamplerEntry(samplerType)); in countSamplers()
1435 VariableType::Type samplerType = VariableType::TYPE_LAST; in TexLookup() local
1442 samplerType = VariableType::TYPE_SAMPLER_2D; in TexLookup()
1447 samplerType = VariableType::TYPE_SAMPLER_CUBE; in TexLookup()
1457 …bool hasSampler = samplerType == VariableType::TYPE_SAMPLER_2D ? (sampler2DCount > 0) : (sampler… in TexLookup()
1462 Variable* sampler = state.getVariableManager().allocate(VariableType(samplerType, 1)); in TexLookup()
1467 …andom().choose<const ValueEntry*>(state.getVariableManager().getBegin(IsSamplerEntry(samplerType)), in TexLookup()
1468 state.getVariableManager().getEnd(IsSamplerEntry(samplerType)))->getVariable(); in TexLookup()
/external/deqp/modules/gles2/functional/
Des2fShaderTextureFunctionTests.cpp434 glu::DataType samplerType = glu::TYPE_LAST; in initShaderSources() local
440 case TEXTURETYPE_2D: samplerType = glu::getSampler2DType(texFmt); break; in initShaderSources()
441 case TEXTURETYPE_CUBE_MAP: samplerType = glu::getSamplerCubeType(texFmt); break; in initShaderSources()
486 op << "uniform lowp " << glu::getDataTypeName(samplerType) << " u_sampler;\n"; in initShaderSources()
Des2fTextureFormatTests.cpp153 renderParams.samplerType = getSamplerType(m_texture->getRefTexture().getFormat()); in iterate()
324 renderParams.samplerType = getSamplerType(m_texture->getRefTexture().getFormat()); in testFace()
Des2fTextureUnitTests.cpp145 const char* samplerType = unitTypes[ndx] == GL_TEXTURE_2D ? "sampler2D" : "samplerCube"; in generateMultiTexFragmentShader() local
148 samplersStr += string("") + "uniform mediump " + samplerType + " " + samplerName + ";\n"; in generateMultiTexFragmentShader()
/external/deqp/modules/glshared/
DglsTextureTestUtil.hpp105 , samplerType (SAMPLERTYPE_FLOAT) in RenderParams()
116 SamplerType samplerType; //!< Sampler type. member
DglsTextureTestUtil.cpp392 if (params.samplerType == SAMPLERTYPE_SHADOW) in execSample()
400 if (params.samplerType == SAMPLERTYPE_SHADOW) in execSample()
408 if (params.samplerType == SAMPLERTYPE_SHADOW) in execSample()
416 if (params.samplerType == SAMPLERTYPE_SHADOW) in execSample()
424 if (params.samplerType == SAMPLERTYPE_SHADOW) in execSample()
432 if (params.samplerType == SAMPLERTYPE_SHADOW) in execSample()
1290 switch (params.samplerType) in renderQuad()
1303 switch (params.samplerType) in renderQuad()
1316 switch (params.samplerType) in renderQuad()
1329 switch (params.samplerType) in renderQuad()
[all …]
/external/deqp/modules/gles3/accuracy/
Des3aTextureFilteringTests.cpp221 refParams.samplerType = getSamplerType(texFmt); in iterate()
558 sampleParams.samplerType = getSamplerType(texFmt); in iterate()
/external/deqp/modules/gles2/accuracy/
Des2aTextureFilteringTests.cpp230 refParams.samplerType = getSamplerType(texFmt); in iterate()
544 sampleParams.samplerType = getSamplerType(texFmt); in iterate()
/external/chromium_org/third_party/angle/src/libGLESv2/
DProgramBinary.h229 …static bool assignSamplers(unsigned int startSamplerIndex, GLenum samplerType, unsigned int sample…

12