Home
last modified time | relevance | path

Searched refs:TInfoSinkBase (Results 1 – 25 of 58) sorted by relevance

123

/third_party/skia/third_party/externals/angle2/src/compiler/translator/
DOutputHLSL.h58 void output(TIntermNode *treeRoot, TInfoSinkBase &objSink);
68 TInfoSinkBase &getInfoSink() in getInfoSink()
79 void writeReferencedAttributes(TInfoSinkBase &out) const;
80 void writeReferencedVaryings(TInfoSinkBase &out) const;
81 void header(TInfoSinkBase &out,
85 void writeFloat(TInfoSinkBase &out, float f);
86 void writeSingleConstant(TInfoSinkBase &out, const TConstantUnion *const constUnion);
87 const TConstantUnion *writeConstantUnionArray(TInfoSinkBase &out,
111 bool handleExcessiveLoop(TInfoSinkBase &out, TIntermLoop *node);
115 void outputTriplet(TInfoSinkBase &out,
[all …]
DInfoSink.h37 class TInfoSinkBase
40 TInfoSinkBase() {} in TInfoSinkBase() function
43 TInfoSinkBase &operator<<(const T &t)
52 TInfoSinkBase &operator<<(char c)
57 TInfoSinkBase &operator<<(const char *str)
62 TInfoSinkBase &operator<<(const TPersistString &str)
67 TInfoSinkBase &operator<<(const TString &str)
72 TInfoSinkBase &operator<<(const ImmutableString &str);
74 TInfoSinkBase &operator<<(const TType &type);
77 TInfoSinkBase &operator<<(float f)
[all …]
DResourcesHLSL.h32 void uniformsHeader(TInfoSinkBase &out,
38 void samplerMetadataUniforms(TInfoSinkBase &out, unsigned int regIndex);
40 void imageMetadataUniforms(TInfoSinkBase &out, unsigned int regIndex);
92 void outputHLSL4_0_FL9_3Sampler(TInfoSinkBase &out,
96 void outputUniform(TInfoSinkBase &out,
100 void outputAtomicCounterBuffer(TInfoSinkBase &out,
113 TInfoSinkBase &out,
119 void outputHLSLImageUniformIndices(TInfoSinkBase &out,
123 void outputHLSLReadonlyImageUniformGroup(TInfoSinkBase &out,
127 void outputHLSLImageUniformGroup(TInfoSinkBase &out,
DOutputGLSLBase.h25 TOutputGLSLBase(TCompiler *compiler, TInfoSinkBase &objSink, ShCompileOptions compileOptions);
35 TInfoSinkBase &objSink() { return mObjSink; } in objSink()
36 void writeFloat(TInfoSinkBase &out, float f);
102 TInfoSinkBase &mObjSink;
118 void WritePragma(TInfoSinkBase &out, ShCompileOptions compileOptions, const TPragma &pragma);
120 void WriteGeometryShaderLayoutQualifiers(TInfoSinkBase &out,
126 void WriteTessControlShaderLayoutQualifiers(TInfoSinkBase &out, int inputVertices);
128 void WriteTessEvaluationShaderLayoutQualifiers(TInfoSinkBase &out,
136 void EmitEarlyFragmentTestsGLSL(const TCompiler &, TInfoSinkBase &sink);
137 void EmitWorkGroupSizeGLSL(const TCompiler &, TInfoSinkBase &sink);
[all …]
DOutputGLSLBase.cpp85 TInfoSinkBase &objSink, in TOutputGLSLBase()
103 TInfoSinkBase &out = objSink(); in writeInvariantQualifier()
110 TInfoSinkBase &out = objSink(); in writePreciseQualifier()
114 void TOutputGLSLBase::writeFloat(TInfoSinkBase &out, float f) in writeFloat()
131 TInfoSinkBase &out = objSink(); in writeTriplet()
144 TInfoSinkBase &out = objSink(); in writeFunctionTriplet()
258 TInfoSinkBase &out = objSink(); in writeLayoutQualifier()
297 TInfoSinkBase &out = objSink(); in writeFieldLayoutQualifier()
398 TInfoSinkBase &out = objSink(); in writeVariableType()
439 TInfoSinkBase &out = objSink(); in writeFunctionParameters()
[all …]
DImageFunctionHLSL.h33 void imageFunctionHeader(TInfoSinkBase &out);
75 static ImmutableString GetImageReference(TInfoSinkBase &out,
78 TInfoSinkBase &out,
80 static void OutputImageSizeFunctionBody(TInfoSinkBase &out,
83 static void OutputImageLoadFunctionBody(TInfoSinkBase &out,
86 static void OutputImageStoreFunctionBody(TInfoSinkBase &out,
DInfoSink.cpp16 void TInfoSinkBase::prefix(Severity severity) in prefix()
32 TInfoSinkBase &TInfoSinkBase::operator<<(const ImmutableString &str) in operator <<()
38 TInfoSinkBase &TInfoSinkBase::operator<<(const TType &type) in operator <<()
111 void TInfoSinkBase::location(int file, int line) in location()
DShaderStorageBlockFunctionHLSL.h64 void shaderStorageBlockFunctionHeader(TInfoSinkBase &out);
81 static void OutputSSBOLoadFunctionBody(TInfoSinkBase &out,
83 static void OutputSSBOStoreFunctionBody(TInfoSinkBase &out,
85 static void OutputSSBOLengthFunctionBody(TInfoSinkBase &out, int unsizedArrayStride);
86 static void OutputSSBOAtomicMemoryFunctionBody(TInfoSinkBase &out,
DTranslatorVulkan.h37 ANGLE_NO_DISCARD bool translateImpl(TInfoSinkBase &sink,
44 void writeExtensionBehavior(ShCompileOptions compileOptions, TInfoSinkBase &sink);
56 ANGLE_NO_DISCARD bool compileToSpirv(const TInfoSinkBase &glsl);
DOutputHLSL.cpp246 void OutputHLSL::writeFloat(TInfoSinkBase &out, float f) in writeFloat()
261 void OutputHLSL::writeSingleConstant(TInfoSinkBase &out, const TConstantUnion *const constUnion) in writeSingleConstant()
283 const TConstantUnion *OutputHLSL::writeConstantUnionArray(TInfoSinkBase &out, in writeConstantUnionArray()
411 void OutputHLSL::output(TIntermNode *treeRoot, TInfoSinkBase &objSink) in output()
618 void OutputHLSL::writeReferencedAttributes(TInfoSinkBase &out) const in writeReferencedAttributes()
630 void OutputHLSL::writeReferencedVaryings(TInfoSinkBase &out) const in writeReferencedVaryings()
643 void OutputHLSL::header(TInfoSinkBase &out, in header()
1162 TInfoSinkBase &out = getInfoSink(); in visitSymbol()
1341 void OutputHLSL::outputEqual(Visit visit, const TType &type, TOperator op, TInfoSinkBase &out) in outputEqual()
1380 void OutputHLSL::outputAssign(Visit visit, const TType &type, TInfoSinkBase &out) in outputAssign()
[all …]
DImageFunctionHLSL.cpp18 TInfoSinkBase &out, in GetImageReference()
48 TInfoSinkBase &out, in OutputImageFunctionArgumentList()
109 TInfoSinkBase &out, in OutputImageSizeFunctionBody()
140 TInfoSinkBase &out, in OutputImageLoadFunctionBody()
159 TInfoSinkBase &out, in OutputImageStoreFunctionBody()
333 void ImageFunctionHLSL::imageFunctionHeader(TInfoSinkBase &out) in imageFunctionHeader()
DDiagnostics.h17 class TInfoSinkBase; variable
23 TDiagnostics(TInfoSinkBase &infoSink);
48 TInfoSinkBase &mInfoSink;
DShaderStorageBlockOutputHLSL.h59 void writeShaderStorageBlocksHeader(TInfoSinkBase &out) const;
63 TIntermTyped *traverseNode(TInfoSinkBase &out,
70 TIntermTyped *writeEOpIndexDirectOrIndirectOutput(TInfoSinkBase &out,
DResourcesHLSL.cpp76 void OutputUniformIndexArrayInitializer(TInfoSinkBase &out, in OutputUniformIndexArrayInitializer()
292 TInfoSinkBase &out, in outputHLSLSamplerUniformGroup()
356 void ResourcesHLSL::outputHLSLImageUniformIndices(TInfoSinkBase &out, in outputHLSLImageUniformIndices()
387 void ResourcesHLSL::outputHLSLReadonlyImageUniformGroup(TInfoSinkBase &out, in outputHLSLReadonlyImageUniformGroup()
409 void ResourcesHLSL::outputHLSLImageUniformGroup(TInfoSinkBase &out, in outputHLSLImageUniformGroup()
431 void ResourcesHLSL::outputHLSL4_0_FL9_3Sampler(TInfoSinkBase &out, in outputHLSL4_0_FL9_3Sampler()
444 void ResourcesHLSL::outputUniform(TInfoSinkBase &out, in outputUniform()
469 void ResourcesHLSL::outputAtomicCounterBuffer(TInfoSinkBase &out, in outputAtomicCounterBuffer()
478 void ResourcesHLSL::uniformsHeader(TInfoSinkBase &out, in uniformsHeader()
655 void ResourcesHLSL::samplerMetadataUniforms(TInfoSinkBase &out, unsigned int regIndex) in samplerMetadataUniforms()
[all …]
DOutputTree.h15 class TInfoSinkBase; variable
18 void OutputTree(TIntermNode *root, TInfoSinkBase &out);
DAtomicCounterFunctionHLSL.h21 class TInfoSinkBase; variable
31 void atomicCounterFunctionHeader(TInfoSinkBase &out);
DOutputVulkanGLSL.cpp23 TInfoSinkBase &objSink, in TOutputVulkanGLSL()
53 TInfoSinkBase &out = objSink(); in writeLayoutQualifier()
173 TInfoSinkBase &out = objSink(); in writeVariablePrecision()
/third_party/glslang/glslang/Include/
DInfoSink.h68 class TInfoSinkBase {
70 TInfoSinkBase() : outputStream(4) {} in TInfoSinkBase() function
72 TInfoSinkBase& operator<<(const TPersistString& t) { append(t); return *this; }
73 TInfoSinkBase& operator<<(char c) { append(1, c); return *this; }
74 TInfoSinkBase& operator<<(const char* s) { append(s); return *this; }
75 TInfoSinkBase& operator<<(int n) { append(String(n)); return *this; }
76 TInfoSinkBase& operator<<(unsigned int n) { append(String(n)); return *this; }
77 TInfoSinkBase& operator<<(float n) { const int size = 40; char buf[size];
81 TInfoSinkBase& operator+(const TPersistString& t) { append(t); return *this; }
82 TInfoSinkBase& operator+(const TString& t) { append(t); return *this; }
[all …]
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/compiler/
DInfoSink.h47 class TInfoSinkBase {
49 TInfoSinkBase() {} in TInfoSinkBase() function
52 TInfoSinkBase& operator<<(const T& t) {
60 TInfoSinkBase& operator<<(char c) {
64 TInfoSinkBase& operator<<(const char* str) {
68 TInfoSinkBase& operator<<(const TPersistString& str) {
72 TInfoSinkBase& operator<<(const TString& str) {
77 TInfoSinkBase& operator<<(float f) {
96 TInfoSinkBase& operator<<(bool b) {
119 TInfoSinkBase info;
[all …]
DInfoSink.cpp17 void TInfoSinkBase::prefix(TPrefixType message) { in prefix()
45 void TInfoSinkBase::location(const TSourceLoc& loc) { in location()
58 void TInfoSinkBase::message(TPrefixType message, const char* s) { in message()
64 void TInfoSinkBase::message(TPrefixType message, const char* s, TSourceLoc loc) { in message()
DintermOut.cpp33 TOutputTraverser(TInfoSinkBase& i) : sink(i) { } in TOutputTraverser()
34 TInfoSinkBase& sink;
68 void OutputTreeText(TInfoSinkBase& sink, TIntermNode* node, const int depth) in OutputTreeText()
97 TInfoSinkBase& out = sink; in visitBinary()
161 TInfoSinkBase& out = sink; in visitUnary()
247 TInfoSinkBase& out = sink; in visitAggregate()
339 TInfoSinkBase& out = sink; in visitSelection()
372 TInfoSinkBase& out = sink; in visitConstantUnion()
409 TInfoSinkBase& out = sink; in visitLoop()
447 TInfoSinkBase& out = sink; in visitBranch()
DValidateLimitations.h18 class TInfoSinkBase; variable
32 ValidateLimitations(GLenum shaderType, TInfoSinkBase& sink);
63 TInfoSinkBase& mSink;
/third_party/glslang/glslang/MachineIndependent/
DInfoSink.cpp41 void TInfoSinkBase::append(const char* s) in append()
61 void TInfoSinkBase::append(int count, char c) in append()
81 void TInfoSinkBase::append(const TPersistString& t) in append()
97 void TInfoSinkBase::append(const TString& t) in append()
/third_party/skia/third_party/externals/angle2/src/compiler/translator/TranslatorMetalDirect/
DDebugSink.h67 TInfoSinkBase &get() { return mOwner.mParent; } in get()
69 operator TInfoSinkBase &() { return get(); }
77 DebugSink(TInfoSinkBase &parent, bool alsoLogToStdout) in DebugSink()
154 TInfoSinkBase &mParent;
DProgramPrelude.h17 class TInfoSinkBase; variable
43 TInfoSinkBase &out,

123