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

1234

/external/deqp/modules/gles3/scripts/
H A 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_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/modules/glshared/
H A DglsTextureTestUtil.cpp325 switch (params.samplerType)
338 switch (params.samplerType)
351 switch (params.samplerType)
364 switch (params.samplerType)
378 switch (params.samplerType)
393 switch (params.samplerType)
408 switch (params.samplerType)
421 switch (params.samplerType)
455 if (params.samplerType == SAMPLERTYPE_SHADOW)
/external/deqp/modules/gles31/functional/
H A Des31fOpaqueTypeIndexingTests.cpp119 static TextureType getTextureType (glu::DataType samplerType) argument
121 switch (samplerType)
163 static bool isShadowSampler (glu::DataType samplerType) argument
165 return samplerType == glu::TYPE_SAMPLER_1D_SHADOW ||
166 samplerType == glu::TYPE_SAMPLER_2D_SHADOW ||
167 samplerType == glu::TYPE_SAMPLER_2D_ARRAY_SHADOW ||
168 samplerType == glu::TYPE_SAMPLER_CUBE_SHADOW ||
169 samplerType == glu::TYPE_SAMPLER_CUBE_ARRAY_SHADOW;
172 static glu::DataType getSamplerOutputType (glu::DataType samplerType) argument
174 switch (samplerType)
212 getSamplerTextureFormat(glu::DataType samplerType) argument
233 getSamplerCoordType(glu::DataType samplerType) argument
273 setupTexture(const glw::Functions& gl, deUint32 texture, glu::DataType samplerType, tcu::TextureFormat texFormat, const void* color) argument
352 SamplerIndexingCase(Context& context, const char* name, const char* description, glu::ShaderType shaderType, glu::DataType samplerType, IndexExprType indexExprType) argument
1322 const DataType samplerType = samplerTypes[samplerTypeNdx]; local
[all...]
/external/skia/src/gpu/
H A DGrTexture.cpp44 GrTexture::GrTexture(GrGpu* gpu, const GrSurfaceDesc& desc, GrSLType samplerType, argument
48 , fSamplerType(samplerType)
H A DGrTexturePriv.h47 GrSLType samplerType() const { return fTexture->fSamplerType; } function in class:GrTexturePriv
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/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/
H A DGrTexture.cpp44 GrTexture::GrTexture(GrGpu* gpu, const GrSurfaceDesc& desc, GrSLType samplerType, argument
48 , fSamplerType(samplerType)
H A DGrTexturePriv.h47 GrSLType samplerType() const { return fTexture->fSamplerType; } function in class:GrTexturePriv
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/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/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/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/skia/include/gpu/
H A DGrTexture.h75 GrTexture(GrGpu*, const GrSurfaceDesc&, GrSLType samplerType,
/external/skqp/include/gpu/
H A DGrTexture.h74 GrTexture(GrGpu*, const GrSurfaceDesc&, GrSLType samplerType,
/external/deqp/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);
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/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/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/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/external/openglcts/modules/gles31/
H A Des31cLayoutBindingTests.cpp438 LayoutBindingParameters& samplerType, glu::GLSLVersion glslVersion);
1080 StageType stage, LayoutBindingParameters& samplerType,
1084 , m_testParams(samplerType)
1976 LayoutBindingParameters& samplerType, glu::GLSLVersion glslVersion);
2037 StageType stage, LayoutBindingParameters& samplerType,
2039 : LayoutBindingBaseCase(context, name, description, stage, samplerType, glslVersion)
2055 LayoutBindingParameters& samplerType, glu::GLSLVersion glslVersion);
2192 StageType stage, LayoutBindingParameters& samplerType,
2194 : LayoutBindingBaseCase(context, name, description, stage, samplerType, glslVersion)
2210 LayoutBindingParameters& samplerType, gl
1079 LayoutBindingBaseCase(Context& context, const char* name, const char* description, StageType stage, LayoutBindingParameters& samplerType, glu::GLSLVersion glslVersion) argument
2036 SamplerLayoutBindingCase(Context& context, const char* name, const char* description, StageType stage, LayoutBindingParameters& samplerType, glu::GLSLVersion glslVersion) argument
2191 ImageLayoutBindingCase(Context& context, const char* name, const char* description, StageType stage, LayoutBindingParameters& samplerType, glu::GLSLVersion glslVersion) argument
2910 AtomicCounterLayoutBindingCase(Context& context, const char* name, const char* description, StageType stage, LayoutBindingParameters& samplerType, glu::GLSLVersion glslVersion) argument
3096 UniformBlocksLayoutBindingCase(Context& context, const char* name, const char* description, StageType stage, LayoutBindingParameters& samplerType, glu::GLSLVersion glslVersion) argument
3316 ShaderStorageBufferLayoutBindingCase(Context& context, const char* name, const char* description, StageType stage, LayoutBindingParameters& samplerType, glu::GLSLVersion glslVersion) argument
[all...]
/external/deqp/external/vulkancts/modules/vulkan/texture/
H A DvktTextureCompressedFormatTests.cpp102 sampleParams.samplerType = SAMPLERTYPE_FLOAT;

Completed in 677 milliseconds

1234