Home
last modified time | relevance | path

Searched refs:IsSampler (Results 1 - 25 of 33) sorted by relevance

12

/third_party/skia/third_party/externals/swiftshader/src/OpenGL/compiler/
H A DBaseTypes.h62 EbtGuardSamplerBegin, // non type: see implementation of IsSampler()
80 EbtGuardSamplerEnd, // non type: see implementation of IsSampler()
148 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(typ in SupportsPrecision()
[all...]
H A DTypes.h353 return IsSampler(getBasicType()) ? 1 : 0; in samplerRegisterCount()
447 bool isScalar() const { return primarySize == 1 && !isMatrix() && !structure && !isInterfaceBlock() && !IsSampler(getBasicType()); } in isScalar()
H A DSymbolTable.cpp135 if(IsSampler(fieldType->getBasicType()) || fieldType->isStructureContainingSamplers()) in containsSamplers()
H A 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()
H A DSymbolTable.h463 if (IsSampler(type.type)) in setDefaultPrecision()
H A DOutputASM.cpp2493 if(!IsSampler(arg->getBasicType())) in source()
3307 ASSERT(!IsSampler(type.getBasicType())); in uniformRegister()
3408 ASSERT(IsSampler(type.getBasicType()) || type.isStruct()); // Structures can contain samplers in samplerRegister()
3477 ASSERT(IsSampler(type.getBasicType()) || type.isStruct()); // Structures can contain samplers in samplerRegister()
3501 return operand && IsSampler(operand->getBasicType()) && samplerRegister(operand) >= 0; in isSamplerRegister()
3718 bool isSampler = IsSampler(type.getBasicType()); in declareUniform()
/third_party/skia/third_party/externals/tint/src/reader/spirv/
H A Dusage_test.cc32 EXPECT_FALSE(u.IsSampler()); in TEST_F()
85 EXPECT_TRUE(a.IsSampler()); in TEST_F()
106 EXPECT_TRUE(u.IsSampler()); in TEST_F()
131 EXPECT_TRUE(u.IsSampler()); in TEST_F()
155 EXPECT_FALSE(u.IsSampler()); in TEST_F()
179 EXPECT_FALSE(u.IsSampler()); in TEST_F()
203 EXPECT_FALSE(u.IsSampler()); in TEST_F()
227 EXPECT_FALSE(u.IsSampler()); in TEST_F()
251 EXPECT_FALSE(u.IsSampler()); in TEST_F()
275 EXPECT_FALSE(u.IsSampler()); in TEST_F()
[all...]
H A Dusage.cc29 if (IsSampler()) { in operator <<()
117 if (IsSampler()) { in IsComplete()
H A Dusage.h55 bool IsSampler() const { return is_sampler_; } in IsSampler() function in tint::reader::spirv::Usage
/third_party/skia/third_party/externals/angle2/src/compiler/translator/
H A DBaseTypes.h65 EbtGuardSamplerBegin, // non type: see implementation of IsSampler()
109 EbtGuardSamplerEnd = EbtSamplerVideoWEBGL, // non type: see implementation of IsSampler()
211 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(typ in IsSampler1D()
[all...]
H A 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()
H A DOutputVulkanGLSL.cpp37 bool needsSetBinding = IsSampler(type.getBasicType()) || in writeLayoutQualifier()
H A DStructureHLSL.cpp45 if (!IsSampler(fieldType.getBasicType())) in Define()
400 if (!IsSampler(fieldType->getBasicType())) in addStructConstructor()
H A DTypes.cpp784 ASSERT(IsSampler(type)); in createSamplerSymbols()
836 if (IsSampler(fieldType->getBasicType()) || fieldType->isStructureContainingSamplers()) in containsSamplers()
H A DOutputHLSL.cpp1411 if (IsSampler(field->type()->getBasicType())) in ancestorEvaluatesToSamplerInStruct()
1718 bool indexingReturnsSampler = IsSampler(field->type()->getBasicType()); in visitBinary()
2437 if (mOutputType == SH_HLSL_4_0_FL9_3_OUTPUT && IsSampler(typedArg->getBasicType())) in visitAggregate()
3231 if (IsSampler(type.getBasicType())) in writeParameter()
3282 ASSERT(IsSampler(samplerType.getBasicType())); in writeParameter()
3291 ASSERT(IsSampler(samplerType.getBasicType())); in writeParameter()
H A DSymbol.cpp139 if (IsSampler(fieldType->getBasicType()) || fieldType->isStructureContainingSamplers()) in createSamplerSymbols()
H A DTypes.h358 bool isSampler() const { return IsSampler(type); } in isSampler()
H A DBuildSPIRV.cpp783 else if (IsSampler(type.type) && !type.isSamplerBaseImage) in declareType()
1183 const bool isSampledImage = IsSampler(type); in getImageTypeParameters()
1733 IsSampler(type.getBasicType()) || in writeInterfaceVariableDecorations()
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/d3d/
H A DBreakVariableAliasingInInnerLoops.cpp62 if (type.isArray() || IsSampler(type.getBasicType()))
/third_party/skia/third_party/externals/angle2/src/compiler/translator/TranslatorMetalDirect/
H A DSymbolEnv.cpp387 ASSERT(IsSampler(samplerType)); in getTextureEnv()
500 ASSERT(IsSampler(basicType)); in GetTextureBasicType()
561 ASSERT(IsSampler(samplerType)); in GetTextureTypeName()
H A DLayout.cpp84 if (IsSampler(basicType)) in ScalarLayoutOf()
143 if (config.treatSamplersAsTextureEnv && IsSampler(type.getBasicType())) in MetalLayoutOf()
H A DPipeline.cpp137 return IsSampler(nodeType.getBasicType()); in uses()
H A DEmitMetal.cpp897 if (IsSampler(basicType)) in emitBareTypeName()
1829 else if (IsSampler(type.getBasicType()))
/third_party/mesa3d/src/mapi/glapi/tests/
H A Dcheck_table.cpp1170 { "glIsSampler", _O(IsSampler) },
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/libGLESv2/
H A Dentry_points.h309 GLboolean GL_APIENTRY IsSampler(GLuint sampler);

Completed in 43 milliseconds

12