Home
last modified time | relevance | path

Searched refs:samplerType (Results 1 - 25 of 108) sorted by relevance

12345

/third_party/vk-gl-cts/external/openglcts/modules/glesext/texture_cube_map_array/
H A DesextcTextureCubeMapArraySampling.hpp166 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_definitions,
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_code);
603 void getPassThroughTesselationControlShaderCode(const samplerType
[all...]
/third_party/skia/third_party/externals/angle2/src/compiler/translator/TranslatorMetalDirect/
H A DSymbolEnv.cpp385 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()
H A DSymbolEnv.h177 const TStructure &getTextureEnv(TBasicType samplerType);
221 Name GetTextureTypeName(TBasicType samplerType);
/third_party/vk-gl-cts/modules/glshared/
H A DglsTextureTestUtil.cpp330 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/shaderexecutor/
H A DvktOpaqueTypeIndexingTests.cpp296 static TextureType getTextureType (glu::DataType samplerType) in getTextureType() argument
298 switch (samplerType) in getTextureType()
340 static bool isShadowSampler (glu::DataType samplerType) in isShadowSampler() argument
342 return samplerType == glu::TYPE_SAMPLER_1D_SHADOW || in isShadowSampler()
343 samplerType == glu::TYPE_SAMPLER_1D_ARRAY_SHADOW || in isShadowSampler()
344 samplerType == glu::TYPE_SAMPLER_2D_SHADOW || in isShadowSampler()
345 samplerType == glu::TYPE_SAMPLER_2D_ARRAY_SHADOW || in isShadowSampler()
346 samplerType == glu::TYPE_SAMPLER_CUBE_SHADOW; in isShadowSampler()
349 static glu::DataType getSamplerOutputType (glu::DataType samplerType) in getSamplerOutputType() argument
351 switch (samplerType) in getSamplerOutputType()
389 getSamplerTextureFormat(glu::DataType samplerType) getSamplerTextureFormat() argument
410 getSamplerCoordType(glu::DataType samplerType) getSamplerCoordType() argument
651 SamplerIndexingCaseInstance(Context& context, const glu::ShaderType shaderType, const ShaderSpec& shaderSpec, const char* name, glu::DataType samplerType, const IndexExprType indexExprType, const std::vector<int>& lookupIndices) SamplerIndexingCaseInstance() argument
1031 SamplerIndexingCase(tcu::TestContext& testCtx, const char* name, const glu::ShaderType shaderType, glu::DataType samplerType, IndexExprType indexExprType) SamplerIndexingCase() argument
2053 const glu::DataType samplerType = samplerTypes[samplerTypeNdx]; init() local
[all...]
/third_party/vk-gl-cts/modules/gles31/functional/
H A Des31fOpaqueTypeIndexingTests.cpp119 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()
212 getSamplerTextureFormat(glu::DataType samplerType) getSamplerTextureFormat() argument
233 getSamplerCoordType(glu::DataType samplerType) getSamplerCoordType() argument
273 setupTexture(const glw::Functions& gl, deUint32 texture, glu::DataType samplerType, tcu::TextureFormat texFormat, const void* color) setupTexture() argument
352 SamplerIndexingCase(Context& context, const char* name, const char* description, glu::ShaderType shaderType, glu::DataType samplerType, IndexExprType indexExprType) SamplerIndexingCase() argument
1334 const DataType samplerType = samplerTypes[samplerTypeNdx]; init() local
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/shaderexecutor/
H A DvktOpaqueTypeIndexingTests.cpp298 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()
391 getSamplerTextureFormat(glu::DataType samplerType) getSamplerTextureFormat() argument
412 getSamplerCoordType(glu::DataType samplerType) getSamplerCoordType() argument
653 SamplerIndexingCaseInstance(Context& context, const glu::ShaderType shaderType, const ShaderSpec& shaderSpec, const char* name, glu::DataType samplerType, const IndexExprType indexExprType, const std::vector<int>& lookupIndices) SamplerIndexingCaseInstance() argument
1034 SamplerIndexingCase(tcu::TestContext& testCtx, const char* name, const char* description, const glu::ShaderType shaderType, glu::DataType samplerType, IndexExprType indexExprType) SamplerIndexingCase() argument
2057 const glu::DataType samplerType = samplerTypes[samplerTypeNdx]; init() local
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/
H A DvktPipelineImageTests.cpp306 std::ostringstream samplerType; in getGlslSamplerType() local
309 samplerType << "u"; in getGlslSamplerType()
311 samplerType << "i"; in getGlslSamplerType()
316 samplerType << "sampler1D"; in getGlslSamplerType()
320 samplerType << "sampler1DArray"; in getGlslSamplerType()
324 samplerType << "sampler2D"; in getGlslSamplerType()
328 samplerType << "sampler2DArray"; in getGlslSamplerType()
332 samplerType << "sampler3D"; in getGlslSamplerType()
336 samplerType << "samplerCube"; in getGlslSamplerType()
340 samplerType << "samplerCubeArra in getGlslSamplerType()
[all...]
H A DvktPipelineImageViewTests.cpp259 std::ostringstream samplerType; in getGlslSamplerType() local
262 samplerType << "u"; in getGlslSamplerType()
264 samplerType << "i"; in getGlslSamplerType()
269 samplerType << "sampler1D"; in getGlslSamplerType()
273 samplerType << "sampler1DArray"; in getGlslSamplerType()
277 samplerType << "sampler2D"; in getGlslSamplerType()
281 samplerType << "sampler2DArray"; in getGlslSamplerType()
285 samplerType << "sampler3D"; in getGlslSamplerType()
289 samplerType << "samplerCube"; in getGlslSamplerType()
293 samplerType << "samplerCubeArra in getGlslSamplerType()
[all...]
H A DvktPipelineSamplerTests.cpp539 std::ostringstream samplerType; in getGlslSamplerType() local
542 samplerType << "u"; in getGlslSamplerType()
544 samplerType << "i"; in getGlslSamplerType()
549 samplerType << "sampler1D"; in getGlslSamplerType()
553 samplerType << "sampler1DArray"; in getGlslSamplerType()
557 samplerType << "sampler2D"; in getGlslSamplerType()
561 samplerType << "sampler2DArray"; in getGlslSamplerType()
565 samplerType << "sampler3D"; in getGlslSamplerType()
569 samplerType << "samplerCube"; in getGlslSamplerType()
573 samplerType << "samplerCubeArra in getGlslSamplerType()
1401 const std::string samplerType = typePrefix + "sampler2D"; initPrograms() local
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/pipeline/
H A DvktPipelineImageTests.cpp300 std::ostringstream samplerType; in getGlslSamplerType() local
303 samplerType << "u"; in getGlslSamplerType()
305 samplerType << "i"; in getGlslSamplerType()
310 samplerType << "sampler1D"; in getGlslSamplerType()
314 samplerType << "sampler1DArray"; in getGlslSamplerType()
318 samplerType << "sampler2D"; in getGlslSamplerType()
322 samplerType << "sampler2DArray"; in getGlslSamplerType()
326 samplerType << "sampler3D"; in getGlslSamplerType()
330 samplerType << "samplerCube"; in getGlslSamplerType()
334 samplerType << "samplerCubeArra in getGlslSamplerType()
[all...]
H A DvktPipelineImageViewTests.cpp253 std::ostringstream samplerType; in getGlslSamplerType() local
256 samplerType << "u"; in getGlslSamplerType()
258 samplerType << "i"; in getGlslSamplerType()
263 samplerType << "sampler1D"; in getGlslSamplerType()
267 samplerType << "sampler1DArray"; in getGlslSamplerType()
271 samplerType << "sampler2D"; in getGlslSamplerType()
275 samplerType << "sampler2DArray"; in getGlslSamplerType()
279 samplerType << "sampler3D"; in getGlslSamplerType()
283 samplerType << "samplerCube"; in getGlslSamplerType()
287 samplerType << "samplerCubeArra in getGlslSamplerType()
[all...]
/third_party/vk-gl-cts/external/openglcts/modules/glesext/texture_border_clamp/
H A DesextcTextureBorderClampSamplingTexture.cpp784 std::string samplerType; in getFragmentShaderCode() local
796 samplerType = ""; in getFragmentShaderCode()
800 samplerType = "u"; in getFragmentShaderCode()
804 samplerType = "i"; in getFragmentShaderCode()
816 samplerType += "sampler2D"; in getFragmentShaderCode()
821 samplerType += "sampler2DArray"; in getFragmentShaderCode()
826 samplerType += "sampler3D"; in getFragmentShaderCode()
864 << samplerType << ";\n" in getFragmentShaderCode()
867 << samplerType << " test_sampler;\n" in getFragmentShaderCode()
/third_party/vk-gl-cts/modules/gles3/scripts/
H A Dgen-invalid-texture-funcs.py63 samplerType = self.args[0]
70 params = { "NAME": self.name, "SAMPLERTYPE": samplerType, "LOOKUP": lookup }
/third_party/vk-gl-cts/modules/gles3/performance/
H A Des3pTextureCases.cpp101 const glu::DataType samplerType = glu::getSampler2DType(texFormat); in init() local
102 const bool isIntUint = samplerType == glu::TYPE_INT_SAMPLER_2D || samplerType == glu::TYPE_UINT_SAMPLER_2D; in init()
158 fragSrc << "uniform " << glu::getPrecisionName(samplerPrec) << " " << glu::getDataTypeName(samplerType) << " u_sampler" << texNdx << ";\n"; in init()
/third_party/vk-gl-cts/external/openglcts/modules/gles31/
H A Des31cLayoutBindingTests.cpp438 LayoutBindingParameters& samplerType, glu::GLSLVersion glslVersion);
1079 StageType stage, LayoutBindingParameters& samplerType, in LayoutBindingBaseCase()
1083 , m_testParams(samplerType) in LayoutBindingBaseCase()
1964 LayoutBindingParameters& samplerType, glu::GLSLVersion glslVersion);
2025 StageType stage, LayoutBindingParameters& samplerType, in SamplerLayoutBindingCase()
2027 : LayoutBindingBaseCase(context, name, description, stage, samplerType, glslVersion) in SamplerLayoutBindingCase()
2043 LayoutBindingParameters& samplerType, glu::GLSLVersion glslVersion);
2179 StageType stage, LayoutBindingParameters& samplerType, in ImageLayoutBindingCase()
2181 : LayoutBindingBaseCase(context, name, description, stage, samplerType, glslVersion) in ImageLayoutBindingCase()
2197 LayoutBindingParameters& samplerType, gl
1078 LayoutBindingBaseCase(Context& context, const char* name, const char* description, StageType stage, LayoutBindingParameters& samplerType, glu::GLSLVersion glslVersion) LayoutBindingBaseCase() argument
2024 SamplerLayoutBindingCase(Context& context, const char* name, const char* description, StageType stage, LayoutBindingParameters& samplerType, glu::GLSLVersion glslVersion) SamplerLayoutBindingCase() argument
2178 ImageLayoutBindingCase(Context& context, const char* name, const char* description, StageType stage, LayoutBindingParameters& samplerType, glu::GLSLVersion glslVersion) ImageLayoutBindingCase() argument
2922 AtomicCounterLayoutBindingCase(Context& context, const char* name, const char* description, StageType stage, LayoutBindingParameters& samplerType, glu::GLSLVersion glslVersion) AtomicCounterLayoutBindingCase() argument
3108 UniformBlocksLayoutBindingCase(Context& context, const char* name, const char* description, StageType stage, LayoutBindingParameters& samplerType, glu::GLSLVersion glslVersion) UniformBlocksLayoutBindingCase() argument
3327 ShaderStorageBufferLayoutBindingCase(Context& context, const char* name, const char* description, StageType stage, LayoutBindingParameters& samplerType, glu::GLSLVersion glslVersion) ShaderStorageBufferLayoutBindingCase() argument
[all...]
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/libGLESv2/
H A DContext.cpp3145 void Context::applyTextures(sw::SamplerType samplerType) in applyTextures() argument
3149 int samplerCount = (samplerType == sw::SAMPLER_PIXEL) ? MAX_TEXTURE_IMAGE_UNITS : MAX_VERTEX_TEXTURE_IMAGE_UNITS; // Range of samplers of given sampler type in applyTextures()
3153 int textureUnit = programObject->getSamplerMapping(samplerType, samplerIndex); // OpenGL texture image unit index 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, samplerInde in applyTextures()
[all...]
/third_party/vk-gl-cts/modules/gles3/functional/
H A Des3fFboTestUtil.hpp118 TextureCubeShader (glu::DataType samplerType, glu::DataType outputType);
140 Texture2DArrayShader (glu::DataType samplerType, glu::DataType outputType);
162 Texture3DShader (glu::DataType samplerType, glu::DataType outputType);
/third_party/skia/third_party/externals/swiftshader/src/Shader/
H A DPixelShader.cpp223 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/angle2/src/compiler/translator/
H A DSymbolTable.cpp456 void TSymbolTable::initSamplerDefaultPrecision(TBasicType samplerType)
458 ASSERT(samplerType >= EbtGuardSamplerBegin && samplerType <= EbtGuardSamplerEnd);
459 setDefaultPrecision(samplerType, EbpLow);
H A DResourcesHLSL.cpp574 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()
H A DTextureFunctionHLSL.h60 TBasicType samplerType,
/third_party/skia/third_party/externals/dawn/src/dawn_native/utils/
H A DWGPUHelpers.cpp101 wgpu::SamplerBindingType samplerType) { in BindingLayoutEntryInitializationHelper()
104 sampler.type = samplerType; in BindingLayoutEntryInitializationHelper()
98 BindingLayoutEntryInitializationHelper( uint32_t entryBinding, wgpu::ShaderStage entryVisibility, wgpu::SamplerBindingType samplerType) BindingLayoutEntryInitializationHelper() argument
/third_party/vk-gl-cts/external/openglcts/modules/common/
H A DglcTextureFilterAnisotropicTests.cpp625 std::string samplerType; in drawTexture() local
626 TextureFilterAnisotropicUtils::generateTokens(target, texCoordType, samplerType); in drawTexture()
630 TextureFilterAnisotropicUtils::replaceToken("<SAMPLER_TYPE>", samplerType.c_str(), vertexShader); in drawTexture()
631 TextureFilterAnisotropicUtils::replaceToken("<SAMPLER_TYPE>", samplerType.c_str(), fragmentShader); in drawTexture()
/third_party/skia/third_party/externals/angle2/src/libANGLE/
H A DProgramExecutable.cpp460 GLenum samplerType = stream->readInt<GLenum>(); local
463 mSamplerBindings.emplace_back(textureType, samplerType, format, bindingCount);
649 stream->writeInt(samplerBinding.samplerType); in save()
787 mActiveSamplerYUV[textureUnit] = IsSamplerYUVType(samplerBinding.samplerType);
799 IsSamplerYUVType(samplerBinding.samplerType))
855 foundYUV = IsSamplerYUVType(binding.samplerType);
864 if (foundYUV != IsSamplerYUVType(binding.samplerType))

Completed in 32 milliseconds

12345