/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 | 1008 …onst char* desc, ShaderType shaderType, TestType testType, glw::GLenum samplerType, glw::GLenum te… 1033 glw::GLenum samplerType, in SamplerBindingRenderCase() argument 1036 , m_samplerType (samplerType) in SamplerBindingRenderCase() 1126 const std::string samplerType = glu::getDataTypeName(glu::getDataTypeFromGLType(m_samplerType)); in generateShaders() local 1133 …iformDecl << "layout(binding = " << m_bindings[declNdx] << ") uniform highp " << samplerType << " " in generateShaders() 1215 glw::GLenum samplerType); 1231 glw::GLenum samplerType) in SamplerBindingNegativeCase() argument 1245 , m_samplerType (samplerType) in SamplerBindingNegativeCase() 1263 const std::string samplerType = glu::getDataTypeName(glu::getDataTypeFromGLType(m_samplerType)); in generateShaders() local 1270 …mDecl << "layout(binding = " << m_vertexShaderBinding[declNdx] << ") uniform highp " << samplerType in generateShaders() [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/pipeline/ |
D | vktPipelineImageViewTests.cpp | 227 std::ostringstream samplerType; in getGlslSamplerType() local 230 samplerType << "u"; in getGlslSamplerType() 232 samplerType << "i"; in getGlslSamplerType() 237 samplerType << "sampler1D"; in getGlslSamplerType() 241 samplerType << "sampler1DArray"; in getGlslSamplerType() 245 samplerType << "sampler2D"; in getGlslSamplerType() 249 samplerType << "sampler2DArray"; in getGlslSamplerType() 253 samplerType << "sampler3D"; in getGlslSamplerType() 257 samplerType << "samplerCube"; in getGlslSamplerType() 261 samplerType << "samplerCubeArray"; in getGlslSamplerType() [all …]
|
D | vktPipelineImageTests.cpp | 245 std::ostringstream samplerType; in getGlslSamplerType() local 248 samplerType << "u"; in getGlslSamplerType() 250 samplerType << "i"; in getGlslSamplerType() 255 samplerType << "sampler1D"; in getGlslSamplerType() 259 samplerType << "sampler1DArray"; in getGlslSamplerType() 263 samplerType << "sampler2D"; in getGlslSamplerType() 267 samplerType << "sampler2DArray"; in getGlslSamplerType() 271 samplerType << "sampler3D"; in getGlslSamplerType() 275 samplerType << "samplerCube"; in getGlslSamplerType() 279 samplerType << "samplerCubeArray"; in getGlslSamplerType() [all …]
|
D | vktPipelineSamplerTests.cpp | 324 std::ostringstream samplerType; in getGlslSamplerType() local 327 samplerType << "u"; in getGlslSamplerType() 329 samplerType << "i"; in getGlslSamplerType() 334 samplerType << "sampler1D"; in getGlslSamplerType() 338 samplerType << "sampler1DArray"; in getGlslSamplerType() 342 samplerType << "sampler2D"; in getGlslSamplerType() 346 samplerType << "sampler2DArray"; in getGlslSamplerType() 350 samplerType << "sampler3D"; in getGlslSamplerType() 354 samplerType << "samplerCube"; in getGlslSamplerType() 358 samplerType << "samplerCubeArray"; in getGlslSamplerType() [all …]
|
/external/skia/src/gpu/glsl/ |
D | GrGLSLProgramBuilder.cpp | 226 this->emitSampler(dstTexture->texturePriv().samplerType(), dstTexture->config(), in emitAndInstallXferProc() 229 SkASSERT(kTextureExternalSampler_GrSLType != dstTexture->texturePriv().samplerType()); in emitAndInstallXferProc() 259 GrSLType samplerType = sampler.peekTexture()->texturePriv().samplerType(); in emitSamplers() local 260 if (kTextureExternalSampler_GrSLType == samplerType) { in emitSamplers() 270 samplerType, sampler.peekTexture()->config(), name.c_str(), sampler.visibility())); in emitSamplers() 305 GrGLSLProgramBuilder::SamplerHandle GrGLSLProgramBuilder::emitSampler(GrSLType samplerType, in emitSampler() argument 312 return this->uniformHandler()->addSampler(visibility, swizzle, samplerType, precision, name); in emitSampler()
|
/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/skqp/src/gpu/glsl/ |
D | GrGLSLProgramBuilder.cpp | 226 this->emitSampler(dstTexture->texturePriv().samplerType(), dstTexture->config(), in emitAndInstallXferProc() 229 SkASSERT(kTextureExternalSampler_GrSLType != dstTexture->texturePriv().samplerType()); in emitAndInstallXferProc() 259 GrSLType samplerType = sampler.peekTexture()->texturePriv().samplerType(); in emitSamplers() local 260 if (kTextureExternalSampler_GrSLType == samplerType) { in emitSamplers() 270 samplerType, sampler.peekTexture()->config(), name.c_str(), sampler.visibility())); in emitSamplers() 305 GrGLSLProgramBuilder::SamplerHandle GrGLSLProgramBuilder::emitSampler(GrSLType samplerType, in emitSampler() argument 312 return this->uniformHandler()->addSampler(visibility, swizzle, samplerType, precision, name); in emitSampler()
|
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/ |
D | vktOpaqueTypeIndexingTests.cpp | 289 static TextureType getTextureType (glu::DataType samplerType) in getTextureType() argument 291 switch (samplerType) in getTextureType() 327 static bool isShadowSampler (glu::DataType samplerType) in isShadowSampler() argument 329 return samplerType == glu::TYPE_SAMPLER_1D_SHADOW || in isShadowSampler() 330 samplerType == glu::TYPE_SAMPLER_2D_SHADOW || in isShadowSampler() 331 samplerType == glu::TYPE_SAMPLER_2D_ARRAY_SHADOW || in isShadowSampler() 332 samplerType == glu::TYPE_SAMPLER_CUBE_SHADOW; in isShadowSampler() 335 static glu::DataType getSamplerOutputType (glu::DataType samplerType) in getSamplerOutputType() argument 337 switch (samplerType) in getSamplerOutputType() 371 static tcu::TextureFormat getSamplerTextureFormat (glu::DataType samplerType) in getSamplerTextureFormat() argument [all …]
|
/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/scripts/ |
D | gen-invalid-texture-funcs.py | 63 samplerType = self.args[0] 70 params = { "NAME": self.name, "SAMPLERTYPE": samplerType, "LOOKUP": lookup }
|
/external/skia/src/gpu/ |
D | GrProgramDesc.cpp | 45 static uint16_t sampler_key(GrSLType samplerType, GrPixelConfig config, GrShaderFlags visibility, in sampler_key() argument 47 int samplerTypeKey = image_storage_or_sampler_uniform_type_key(samplerType); in sampler_key() 71 k16[j] = sampler_key(tex->texturePriv().samplerType(), tex->config(), sampler.visibility(), in add_sampler_and_image_keys()
|
D | GrTexture.cpp | 44 GrTexture::GrTexture(GrGpu* gpu, const GrSurfaceDesc& desc, GrSLType samplerType, in GrTexture() argument 48 , fSamplerType(samplerType) in GrTexture()
|
/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/skqp/src/gpu/ |
D | GrProgramDesc.cpp | 48 static uint16_t sampler_key(GrSLType samplerType, GrPixelConfig config, GrShaderFlags visibility, in sampler_key() argument 50 int samplerTypeKey = image_storage_or_sampler_uniform_type_key(samplerType); in sampler_key() 74 k16[j] = sampler_key(tex->texturePriv().samplerType(), tex->config(), sampler.visibility(), in add_sampler_and_image_keys()
|
D | GrTexture.cpp | 44 GrTexture::GrTexture(GrGpu* gpu, const GrSurfaceDesc& desc, GrSLType samplerType, in GrTexture() argument 48 , fSamplerType(samplerType) in GrTexture()
|
/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/swiftshader/src/Shader/ |
D | PixelShader.cpp | 222 Shader::SamplerType samplerType[16]; in analyzeInterpolants() local 226 samplerType[i] = Shader::SAMPLER_UNKNOWN; in analyzeInterpolants() 235 samplerType[sampler] = inst->samplerType; in analyzeInterpolants() 329 switch(samplerType[sampler]) in analyzeInterpolants()
|
/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/swiftshader/src/OpenGL/libGLESv2/ |
D | Context.cpp | 3107 void Context::applyTextures(sw::SamplerType samplerType) in applyTextures() argument 3111 …int samplerCount = (samplerType == sw::SAMPLER_PIXEL) ? MAX_TEXTURE_IMAGE_UNITS : MAX_VERTEX_TEXTU… in applyTextures() 3115 …int textureUnit = programObject->getSamplerMapping(samplerType, samplerIndex); // OpenGL texture… in applyTextures() 3119 TextureType textureType = programObject->getSamplerTextureType(samplerType, samplerIndex); in applyTextures() 3162 device->setAddressingModeU(samplerType, samplerIndex, es2sw::ConvertTextureWrap(wrapS)); in applyTextures() 3163 device->setAddressingModeV(samplerType, samplerIndex, es2sw::ConvertTextureWrap(wrapT)); in applyTextures() 3164 device->setAddressingModeW(samplerType, samplerIndex, es2sw::ConvertTextureWrap(wrapR)); in applyTextures() 3165 … device->setCompareFunc(samplerType, samplerIndex, es2sw::ConvertCompareFunc(compFunc, compMode)); in applyTextures() 3166 device->setSwizzleR(samplerType, samplerIndex, es2sw::ConvertSwizzleType(swizzleR)); in applyTextures() 3167 device->setSwizzleG(samplerType, samplerIndex, es2sw::ConvertSwizzleType(swizzleG)); in applyTextures() [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/texture/ |
D | vktTextureTestUtil.cpp | 990 switch (params.samplerType) in renderQuad() 1003 switch (params.samplerType) in renderQuad() 1016 switch (params.samplerType) in renderQuad() 1029 switch (params.samplerType) in renderQuad() 1043 switch (params.samplerType) in renderQuad() 1058 switch (params.samplerType) in renderQuad() 1073 switch (params.samplerType) in renderQuad() 1086 switch (params.samplerType) in renderQuad() 1555 if (params.samplerType == SAMPLERTYPE_SHADOW) in renderQuad()
|
/external/deqp/framework/randomshaders/ |
D | rsgExpression.cpp | 1394 static int countSamplers (const VariableManager& varManager, VariableType::Type samplerType) in countSamplers() argument 1398 IsSamplerEntry::Iterator i = varManager.getBegin(IsSamplerEntry(samplerType)); in countSamplers() 1399 IsSamplerEntry::Iterator end = varManager.getEnd(IsSamplerEntry(samplerType)); in countSamplers() 1436 VariableType::Type samplerType = VariableType::TYPE_LAST; in TexLookup() local 1443 samplerType = VariableType::TYPE_SAMPLER_2D; in TexLookup() 1448 samplerType = VariableType::TYPE_SAMPLER_CUBE; in TexLookup() 1458 …bool hasSampler = samplerType == VariableType::TYPE_SAMPLER_2D ? (sampler2DCount > 0) : (sampler… in TexLookup() 1463 Variable* sampler = state.getVariableManager().allocate(VariableType(samplerType, 1)); in TexLookup() 1468 …andom().choose<const ValueEntry*>(state.getVariableManager().getBegin(IsSamplerEntry(samplerType)), in TexLookup() 1469 state.getVariableManager().getEnd(IsSamplerEntry(samplerType)))->getVariable(); in TexLookup()
|
/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()
|