/external/deqp/external/openglcts/modules/glesext/texture_cube_map_array/ |
D | esextcTextureCubeMapArraySampling.hpp | 166 enum samplerType enum in glcts::TextureCubeMapArraySamplingTest 257 samplerType sampler_type, const glw::GLchar* name); 261 glw::GLenum dst_type, samplerType sampler_type, const glw::GLchar* name); 265 samplerType m_sampler_type; 578 samplerType sampler_type); 586 …static void getAttributes(samplerType sampler_type, const attributeDefinition*& out_attribute_defi… 592 void getColorType(samplerType sampler_type, const glw::GLchar*& out_color_type, 596 void getColorType(samplerType sampler_type, const glw::GLchar*& out_color_type, 601 …void getPassThroughFragmentShaderCode(samplerType sampler_type, std::string& out_fragment_shader_c… 603 void getPassThroughTesselationControlShaderCode(const samplerType& sampler_type, [all …]
|
/external/deqp/modules/gles31/functional/ |
D | es31fOpaqueTypeIndexingTests.cpp | 119 static TextureType getTextureType (glu::DataType samplerType) in getTextureType() argument 121 switch (samplerType) in getTextureType() 163 static bool isShadowSampler (glu::DataType samplerType) in isShadowSampler() argument 165 return samplerType == glu::TYPE_SAMPLER_1D_SHADOW || in isShadowSampler() 166 samplerType == glu::TYPE_SAMPLER_2D_SHADOW || in isShadowSampler() 167 samplerType == glu::TYPE_SAMPLER_2D_ARRAY_SHADOW || in isShadowSampler() 168 samplerType == glu::TYPE_SAMPLER_CUBE_SHADOW || in isShadowSampler() 169 samplerType == glu::TYPE_SAMPLER_CUBE_ARRAY_SHADOW; in isShadowSampler() 172 static glu::DataType getSamplerOutputType (glu::DataType samplerType) in getSamplerOutputType() argument 174 switch (samplerType) in getSamplerOutputType() [all …]
|
D | es31fLayoutBindingTests.cpp | 1021 …onst char* desc, ShaderType shaderType, TestType testType, glw::GLenum samplerType, glw::GLenum te… 1046 glw::GLenum samplerType, in SamplerBindingRenderCase() argument 1049 , m_samplerType (samplerType) in SamplerBindingRenderCase() 1139 const std::string samplerType = glu::getDataTypeName(glu::getDataTypeFromGLType(m_samplerType)); in generateShaders() local 1146 …iformDecl << "layout(binding = " << m_bindings[declNdx] << ") uniform highp " << samplerType << " " in generateShaders() 1228 glw::GLenum samplerType); 1244 glw::GLenum samplerType) in SamplerBindingNegativeCase() argument 1258 , m_samplerType (samplerType) in SamplerBindingNegativeCase() 1276 const std::string samplerType = glu::getDataTypeName(glu::getDataTypeFromGLType(m_samplerType)); in generateShaders() local 1283 …mDecl << "layout(binding = " << m_vertexShaderBinding[declNdx] << ") uniform highp " << samplerType in generateShaders() [all …]
|
/external/deqp/modules/glshared/ |
D | glsTextureTestUtil.cpp | 325 switch (params.samplerType) in renderQuad() 338 switch (params.samplerType) in renderQuad() 351 switch (params.samplerType) in renderQuad() 364 switch (params.samplerType) in renderQuad() 378 switch (params.samplerType) in renderQuad() 393 switch (params.samplerType) in renderQuad() 408 switch (params.samplerType) in renderQuad() 421 switch (params.samplerType) in renderQuad() 455 if (params.samplerType == SAMPLERTYPE_SHADOW) in renderQuad()
|
/external/deqp/external/vulkancts/modules/vulkan/pipeline/ |
D | vktPipelineImageViewTests.cpp | 248 std::ostringstream samplerType; in getGlslSamplerType() local 251 samplerType << "u"; in getGlslSamplerType() 253 samplerType << "i"; in getGlslSamplerType() 258 samplerType << "sampler1D"; in getGlslSamplerType() 262 samplerType << "sampler1DArray"; in getGlslSamplerType() 266 samplerType << "sampler2D"; in getGlslSamplerType() 270 samplerType << "sampler2DArray"; in getGlslSamplerType() 274 samplerType << "sampler3D"; in getGlslSamplerType() 278 samplerType << "samplerCube"; in getGlslSamplerType() 282 samplerType << "samplerCubeArray"; in getGlslSamplerType() [all …]
|
D | vktPipelineImageTests.cpp | 268 std::ostringstream samplerType; in getGlslSamplerType() local 271 samplerType << "u"; in getGlslSamplerType() 273 samplerType << "i"; in getGlslSamplerType() 278 samplerType << "sampler1D"; in getGlslSamplerType() 282 samplerType << "sampler1DArray"; in getGlslSamplerType() 286 samplerType << "sampler2D"; in getGlslSamplerType() 290 samplerType << "sampler2DArray"; in getGlslSamplerType() 294 samplerType << "sampler3D"; in getGlslSamplerType() 298 samplerType << "samplerCube"; in getGlslSamplerType() 302 samplerType << "samplerCubeArray"; in getGlslSamplerType() [all …]
|
D | vktPipelineSamplerTests.cpp | 506 std::ostringstream samplerType; in getGlslSamplerType() local 509 samplerType << "u"; in getGlslSamplerType() 511 samplerType << "i"; in getGlslSamplerType() 516 samplerType << "sampler1D"; in getGlslSamplerType() 520 samplerType << "sampler1DArray"; in getGlslSamplerType() 524 samplerType << "sampler2D"; in getGlslSamplerType() 528 samplerType << "sampler2DArray"; in getGlslSamplerType() 532 samplerType << "sampler3D"; in getGlslSamplerType() 536 samplerType << "samplerCube"; in getGlslSamplerType() 540 samplerType << "samplerCubeArray"; in getGlslSamplerType() [all …]
|
/external/angle/src/compiler/translator/TranslatorMetalDirect/ |
D | SymbolEnv.cpp | 385 const TStructure &SymbolEnv::getTextureEnv(TBasicType samplerType) in getTextureEnv() argument 387 ASSERT(IsSampler(samplerType)); in getTextureEnv() 388 const TStructure *&env = mTextureEnvs[samplerType]; in getTextureEnv() 391 auto *textureType = new TType(samplerType); in getTextureEnv() 403 envName += GetTextureTypeName(samplerType).rawName().data(); in getTextureEnv() 560 Name sh::GetTextureTypeName(TBasicType samplerType) in GetTextureTypeName() argument 562 ASSERT(IsSampler(samplerType)); in GetTextureTypeName() 564 const TBasicType textureType = GetTextureBasicType(samplerType); in GetTextureTypeName() 588 switch (samplerType) in GetTextureTypeName()
|
D | SymbolEnv.h | 177 const TStructure &getTextureEnv(TBasicType samplerType); 221 Name GetTextureTypeName(TBasicType samplerType);
|
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/ |
D | vktOpaqueTypeIndexingTests.cpp | 298 static TextureType getTextureType (glu::DataType samplerType) in getTextureType() argument 300 switch (samplerType) in getTextureType() 342 static bool isShadowSampler (glu::DataType samplerType) in isShadowSampler() argument 344 return samplerType == glu::TYPE_SAMPLER_1D_SHADOW || in isShadowSampler() 345 samplerType == glu::TYPE_SAMPLER_1D_ARRAY_SHADOW || in isShadowSampler() 346 samplerType == glu::TYPE_SAMPLER_2D_SHADOW || in isShadowSampler() 347 samplerType == glu::TYPE_SAMPLER_2D_ARRAY_SHADOW || in isShadowSampler() 348 samplerType == glu::TYPE_SAMPLER_CUBE_SHADOW; in isShadowSampler() 351 static glu::DataType getSamplerOutputType (glu::DataType samplerType) in getSamplerOutputType() argument 353 switch (samplerType) in getSamplerOutputType() [all …]
|
/external/deqp/modules/gles3/scripts/ |
D | gen-invalid-texture-funcs.py | 63 samplerType = self.args[0] 70 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/external/openglcts/modules/glesext/texture_border_clamp/ |
D | esextcTextureBorderClampSamplingTexture.cpp | 768 std::string samplerType; in getFragmentShaderCode() local 780 samplerType = ""; in getFragmentShaderCode() 784 samplerType = "u"; in getFragmentShaderCode() 788 samplerType = "i"; in getFragmentShaderCode() 800 samplerType += "sampler2D"; in getFragmentShaderCode() 805 samplerType += "sampler2DArray"; in getFragmentShaderCode() 810 samplerType += "sampler3D"; in getFragmentShaderCode() 848 << samplerType << ";\n" in getFragmentShaderCode() 851 << samplerType << " test_sampler;\n" in getFragmentShaderCode()
|
/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()
|
/external/angle/src/compiler/translator/ |
D | SymbolTable.cpp | 453 void TSymbolTable::initSamplerDefaultPrecision(TBasicType samplerType) in initSamplerDefaultPrecision() argument 455 ASSERT(samplerType >= EbtGuardSamplerBegin && samplerType <= EbtGuardSamplerEnd); in initSamplerDefaultPrecision() 456 setDefaultPrecision(samplerType, EbpLow); in initSamplerDefaultPrecision()
|
D | ResourcesHLSL.cpp | 574 const TType &samplerType = sampler->getType(); in uniformsHeader() local 578 HLSLTextureGroup group = TextureGroup(samplerType.getBasicType()); in uniformsHeader() 585 samplerType, symbolsToAPINames[sampler], nullptr); in uniformsHeader() 586 outputHLSL4_0_FL9_3Sampler(out, samplerType, *sampler, registerIndex); in uniformsHeader() 592 samplerType, symbolsToAPINames[sampler], nullptr); in uniformsHeader() 593 outputUniform(out, samplerType, *sampler, registerIndex); in uniformsHeader()
|
D | TextureFunctionHLSL.h | 60 TBasicType samplerType,
|
/external/swiftshader/src/Shader/ |
D | PixelShader.cpp | 223 Shader::SamplerType samplerType[16]; in analyzeInterpolants() local 227 samplerType[i] = Shader::SAMPLER_UNKNOWN; in analyzeInterpolants() 236 samplerType[sampler] = inst->samplerType; in analyzeInterpolants() 330 switch(samplerType[sampler]) in analyzeInterpolants()
|
/external/swiftshader/src/OpenGL/libGLESv2/ |
D | Context.cpp | 3145 void Context::applyTextures(sw::SamplerType samplerType) in applyTextures() argument 3149 …int samplerCount = (samplerType == sw::SAMPLER_PIXEL) ? MAX_TEXTURE_IMAGE_UNITS : MAX_VERTEX_TEXTU… in applyTextures() 3153 …int textureUnit = programObject->getSamplerMapping(samplerType, samplerIndex); // OpenGL texture… in applyTextures() 3157 TextureType textureType = programObject->getSamplerTextureType(samplerType, samplerIndex); in applyTextures() 3201 device->setAddressingModeU(samplerType, samplerIndex, es2sw::ConvertTextureWrap(wrapS)); in applyTextures() 3202 device->setAddressingModeV(samplerType, samplerIndex, es2sw::ConvertTextureWrap(wrapT)); in applyTextures() 3203 device->setAddressingModeW(samplerType, samplerIndex, es2sw::ConvertTextureWrap(wrapR)); in applyTextures() 3204 … device->setCompareFunc(samplerType, samplerIndex, es2sw::ConvertCompareFunc(compFunc, compMode)); in applyTextures() 3205 device->setSwizzleR(samplerType, samplerIndex, es2sw::ConvertSwizzleType(swizzleR)); in applyTextures() 3206 device->setSwizzleG(samplerType, samplerIndex, es2sw::ConvertSwizzleType(swizzleG)); in applyTextures() [all …]
|
/external/deqp/external/openglcts/modules/gles31/ |
D | es31cLayoutBindingTests.cpp | 438 LayoutBindingParameters& samplerType, glu::GLSLVersion glslVersion); 1080 StageType stage, LayoutBindingParameters& samplerType, in LayoutBindingBaseCase() argument 1084 , m_testParams(samplerType) in LayoutBindingBaseCase() 1976 LayoutBindingParameters& samplerType, glu::GLSLVersion glslVersion); 2037 StageType stage, LayoutBindingParameters& samplerType, in SamplerLayoutBindingCase() argument 2039 : LayoutBindingBaseCase(context, name, description, stage, samplerType, glslVersion) in SamplerLayoutBindingCase() 2055 LayoutBindingParameters& samplerType, glu::GLSLVersion glslVersion); 2192 StageType stage, LayoutBindingParameters& samplerType, in ImageLayoutBindingCase() argument 2194 : LayoutBindingBaseCase(context, name, description, stage, samplerType, glslVersion) in ImageLayoutBindingCase() 2210 LayoutBindingParameters& samplerType, glu::GLSLVersion glslVersion); [all …]
|
/external/angle/src/libANGLE/ |
D | ProgramExecutable.cpp | 388 GLenum samplerType = stream->readInt<GLenum>(); in load() local 391 mSamplerBindings.emplace_back(textureType, samplerType, format, bindingCount); in load() 580 stream->writeInt(samplerBinding.samplerType); in save() 747 mActiveSamplerYUV[textureUnit] = IsSamplerYUVType(samplerBinding.samplerType); in updateActiveSamplers() 759 IsSamplerYUVType(samplerBinding.samplerType)) in updateActiveSamplers() 819 foundYUV = IsSamplerYUVType(binding.samplerType); in setSamplerUniformTextureTypeAndFormat() 828 if (foundYUV != IsSamplerYUVType(binding.samplerType)) in setSamplerUniformTextureTypeAndFormat()
|
/external/deqp/external/vulkancts/modules/vulkan/texture/ |
D | vktTextureTestUtil.cpp | 1032 switch (params.samplerType) in renderQuad() 1045 switch (params.samplerType) in renderQuad() 1058 switch (params.samplerType) in renderQuad() 1071 switch (params.samplerType) in renderQuad() 1085 switch (params.samplerType) in renderQuad() 1100 switch (params.samplerType) in renderQuad() 1115 switch (params.samplerType) in renderQuad() 1128 switch (params.samplerType) in renderQuad() 1432 if (params.samplerType == SAMPLERTYPE_SHADOW) in renderQuad()
|
/external/deqp/external/openglcts/modules/common/ |
D | glcTextureFilterAnisotropicTests.cpp | 627 std::string samplerType; in drawTexture() local 628 TextureFilterAnisotropicUtils::generateTokens(target, texCoordType, samplerType); in drawTexture() 632 TextureFilterAnisotropicUtils::replaceToken("<SAMPLER_TYPE>", samplerType.c_str(), vertexShader); in drawTexture() 633 TextureFilterAnisotropicUtils::replaceToken("<SAMPLER_TYPE>", samplerType.c_str(), fragmentShader); in drawTexture()
|
/external/deqp/framework/randomshaders/ |
D | rsgExpression.cpp | 1424 static int countSamplers (const VariableManager& varManager, VariableType::Type samplerType) in countSamplers() argument 1428 IsSamplerEntry::Iterator i = varManager.getBegin(IsSamplerEntry(samplerType)); in countSamplers() 1429 IsSamplerEntry::Iterator end = varManager.getEnd(IsSamplerEntry(samplerType)); in countSamplers() 1466 VariableType::Type samplerType = VariableType::TYPE_LAST; in TexLookup() local 1473 samplerType = VariableType::TYPE_SAMPLER_2D; in TexLookup() 1478 samplerType = VariableType::TYPE_SAMPLER_CUBE; in TexLookup() 1488 …bool hasSampler = samplerType == VariableType::TYPE_SAMPLER_2D ? (sampler2DCount > 0) : (sampler… in TexLookup() 1493 Variable* sampler = state.getVariableManager().allocate(VariableType(samplerType, 1)); in TexLookup() 1498 …andom().choose<const ValueEntry*>(state.getVariableManager().getBegin(IsSamplerEntry(samplerType)), in TexLookup() 1499 state.getVariableManager().getEnd(IsSamplerEntry(samplerType)))->getVariable(); in TexLookup()
|