Searched defs:samplerType (Results 1 - 25 of 38) sorted by relevance

12

/external/skia/src/gpu/
H A DGrTexturePriv.h47 GrSLType samplerType() const { return fTexture->fSamplerType; } function in class:GrTexturePriv
H A DGrTexture.cpp44 GrTexture::GrTexture(GrGpu* gpu, const GrSurfaceDesc& desc, GrSLType samplerType, argument
48 , fSamplerType(samplerType)
H A DGrProgramDesc.cpp45 static uint16_t sampler_key(GrSLType samplerType, GrPixelConfig config, GrShaderFlags visibility, argument
47 int samplerTypeKey = image_storage_or_sampler_uniform_type_key(samplerType);
71 k16[j] = sampler_key(tex->texturePriv().samplerType(), tex->config(), sampler.visibility(),
/external/skqp/src/gpu/
H A DGrTexturePriv.h47 GrSLType samplerType() const { return fTexture->fSamplerType; } function in class:GrTexturePriv
H A DGrTexture.cpp44 GrTexture::GrTexture(GrGpu* gpu, const GrSurfaceDesc& desc, GrSLType samplerType, argument
48 , fSamplerType(samplerType)
H A DGrProgramDesc.cpp48 static uint16_t sampler_key(GrSLType samplerType, GrPixelConfig config, GrShaderFlags visibility, argument
50 int samplerTypeKey = image_storage_or_sampler_uniform_type_key(samplerType);
74 k16[j] = sampler_key(tex->texturePriv().samplerType(), tex->config(), sampler.visibility(),
/external/swiftshader/src/Shader/
H A DPixelShader.cpp222 Shader::SamplerType samplerType[16]; local
226 samplerType[i] = Shader::SAMPLER_UNKNOWN;
235 samplerType[sampler] = inst->samplerType;
329 switch(samplerType[sampler])
/external/deqp/modules/gles3/performance/
H A Des3pTextureCases.cpp101 const glu::DataType samplerType = glu::getSampler2DType(texFormat); local
102 const bool isIntUint = samplerType == glu::TYPE_INT_SAMPLER_2D || samplerType == glu::TYPE_UINT_SAMPLER_2D;
158 fragSrc << "uniform " << glu::getPrecisionName(samplerPrec) << " " << glu::getDataTypeName(samplerType) << " u_sampler" << texNdx << ";\n";
/external/deqp/external/openglcts/modules/glesext/texture_border_clamp/
H A DesextcTextureBorderClampSamplingTexture.cpp768 std::string samplerType; local
780 samplerType = "";
784 samplerType = "u";
788 samplerType = "i";
800 samplerType += "sampler2D";
805 samplerType += "sampler2DArray";
810 samplerType += "sampler3D";
848 << samplerType << ";\n"
851 << samplerType << " test_sampler;\n"
/external/deqp/external/vulkancts/modules/vulkan/pipeline/
H A DvktPipelineImageTests.cpp245 std::ostringstream samplerType; local
248 samplerType << "u";
250 samplerType << "i";
255 samplerType << "sampler1D";
259 samplerType << "sampler1DArray";
263 samplerType << "sampler2D";
267 samplerType << "sampler2DArray";
271 samplerType << "sampler3D";
275 samplerType << "samplerCube";
279 samplerType << "samplerCubeArra
[all...]
H A DvktPipelineImageViewTests.cpp227 std::ostringstream samplerType; local
230 samplerType << "u";
232 samplerType << "i";
237 samplerType << "sampler1D";
241 samplerType << "sampler1DArray";
245 samplerType << "sampler2D";
249 samplerType << "sampler2DArray";
253 samplerType << "sampler3D";
257 samplerType << "samplerCube";
261 samplerType << "samplerCubeArra
[all...]
H A DvktPipelineSamplerTests.cpp324 std::ostringstream samplerType; local
327 samplerType << "u";
329 samplerType << "i";
334 samplerType << "sampler1D";
338 samplerType << "sampler1DArray";
342 samplerType << "sampler2D";
346 samplerType << "sampler2DArray";
350 samplerType << "sampler3D";
354 samplerType << "samplerCube";
358 samplerType << "samplerCubeArra
[all...]
/external/deqp/framework/opengl/
H A DgluTextureTestUtil.hpp88 , samplerType (SAMPLERTYPE_FLOAT)
99 SamplerType samplerType; //!< Sampler type. member in struct:glu::TextureTestUtil::RenderParams
/external/skia/src/gpu/glsl/
H A DGrGLSLProgramBuilder.cpp226 this->emitSampler(dstTexture->texturePriv().samplerType(), dstTexture->config(),
229 SkASSERT(kTextureExternalSampler_GrSLType != dstTexture->texturePriv().samplerType());
259 GrSLType samplerType = sampler.peekTexture()->texturePriv().samplerType(); local
260 if (kTextureExternalSampler_GrSLType == samplerType) {
270 samplerType, sampler.peekTexture()->config(), name.c_str(), sampler.visibility()));
305 GrGLSLProgramBuilder::SamplerHandle GrGLSLProgramBuilder::emitSampler(GrSLType samplerType, argument
312 return this->uniformHandler()->addSampler(visibility, swizzle, samplerType, precision, name);
/external/skqp/src/gpu/glsl/
H A DGrGLSLProgramBuilder.cpp226 this->emitSampler(dstTexture->texturePriv().samplerType(), dstTexture->config(),
229 SkASSERT(kTextureExternalSampler_GrSLType != dstTexture->texturePriv().samplerType());
259 GrSLType samplerType = sampler.peekTexture()->texturePriv().samplerType(); local
260 if (kTextureExternalSampler_GrSLType == samplerType) {
270 samplerType, sampler.peekTexture()->config(), name.c_str(), sampler.visibility()));
305 GrGLSLProgramBuilder::SamplerHandle GrGLSLProgramBuilder::emitSampler(GrSLType samplerType, argument
312 return this->uniformHandler()->addSampler(visibility, swizzle, samplerType, precision, name);
/external/deqp/external/openglcts/modules/common/
H A DglcTextureFilterAnisotropicTests.cpp627 std::string samplerType; local
628 TextureFilterAnisotropicUtils::generateTokens(target, texCoordType, samplerType);
632 TextureFilterAnisotropicUtils::replaceToken("<SAMPLER_TYPE>", samplerType.c_str(), vertexShader);
633 TextureFilterAnisotropicUtils::replaceToken("<SAMPLER_TYPE>", samplerType.c_str(), fragmentShader);
/external/deqp/modules/gles3/functional/
H A Des3fFboTestUtil.cpp422 TextureCubeShader::TextureCubeShader (glu::DataType samplerType, glu::DataType outputType) argument
429 << sglr::pdec::Uniform("u_sampler0", samplerType)
446 "uniform highp " + glu::getDataTypeName(samplerType) + " u_sampler0;\n"
560 Texture2DArrayShader::Texture2DArrayShader (glu::DataType samplerType, glu::DataType outputType) argument
566 << sglr::pdec::Uniform("u_sampler0", samplerType)
583 "uniform highp " + glu::getDataTypeName(samplerType) + " u_sampler0;\n"
668 Texture3DShader::Texture3DShader (glu::DataType samplerType, glu::DataType outputType) argument
674 << sglr::pdec::Uniform("u_sampler0", samplerType)
691 "uniform highp " + glu::getDataTypeName(samplerType) + " u_sampler0;\n"
/external/deqp/modules/gles31/functional/
H A Des31fFboTestUtil.cpp265 TextureCubeArrayShader::TextureCubeArrayShader (glu::DataType samplerType, glu::DataType outputType, glu::GLSLVersion glslVersion) argument
272 << sglr::pdec::Uniform("u_sampler0", samplerType)
297 "uniform highp " + glu::getDataTypeName(samplerType) + " u_sampler0;\n"
/external/deqp/modules/gles2/functional/
H A Des2fShaderTextureFunctionTests.cpp429 glu::DataType samplerType = glu::TYPE_LAST; local
435 case TEXTURETYPE_2D: samplerType = glu::getSampler2DType(texFmt); break;
436 case TEXTURETYPE_CUBE_MAP: samplerType = glu::getSamplerCubeType(texFmt); break;
481 op << "uniform lowp " << glu::getDataTypeName(samplerType) << " u_sampler;\n";
H A Des2fTextureUnitTests.cpp146 const char* samplerType = unitTypes[ndx] == GL_TEXTURE_2D ? "sampler2D" : "samplerCube"; local
149 samplersStr += string("") + "uniform mediump " + samplerType + " " + samplerName + ";\n";
/external/deqp/external/openglcts/modules/glesext/texture_cube_map_array/
H A DesextcTextureCubeMapArraySampling.hpp166 enum samplerType enum in class: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...]
/external/deqp/external/vulkancts/modules/vulkan/image/
H A DvktImageMutableTests.cpp226 std::ostringstream samplerType; local
229 samplerType << "u";
231 samplerType << "i";
236 samplerType << "sampler2D";
240 samplerType << "sampler2DArray";
248 return samplerType.str();
/external/deqp/external/vulkancts/modules/vulkan/protected_memory/
H A DvktProtectedMemShaderImageAccessTests.cpp278 const std::string samplerType = getShaderSamplerOrImageType(texFormat, true); local
369 fragParams["SAMPLER_TYPE"] = samplerType;
439 compParams["SAMPLER_TYPE"] = samplerType;
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/
H A DvktOpaqueTypeIndexingTests.cpp289 static TextureType getTextureType (glu::DataType samplerType) argument
291 switch (samplerType)
327 static bool isShadowSampler (glu::DataType samplerType) argument
329 return samplerType == glu::TYPE_SAMPLER_1D_SHADOW ||
330 samplerType == glu::TYPE_SAMPLER_2D_SHADOW ||
331 samplerType == glu::TYPE_SAMPLER_2D_ARRAY_SHADOW ||
332 samplerType == glu::TYPE_SAMPLER_CUBE_SHADOW;
335 static glu::DataType getSamplerOutputType (glu::DataType samplerType) argument
337 switch (samplerType)
371 static tcu::TextureFormat getSamplerTextureFormat (glu::DataType samplerType) argument
392 getSamplerCoordType(glu::DataType samplerType) argument
716 SamplerIndexingCaseInstance(Context& context, const glu::ShaderType shaderType, const ShaderSpec& shaderSpec, const char* name, glu::DataType samplerType, const IndexExprType indexExprType, const std::vector<int>& lookupIndices) argument
1096 SamplerIndexingCase(tcu::TestContext& testCtx, const char* name, const char* description, const glu::ShaderType shaderType, glu::DataType samplerType, IndexExprType indexExprType) argument
2074 const glu::DataType samplerType = samplerTypes[samplerTypeNdx]; local
[all...]
/external/deqp/framework/randomshaders/
H A DrsgExpression.cpp1394 static int countSamplers (const VariableManager& varManager, VariableType::Type samplerType) argument
1398 IsSamplerEntry::Iterator i = varManager.getBegin(IsSamplerEntry(samplerType));
1399 IsSamplerEntry::Iterator end = varManager.getEnd(IsSamplerEntry(samplerType));
1436 VariableType::Type samplerType = VariableType::TYPE_LAST; local
1443 samplerType = VariableType::TYPE_SAMPLER_2D;
1448 samplerType = VariableType::TYPE_SAMPLER_CUBE;
1458 bool hasSampler = samplerType == VariableType::TYPE_SAMPLER_2D ? (sampler2DCount > 0) : (samplerCubeCount > 0);
1463 Variable* sampler = state.getVariableManager().allocate(VariableType(samplerType, 1));
1468 m_sampler = state.getRandom().choose<const ValueEntry*>(state.getVariableManager().getBegin(IsSamplerEntry(samplerType)),
1469 state.getVariableManager().getEnd(IsSamplerEntry(samplerType)))
[all...]

Completed in 671 milliseconds

12