Home
last modified time | relevance | path

Searched refs:samplerType (Results 1 – 25 of 73) sorted by relevance

123

/external/deqp/external/openglcts/modules/glesext/texture_cube_map_array/
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_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 …]
DesextcTextureCubeMapArraySampling.cpp1771 samplerType sampler_type) in checkUniformAndResourceApi()
1942 void TextureCubeMapArraySamplingTest::getAttributes(samplerType sampler_type, in getAttributes()
2025 void TextureCubeMapArraySamplingTest::getColorType(samplerType sampler_type, const glw::GLchar*& ou… in getColorType()
2080 void TextureCubeMapArraySamplingTest::getColorType(samplerType sampler_type, const glw::GLchar*& ou… in getColorType()
2120 void TextureCubeMapArraySamplingTest::getPassThroughFragmentShaderCode(samplerType sampler_type, in getPassThroughFragmentShaderCode()
2160 const samplerType& sampler_type, const samplingFunction& sampling_function, in getPassThroughTesselationControlShaderCode()
2225 samplerType sampler_type, std::string& out_tesselation_evaluation_shader_code) in getPassThroughTesselationEvaluationShaderCode()
2269 void TextureCubeMapArraySamplingTest::getPassThroughVertexShaderCode(const samplerType& sampler_t… in getPassThroughVertexShaderCode()
2349 void TextureCubeMapArraySamplingTest::getSamplingComputeShaderCode(const samplerType& sampler_typ… in getSamplingComputeShaderCode()
2485 void TextureCubeMapArraySamplingTest::getSamplingFragmentShaderCode(const samplerType& sampler_typ… in getSamplingFragmentShaderCode()
[all …]
/external/deqp/modules/gles31/functional/
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()
[all …]
Des31fLayoutBindingTests.cpp1008 …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 …]
Des31fUniformLocationTests.cpp115 …de::MovePtr<glu::Texture2D> createTexture (glu::DataType samplerType, float redChannelValue, int…
457 deUint32 getTextureFormat (glu::DataType samplerType) in getTextureFormat() argument
461 switch (samplerType) in getTextureFormat()
491 de::MovePtr<glu::Texture2D> UniformLocationCase::createTexture (glu::DataType samplerType, float re… in createTexture() argument
497 const deUint32 format = getTextureFormat(samplerType); in createTexture()
Des31fFboTestUtil.hpp88 …TextureCubeArrayShader (glu::DataType samplerType, glu::DataType outputType, glu::GLSLVersion glsl…
Des31fFboTestUtil.cpp265 TextureCubeArrayShader::TextureCubeArrayShader (glu::DataType samplerType, glu::DataType outputType… in TextureCubeArrayShader() argument
272 << sglr::pdec::Uniform("u_sampler0", samplerType) in TextureCubeArrayShader()
297 "uniform highp " + glu::getDataTypeName(samplerType) + " u_sampler0;\n" in TextureCubeArrayShader()
/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineImageViewTests.cpp227 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 …]
DvktPipelineImageTests.cpp245 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 …]
DvktPipelineSamplerTests.cpp408 std::ostringstream samplerType; in getGlslSamplerType() local
411 samplerType << "u"; in getGlslSamplerType()
413 samplerType << "i"; in getGlslSamplerType()
418 samplerType << "sampler1D"; in getGlslSamplerType()
422 samplerType << "sampler1DArray"; in getGlslSamplerType()
426 samplerType << "sampler2D"; in getGlslSamplerType()
430 samplerType << "sampler2DArray"; in getGlslSamplerType()
434 samplerType << "sampler3D"; in getGlslSamplerType()
438 samplerType << "samplerCube"; in getGlslSamplerType()
442 samplerType << "samplerCubeArray"; in getGlslSamplerType()
[all …]
/external/deqp/modules/glshared/
DglsTextureTestUtil.cpp325 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/shaderexecutor/
DvktOpaqueTypeIndexingTests.cpp290 static TextureType getTextureType (glu::DataType samplerType) in getTextureType() argument
292 switch (samplerType) in getTextureType()
328 static bool isShadowSampler (glu::DataType samplerType) in isShadowSampler() argument
330 return samplerType == glu::TYPE_SAMPLER_1D_SHADOW || in isShadowSampler()
331 samplerType == glu::TYPE_SAMPLER_2D_SHADOW || in isShadowSampler()
332 samplerType == glu::TYPE_SAMPLER_2D_ARRAY_SHADOW || in isShadowSampler()
333 samplerType == glu::TYPE_SAMPLER_CUBE_SHADOW; in isShadowSampler()
336 static glu::DataType getSamplerOutputType (glu::DataType samplerType) in getSamplerOutputType() argument
338 switch (samplerType) in getSamplerOutputType()
372 static tcu::TextureFormat getSamplerTextureFormat (glu::DataType samplerType) in getSamplerTextureFormat() argument
[all …]
/external/deqp/modules/gles3/performance/
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_UI… in init()
158 …" << glu::getPrecisionName(samplerPrec) << " " << glu::getDataTypeName(samplerType) << " u_sampler… in init()
/external/deqp/modules/gles3/scripts/
Dgen-invalid-texture-funcs.py63 samplerType = self.args[0]
70 params = { "NAME": self.name, "SAMPLERTYPE": samplerType, "LOOKUP": lookup }
/external/deqp/external/openglcts/modules/glesext/texture_border_clamp/
DesextcTextureBorderClampSamplingTexture.cpp768 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/
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);
Des3fFboTestUtil.cpp422 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/OpenGL/libGLESv2/
DContext.cpp3080 void Context::applyTextures(sw::SamplerType samplerType) in applyTextures() argument
3084 …int samplerCount = (samplerType == sw::SAMPLER_PIXEL) ? MAX_TEXTURE_IMAGE_UNITS : MAX_VERTEX_TEXTU… in applyTextures()
3088 …int textureUnit = programObject->getSamplerMapping(samplerType, samplerIndex); // OpenGL texture… in applyTextures()
3092 TextureType textureType = programObject->getSamplerTextureType(samplerType, samplerIndex); in applyTextures()
3136 device->setAddressingModeU(samplerType, samplerIndex, es2sw::ConvertTextureWrap(wrapS)); in applyTextures()
3137 device->setAddressingModeV(samplerType, samplerIndex, es2sw::ConvertTextureWrap(wrapT)); in applyTextures()
3138 device->setAddressingModeW(samplerType, samplerIndex, es2sw::ConvertTextureWrap(wrapR)); in applyTextures()
3139 … device->setCompareFunc(samplerType, samplerIndex, es2sw::ConvertCompareFunc(compFunc, compMode)); in applyTextures()
3140 device->setSwizzleR(samplerType, samplerIndex, es2sw::ConvertSwizzleType(swizzleR)); in applyTextures()
3141 device->setSwizzleG(samplerType, samplerIndex, es2sw::ConvertSwizzleType(swizzleG)); in applyTextures()
[all …]
/external/swiftshader/src/Pipeline/
DPixelShader.cpp222 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/swiftshader/src/Shader/
DPixelShader.cpp222 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/
Des31cLayoutBindingTests.cpp438 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/deqp/external/vulkancts/modules/vulkan/texture/
DvktTextureTestUtil.cpp1014 switch (params.samplerType) in renderQuad()
1027 switch (params.samplerType) in renderQuad()
1040 switch (params.samplerType) in renderQuad()
1053 switch (params.samplerType) in renderQuad()
1067 switch (params.samplerType) in renderQuad()
1082 switch (params.samplerType) in renderQuad()
1097 switch (params.samplerType) in renderQuad()
1110 switch (params.samplerType) in renderQuad()
1413 if (params.samplerType == SAMPLERTYPE_SHADOW) in renderQuad()
/external/deqp/framework/randomshaders/
DrsgExpression.cpp1424 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()
/external/deqp/external/openglcts/modules/common/
DglcTextureFilterAnisotropicTests.cpp627 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/modules/gles2/functional/
Des2fShaderTextureFunctionTests.cpp429 glu::DataType samplerType = glu::TYPE_LAST; in initShaderSources() local
435 case TEXTURETYPE_2D: samplerType = glu::getSampler2DType(texFmt); break; in initShaderSources()
436 case TEXTURETYPE_CUBE_MAP: samplerType = glu::getSamplerCubeType(texFmt); break; in initShaderSources()
481 op << "uniform lowp " << glu::getDataTypeName(samplerType) << " u_sampler;\n"; in initShaderSources()

123