Home
last modified time | relevance | path

Searched refs:getShaderType (Results 1 – 25 of 102) sorted by relevance

12345

/third_party/flutter/skia/third_party/externals/angle2/src/compiler/translator/
DTranslatorGLSL.cpp30 InitBuiltInAbsFunctionEmulatorForGLSLWorkarounds(emu, getShaderType()); in initBuiltInFunctionEmulator()
44 InitBuiltInFunctionEmulatorForGLSLMissingFunctions(emu, getShaderType(), targetGLSLVersion); in initBuiltInFunctionEmulator()
69 !sh::RemoveInvariant(getShaderType(), getShaderVersion(), getOutputType(), compileOptions)) in translate()
73 switch (getShaderType()) in translate()
131 if (getShaderType() == GL_FRAGMENT_SHADER) in translate()
197 if (getShaderType() == GL_COMPUTE_SHADER) in translate()
202 if (getShaderType() == GL_GEOMETRY_SHADER_EXT) in translate()
211 &getSymbolTable(), getShaderType(), getShaderVersion(), getOutputType(), in translate()
232 TVersionGLSL versionGLSL(getShaderType(), getPragma(), getOutputType()); in writeVersion()
296 getShaderType() != GL_COMPUTE_SHADER) in writeExtensionBehavior()
DTranslatorESSL.cpp67 if (getShaderType() == GL_FRAGMENT_SHADER) in translate()
87 if (getShaderType() == GL_COMPUTE_SHADER) in translate()
92 if (getShaderType() == GL_GEOMETRY_SHADER_EXT) in translate()
101 &getSymbolTable(), getShaderType(), shaderVer, precisionEmulation, in translate()
DTranslatorHLSL.cpp87 if (getOutputType() == SH_HLSL_3_0_OUTPUT && getShaderType() == GL_VERTEX_SHADER) in translate()
127 getShaderType() == GL_VERTEX_SHADER) in translate()
140 sh::OutputHLSL outputHLSL(getShaderType(), getShaderSpec(), getShaderVersion(), in translate()
DTranslatorVulkan.cpp643 getNameMap(), &getSymbolTable(), getShaderType(), in translate()
695 root, &getSymbolTable(), getShaderType() == GL_FRAGMENT_SHADER, in translate()
711 if (getShaderType() == GL_COMPUTE_SHADER) in translate()
729 if (getShaderType() != GL_COMPUTE_SHADER) in translate()
736 if (getShaderType() == GL_FRAGMENT_SHADER) in translate()
813 else if (getShaderType() == GL_VERTEX_SHADER) in translate()
828 ASSERT(getShaderType() == GL_COMPUTE_SHADER); in translate()
/third_party/skia/third_party/externals/angle2/src/compiler/translator/
DTranslatorGLSL.cpp30 InitBuiltInAbsFunctionEmulatorForGLSLWorkarounds(emu, getShaderType()); in initBuiltInFunctionEmulator()
44 InitBuiltInFunctionEmulatorForGLSLMissingFunctions(emu, getShaderType(), targetGLSLVersion); in initBuiltInFunctionEmulator()
69 !sh::RemoveInvariant(getShaderType(), getShaderVersion(), getOutputType(), compileOptions)) in translate()
73 switch (getShaderType()) in translate()
131 if (getShaderType() == GL_FRAGMENT_SHADER) in translate()
199 if (getShaderType() == GL_COMPUTE_SHADER) in translate()
204 if (getShaderType() == GL_GEOMETRY_SHADER_EXT) in translate()
234 TVersionGLSL versionGLSL(getShaderType(), getPragma(), getOutputType()); in writeVersion()
321 getShaderType() != GL_COMPUTE_SHADER) in writeExtensionBehavior()
DTranslatorESSL.cpp58 if (getShaderType() == GL_FRAGMENT_SHADER) in translate()
75 if (getShaderType() == GL_FRAGMENT_SHADER) in translate()
80 if (getShaderType() == GL_COMPUTE_SHADER) in translate()
85 if (getShaderType() == GL_GEOMETRY_SHADER_EXT) in translate()
DTranslatorMetalDirect.cpp659 ProgramPreludeConfig ppc(metalShaderTypeFromGLSL(getShaderType())); in translateImpl()
747 getShaderType() == GL_FRAGMENT_SHADER)) in translateImpl()
753 if (getShaderType() == GL_COMPUTE_SHADER) in translateImpl()
781 if (getShaderType() != GL_COMPUTE_SHADER) in translateImpl()
825 if (getShaderType() == GL_FRAGMENT_SHADER) in translateImpl()
952 else if (getShaderType() == GL_VERTEX_SHADER) in translateImpl()
990 !ReplaceClipDistanceAssignments(this, root, &getSymbolTable(), getShaderType(), in translateImpl()
1006 else if (getShaderType() == GL_GEOMETRY_SHADER) in translateImpl()
1014 ASSERT(getShaderType() == GL_COMPUTE_SHADER); in translateImpl()
1018 if (getShaderType() == GL_VERTEX_SHADER) in translateImpl()
[all …]
DTranslatorMetal.cpp122 SpecConstMetal specConst(&getSymbolTable(), compileOptions, getShaderType()); in translate()
136 if (getShaderType() == GL_VERTEX_SHADER) in translate()
152 else if (getShaderType() == GL_FRAGMENT_SHADER) in translate()
162 if ((getShaderType() == GL_VERTEX_SHADER || getShaderType() == GL_GEOMETRY_SHADER_EXT) && in translate()
DTranslatorHLSL.cpp131 if (getOutputType() == SH_HLSL_3_0_OUTPUT && getShaderType() == GL_VERTEX_SHADER) in translate()
174 getShaderType() == GL_VERTEX_SHADER) in translate()
212 sh::OutputHLSL outputHLSL(getShaderType(), getShaderSpec(), getShaderVersion(), in translate()
DTranslatorVulkan.cpp586 switch (compiler->getShaderType()) in AddXfbExtensionSupport()
812 if (getShaderType() == GL_VERTEX_SHADER) in translateImpl()
908 getShaderType() == GL_FRAGMENT_SHADER)) in translateImpl()
919 gl::ShaderType packedShaderType = gl::FromGLenum<gl::ShaderType>(getShaderType()); in translateImpl()
929 if (getShaderType() == GL_COMPUTE_SHADER) in translateImpl()
1001 !ReplaceClipDistanceAssignments(this, root, &getSymbolTable(), getShaderType(), in translateImpl()
1007 !ReplaceCullDistanceAssignments(this, root, &getSymbolTable(), getShaderType())) in translateImpl()
1352 SpecConst specConst(&getSymbolTable(), compileOptions, getShaderType()); in translate()
1414 if (!GlslangCompileToSpirv(getResources(), getShaderType(), glsl.str(), &spirvBlob)) in compileToSpirv()
/third_party/skia/third_party/externals/angle2/src/tests/compiler_tests/
DSamplerMultisample_test.cpp23 ::GLenum getShaderType() const override { return GL_FRAGMENT_SHADER; } in getShaderType() function in SamplerMultisampleTest
38 ::GLenum getShaderType() const override { return GL_FRAGMENT_SHADER; } in getShaderType() function in SamplerMultisampleArrayTest
344 ::GLenum getShaderType() const override { return GL_FRAGMENT_SHADER; } in getShaderType() function in SamplerMultisampleEXTTest
DInitOutputVariables_test.cpp196 if (getShaderType() == GL_VERTEX_SHADER) in SetUp()
210 ::GLenum getShaderType() const override { return GL_VERTEX_SHADER; } in getShaderType() function in sh::InitOutputVariablesWebGL2VertexShaderTest
216 ::GLenum getShaderType() const override { return GL_FRAGMENT_SHADER; } in getShaderType() function in sh::InitOutputVariablesWebGL2FragmentShaderTest
234 ::GLenum getShaderType() const override { return GL_FRAGMENT_SHADER; } in getShaderType() function in sh::InitOutputVariablesWebGL1FragmentShaderTest
254 ::GLenum getShaderType() const override { return GL_VERTEX_SHADER; } in getShaderType() function in sh::InitOutputVariablesVertexShaderClipDistanceTest
DQualificationOrder_test.cpp25 ::GLenum getShaderType() const override { return GL_FRAGMENT_SHADER; } in getShaderType() function in QualificationOrderFragmentShaderTest
36 ::GLenum getShaderType() const override { return GL_VERTEX_SHADER; } in getShaderType() function in QualificationOrderVertexShaderTest
DRewriteDoWhile_test.cpp23 ::GLenum getShaderType() const override { return GL_FRAGMENT_SHADER; } in getShaderType() function in RewriteDoWhileCrashTest
DGlFragDataNotModified_test.cpp28 ::GLenum getShaderType() const override { return GL_FRAGMENT_SHADER; } in getShaderType() function in __anon066b85820111::GlFragDataNotModifiedTest
/third_party/flutter/skia/third_party/externals/angle2/src/tests/compiler_tests/
DSamplerMultisample_test.cpp23 ::GLenum getShaderType() const override { return GL_FRAGMENT_SHADER; } in getShaderType() function in SamplerMultisampleTest
38 ::GLenum getShaderType() const override { return GL_FRAGMENT_SHADER; } in getShaderType() function in SamplerMultisampleArrayTest
344 ::GLenum getShaderType() const override { return GL_FRAGMENT_SHADER; } in getShaderType() function in SamplerMultisampleEXTTest
DInitOutputVariables_test.cpp196 if (getShaderType() == GL_VERTEX_SHADER) in SetUp()
210 ::GLenum getShaderType() const override { return GL_VERTEX_SHADER; } in getShaderType() function in sh::InitOutputVariablesWebGL2VertexShaderTest
216 ::GLenum getShaderType() const override { return GL_FRAGMENT_SHADER; } in getShaderType() function in sh::InitOutputVariablesWebGL2FragmentShaderTest
234 ::GLenum getShaderType() const override { return GL_FRAGMENT_SHADER; } in getShaderType() function in sh::InitOutputVariablesWebGL1FragmentShaderTest
DQualificationOrder_test.cpp25 ::GLenum getShaderType() const override { return GL_FRAGMENT_SHADER; } in getShaderType() function in QualificationOrderFragmentShaderTest
36 ::GLenum getShaderType() const override { return GL_VERTEX_SHADER; } in getShaderType() function in QualificationOrderVertexShaderTest
DVectorizeVectorScalarArithmetic_test.cpp25 ::GLenum getShaderType() const override { return GL_FRAGMENT_SHADER; } in getShaderType() function in VectorizeVectorScalarArithmeticTest
DRewriteDoWhile_test.cpp23 ::GLenum getShaderType() const override { return GL_FRAGMENT_SHADER; } in getShaderType() function in RewriteDoWhileCrashTest
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
DShaderVk.cpp42 if (mState.getShaderType() != gl::ShaderType::Compute) in compile()
96 else if (mState.getShaderType() == gl::ShaderType::Vertex && in compile()
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/compiler/
Dglslang.y124 if (context->getShaderType() != GL_FRAGMENT_SHADER && \
125 context->getShaderType() != GL_VERTEX_SHADER) { \
132 if (context->getShaderType() != GL_VERTEX_SHADER) { \
139 if (context->getShaderType() != GL_FRAGMENT_SHADER) { \
906 if (context->getShaderType() == GL_VERTEX_SHADER)
915 if (context->getShaderType() == GL_VERTEX_SHADER)
964 … $$.qualifier = (context->getShaderType() == GL_FRAGMENT_SHADER) ? EvqFragmentIn : EvqVertexIn;
968 … $$.qualifier = (context->getShaderType() == GL_FRAGMENT_SHADER) ? EvqFragmentOut : EvqVertexOut;
972 if (context->getShaderType() == GL_VERTEX_SHADER)
977 … $$.qualifier = (context->getShaderType() == GL_FRAGMENT_SHADER) ? EvqCentroidIn : EvqVertexIn;
[all …]
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/
DShaderD3D.cpp118 mData.getShaderType() == gl::ShaderType::Vertex) in ShaderD3D()
141 return mDebugInfo + std::string("\n// ") + gl::GetShaderTypeString(mData.getShaderType()) + in getDebugInfo()
329 std::string("// ") + gl::GetShaderTypeString(mData.getShaderType()) + " SHADER BEGIN\n"; in compile()
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/vulkan/
DDeclarePerVertexBlocks.cpp131 mShaderType(compiler->getShaderType()), in DeclarePerVertexBlocksTraverser()
433 if (compiler->getShaderType() == GL_COMPUTE_SHADER || in DeclarePerVertexBlocks()
434 compiler->getShaderType() == GL_FRAGMENT_SHADER) in DeclarePerVertexBlocks()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/
DShaderD3D.cpp120 mState.getShaderType() == gl::ShaderType::Vertex) in ShaderD3D()
147 return mDebugInfo + std::string("\n// ") + gl::GetShaderTypeString(mState.getShaderType()) + in getDebugInfo()
361 mDebugInfo += std::string("// ") + gl::GetShaderTypeString(mState.getShaderType()) + in compile()

12345