/third_party/vk-gl-cts/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 …]
|
/third_party/vk-gl-cts/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 …]
|
/third_party/vk-gl-cts/modules/glshared/ |
D | glsTextureTestUtil.cpp | 330 switch (params.samplerType) in renderQuad() 343 switch (params.samplerType) in renderQuad() 356 switch (params.samplerType) in renderQuad() 369 switch (params.samplerType) in renderQuad() 383 switch (params.samplerType) in renderQuad() 398 switch (params.samplerType) in renderQuad() 413 switch (params.samplerType) in renderQuad() 426 switch (params.samplerType) in renderQuad() 460 if (params.samplerType == SAMPLERTYPE_SHADOW) in renderQuad()
|
/third_party/vk-gl-cts/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 | 507 std::ostringstream samplerType; in getGlslSamplerType() local 510 samplerType << "u"; in getGlslSamplerType() 512 samplerType << "i"; in getGlslSamplerType() 517 samplerType << "sampler1D"; in getGlslSamplerType() 521 samplerType << "sampler1DArray"; in getGlslSamplerType() 525 samplerType << "sampler2D"; in getGlslSamplerType() 529 samplerType << "sampler2DArray"; in getGlslSamplerType() 533 samplerType << "sampler3D"; in getGlslSamplerType() 537 samplerType << "samplerCube"; in getGlslSamplerType() 541 samplerType << "samplerCubeArray"; in getGlslSamplerType() [all …]
|
/third_party/skia/third_party/externals/angle2/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() 402 envName += GetTextureTypeName(samplerType).rawName().data(); in getTextureEnv() 559 Name sh::GetTextureTypeName(TBasicType samplerType) in GetTextureTypeName() argument 561 ASSERT(IsSampler(samplerType)); in GetTextureTypeName() 563 const TBasicType textureType = GetTextureBasicType(samplerType); in GetTextureTypeName() 587 switch (samplerType) in GetTextureTypeName()
|
D | SymbolEnv.h | 177 const TStructure &getTextureEnv(TBasicType samplerType); 221 Name GetTextureTypeName(TBasicType samplerType);
|
/third_party/vk-gl-cts/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 …]
|
/third_party/vk-gl-cts/modules/gles3/scripts/ |
D | gen-invalid-texture-funcs.py | 63 samplerType = self.args[0] 70 params = { "NAME": self.name, "SAMPLERTYPE": samplerType, "LOOKUP": lookup }
|
/third_party/vk-gl-cts/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()
|
/third_party/flutter/skia/third_party/externals/angle2/src/compiler/translator/ |
D | SymbolTable.cpp | 408 void TSymbolTable::initSamplerDefaultPrecision(TBasicType samplerType) in initSamplerDefaultPrecision() argument 410 ASSERT(samplerType >= EbtGuardSamplerBegin && samplerType <= EbtGuardSamplerEnd); in initSamplerDefaultPrecision() 411 setDefaultPrecision(samplerType, EbpLow); in initSamplerDefaultPrecision()
|
D | ResourcesHLSL.cpp | 489 const TType &samplerType = sampler->getType(); in uniformsHeader() local 493 HLSLTextureGroup group = TextureGroup(samplerType.getBasicType()); in uniformsHeader() 500 samplerType, symbolsToAPINames[sampler], nullptr); in uniformsHeader() 501 outputHLSL4_0_FL9_3Sampler(out, samplerType, *sampler, registerIndex); in uniformsHeader() 507 samplerType, symbolsToAPINames[sampler], nullptr); in uniformsHeader() 508 outputUniform(out, samplerType, *sampler, registerIndex); in uniformsHeader()
|
D | TextureFunctionHLSL.h | 60 TBasicType samplerType,
|
/third_party/vk-gl-cts/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()
|
/third_party/vk-gl-cts/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()
|
/third_party/skia/third_party/externals/angle2/src/compiler/translator/ |
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 | SymbolTable.cpp | 456 void TSymbolTable::initSamplerDefaultPrecision(TBasicType samplerType) in initSamplerDefaultPrecision() argument 458 ASSERT(samplerType >= EbtGuardSamplerBegin && samplerType <= EbtGuardSamplerEnd); in initSamplerDefaultPrecision() 459 setDefaultPrecision(samplerType, EbpLow); in initSamplerDefaultPrecision()
|
D | TextureFunctionHLSL.h | 60 TBasicType samplerType,
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/utils/ |
D | WGPUHelpers.cpp | 101 wgpu::SamplerBindingType samplerType) { in BindingLayoutEntryInitializationHelper() argument 104 sampler.type = samplerType; in BindingLayoutEntryInitializationHelper()
|
/third_party/skia/third_party/externals/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()
|
/third_party/skia/third_party/externals/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 …]
|
/third_party/vk-gl-cts/external/openglcts/modules/gles31/ |
D | es31cLayoutBindingTests.cpp | 438 LayoutBindingParameters& samplerType, glu::GLSLVersion glslVersion); 1079 StageType stage, LayoutBindingParameters& samplerType, in LayoutBindingBaseCase() argument 1083 , m_testParams(samplerType) in LayoutBindingBaseCase() 1964 LayoutBindingParameters& samplerType, glu::GLSLVersion glslVersion); 2025 StageType stage, LayoutBindingParameters& samplerType, in SamplerLayoutBindingCase() argument 2027 : LayoutBindingBaseCase(context, name, description, stage, samplerType, glslVersion) in SamplerLayoutBindingCase() 2043 LayoutBindingParameters& samplerType, glu::GLSLVersion glslVersion); 2179 StageType stage, LayoutBindingParameters& samplerType, in ImageLayoutBindingCase() argument 2181 : LayoutBindingBaseCase(context, name, description, stage, samplerType, glslVersion) in ImageLayoutBindingCase() 2197 LayoutBindingParameters& samplerType, glu::GLSLVersion glslVersion); [all …]
|
/third_party/flutter/skia/third_party/externals/angle2/src/common/ |
D | PackedEnums.cpp | 112 TextureType SamplerTypeToTextureType(GLenum samplerType) in SamplerTypeToTextureType() argument 114 switch (samplerType) in SamplerTypeToTextureType()
|