Home
last modified time | relevance | path

Searched refs:IsSampler (Results 1 – 25 of 31) sorted by relevance

12

/external/swiftshader/src/OpenGL/compiler/
DBaseTypes.h148 inline bool IsSampler(TBasicType type) in IsSampler() function
177 assert(!IsSampler(type)); in IsIntegerSampler()
207 assert(!IsSampler(type)); in IsSampler2D()
237 assert(!IsSampler(type)); in IsSamplerCube()
267 assert(!IsSampler(type)); in IsSampler3D()
297 assert(!IsSampler(type)); in IsSamplerArray()
327 assert(!IsSampler(type)); in IsShadowSampler()
340 return type == EbtFloat || type == EbtInt || type == EbtUInt || IsSampler(type); in SupportsPrecision()
DTypes.h353 return IsSampler(getBasicType()) ? 1 : 0; in samplerRegisterCount()
447 …rimarySize == 1 && !isMatrix() && !structure && !isInterfaceBlock() && !IsSampler(getBasicType());… in isScalar()
DSymbolTable.cpp135 if(IsSampler(fieldType->getBasicType()) || fieldType->isStructureContainingSamplers()) in containsSamplers()
DParseHelper.cpp374 if(IsSampler(node->getBasicType())) in lValueErrorCheck()
587 if (op != EOpConstructStruct && IsSampler(typed->getBasicType())) { in constructorErrorCheck()
651 } else if (IsSampler(pType.type)) { in samplerErrorCheck()
778 type.getBasicType() != EbtStruct && IsSampler(type.getBasicType())) { in parameterSamplerErrorCheck()
788 if (IsSampler(type.getBasicType())) in containsSampler()
2371 if(IsSampler(fieldType->getBasicType())) { in addInterfaceBlock()
DSymbolTable.h463 if (IsSampler(type.type)) in setDefaultPrecision()
DOutputASM.cpp2495 if(!IsSampler(arg->getBasicType())) in source()
3309 ASSERT(!IsSampler(type.getBasicType())); in uniformRegister()
3410 ASSERT(IsSampler(type.getBasicType()) || type.isStruct()); // Structures can contain samplers in samplerRegister()
3479 ASSERT(IsSampler(type.getBasicType()) || type.isStruct()); // Structures can contain samplers in samplerRegister()
3503 return operand && IsSampler(operand->getBasicType()) && samplerRegister(operand) >= 0; in isSamplerRegister()
3720 bool isSampler = IsSampler(type.getBasicType()); in declareUniform()
/external/angle/src/compiler/translator/
DBaseTypes.h211 inline bool IsSampler(TBasicType type) in IsSampler() function
238 return IsSampler(type) || IsImage(type) || IsAtomicCounter(type) || IsSubpassInputType(type); in IsOpaqueType()
291 ASSERT(!IsSampler(type)); in IsIntegerSampler()
502 ASSERT(!IsSampler(type)); in IsSampler2D()
558 ASSERT(!IsSampler(type)); in IsSamplerCube()
614 ASSERT(!IsSampler(type)); in IsSampler3D()
670 ASSERT(!IsSampler(type)); in IsSamplerArray()
726 ASSERT(!IsSampler(type)); in IsSampler1D()
782 ASSERT(!IsSampler(type)); in IsShadowSampler()
DResourcesHLSL.cpp30 if (IsSampler(type.getBasicType())) in UniformRegisterPrefix()
211 if (IsSampler(type.getBasicType()) || in assignUniformRegister()
254 if (IsSampler(type.getBasicType()) || in assignUniformRegister()
279 ASSERT(IsSampler(type.getBasicType())); in assignSamplerInStructUniformRegister()
503 if (outputType == SH_HLSL_4_1_OUTPUT && IsSampler(type.getBasicType())) in uniformsHeader()
508 else if (outputType == SH_HLSL_4_0_FL9_3_OUTPUT && IsSampler(type.getBasicType())) in uniformsHeader()
DOutputVulkanGLSL.cpp51 bool needsSetBinding = IsSampler(type.getBasicType()) || in writeLayoutQualifier()
DStructureHLSL.cpp45 if (!IsSampler(fieldType.getBasicType())) in Define()
400 if (!IsSampler(fieldType->getBasicType())) in addStructConstructor()
DTypes.cpp777 ASSERT(IsSampler(type)); in createSamplerSymbols()
829 if (IsSampler(fieldType->getBasicType()) || fieldType->isStructureContainingSamplers()) in containsSamplers()
DSymbol.cpp139 if (IsSampler(fieldType->getBasicType()) || fieldType->isStructureContainingSamplers()) in createSamplerSymbols()
DOutputHLSL.cpp1404 if (IsSampler(field->type()->getBasicType())) in ancestorEvaluatesToSamplerInStruct()
1711 bool indexingReturnsSampler = IsSampler(field->type()->getBasicType()); in visitBinary()
2432 if (mOutputType == SH_HLSL_4_0_FL9_3_OUTPUT && IsSampler(typedArg->getBasicType())) in visitAggregate()
3226 if (IsSampler(type.getBasicType())) in writeParameter()
3277 ASSERT(IsSampler(samplerType.getBasicType())); in writeParameter()
3286 ASSERT(IsSampler(samplerType.getBasicType())); in writeParameter()
DTypes.h356 bool isSampler() const { return IsSampler(type); } in isSampler()
DBuildSPIRV.cpp605 else if (IsSampler(type.type) && !type.isSamplerBaseImage) in declareType()
1005 const bool isSampledImage = IsSampler(type); in getImageTypeParameters()
1540 IsSampler(type.getBasicType()) || in writeInterfaceVariableDecorations()
DParseContext.cpp40 if (IsSampler(type.getBasicType())) in ContainsSampler()
1786 else if (IsSampler(type.getBasicType())) in checkBindingIsValid()
4733 if (IsSampler(elementType) && !allowUniformIndices && mShaderVersion > 100) in addIndexExpression()
/external/angle/src/compiler/translator/tree_ops/d3d/
DBreakVariableAliasingInInnerLoops.cpp62 if (type.isArray() || IsSampler(type.getBasicType())) in visitBinary()
/external/angle/src/compiler/translator/TranslatorMetalDirect/
DSymbolEnv.cpp387 ASSERT(IsSampler(samplerType)); in getTextureEnv()
501 ASSERT(IsSampler(basicType)); in GetTextureBasicType()
562 ASSERT(IsSampler(samplerType)); in GetTextureTypeName()
DLayout.cpp84 if (IsSampler(basicType)) in ScalarLayoutOf()
143 if (config.treatSamplersAsTextureEnv && IsSampler(type.getBasicType())) in MetalLayoutOf()
DPipeline.cpp137 return IsSampler(nodeType.getBasicType()); in uses()
DEmitMetal.cpp897 if (IsSampler(basicType)) in emitBareTypeName()
1813 else if (IsSampler(type.getBasicType())) in emitFunctionParameter()
/external/mesa3d/src/mesa/main/
Dcontext.c1118 COPY_DISPATCH(IsSampler); in create_beginend_table()
/external/mesa3d/src/mapi/glapi/tests/
Dcheck_table.cpp1170 { "glIsSampler", _O(IsSampler) },
/external/swiftshader/src/OpenGL/libGLESv2/
Dentry_points.h309 GLboolean GL_APIENTRY IsSampler(GLuint sampler);
DlibGLESv3.cpp3138 GLboolean GL_APIENTRY IsSampler(GLuint sampler) in IsSampler() function

12