/external/deqp/modules/gles3/scripts/ |
H A D | gen-invalid-texture-funcs.py | 63 samplerType = self.args[0] 70 params = { "NAME": self.name, "SAMPLERTYPE": samplerType, "LOOKUP": lookup }
|
/external/deqp/external/vulkancts/modules/vulkan/pipeline/ |
H A D | vktPipelineImageTests.cpp | 202 std::ostringstream samplerType; local 205 samplerType << "u"; 207 samplerType << "i"; 212 samplerType << "sampler1D"; 216 samplerType << "sampler1DArray"; 220 samplerType << "sampler2D"; 224 samplerType << "sampler2DArray"; 228 samplerType << "sampler3D"; 232 samplerType << "samplerCube"; 236 samplerType << "samplerCubeArra [all...] |
H A D | vktPipelineImageViewTests.cpp | 229 std::ostringstream samplerType; local 232 samplerType << "u"; 234 samplerType << "i"; 239 samplerType << "sampler1D"; 243 samplerType << "sampler1DArray"; 247 samplerType << "sampler2D"; 251 samplerType << "sampler2DArray"; 255 samplerType << "sampler3D"; 259 samplerType << "samplerCube"; 263 samplerType << "samplerCubeArra [all...] |
H A D | vktPipelineSamplerTests.cpp | 327 std::ostringstream samplerType; local 330 samplerType << "u"; 332 samplerType << "i"; 337 samplerType << "sampler1D"; 341 samplerType << "sampler1DArray"; 345 samplerType << "sampler2D"; 349 samplerType << "sampler2DArray"; 353 samplerType << "sampler3D"; 357 samplerType << "samplerCube"; 361 samplerType << "samplerCubeArra [all...] |
/external/skia/src/gpu/glsl/ |
H A D | GrGLSLShaderBuilder.cpp | 65 GrSLType samplerType = uniformHandler->getUniformVariable(sampler.fSamplerUniform).getType(); local 66 if (samplerType == kSampler2DRect_GrSLType) { 69 GrGLSLTexture2DFunctionName(varyingType, samplerType, 76 GrGLSLTexture2DFunctionName(varyingType, samplerType, 85 GrGLSLTexture2DFunctionName(varyingType, samplerType, glslCaps->generation()),
|
H A D | GrGLSL.h | 59 inline const char* GrGLSLTexture2DFunctionName(GrSLType coordType, GrSLType samplerType, argument 61 SkASSERT(GrSLTypeIsSamplerType(samplerType)); 73 return (samplerType == kSampler2DRect_GrSLType) ? "texture2DRect" : "texture2D"; 75 return (samplerType == kSampler2DRect_GrSLType) ? "texture2DRectProj" : "texture2DProj";
|
/external/deqp/modules/gles31/functional/ |
H A D | es31fOpaqueTypeIndexingTests.cpp | 119 static TextureType getTextureType (glu::DataType samplerType) argument 121 switch (samplerType) 163 static bool isShadowSampler (glu::DataType samplerType) argument 165 return samplerType == glu::TYPE_SAMPLER_1D_SHADOW || 166 samplerType == glu::TYPE_SAMPLER_2D_SHADOW || 167 samplerType == glu::TYPE_SAMPLER_2D_ARRAY_SHADOW || 168 samplerType == glu::TYPE_SAMPLER_CUBE_SHADOW || 169 samplerType == glu::TYPE_SAMPLER_CUBE_ARRAY_SHADOW; 172 static glu::DataType getSamplerOutputType (glu::DataType samplerType) argument 174 switch (samplerType) 212 getSamplerTextureFormat(glu::DataType samplerType) argument 233 getSamplerCoordType(glu::DataType samplerType) argument 273 setupTexture(const glw::Functions& gl, deUint32 texture, glu::DataType samplerType, tcu::TextureFormat texFormat, const void* color) argument 352 SamplerIndexingCase(Context& context, const char* name, const char* description, glu::ShaderType shaderType, glu::DataType samplerType, IndexExprType indexExprType) argument 1322 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 | 831 SamplerBindingRenderCase (Context& context, const char* name, const char* desc, ShaderType shaderType, TestType testType, glw::GLenum samplerType, glw::GLenum textureType); 856 glw::GLenum samplerType, 859 , m_samplerType (samplerType) 949 const std::string samplerType = glu::getDataTypeName(glu::getDataTypeFromGLType(m_samplerType)); local 956 shaderUniformDecl << "layout(binding = " << m_bindings[declNdx] << ") uniform highp " << samplerType << " " 1038 glw::GLenum samplerType); 1054 glw::GLenum samplerType) 1056 , m_samplerType (samplerType) 1072 const std::string samplerType = glu::getDataTypeName(glu::getDataTypeFromGLType(m_samplerType)); local 1079 vertexUniformDecl << "layout(binding = " << m_vertexShaderBinding[declNdx] << ") uniform highp " << samplerType 851 SamplerBindingRenderCase(Context& context, const char* name, const char* desc, ShaderType shaderType, TestType testType, glw::GLenum samplerType, glw::GLenum textureType) argument 1048 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); 457 deUint32 getTextureFormat (glu::DataType samplerType) 461 switch (samplerType) 491 de::MovePtr<glu::Texture2D> UniformLocationCase::createTexture (glu::DataType samplerType, float redChannelValue, int binding) 497 const deUint32 format = getTextureFormat(samplerType);
|
H A D | es31fTextureGatherTests.cpp | 861 static inline glu::DataType getSamplerGatherResultType (glu::DataType samplerType) argument 863 switch (samplerType) 1003 static glu::FragmentSource genFragmentShaderSource (bool requireGpuShader5, int numTexCoordComponents, glu::DataType samplerType, const string& funcCall, bool useNormalizedCoordInput, bool usePixCoord); 1114 glu::DataType samplerType, 1119 DE_ASSERT(glu::isDataTypeSampler(samplerType)); 1128 "layout (location = 0) out mediump " + glu::getDataTypeName(getSamplerGatherResultType(samplerType)) + " o_color;\n" 1133 "uniform highp " + string(glu::getDataTypeName(samplerType)) + " u_sampler;\n" 1223 const glu::DataType samplerType = getSamplerType(textureType, textureFormat); local 1228 << genFragmentShaderSource(requireGpuShader5(gatherType), numDims, samplerType, funcCall, useNormalizedCoord, usePixCoord); 1112 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()); 334 renderParams.samplerType = getFetchSamplerType(effectiveRefTexture.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"
|
H A D | es31fTextureBorderClampTests.cpp | 1264 refParams.samplerType = (!m_useShadowSampler) ? (gls::TextureTestUtil::getSamplerType(texFormat)) : (gls::TextureTestUtil::SAMPLERTYPE_SHADOW); 1298 const char* samplerType; 1304 samplerType = "sampler2DShadow"; 1314 samplerType = "sampler2D"; 1319 samplerType = "isampler2D"; 1324 samplerType = "usampler2D"; 1329 samplerType = ""; 1336 "uniform highp " << samplerType << " u_sampler;\n" 2256 refParams.samplerType = gls::TextureTestUtil::getSamplerType(texFormat);
|
/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/external/vulkancts/modules/vulkan/shaderexecutor/ |
H A D | vktOpaqueTypeIndexingTests.cpp | 232 static TextureType getTextureType (glu::DataType samplerType) argument 234 switch (samplerType) 270 static bool isShadowSampler (glu::DataType samplerType) argument 272 return samplerType == glu::TYPE_SAMPLER_1D_SHADOW || 273 samplerType == glu::TYPE_SAMPLER_2D_SHADOW || 274 samplerType == glu::TYPE_SAMPLER_2D_ARRAY_SHADOW || 275 samplerType == glu::TYPE_SAMPLER_CUBE_SHADOW; 278 static glu::DataType getSamplerOutputType (glu::DataType samplerType) argument 280 switch (samplerType) 314 static tcu::TextureFormat getSamplerTextureFormat (glu::DataType samplerType) argument 335 getSamplerCoordType(glu::DataType samplerType) argument 440 SamplerIndexingCaseInstance(Context& context, const glu::ShaderType shaderType, const ShaderSpec& shaderSpec, ShaderExecutor& executor, const char* name, glu::DataType samplerType, const IndexExprType indexExprType, UniformSetup* uniformSetup, const std::vector<int>& lookupIndices) argument 700 SamplerIndexingCase(tcu::TestContext& testCtx, const char* name, const char* description, const glu::ShaderType shaderType, glu::DataType samplerType, IndexExprType indexExprType) argument 1414 const glu::DataType samplerType = samplerTypes[samplerTypeNdx]; local [all...] |
/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()); 967 renderParams.samplerType = getSamplerType(m_texture->getRefTexture().getFormat());
|
H A D | es3fTextureSwizzleTests.cpp | 156 renderParams.samplerType = getSamplerType(m_texture->getRefTexture().getFormat());
|
/external/skia/src/gpu/gl/builders/ |
H A D | GrGLProgramBuilder.cpp | 90 GrSLType samplerType = get_sampler_type(processor.textureAccess(t)); local 91 localSamplerUniforms[t] = fUniformHandler.addUniform(kFragment_GrShaderFlag, samplerType, 94 if (kSamplerExternal_GrSLType == samplerType) {
|
/external/deqp/framework/randomshaders/ |
H A D | rsgExpression.cpp | 1394 static int countSamplers (const VariableManager& varManager, VariableType::Type samplerType) argument 1398 IsSamplerEntry::Iterator i = varManager.getBegin(IsSamplerEntry(samplerType)); 1399 IsSamplerEntry::Iterator end = varManager.getEnd(IsSamplerEntry(samplerType)); 1436 VariableType::Type samplerType = VariableType::TYPE_LAST; local 1443 samplerType = VariableType::TYPE_SAMPLER_2D; 1448 samplerType = VariableType::TYPE_SAMPLER_CUBE; 1458 bool hasSampler = samplerType == VariableType::TYPE_SAMPLER_2D ? (sampler2DCount > 0) : (samplerCubeCount > 0); 1463 Variable* sampler = state.getVariableManager().allocate(VariableType(samplerType, 1)); 1468 m_sampler = state.getRandom().choose<const ValueEntry*>(state.getVariableManager().getBegin(IsSamplerEntry(samplerType)), 1469 state.getVariableManager().getEnd(IsSamplerEntry(samplerType))) [all...] |
/external/deqp/modules/gles2/functional/ |
H A D | es2fShaderTextureFunctionTests.cpp | 429 glu::DataType samplerType = glu::TYPE_LAST; local 435 case TEXTURETYPE_2D: samplerType = glu::getSampler2DType(texFmt); break; 436 case TEXTURETYPE_CUBE_MAP: samplerType = glu::getSamplerCubeType(texFmt); break; 481 op << "uniform lowp " << glu::getDataTypeName(samplerType) << " u_sampler;\n";
|
/external/deqp/modules/glshared/ |
H A D | glsTextureTestUtil.hpp | 108 , samplerType (SAMPLERTYPE_FLOAT) 119 SamplerType samplerType; //!< Sampler type. member in struct:deqp::gls::TextureTestUtil::RenderParams
|
H A D | glsTextureTestUtil.cpp | 383 if (params.samplerType == SAMPLERTYPE_SHADOW) 391 if (params.samplerType == SAMPLERTYPE_SHADOW) 399 if (params.samplerType == SAMPLERTYPE_SHADOW) 407 if (params.samplerType == SAMPLERTYPE_SHADOW) 415 if (params.samplerType == SAMPLERTYPE_SHADOW) 423 if (params.samplerType == SAMPLERTYPE_SHADOW) 1306 switch (params.samplerType) 1319 switch (params.samplerType) 1332 switch (params.samplerType) 1345 switch (params.samplerType) [all...] |