/external/deqp/modules/gles31/functional/ |
D | es31fOpaqueTypeIndexingTests.cpp | 118 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 …]
|
D | es31fLayoutBindingTests.cpp | 822 …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 …]
|
D | es31fFboTestUtil.hpp | 88 TextureCubeArrayShader (glu::DataType samplerType, glu::DataType outputType);
|
D | es31fUniformLocationTests.cpp | 115 …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()
|
D | es31fFboTestUtil.cpp | 265 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()
|
D | es31fTextureGatherTests.cpp | 861 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()
|
D | es31fTextureFormatTests.cpp | 186 renderParams.samplerType = getSamplerType(m_texture->getRefTexture().getFormat()); in testLayerFace() 323 renderParams.samplerType = getFetchSamplerType(m_texture->getRefTexture().getFormat()); in iterate()
|
/external/deqp/modules/gles3/scripts/ |
D | gen-invalid-texture-funcs.py | 41 samplerType = self.args[0] 48 params = { "NAME": self.name, "SAMPLERTYPE": samplerType, "LOOKUP": lookup }
|
/external/deqp/modules/gles3/performance/ |
D | es3pTextureCases.cpp | 101 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/ |
D | es3fFboTestUtil.hpp | 118 TextureCubeShader (glu::DataType samplerType, glu::DataType outputType); 140 Texture2DArrayShader (glu::DataType samplerType, glu::DataType outputType); 162 Texture3DShader (glu::DataType samplerType, glu::DataType outputType);
|
D | es3fFboTestUtil.cpp | 422 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()
|
D | es3fTextureFormatTests.cpp | 170 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()
|
D | es3fTextureShadowTests.cpp | 339 sampleParams.samplerType = SAMPLERTYPE_SHADOW; in iterate() 623 sampleParams.samplerType = SAMPLERTYPE_SHADOW; in iterate() 905 sampleParams.samplerType = SAMPLERTYPE_SHADOW; in iterate()
|
D | es3fShaderTextureFunctionTests.cpp | 823 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()
|
D | es3fTextureSwizzleTests.cpp | 156 renderParams.samplerType = getSamplerType(m_texture->getRefTexture().getFormat()); in iterate()
|
/external/chromium_org/third_party/angle/src/compiler/translator/ |
D | Compiler.cpp | 326 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/ |
D | rsgExpression.cpp | 1393 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/ |
D | es2fShaderTextureFunctionTests.cpp | 434 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()
|
D | es2fTextureFormatTests.cpp | 153 renderParams.samplerType = getSamplerType(m_texture->getRefTexture().getFormat()); in iterate() 324 renderParams.samplerType = getSamplerType(m_texture->getRefTexture().getFormat()); in testFace()
|
D | es2fTextureUnitTests.cpp | 145 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/ |
D | glsTextureTestUtil.hpp | 105 , samplerType (SAMPLERTYPE_FLOAT) in RenderParams() 116 SamplerType samplerType; //!< Sampler type. member
|
D | glsTextureTestUtil.cpp | 392 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/ |
D | es3aTextureFilteringTests.cpp | 221 refParams.samplerType = getSamplerType(texFmt); in iterate() 558 sampleParams.samplerType = getSamplerType(texFmt); in iterate()
|
/external/deqp/modules/gles2/accuracy/ |
D | es2aTextureFilteringTests.cpp | 230 refParams.samplerType = getSamplerType(texFmt); in iterate() 544 sampleParams.samplerType = getSamplerType(texFmt); in iterate()
|
/external/chromium_org/third_party/angle/src/libGLESv2/ |
D | ProgramBinary.h | 229 …static bool assignSamplers(unsigned int startSamplerIndex, GLenum samplerType, unsigned int sample…
|