/external/deqp/modules/gles3/scripts/ |
H A D | gen-invalid-texture-funcs.py | 41 samplerType = self.args[0] 48 params = { "NAME": self.name, "SAMPLERTYPE": samplerType, "LOOKUP": lookup }
|
/external/deqp/modules/gles31/functional/ |
H A D | es31fOpaqueTypeIndexingTests.cpp | 118 static TextureType getTextureType (glu::DataType samplerType) argument 120 switch (samplerType) 156 static bool isShadowSampler (glu::DataType samplerType) argument 158 return samplerType == glu::TYPE_SAMPLER_1D_SHADOW || 159 samplerType == glu::TYPE_SAMPLER_2D_SHADOW || 160 samplerType == glu::TYPE_SAMPLER_2D_ARRAY_SHADOW || 161 samplerType == glu::TYPE_SAMPLER_CUBE_SHADOW; 164 static glu::DataType getSamplerOutputType (glu::DataType samplerType) argument 166 switch (samplerType) 200 static tcu::TextureFormat getSamplerTextureFormat (glu::DataType samplerType) argument 221 getSamplerCoordType(glu::DataType samplerType) argument 260 setupTexture(const glw::Functions& gl, deUint32 texture, glu::DataType samplerType, tcu::TextureFormat texFormat, const void* color) argument 332 SamplerIndexingCase(Context& context, const char* name, const char* description, glu::ShaderType shaderType, glu::DataType samplerType, IndexExprType indexExprType) argument 1214 const DataType samplerType = samplerTypes[samplerTypeNdx]; local [all...] |
H A D | es31fFboTestUtil.hpp | 88 TextureCubeArrayShader (glu::DataType samplerType, glu::DataType outputType);
|
H A D | es31fLayoutBindingTests.cpp | 809 SamplerBindingRenderCase (Context& context, const char* name, const char* desc, ShaderType shaderType, TestType testType, glw::GLenum samplerType, glw::GLenum textureType); 834 glw::GLenum samplerType, 837 , m_samplerType (samplerType) 927 const std::string samplerType = glu::getDataTypeName(glu::getDataTypeFromGLType(m_samplerType)); local 934 shaderUniformDecl << "layout(binding = " << m_bindings[declNdx] << ") uniform highp " << samplerType << " " 1016 glw::GLenum samplerType); 1032 glw::GLenum samplerType) 1034 , m_samplerType (samplerType) 1050 const std::string samplerType = glu::getDataTypeName(glu::getDataTypeFromGLType(m_samplerType)); local 1057 vertexUniformDecl << "layout(binding = " << m_vertexShaderBinding[declNdx] << ") uniform highp " << samplerType 829 SamplerBindingRenderCase(Context& context, const char* name, const char* desc, ShaderType shaderType, TestType testType, glw::GLenum samplerType, glw::GLenum textureType) argument 1026 SamplerBindingNegativeCase(Context& context, const char* name, const char* desc, ShaderType shaderType, TestType testType, ErrorType errorType, glw::GLenum samplerType) argument [all...] |
H A D | es31fUniformLocationTests.cpp | 115 de::MovePtr<glu::Texture2D> createTexture (glu::DataType samplerType, float redChannelValue, int binding); 458 deUint32 getTextureFormat (glu::DataType samplerType) 462 switch (samplerType) 492 de::MovePtr<glu::Texture2D> UniformLocationCase::createTexture (glu::DataType samplerType, float redChannelValue, int binding) 498 const deUint32 format = getTextureFormat(samplerType);
|
H A D | es31fTextureGatherTests.cpp | 855 static inline glu::DataType getSamplerGatherResultType (glu::DataType samplerType) argument 857 switch (samplerType) 997 static glu::FragmentSource genFragmentShaderSource (bool requireGpuShader5, int numTexCoordComponents, glu::DataType samplerType, const string& funcCall, bool useNormalizedCoordInput, bool usePixCoord); 1107 glu::DataType samplerType, 1112 DE_ASSERT(glu::isDataTypeSampler(samplerType)); 1121 "layout (location = 0) out mediump " + glu::getDataTypeName(getSamplerGatherResultType(samplerType)) + " o_color;\n" 1126 "uniform highp " + string(glu::getDataTypeName(samplerType)) + " u_sampler;\n" 1216 const glu::DataType samplerType = getSamplerType(textureType, textureFormat); local 1221 << genFragmentShaderSource(requireGpuShader5(gatherType), numDims, samplerType, funcCall, useNormalizedCoord, usePixCoord); 1105 genFragmentShaderSource(bool requireGpuShader5, int numTexCoordComponents, glu::DataType samplerType, const string& funcCall, bool useNormalizedCoordInput, bool usePixCoord) argument
|
H A D | es31fTextureFormatTests.cpp | 186 renderParams.samplerType = getSamplerType(m_texture->getRefTexture().getFormat()); 323 renderParams.samplerType = getFetchSamplerType(m_texture->getRefTexture().getFormat());
|
H A D | es31fFboTestUtil.cpp | 265 TextureCubeArrayShader::TextureCubeArrayShader (glu::DataType samplerType, glu::DataType outputType) argument 272 << sglr::pdec::Uniform("u_sampler0", samplerType) 292 "uniform highp " + glu::getDataTypeName(samplerType) + " u_sampler0;\n"
|
/external/deqp/modules/gles3/performance/ |
H A D | es3pTextureCases.cpp | 101 const glu::DataType samplerType = glu::getSampler2DType(texFormat); local 102 const bool isIntUint = samplerType == glu::TYPE_INT_SAMPLER_2D || samplerType == glu::TYPE_UINT_SAMPLER_2D; 158 fragSrc << "uniform " << glu::getPrecisionName(samplerPrec) << " " << glu::getDataTypeName(samplerType) << " u_sampler" << texNdx << ";\n";
|
/external/deqp/modules/gles3/functional/ |
H A 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);
|
H A D | es3fFboTestUtil.cpp | 422 TextureCubeShader::TextureCubeShader (glu::DataType samplerType, glu::DataType outputType) argument 429 << sglr::pdec::Uniform("u_sampler0", samplerType) 446 "uniform highp " + glu::getDataTypeName(samplerType) + " u_sampler0;\n" 560 Texture2DArrayShader::Texture2DArrayShader (glu::DataType samplerType, glu::DataType outputType) argument 566 << sglr::pdec::Uniform("u_sampler0", samplerType) 583 "uniform highp " + glu::getDataTypeName(samplerType) + " u_sampler0;\n" 668 Texture3DShader::Texture3DShader (glu::DataType samplerType, glu::DataType outputType) argument 674 << sglr::pdec::Uniform("u_sampler0", samplerType) 691 "uniform highp " + glu::getDataTypeName(samplerType) + " u_sampler0;\n"
|
H A D | es3fTextureFormatTests.cpp | 170 renderParams.samplerType = getSamplerType(m_texture->getRefTexture().getFormat()); 355 renderParams.samplerType = getSamplerType(m_texture->getRefTexture().getFormat()); 517 renderParams.samplerType = getSamplerType(m_texture->getRefTexture().getFormat()); 670 renderParams.samplerType = getSamplerType(m_texture->getRefTexture().getFormat()); 816 renderParams.samplerType = getSamplerType(m_texture->getRefTexture().getFormat()); 966 renderParams.samplerType = getSamplerType(m_texture->getRefTexture().getFormat());
|
H A D | es3fTextureSwizzleTests.cpp | 156 renderParams.samplerType = getSamplerType(m_texture->getRefTexture().getFormat());
|
H A D | es3fTextureShadowTests.cpp | 339 sampleParams.samplerType = SAMPLERTYPE_SHADOW; 623 sampleParams.samplerType = SAMPLERTYPE_SHADOW; 905 sampleParams.samplerType = SAMPLERTYPE_SHADOW;
|
H A D | es3fTextureFilteringTests.cpp | 278 refParams.samplerType = getSamplerType(texFmt); 585 sampleParams.samplerType = getSamplerType(texFmt); 842 refParams.samplerType = getSamplerType(texFmt); 1082 refParams.samplerType = getSamplerType(texFmt);
|
H A D | es3fTextureWrapTests.cpp | 320 refParams.samplerType = getSamplerType(m_texture->getRefTexture().getFormat());
|
/external/chromium_org/third_party/angle/src/compiler/translator/ |
H A D | Compiler.cpp | 309 for (int samplerType = EbtGuardSamplerBegin + 1; 310 samplerType < EbtGuardSamplerEnd; ++samplerType) 312 sampler.type = static_cast<TBasicType>(samplerType);
|
/external/deqp/framework/randomshaders/ |
H A D | rsgExpression.cpp | 1393 static int countSamplers (const VariableManager& varManager, VariableType::Type samplerType) argument 1397 IsSamplerEntry::Iterator i = varManager.getBegin(IsSamplerEntry(samplerType)); 1398 IsSamplerEntry::Iterator end = varManager.getEnd(IsSamplerEntry(samplerType)); 1435 VariableType::Type samplerType = VariableType::TYPE_LAST; local 1442 samplerType = VariableType::TYPE_SAMPLER_2D; 1447 samplerType = VariableType::TYPE_SAMPLER_CUBE; 1457 bool hasSampler = samplerType == VariableType::TYPE_SAMPLER_2D ? (sampler2DCount > 0) : (samplerCubeCount > 0); 1462 Variable* sampler = state.getVariableManager().allocate(VariableType(samplerType, 1)); 1467 m_sampler = state.getRandom().choose<const ValueEntry*>(state.getVariableManager().getBegin(IsSamplerEntry(samplerType)), 1468 state.getVariableManager().getEnd(IsSamplerEntry(samplerType))) [all...] |
/external/deqp/modules/gles2/functional/ |
H A D | es2fShaderTextureFunctionTests.cpp | 434 glu::DataType samplerType = glu::TYPE_LAST; local 440 case TEXTURETYPE_2D: samplerType = glu::getSampler2DType(texFmt); break; 441 case TEXTURETYPE_CUBE_MAP: samplerType = glu::getSamplerCubeType(texFmt); break; 486 op << "uniform lowp " << glu::getDataTypeName(samplerType) << " u_sampler;\n";
|
H A D | es2fTextureFormatTests.cpp | 153 renderParams.samplerType = getSamplerType(m_texture->getRefTexture().getFormat()); 324 renderParams.samplerType = getSamplerType(m_texture->getRefTexture().getFormat());
|
/external/deqp/modules/glshared/ |
H A D | glsTextureTestUtil.hpp | 105 , samplerType (SAMPLERTYPE_FLOAT) 116 SamplerType samplerType; //!< Sampler type. member in struct:deqp::gls::TextureTestUtil::RenderParams
|
H A D | glsTextureTestUtil.cpp | 387 if (params.samplerType == SAMPLERTYPE_SHADOW) 395 if (params.samplerType == SAMPLERTYPE_SHADOW) 403 if (params.samplerType == SAMPLERTYPE_SHADOW) 411 if (params.samplerType == SAMPLERTYPE_SHADOW) 419 if (params.samplerType == SAMPLERTYPE_SHADOW) 427 if (params.samplerType == SAMPLERTYPE_SHADOW) 1285 switch (params.samplerType) 1298 switch (params.samplerType) 1311 switch (params.samplerType) 1324 switch (params.samplerType) [all...] |
/external/chromium_org/third_party/angle/src/libGLESv2/ |
H A D | ProgramBinary.h | 215 static TextureType getTextureType(GLenum samplerType, InfoLog &infoLog);
|
/external/deqp/modules/gles2/accuracy/ |
H A D | es2aTextureFilteringTests.cpp | 230 refParams.samplerType = getSamplerType(texFmt); 544 sampleParams.samplerType = getSamplerType(texFmt);
|
/external/deqp/modules/gles3/accuracy/ |
H A D | es3aTextureFilteringTests.cpp | 221 refParams.samplerType = getSamplerType(texFmt); 558 sampleParams.samplerType = getSamplerType(texFmt);
|